When I eddited my troop and munge and everything and do everything correctly, but when i go into the game and play my map, as soon as its done loading, it closes me out of battlefront 2, here is the file i edited, WHAT IS THE PROBLEM???:
[GameObjectClass]
ClassParent = "rep_inf_default"
[Properties]
MaxHealth = 1000.0
PointsToUnlock = 0
UnitType = "trooper"
AISizeType = "HOVER"
ControlSpeed = "jet 1.50 1.25 1.25"
JetJump = "5.0" //7 //The initial jump-push given when enabling the jet
JetPush = "8.0" //The constant push given while the jet is enabled (20 is gravity)
JetAcceleration = "30.0" //Acceleration while hovering.
JetEffect = "rep_sfx_jetpack"
JetType = "hover"
JetFuelRechargeRate = "0.12" //Additional fuel per second (fuel is 0 to 1)
JetFuelCost = "0.16" //Cost per second when hovering (only used for jet-hovers)(fuel is 0 to 1)
JetFuelInitialCost = "0.25" //initial cost when jet jumping(fuel is 0 to 1)
JetFuelMinBorder = "0.24" //minimum fuel to perform a jet jump(fuel is 0 to 1)
CAMERASECTION = "STAND"
EyePointOffset = "0.0 1.8 0.0"
TrackCenter = "0.0 1.8 0.0
TrackOffset = "0.0 0.0 3.5"
TiltValue = "7.5"
//These probably need to be set
//CAMERASECTION = "STANDZOOM"
//EyePointOffset = "0.0 1.8 0.0"
//TrackCenter = "0.0 1.8 0.0
//TrackOffset = "0.4 0.05 2.8"
//TiltValue = "3.5"
CAMERASECTION = "CROUCH"
EyePointOffset = "0.0 1.3 0.0"
TrackCenter = "0.0 1.3 0.0
TrackOffset = "0.0 0.15 3.5"
TiltValue = "7.5"
//These probably need to be set
//CAMERASECTION = "CROUCHZOOM"
//EyePointOffset = "0.0 1.3 0.0"
//TrackCenter = "0.0 1.3 0.0
//TrackOffset = "0.4 0.2 2.8"
//TiltValue = "3.5"
WEAPONSECTION = 1
WeaponName = "rep_weap_inf_emp_launcher"
WeaponAmmo = 0
WEAPONSECTION = 2
WeaponName = "rep_weap_inf_sniper_rifle"
WeaponAmmo = 0
WEAPONSECTION = 3
WeaponName = "rep_weap_inf_thermaldetonator"
WeaponAmmo = 0
WeaponChannel = 1
WEAPONSECTION = 4
WeaponName = "rep_weap_award_pistol"
WeaponAmmo = 0
CollisionScale = "0.0 0.0 0.0"
EngineSound = "rep_inf_Jetpack_engine_parameterized"
TurnOnSound = "rep_weap_jetpack_turnon"
TurnOffSound = "rep_weap_jetpack_turnoff"
TurnOffTime = 0.0
VOUnitType = 121
PLEASE HELP ME
Editting Troops Problem
Moderator: Moderators
-
SymbolS
-
Pi314
Is that all you edited?
Paste the section of the .lua file where you inserted the unit or whatever else you did!
although on second thought.
the file you edited was the default rep. I would look up the units that use this default and see if anything collides with what you have entered.
Paste the section of the .lua file where you inserted the unit or whatever else you did!
although on second thought.
the file you edited was the default rep. I would look up the units that use this default and see if anything collides with what you have entered.
Last edited by Pi314 on Fri Nov 03, 2006 10:09 pm, edited 2 times in total.
-
yodasoda
RE: Editting Troops Problem
shouldn't the j be lowercase?rep_inf_Jetpack_engine_parameterized
-
SymbolS
RE: Editting Troops Problem
i dunno, i didnt edit the lua file, except putting the DE or w/e it was in front of sides so it would be editted.
-
Pi314
RE: Editting Troops Problem
its dc: and make sure it is on the right place. my game crashed once too when i put it on the wrong place.
-
SymbolS
RE: Editting Troops Problem
what do u mean? where do i put DC: ? i thought i supposed to put DC: under the ???C_con and ???g_con lua files
-
Pi314
Yes, in the lua files. Make sure it is on the right spot in the lua files I mean.
Yours should look kinda like this:
ReadDataFile("dc:SIDE\\rep.lvl",
"rep_inf_ep2_rifleman",
"rep_inf_ep3_rocketeer",
"rep_inf_ep3_engineer",
"rep_inf_ep3_sniper",
"rep_inf_ep3_officer",
"rep_inf_ep3_jettrooper",
"rep_hover_fightertank",
"rep_hero_aayla",
"rep_hover_barcspeeder")
Make sure the other units listed are present in your rep folder as well. Not only the edited one.
Also make sure you didn't put the dc: to the setup team. ONLY the ReadDataFile and ONLY in front of SIDE!
Yours should look kinda like this:
ReadDataFile("dc:SIDE\\rep.lvl",
"rep_inf_ep2_rifleman",
"rep_inf_ep3_rocketeer",
"rep_inf_ep3_engineer",
"rep_inf_ep3_sniper",
"rep_inf_ep3_officer",
"rep_inf_ep3_jettrooper",
"rep_hover_fightertank",
"rep_hero_aayla",
"rep_hover_barcspeeder")
Make sure the other units listed are present in your rep folder as well. Not only the edited one.
Also make sure you didn't put the dc: to the setup team. ONLY the ReadDataFile and ONLY in front of SIDE!
