any help would be appreciated
homing weapons?
Moderator: Moderators
-
Dymon
- Lance Corporal
- Posts: 90
- Joined: Thu Jan 18, 2007 7:24 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
homing weapons?
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
any help would be appreciated
- tsurugi13
- Lieutenant Colonel

- Posts: 543
- Joined: Mon Dec 17, 2007 6:16 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Battling the ISA menace on Helghan.
Re: homing weapons?
I think you're looking in the side odf files. Look in the common folder.
- authraw
- 1st Lieutenant

- Posts: 445
- Joined: Mon Jun 26, 2006 3:45 pm
Re: homing weapons?
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.
TurnRate = "2.0"
That line only seems to appear in homing weapon ord files.
-
Aman/Pinguin
- Jedi

- Posts: 1104
- Joined: Tue Jan 30, 2007 6:04 am
- Projects :: Inactive
- Location: Germany
Re: homing weapons?
Hidden/Spoiler:
Also:
Code: Select all
LockTime = "0.0"- authraw
- 1st Lieutenant

- Posts: 445
- Joined: Mon Jun 26, 2006 3:45 pm
Re: homing weapons?
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.
-
PsYcH0_]-[aMsT3r
- 2nd Lieutenant

- Posts: 405
- Joined: Fri Jan 25, 2008 3:11 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Location Location.
Re: homing weapons?
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 
Hidden/Spoiler:
Hidden/Spoiler:
-
Caleb1117
- 2008 Most Original Avatar
- Posts: 3096
- Joined: Sun Aug 20, 2006 5:55 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: X-Fire: caleb1117 ಠ_ಠ
Re: homing weapons?
Yea, thats to make a unit using a weapon shoot it at different stuff, I use it to make rocketeers shoot infantry with rockets.Aman/Pinguin wrote:TargetPerson = "0"
TargetAnimal = "0"
TargetDroid = "0"
TargetVehicle = "1"
TargetBuilding = "0"
-
FragMe!
- Gametoast Staff

- Posts: 2244
- Joined: Sat May 13, 2006 12:34 am
- Projects :: Not sure keep changing my mind.
- xbox live or psn: No gamertag set
- Location: Origin name GT_FragMe
- Contact:
Re: homing weapons?
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.
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.
Code: Select all
TargetEnemy = "1"
TargetPerson = "1"
TargetDroid = "1"
AITargetPerson = "1"
AITargetDroid = "1"-
PsYcH0_]-[aMsT3r
- 2nd Lieutenant

- Posts: 405
- Joined: Fri Jan 25, 2008 3:11 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Location Location.
Re: homing weapons?
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
EDIT: Yea i think it must be cus the bulldog which can lock on has the same classlabels
- Maveritchell
- Jedi Admin

- Posts: 7366
- Joined: Mon Aug 21, 2006 11:03 pm
Re: homing weapons?
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.).
