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 hero bitsets?

 
Post new topic   Reply to topic    Castle Paradox Forum Index -> The Arcade
View previous topic :: View next topic  
Author Message
The Drizzle
Who is the Drizzle?




Joined: 12 Nov 2003
Posts: 432

PostPosted: Sun Mar 07, 2004 3:28 pm    Post subject: changing hero bitsets? Reply with quote

Basically, I want to know if this is possible: I want to make weapons that make the hero more effective against certain types of enemies. Example: Hero is equipped with sword, effective against bugs, hero is equipped with ax, hero is effective against humans. However, weapons don't have enemy-type bitsets, they just have elemental bitsets. Is there a way of changing a hero's bitsets when he is equipped with a certain weapon? (Please provide a semi-detailed script, i'm a horrible scripter)
_________________
My name is...
The shake-zula, the mic rulah, the old schoola, you wanna trip? I'll bring it to yah...
Back to top
View user's profile Send private message AIM Address
Aethereal
SHUT UP.
Elite Designer
Elite Designer



Joined: 04 Jan 2003
Posts: 928
Location: Gone! I pop in on occasion though.

PostPosted: Sun Mar 07, 2004 3:50 pm    Post subject: Reply with quote

Yes. I'm going to move this to OHR general discussion since this does not require any scripting whatsoever.

What you want to do is have different versions of the default "attack" command that gets attached to each weapon, then make each "attack" command get a bonus on a certain enemy type. So you'll have an "Attack" attack that is effective on humans, an "Attack" attack that is effective on bugs, etc. Make sure you keep track of which one affects who somehow (maybe change the name slightly by using icons or something?). Hope that helps.
_________________
Back to top
View user's profile Send private message Send e-mail AIM Address
The Drizzle
Who is the Drizzle?




Joined: 12 Nov 2003
Posts: 432

PostPosted: Sun Mar 07, 2004 3:59 pm    Post subject: Reply with quote

wow, i feel like the biggest idiot right now, i completely forgot about attack bitsets. Ha! Anyway, nice move Aeth.
_________________
My name is...
The shake-zula, the mic rulah, the old schoola, you wanna trip? I'll bring it to yah...
Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic    Castle Paradox Forum Index -> The Arcade All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot 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