View previous topic :: View next topic |
Author |
Message |
Awful Waffle
Joined: 18 Jun 2003 Posts: 73 Location: Canada
|
Posted: Tue Mar 06, 2007 11:39 pm Post subject: Changing "who can equip"? |
|
|
I'm wondering is it possible to change if a character can or cannot equip a certain item, in plotscript? I need to be able to manipulate the "who can equip" property set in custom.exe, but at runtime, if possible.
Doing a trick such as duplicating the item, and having the copy equippable, wouldn't really work since this needs to function for every character in the game.
Thanks. |
|
Back to top |
|
 |
Bob the Hamster OHRRPGCE Developer

Joined: 22 Feb 2003 Posts: 2526 Location: Hamster Republic (Southern California Enclave)
|
Posted: Wed Mar 07, 2007 10:24 am Post subject: Re: Changing "who can equip"? |
|
|
Awful Waffle wrote: | I'm wondering is it possible to change if a character can or cannot equip a certain item, in plotscript? I need to be able to manipulate the "who can equip" property set in custom.exe, but at runtime, if possible.
Doing a trick such as duplicating the item, and having the copy equippable, wouldn't really work since this needs to function for every character in the game.
Thanks. |
There is no way to do that right now. Equipability is not changeable, and even if it was, it does not get preserved in the .SAV game.
Maybe sometime in the future, after we have re-done the .SAV format, we can add that sort of functionality.
For now, you best bet is painstaking item duplication :( |
|
Back to top |
|
 |
Moogle1 Scourge of the Seas Halloween 2006 Creativity Winner


Joined: 15 Jul 2004 Posts: 3377 Location: Seattle, WA
|
Posted: Wed Mar 07, 2007 11:26 am Post subject: |
|
|
There's also painstaking hero duplication. _________________
|
|
Back to top |
|
 |
msw188
Joined: 02 Jul 2003 Posts: 1041
|
Posted: Wed Mar 07, 2007 11:07 pm Post subject: |
|
|
See also Bug 251, which would make for a decent workaround:
http://gilgamesh.hamsterrepublic.com/cgi-bin/bugzilla/show_bug.cgi?id=251
What we do have are plotscripting commands to change hero stats. I'm not sure if this is feasible, but perhaps you could have everyone able to equip items, and then a script that checks to see if certain criteria are met before actually giving the stat bonuses...? You'd have to think of something to let the player know what is going on, however... _________________ My first completed OHR game, Tales of the New World:
http://castleparadox.com/gamelist-display.php?game=161
This website link is for my funk/rock band, Euphonic Brew:
www.euphonicbrew.com |
|
Back to top |
|
 |
|