ODF question(s)
Moderator: Moderators
-
EGG_GUTS
- Master Bounty Hunter

- Posts: 1626
- Joined: Thu Dec 07, 2006 7:38 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: CANADA!
ODF question(s)
OK I only have 3 not 10 this time.
How do I make normal units kneel like heroes?
How do you change gun's bullets or the effect of the bullet?
How do you change the quantity of bullets that get shot out?
thanks
How do I make normal units kneel like heroes?
How do you change gun's bullets or the effect of the bullet?
How do you change the quantity of bullets that get shot out?
thanks
-
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: ODF question(s)
For 2 it is done in the (example) com_weap_inf_rifle_ord.odf, can change color of bolt or type of effect.
For 3 it is done in the (example) com_weap_inf_rifle.odf, for quantity at one time change the number for salvo
For 3 it is done in the (example) com_weap_inf_rifle.odf, for quantity at one time change the number for salvo
- Hero_Unit
- Private First Class
- Posts: 78
- Joined: Tue Mar 13, 2007 3:15 pm
RE: ODF question(s)
I know 1, add this line in the odf "FleeLikeAHero = 1".(Without quotes of course.)
-
EGG_GUTS
- Master Bounty Hunter

- Posts: 1626
- Joined: Thu Dec 07, 2006 7:38 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: CANADA!
- Hero_Unit
- Private First Class
- Posts: 78
- Joined: Tue Mar 13, 2007 3:15 pm
Anywhere under [Properties], for example, say I wanted the clone engineer to kneel, I'd change the Default engineer odf to this(Even though it can be anywhere, it is usually best to put it near the top):
Code: Select all
[GameObjectClass]
ClassParent = "rep_inf_default"
[Properties]
UnitType = "pilot"
FleeLikeAHero = 1
ImmuneToMines = "1"
WEAPONSECTION = 1
WeaponName = "rep_weap_inf_shotgun"
WeaponAmmo = 8
WEAPONSECTION = 2
WeaponName = "rep_weap_inf_fusioncutter"
WeaponAmmo = 0
WEAPONSECTION = 3
WeaponName = "rep_weap_inf_detpack"
WeaponAmmo = 3
WeaponChannel = 1
WEAPONSECTION = 4
WeaponName = "rep_weap_inf_powerup_dispenser"
WeaponAmmo = 5
WeaponChannel = 1
WEAPONSECTION = 5
WeaponName = "rep_weap_award_shotgun"
WeaponAmmo = 8
VOUnitType = 121
Last edited by Hero_Unit on Sat Mar 17, 2007 5:24 pm, edited 1 time in total.
-
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:
From com_weap_inf_rifle.odf about 3/4 the way down
//***********************************************
//*********** WEAPON PERFORMANCE VALUES *********
//***********************************************
RoundsPerClip = "50"
ReloadTime = "1.5"
ShotDelay = "0.2"
TriggerSingle = "0"
DisplayRefire = "0"
SalvoCount = "1"
SalvoDelay = "0.0"
InitialSalvoDelay = "0.0"
SalvoTime = "0.0"
Rounds per clip will change the total ammo, can't see where to change number of clips anywhere. You can also change how fast it reloads and how fast it will fire. Hope that is what you were looking for.
//***********************************************
//*********** WEAPON PERFORMANCE VALUES *********
//***********************************************
RoundsPerClip = "50"
ReloadTime = "1.5"
ShotDelay = "0.2"
TriggerSingle = "0"
DisplayRefire = "0"
SalvoCount = "1"
SalvoDelay = "0.0"
InitialSalvoDelay = "0.0"
SalvoTime = "0.0"
Rounds per clip will change the total ammo, can't see where to change number of clips anywhere. You can also change how fast it reloads and how fast it will fire. Hope that is what you were looking for.
- jangoisbaddest
- Lieutenant General

- Posts: 661
- Joined: Mon Feb 27, 2006 12:10 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: All Along The Watchtower
-
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:
-
EGG_GUTS
- Master Bounty Hunter

- Posts: 1626
- Joined: Thu Dec 07, 2006 7:38 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: CANADA!
FragMe! wrote:From com_weap_inf_rifle.odf about 3/4 the way down
//***********************************************
//*********** WEAPON PERFORMANCE VALUES *********
//***********************************************
RoundsPerClip = "50"
ReloadTime = "1.5"
ShotDelay = "0.2"
TriggerSingle = "0"
DisplayRefire = "0"
SalvoCount = "1"
SalvoDelay = "0.0"
InitialSalvoDelay = "0.0"
SalvoTime = "0.0"
Rounds per clip will change the total ammo, can't see where to change number of clips anywhere. You can also change how fast it reloads and how fast it will fire. Hope that is what you were looking for.
And the salvo is how many bullets come out every time you fire?
and sorry for another question but What if I wanted a emp launcher to fire the IFT-X's beam laser? how would I do this?
EDIT: Ok I went into Data_GT1/Sides/Common/odf/com_weap_inf_rocket_launcher
I changed the salvocount from 1 to 3 and munged the Common side. and the rocket launcher still shot one. So how do I change how many bullets come out in one shot?
Thanks again
-
Rekubot
- Jedi

- Posts: 1080
- Joined: Wed Apr 05, 2006 12:34 pm
- Projects :: No Mod project currently.
- xbox live or psn: Rekubot
- Location: UK
Hm... did you make sure to turn up the RoundsPerClip to at least 3? If you don't, it'll have to reload every shot, so you wouldn't get a salvo of three. However, if you turned the RoundsPerClip number to five, you'd first get a 3-round salvo, but when you fire next you'd only get a 2-round salvo before you'd be forced to reload, see?EDIT: Ok I went into Data_GT1/Sides/Common/odf/com_weap_inf_rocket_launcher
I changed the salvocount from 1 to 3 and munged the Common side. and the rocket launcher still shot one. So how do I change how many bullets come out in one shot?
Thanks again
- Hero_Unit
- Private First Class
- Posts: 78
- Joined: Tue Mar 13, 2007 3:15 pm
You would open up the IFT-X laser weapon, and scroll down untill you see a line with _ord at the end. Open the EMP launcher and do the same, then replace it's_ord line with the beam cannon _ord line.and sorry for another question but What if I wanted a emp launcher to fire the IFT-X's beam laser? how would I do this?
-
Syth
- General

- Posts: 784
- Joined: Thu Apr 13, 2006 8:46 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: happy fun island
