Page 1 of 1
A weapon that fires 2 shots at once?
Posted: Fri Oct 06, 2006 6:53 pm
by Vyse
Can you have a weapon that fires 2 shots at once? I was looking at the wookies's bow caster that fires more when it's charged but I can't find how they did it in the ODF. I have placed more nulls in my XSI object but I can see how you reference them to shoot both from the weapon ODF?
I have tried putting the below after my weapon section but it makes the second shot come out of the control post o_0 Any ideas?
AimerNodeName = "hp_fire_1"
NextAimer = "-"
AimerNodeName = "hp_fire_2"
BTW my nulls in xsi are named the above hp_fire_1 and hp_fire_2.
If we can solve this I should be able to do dual weapons with new animations I have made!

RE: A weapon that fires 2 shots at once?
Posted: Fri Oct 06, 2006 7:01 pm
by Rends
Well i´m quit not sure because i have never played with multiple shots but i think it´s this bowcaster entries:
ShotsPerSalvo = 7
ShotPatternCount = 7
ShotPatternPitchYaw = "0.0 0.0"
ShotPatternPitchYaw = "0.0 -0.7"
ShotPatternPitchYaw = "0.0 0.7"
ShotPatternPitchYaw = "0.0 -1.4"
ShotPatternPitchYaw = "0.0 1.4"
ShotPatternPitchYaw = "0.0 -2.1"
ShotPatternPitchYaw = "0.0 2.1"
Rends
RE: A weapon that fires 2 shots at once?
Posted: Fri Oct 06, 2006 7:04 pm
by Syth
deulies? SWEET
*snickers* it has nothing to do with XSI, and that "NextAimer" stuff only works for vehicle type units. Look at tri-shot (or the ALL_weap_inf_bowcaster). Actually Ill post the line. Add that and the weapon can have mulitple fire points. But just to warn you, the know how the bow caster shoots in an arc formation? The further your fire point is from the center it, the more of an angle it will fire at
ShotsPerSalvo = "2"
ShotPatternCount = "2"
ShotPatternPitchYaw = "-0.1 -0.8"
ShotPatternPitchYaw = "-0.1 0.8"
RE: A weapon that fires 2 shots at once?
Posted: Fri Oct 06, 2006 7:14 pm
by Bac-Talan
In otherwords, what Rends said.
Ya, I've played around with this.
However, this isn't what you're looking for.
This is still set up for one fire point, it will just angle the shot away from the firepoint.
I don't know how to put two seperate firepoints on an infantry unit, but I'd look to the droidika's ODF to find out.
RE: A weapon that fires 2 shots at once?
Posted: Fri Oct 06, 2006 7:24 pm
by Syth
the droideka is a vehicle type unit. youd have to somehow make a unit a vehicle type, but doing that probally has some undesirable side effects (like a 2 weapon limit)
Oh, this is something I found out a while ago. Besides vehicles, it doesnt really matter where your fire point is; The shot always fires from the center of the screeen (where your reticle is).
RE: A weapon that fires 2 shots at once?
Posted: Fri Oct 06, 2006 7:49 pm
by t551
No, the ordnance emanates from the hardpoint specified in the .odf.
Posted: Fri Oct 06, 2006 7:52 pm
by Vyse
Ya, I'm actually looking to have it shoot from 2 different fire points on one weapon.
Maybe I should try to specify a unit as a droideka...
Posted: Sat Oct 07, 2006 7:12 am
by Rends
Vyse,
while working on my SWBF1 Bounty Hunters i had the Gamorreans firing 2 weapons at the same time (accidently)
Have a look at the weaponsections:
WEAPONSECTION = 1
WeaponName = "all_weap_inf_rifle"
WeaponName = "all_weap_invisible_rifle"
WeaponAmmo = 6
Try adding a second (invisible) weapon. Guess you only need to create a Null (hardpoint) in XSI wich is not located at 0,0,0 but at the position you want.
Maybe this works
Rends
Posted: Sat Oct 07, 2006 4:47 pm
by Qdin
Vyse, how about having the 2nd weapon an 'illusion' like Aayla's 2nd saber? then I'd guess it would be to make animations which matches the space between the 2 weapons?