Aller au contenu

Photo

Splitting Property


  • Veuillez vous connecter pour répondre
10 réponses à ce sujet

#1
Yuukale

Yuukale
  • Members
  • 3 messages
Hey folks, do you think it is possible to script this weapon property (champions of ruin).
It's a +3 property that effectively doubles all your shots. Unlike manyshot, it has no attack penalties.

I intend to learn how to script just to add this property to my game, so that I may better replicate my pnp character build =)

thanks guys

#2
Dann-J

Dann-J
  • Members
  • 3 161 messages
I'm assuming this is a ranged weapon. For a melee weapon, you could give it a tag-based OnHit script that 'fakes' the second attack. However I'm fairly sure that OnHit tag-based scripts only fire for ammunition and not for their launcher.

You could try adding the Improved Rapid Shot feat as a bonus feat granted by the ranged weapon. The wielder would have to activate the attack mode manually though. It might be possible to automatically enable the attack mode via a tag-based OnEquip script.

Of course, you'd have to learn tag-based scripting first.

#3
Yuukale

Yuukale
  • Members
  • 3 messages
hmmm... the fake attack seems more close to what I want.

The point of the property is to double your attacks. all of them.
For example: You have 4 iterative attacks (+20/+15/+10/+5) + rapid shot + haste = 6 attacks.

If your bow has splitting then you'll be firing 12 shots per round with the appropriate bonuses. Each of the above iterative attack would get a duplicate.

Got it? is that possible?

#4
Dann-J

Dann-J
  • Members
  • 3 161 messages
By doing it on an OnHit basis, every attack would most likely get duplicated regardless of how many attacks you were getting per round. That would be possible for ammunition or a melee weapon (something that actually hits a target), but I can't see a way of getting a ranged weapon itself to do it via scripting. Unless launchers also fire an OnHit event (which I strongly doubt).

It would certainly work for missile weapons that don't require a launcher (throwing axes or darts). But they're not nearly as sexy as a bow.

#5
kamal_

kamal_
  • Members
  • 5 259 messages
Add a feat for "double attack", and set the property of a bow to grant that feat? Make the feat not take-able for characters.

#6
Dann-J

Dann-J
  • Members
  • 3 161 messages
At the very least, this thread has given me a great idea. I'm creating skipstones for my warsling snipers to use. The OnHit script for the bullets will have to fake the second attack.

There's a surprising amount of coding required to fake what the game engine does through hard-coding. Attack rolls, critical hit rolls, damage rolls, enchantments on the launcher, checks for feats or concealment on the target, checks for feats or spell enhancements on the PC... the list keeps growing.

#7
kamal_

kamal_
  • Members
  • 5 259 messages

DannJ wrote...

At the very least, this thread has given me a great idea. I'm creating skipstones for my warsling snipers to use. The OnHit script for the bullets will have to fake the second attack.

There's a surprising amount of coding required to fake what the game engine does through hard-coding. Attack rolls, critical hit rolls, damage rolls, enchantments on the launcher, checks for feats or concealment on the target, checks for feats or spell enhancements on the PC... the list keeps growing.

Wouldn't a Manyshot (Sling) feat be easier?

#8
Dann-J

Dann-J
  • Members
  • 3 161 messages
Manyshot shoots two projectiles at once, using the same attack roll to hit the same target with both. A skipstone counts as only one projectile that ricochets off one target and onto a second. Skipstones only have a -2 attack penalty on the ricochet hit, rather than the -4 for manyshot. Skipstones also have a limited ricochet range. The second target has to be within 5 feet of the first.

I've actually granted Manyshot as the level 5 feat for my version of the Warsling Sniper prestige class. It'll be interesting to see if the skipstones stack with manyshot and rapidshot. Since the skipstone behaviour is fired from the OnHit tag-based script, the multiple manyshot bullets should each fire the skipstone script separately, as they should also do for the additional rapidshot attacks per round. A level 5 Warsling Sniper using skipstones should be quite deadly to any enemies clustered tightly together - especially if they sneak-attack at the same time!

#9
Yuukale

Yuukale
  • Members
  • 3 messages
Dann, wouldn't the property I suggest be more useful to you? And it has the nice bonus of being an actual D&D property (Champions of Ruin book). It will double whatever you fire using the same attack bonus. A +6/+1 attack would be a +6/+6/+1/+1, for example.

#10
kamal_

kamal_
  • Members
  • 5 259 messages

Yuukale wrote...

Dann, wouldn't the property I suggest be more useful to you? And it has the nice bonus of being an actual D&D property (Champions of Ruin book). It will double whatever you fire using the same attack bonus. A +6/+1 attack would be a +6/+6/+1/+1, for example.

Skiprocks and Warsling Snipers are from Races of Faerun, and are an actual D&D item/class. :) Plus he seems to be wanting that specific thing rather than what you're asking for. I suggest taking a look at the scripting tutorial here:
http://nwvault.ign.c....Detail&id=124  , most people in this forum aren't going to script random things for people unless it catches their eye and they want to. Most people that can do scripting have their own things they're working on, and those tend to get priority.

Modifié par kamal_, 02 février 2013 - 12:13 .


#11
Dann-J

Dann-J
  • Members
  • 3 161 messages
My halfling skiprocks work perfectly, which proves that it would be possible to add the splitting property to arrows. Adding it to the bow itself would be far more difficult.

It might be possible to add a new 'infinite arrow' property to the game, allowing a splitting bow to only fire its own splitting arrow types. That might unbalance the game though, having both arrow splitting AND infinite ammo. Perhaps making the splitting arrows non-enchanted, and limiting the attack bonus of the bow itself to only +1 (with no mighty property) might compensate. It'd still be an impressive weapon in the hands of an Arcane Archer though.

[Edit: Splitting arrows are now on the Nexus (see link above) ]

Modifié par DannJ, 04 février 2013 - 09:32 .