Hi, I was wondering if someone could explain/confirm what the weapon xml attributes mean please?
As an example:
<Weapon WeaponType="bullet" ImpactDice="1" ImpactDieSize="1" ImpactOffset="4.03" BlastDice="1" BlastDieSize="1" BlastOffset="1" FireDice="1" FireDieSize="1" FireOffset="2" ExplodeEffect="fx_bltpln_s" GroundEffect="fx_bltgnd_s" AirEffect="fx_bltpln_s" WaterEffect="fx_bltwtr_s"/>
Weapon Type - I'm guessing this has a role in other effects where it will define which effect is run?
Impact dice - the number of dice rolled at impact? I read someonewhere that this should always be '1'
ImpactDieSize - Am I right that this is rolled to see if the hit counts for damage? So if you always want damage applied on every hit on a damage box you should use 1?
ImpactOffset - Really keen to know this, is it simply the ammount of damage?
Blast values, same meanings as impact but for explosive damage on a radius: So cannon would have a value here, 'normal bullets' would just have 1
Fire values, as above. If my understanding so far is correct, is it possible to set a fireDieSize value of more than 1 to create the effect of 1 in 10 rounds being an incendiary for example?
The effects I assume are hit effects in air, ground and water that are detailed in the effects file?
Thanks for any help.
As an example:
<Weapon WeaponType="bullet" ImpactDice="1" ImpactDieSize="1" ImpactOffset="4.03" BlastDice="1" BlastDieSize="1" BlastOffset="1" FireDice="1" FireDieSize="1" FireOffset="2" ExplodeEffect="fx_bltpln_s" GroundEffect="fx_bltgnd_s" AirEffect="fx_bltpln_s" WaterEffect="fx_bltwtr_s"/>
Weapon Type - I'm guessing this has a role in other effects where it will define which effect is run?
Impact dice - the number of dice rolled at impact? I read someonewhere that this should always be '1'
ImpactDieSize - Am I right that this is rolled to see if the hit counts for damage? So if you always want damage applied on every hit on a damage box you should use 1?
ImpactOffset - Really keen to know this, is it simply the ammount of damage?
Blast values, same meanings as impact but for explosive damage on a radius: So cannon would have a value here, 'normal bullets' would just have 1
Fire values, as above. If my understanding so far is correct, is it possible to set a fireDieSize value of more than 1 to create the effect of 1 in 10 rounds being an incendiary for example?
The effects I assume are hit effects in air, ground and water that are detailed in the effects file?
Thanks for any help.