Jettrooper help

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
fiddler_on_the_roof
1st Lieutenant
1st Lieutenant
Posts: 460
Joined: Wed Nov 12, 2008 5:28 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Jettrooper help

Post by fiddler_on_the_roof »

For my Mon Cal map, I'm using the ep2_jettrooper_sniper, but his jetpack wont work, and I can't get the poinst to unlock to change
Here is the ODF

Code: Select all

[GameObjectClass]
ClassParent         = "rep_inf_default_jettrooper"

[Properties]
MaxHealth           = 300.0

PointsToUnlock      = 4

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)


WEAPONSECTION = 1
WeaponName1         = "rep_weap_inf_sniper_rifle"
WeaponAmmo1         = 7

WEAPONSECTION = 2
WeaponName2         = "rep_weap_inf_pistol"
WeaponAmmo2         = 0

WEAPONSECTION = 3
WeaponName3         = "rep_weap_inf_thermaldetonator"
WeaponAmmo3         = 2
WeaponChannel3      = 1

This same config. workd for the ep2_jettrooper_rifleman, but I can't get this guy to be able to use his jetpack, and it always says points to unlock 12, how do I cahnge this. I know it says points to unlock 4 up there, but it doesn't work.
MetalcoreRancor
Brigadier General
Brigadier General
Posts: 628
Joined: Thu Jun 07, 2007 11:13 am
Projects :: No Mod project currently.
Games I'm Playing :: swbf origin
xbox live or psn: No gamertag set

Re: Jettrooper help

Post by MetalcoreRancor »

Delete the line
ClassParent = "rep_inf_default_jettrooper"
and copy everything vital from the default version, so the idea is to merge both together. Should work as it does for me.
Deviss
Master of the Force
Master of the Force
Posts: 3772
Joined: Tue Aug 12, 2008 7:59 pm
Projects :: Clone Wars Extended
Games I'm Playing :: BF2

Re: Jettrooper help

Post by Deviss »

Hidden/Spoiler:
[quote="fiddler_on_the_roof"]For my Mon Cal map, I'm using the ep2_jettrooper_sniper, but his jetpack wont work, and I can't get the poinst to unlock to change
Here is the ODF
[code][GameObjectClass]
ClassParent = "rep_inf_default_jettrooper"

[Properties]
MaxHealth = 300.0

PointsToUnlock = 4

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)


WEAPONSECTION = 1
WeaponName1 = "rep_weap_inf_sniper_rifle"
WeaponAmmo1 = 7

WEAPONSECTION = 2
WeaponName2 = "rep_weap_inf_pistol"
WeaponAmmo2 = 0

WEAPONSECTION = 3
WeaponName3 = "rep_weap_inf_thermaldetonator"
WeaponAmmo3 = 2
WeaponChannel3 = 1[/code]


This same config. workd for the ep2_jettrooper_rifleman, but I can't get this guy to be able to use his jetpack, and it always says points to unlock 12, how do I cahnge this. I know it says points to unlock 4 up there, but it doesn't work.[/quote]
you must to change the rep_inf_default_jettrooper rile, lol and you shouldn't delete the classparent better to change of rep_inf_default_jettrooper to rep_inf_default
Commander_Fett
High General
High General
Posts: 847
Joined: Fri Oct 17, 2008 9:59 pm
Projects :: No Mod project currently.

Re: Jettrooper help

Post by Commander_Fett »

Or, you could make your own default jettrooper (rep_inf_defaultjetsnipa, or something) by copying the old one and renaming it, then just set the points to unlock there, plus, you could delete the weapon section in the odf and in your new rep_inf_default_jetsnipa copy the weapon section from the normal sniper and paste it over yours. then, you can delete the turret droid and fix the weapon sections, then the award weapons are set up too. I did this for 13 jettroopers in the same side, and it worked like a charm. Example:
Hidden/Spoiler:
GameObjectClass]
ClassParent = "rep_inf_default_jettrooper"

[Properties]
MaxHealth = 300.0

PointsToUnlock = 4

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)


WEAPONSECTION = 1
WeaponName1 = "rep_weap_inf_sniper_rifle"
WeaponAmmo1 = 7

WEAPONSECTION = 2
WeaponName2 = "rep_weap_inf_pistol"
WeaponAmmo2 = 0

WEAPONSECTION = 3
WeaponName3 = "rep_weap_inf_thermaldetonator"
WeaponAmmo3 = 2
WeaponChannel3 = 1
Delete the blue and in rep_inf_default_jetsnipa put
Hidden/Spoiler:
ClassParent = "rep_inf_default"

[Properties]
MaxHealth = 300.0

PointsToUnlock = 4

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_sniper_rifle"
WeaponAmmo = 7

WEAPONSECTION = 2
WeaponName = "rep_weap_inf_pistol"
WeaponAmmo = 0

WEAPONSECTION = 3
WeaponName = "rep_weap_inf_thermaldetonator"
WeaponAmmo = 2
WeaponChannel = 1

WEAPONSECTION = 4
WeaponName = "rep_weap_award_sniper_rifle"
WeaponAmmo = 6

WEAPONSECTION = 5
WeaponName = "rep_weap_award_pistol"
WeaponAmmo = 6
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
obiboba3po
2008 Most Technically Challenging Avatar
Posts: 2376
Joined: Tue Feb 12, 2008 7:46 pm
Projects :: No Mod project currently.
Games I'm Playing :: League of Legends
xbox live or psn: No gamertag set
Location: NJ, USA

Re: Jettrooper help

Post by obiboba3po »

deviss and rancor are right. and typically no, you just delete classparent. to ensure that it works, go to rep_inf_default_jettrooper and copy all the movement defaults into the one youre making. also, for poitns to unlock, its set as 4 set that to 0. classparent will also mess that up tho. :yes:
fiddler_on_the_roof
1st Lieutenant
1st Lieutenant
Posts: 460
Joined: Wed Nov 12, 2008 5:28 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Re: Jettrooper help

Post by fiddler_on_the_roof »

K, thanks guys, I'll try that out.


Edit1: I tried it out, and the jetpack still doesn't work!! :?
Again, here is the changed .odf

Code: Select all

[Properties]
MaxHealth           = 300.0

PointsToUnlock      = 4

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
WeaponName1         = "rep_weap_inf_sniper_rifle"
WeaponAmmo1         = 7

WEAPONSECTION = 2
WeaponName2         = "rep_weap_inf_pistol"
WeaponAmmo2         = 0

WEAPONSECTION = 3
WeaponName3         = "rep_weap_inf_thermaldetonator"
WeaponAmmo3         = 2
WeaponChannel3      = 1

WEAPONSECTION = 4
WeaponName         = "rep_weap_award_pistol"
WeaponAmmo         = 6

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
By the way, the points to unlock still doen't work, even for the jet-rifleman.

P.S. -off-topic-My friend wants to know if there is a way to delete a profile.
Post Reply