Page 1 of 1
homing weapons?
Posted: Mon Jun 16, 2008 7:47 am
by Dymon
hello there, i'd like to make the ordnance of the republican emp thrower homing on enemy vehicles and flyers just as the rockets of the rocketlaunchers do. so i looked into the odf's of the rocketlauncher and the bulldog but i couldn't identify any lines that could manage their ordnances to be homing. and i didn't find anything in the ordnance's odf's too.
any help would be appreciated

Re: homing weapons?
Posted: Mon Jun 16, 2008 1:08 pm
by tsurugi13
I think you're looking in the side odf files. Look in the common folder.
Re: homing weapons?
Posted: Mon Jun 16, 2008 1:14 pm
by authraw
I'm not quite sure, but you could try adding the following line to the _ord odf:
TurnRate = "2.0"
That line only seems to appear in homing weapon ord files.
Re: homing weapons?
Posted: Mon Jun 16, 2008 2:34 pm
by Aman/Pinguin
This should do it, not sure though.
Also:
you should raise it a bit.
Re: homing weapons?
Posted: Mon Jun 16, 2008 2:57 pm
by authraw
The TargetPerson is set to true in the rifle odf as well, but the rifle is not a homing weapon. It seems to me that those TargetSomething values allow you to select that unit type when holding that weapon. To make the EMP blaster homing, you're certainly going to need the TargetWhatever set to one, but that's not the only thing necessary to make a weapon a homing weapon.
Re: homing weapons?
Posted: Mon Jun 16, 2008 3:29 pm
by PsYcH0_]-[aMsT3r
OK this is what im good at and im doing the same thing at the moment. OK here what the odf lines do:
And the _ord:
There you go that should help

Re: homing weapons?
Posted: Mon Jun 16, 2008 5:43 pm
by Caleb1117
Aman/Pinguin wrote:TargetPerson = "0"
TargetAnimal = "0"
TargetDroid = "0"
TargetVehicle = "1"
TargetBuilding = "0"
Yea, thats to make a unit using a weapon shoot it at different stuff, I use it to make rocketeers shoot infantry with rockets.
Re: homing weapons?
Posted: Mon Jun 16, 2008 6:04 pm
by FragMe!
if this helps at all this is what I have in the cis_weap_inf_rocket_launcher.odf in order to lock on to enemy units in hunt mode for Sewers.
Code: Select all
TargetEnemy = "1"
TargetPerson = "1"
TargetDroid = "1"
AITargetPerson = "1"
AITargetDroid = "1"
This works great and it is lots of fun, the bigger question is if something other than a rocket/propelled weapon can lock on to a target and track it.
Re: homing weapons?
Posted: Tue Jun 17, 2008 5:54 am
by PsYcH0_]-[aMsT3r
Hmm i think the classlabel "launcher" or ord classlabel "missile" might do that.
EDIT: Yea i think it must be cus the bulldog which can lock on has the same classlabels
Re: homing weapons?
Posted: Tue Jun 17, 2008 1:39 pm
by Maveritchell
The .odf parameters doc says that it applies to all weapon classlabels. I'm not sure how it would work with something like an areaeffectweapon, but you might still get it to work on a bolt or a fatray (etc.).