Castle Paradox Forum Index Castle Paradox

 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 Gamelist   Review List   Song List   All Journals   Site Stats   Search Gamelist   IRC Chat Room

Changing "who can equip"?

 
Post new topic   Reply to topic    Castle Paradox Forum Index -> HELP!
View previous topic :: View next topic  
Author Message
Awful Waffle




Joined: 18 Jun 2003
Posts: 73
Location: Canada

PostPosted: Tue Mar 06, 2007 11:39 pm    Post subject: Changing "who can equip"? Reply with quote

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
View user's profile Send private message
Bob the Hamster
OHRRPGCE Developer




Joined: 22 Feb 2003
Posts: 2526
Location: Hamster Republic (Southern California Enclave)

PostPosted: Wed Mar 07, 2007 10:24 am    Post subject: Re: Changing "who can equip"? Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
Moogle1
Scourge of the Seas
Halloween 2006 Creativity Winner
Halloween 2006 Creativity Winner



Joined: 15 Jul 2004
Posts: 3377
Location: Seattle, WA

PostPosted: Wed Mar 07, 2007 11:26 am    Post subject: Reply with quote

There's also painstaking hero duplication.
_________________
Back to top
View user's profile Send private message Visit poster's website AIM Address
msw188




Joined: 02 Jul 2003
Posts: 1041

PostPosted: Wed Mar 07, 2007 11:07 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Castle Paradox Forum Index -> HELP! All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group