A question about Oblivion and the CS.

Old and generally outdated discussions, with the rare hidden gem. Enter at your own risk.

Moderators: Haplo, Lead Developers

Locked
Saibot
Developer
Posts: 0
Joined: Wed Apr 20, 2005 11:05 am
Location: Utah

A question about Oblivion and the CS.

Post by Saibot »

Hello.

Is there a way to prevent a certain weapon from degrading through a script or something? I've been working on a mod lately that adds a cursed sword, only I've been having a hard time deciding how to implement it. I have the curse all worked out, but the positive aspects have been more trouble.

Basically I need to make a sword that "never fails the one who wields it." I just don't know how, so I thought I'd ask for help.

Thank you.
User avatar
Macar
Developer Emeritus
Posts: 1268
Joined: Thu Jan 27, 2005 8:32 pm
Location: Yellow
Contact:

Post by Macar »

a weapon health of 9999999999999999999999999?

Or how about a script- when the damage falls below fully repaired set it back to full. Is that doable? Or when the player attacks it repairs it?
NEW MEMBERS: I'm not with TR anymore, so please stop PMing me. Just post your sample work in the showcase.
[url=http://www.realmsofrenth.com][img]http://img249.imageshack.us/img249/3020/banner3er0.jpg[/img][/url]
Saibot
Developer
Posts: 0
Joined: Wed Apr 20, 2005 11:05 am
Location: Utah

Post by Saibot »

I thought about giving it an insanely high weapon health but I don't want to do it that way unless I have to. Also if anyone has any other ideas about how to make the sword I'd love to hear them.
User avatar
Dexter
Developer Emeritus
Posts: 1654
Joined: Fri Jun 04, 2004 3:23 am
Location: Baltimore, MD

Post by Dexter »

I'm sure you could write a simple script that would set the weapon's durability to max on equip, or even when swung.
"Hail Dexter."
-Yinnie

You REALLY don't want me to come back.
Locked