New Jettrooper, what do I need?

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

New Jettrooper, what do I need?

Post by fiddler_on_the_roof »

I'd like to make a jettrooper with a heavy-rocketlauncher. I made an .odf, and a .req, what else do I need to do. I asume I would need to make a special side with teh jettrooper in it, and munge it, but could anyone help me on what files I would need and what to do?

Here is the odf for the trooper, do I need anything else?

Code: Select all

[Properties]
MaxHealth           = 300.0

PointsToUnlock      = 15

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_rocket_launcher"
WeaponAmmo1         = 7

WEAPONSECTION = 2
WeaponName2         = "rep_weap_inf_pistol"
WeaponAmmo2         = 0

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

WEAPONSECTION = 4
WeaponName4         = "rep_weap_inf_mine_dispenser"
WeaponAmmo4         = 3
WeaponChannel4      = 1

WEAPONSECTION = 5
WeaponName5         = "rep_weap_award_pistol"
WeaponAmmo5         = 6

WEAPONSECTION = 6
WeaponName6         = "rep_weap_award_rocket_launcher"
WeaponAmmo6         = 4

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
Thanks.

I've seen tutorials on how to make sides, but they don't include the exact specifics.
Commander_Fett
High General
High General
Posts: 847
Joined: Fri Oct 17, 2008 9:59 pm
Projects :: No Mod project currently.

Re: New Jettrooper, what do I need?

Post by Commander_Fett »

Well, first you'd need to get the unit's mshs and tgas, along with all the weapon odfs and mshs and tgas. Did you copy over the effects and munged folders from rep too?
AQT
Gametoast Staff
Gametoast Staff
Posts: 4910
Joined: Sat Nov 03, 2007 4:55 pm
Location: SoCal, USA

Re: New Jettrooper, what do I need?

Post by AQT »

You need to also add your unit to your side's .req file and load it, your unit, in the lua if you want to test it (duh). Remember to take just what you need from the the stock rep folder or any other folder. Also remove any unnecessary lines from your side's .req file.
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: New Jettrooper, what do I need?

Post by fiddler_on_the_roof »

K, thanks.

I messed something up there, so, would I be able to make the odf and req, put it in the normal rep file, add it to the rep.req, and then munge everything?

Thanks
Post Reply