 |
Castle Paradox
|
View previous topic :: View next topic |
Author |
Message |
Boogadyboo Guest
|
Posted: Tue Jul 30, 2013 7:18 pm Post subject: Dual wielding and captions |
|
|
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)
|
Posted: Wed Jul 31, 2013 7:34 am Post subject: |
|
|
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 |
|
 |
Boogadyboo Guest
|
Posted: Wed Jul 31, 2013 7:48 am Post subject: |
|
|
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
|
Posted: Wed Jul 31, 2013 10:52 pm Post subject: |
|
|
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 |
|
 |
TMC On the Verge of Insanity
Joined: 05 Apr 2003 Posts: 3240 Location: Matakana
|
Posted: Wed Jul 31, 2013 11:24 pm Post subject: |
|
|
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 |
|
 |
|
|
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
|