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

Dual wielding and captions

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






PostPosted: Tue Jul 30, 2013 7:18 pm    Post subject: Dual wielding and captions Reply with quote

Lets say I make 2 weapons. The Flaming Sword of Fire and the Freezing Sword of Ice. Both have the same stats, only boosting attack. One uses an attack that does fire damage, the other uses an attack that does ice damage. I'd like players to be able to equip both, one in the "main hand", one in the "off hand", and gain the attacks from both.
So, if Jimmy equips the Flaming Sword of Fire in his main hand and the Freezing Sword of Ice in his off hand, and attacks a goblin, first he swings his main hand weapon and deals 32 fire damage, then he swings his off hand weapon and deals 32 ice damage. Afterwards, Jimmy equips the Melting Sword of Acid in his offhand, so his offhand swing will instead deal acid damage. Later, Jimmy finds another Flaming Sword of Fire and equips IT in his offhand so he now swings twice for 32 fire damage each time.
I want almost all my weaposn to be able to be dual-wielded like this, is there any way to do it?

Second (and hopefully more simple), how do I reference a target in an attack caption? Something like "<target> started slowly regenerating!"
Back to top
Bob the Hamster
OHRRPGCE Developer




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

PostPosted: Wed Jul 31, 2013 7:34 am    Post subject: Reply with quote

There is no easy way to do dual-wielding weapons. I would like to add this feature to the engine eventually, but I can make no promises as to when.

Unfortunately there is also no way to embed target name into a caption, although that is a good suggestion.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Boogadyboo
Guest






PostPosted: Wed Jul 31, 2013 7:48 am    Post subject: Reply with quote

Aw, sad face. Guess I could just make a set of items that give +1 attack to represent the off hand. Thanks Bob.
Back to top
Rya.Reisender
Snippy




Joined: 18 Jan 2008
Posts: 821

PostPosted: Wed Jul 31, 2013 10:52 pm    Post subject: Reply with quote

If you only want to have a few dual wielding combinations then it's possible by making an script that combines two weapons into one item. Like you bring the Ice Sword and the Flame Sword and you combine it to the IF Sword and the IF Sword is linked to a skill that does one attack fire and one attack ice (linked skill).
Then you can make a plotscript that unequips your shield if you equip a combined weapon.

But yeah, as stated in the previous thread, this would be much better off integrated into the OHRRPGCE.
_________________
Snippy:
"curt or sharp, esp. in a condescending way" (Oxford American Dictionary)
"fault-finding, snappish, sharp" (Concise Oxford Dictionary, UK)
1. short-tempered, snappish, 2. unduly brief or curt (Merriam-Webster Dictionary)
Back to top
View user's profile Send private message MSN Messenger
TMC
On the Verge of Insanity




Joined: 05 Apr 2003
Posts: 3240
Location: Matakana

PostPosted: Wed Jul 31, 2013 11:24 pm    Post subject: Reply with quote

Yes, but there's another possibility which is a bit easier: use tags and chaining attacks. For example each weapon has its attack, which chains to an attack,

"secondary fire attack"
if tag "offhand fire sword" is off, INSTEAD chain to...
"secondary ice attack"
if tag "offhand ice sword" is off, INSTEAD chain to...
...etc
if tag "offhand acid sword" is off, INSTEAD chain to...
an attack which does nothing.

Note that you would have to set the tags with a script rather than use "when equipped" tags, otherwise the main weapon interferes.

You aren't the first person to suggest attack caption codes for the target, etc. It's a good idea.
_________________
"It is so great it is insanely great."
Back to top
View user's profile Send private message Send e-mail
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