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

Handling bows, guns, etc

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






PostPosted: Sun Nov 01, 2015 2:43 pm    Post subject: Handling bows, guns, etc Reply with quote

Just wondering how everyone handles weapons that consume ammunition, like bows and guns. My problem, specifically, is how to make bows two-handed, to prevent the fallacy of wielding a bow and a shield.
Back to top
Ronin Catholic
A Pink Dormouse




Joined: 23 Jul 2007
Posts: 401
Location: My Girlfriend

PostPosted: Sun Nov 01, 2015 11:36 pm    Post subject: Reply with quote

You can't. If you want any of a character's weapons to be two-handed, you have to simply not allow that character to equip shields to his shield slot.
_________________
Back to top
View user's profile Send private message
TMC
On the Verge of Insanity




Joined: 05 Apr 2003
Posts: 3230
Location: Matakana

PostPosted: Mon Nov 02, 2015 11:30 pm    Post subject: Reply with quote

I think that's two questions? Two completely unrelated ones?
Regarding ammunition, see How do I make a weapon that requires ammunition?

There's no builtin support for detailed equip limitations in the engine. You'll have to use a workaround. You could use a script to check for the case that a shield and a two-hand weapon are both equipped, and if so automatically unequipping the shield. Unfortunately you can only run a script after exiting the equip menu, not during. You should also include a message telling the player what happened.
There aren't really any better options. You could script the equip menu from scratch to get total control, but that's a heap of work.
_________________
"It is so great it is insanely great."
Back to top
View user's profile Send private message Send e-mail MSN Messenger
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