How do I give a jet trooper a sniper rifle? (solved!)

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

fat_walrus

How do I give a jet trooper a sniper rifle? (solved!)

Post by fat_walrus »

topic
Last edited by fat_walrus on Mon Jun 05, 2006 7:23 pm, edited 1 time in total.
busterkinkade

RE: How do I give a jet trooper a sniper rifle?

Post by busterkinkade »

Easy open up rep_inf_default_jettrooper.odf and change the EMP launchers value to that of the snipers rifles (if you look down the list you should see the weapons value), of course after making a new map and pasting the rep side folder into the sides folder (with the common folder aswell)
fat_walrus

RE: How do I give a jet trooper a sniper rifle?

Post by fat_walrus »

So I post the odf in C:\BF2_ModTools\data_ABC\Sides\REP or somewhere eles? I can't find a common folder in there, which one are you talking about?
busterkinkade

Post by busterkinkade »

Do everything in a previous post, the side folders are in the assets\sides of your BF2_Modtools directory, to munge your map go into the _BUILD folder of your data_ABC, then select the rep side under the pull down list and check the common check box, after that copy the rep.lvl and the repshell.lvl from your data_ABC\_LVL_PC\SIDE folder and paste them into your sides folder in your SWBF II game directory, that should get it working.[/list]
fat_walrus

Post by fat_walrus »

okay, I posted the rep.lvl nad repshell.lvl in my C:\Program Files\LucasArts\Star Wars Battlefront II\GameData\DATA\_LVL_PC\SIDE, but it shuts off while its loaded. How can I fix this?
fat_walrus

Post by fat_walrus »

Here's some pics to show you, ask me if you need more specific ones:


Image

There's my BUILD<sides folder


Image

There's my Side<rep folder

Is there something eles I need to do? Do I need to edit the scripts or something? I haven't edited those, that might be the problem. But what do I need to do?


EDIT: I have already munged everything and all the sides
busterkinkade

hmm...

Post by busterkinkade »

Thats odd, I will need to see the .odf you modified.
fat_walrus

RE: hmm...

Post by fat_walrus »

C:\BF2_ModTools\data_ABC\Sides\rep\odf < rep_inf_default_jettrooper


[GameObjectClass]
ClassParent = "rep_inf_default"

[Properties]
MaxHealth = 300.0

PointsToUnlock = 2

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 = 4

WEAPONSECTION = 2
WeaponName = "rep_weap_inf_sniper_rifle"
WeaponAmmo = 5

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

WEAPONSECTION = 4
WeaponName = "rep_weap_award_sniperrifle"
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
busterkinkade

RE: hmm...

Post by busterkinkade »

hmm... it appears to be fine, so you copied in the common and the rep side folder, modified the .odf, munged the rep side with the common check box ticked and the rep.lvl and the repshell.lvl over? Then it should work, it worked for me, but does it quit while loading the map or does it quit when you run the game?
fat_walrus

RE: hmm...

Post by fat_walrus »

It quits while loading the map. What's that problem?
busterkinkade

RE: hmm...

Post by busterkinkade »

A problem with the side...
fat_walrus

RE: hmm...

Post by fat_walrus »

which side specifically are you talking about?
busterkinkade

RE: hmm...

Post by busterkinkade »

The rep, hmm.. I will try this tommorow myself, in the meantime I would start over with a new map.
fat_walrus

RE: hmm...

Post by fat_walrus »

So it should look like this:

1) make ABD world
2) copy Common and rep from assets\Sides
3) paste it into data_ABC\Sides (replace REP)
4) edit the odf and save it
5) make and rep folder in the _BUILD\Sides (replace REP)
6) copy clean.bat and munge.bat in that folder
7) munge rep with Common *checked*
8) copy the rep.lvl and repshell.lvl
9) paste rep.lvl and repshell.lvl in the C:\Program Files\LucasArts\Star Wars Battlefront II\GameData\DATA\_LVL_PC\SIDE (replace REP.lvl and REPSHELL.lvl)

10) run the game


Am I missing a step?
busterkinkade

RE: hmm...

Post by busterkinkade »

No, you have added some of your own in, 5 and 6 , they don't need to be done.
OGEB1103

RE: hmm...

Post by OGEB1103 »

When munging, the "Common" tick box does not munge the common side but the common folder in the main directory, so when you ned to munge the side you either do it twice with the "rep" first in sides and then "COMMON" afterwards or simply select "EVERYTHING". But from what i see you are doing all you should need to do is munge the "rep" side as you are only coping those lvls over to the main game. btw you don't need to do the repshell.lvl either.
Well here is a basic overview:
1. Start up new map "ABD
2. Copy "REP" folder from Assets>Sides and paste in data_ABD>Sides
3. Edit odf
4. Munge with "rep" selected in "Side" drop down box.
5. Copy the rep.lvl and paste in game's own lvl folder.
fat_walrus

RE: hmm...

Post by fat_walrus »

^ 5),

which folder specifically? if its the Dadt\LVL_PC\SIDE folder would I have to replace the one already there?
OGEB1103

RE: hmm...

Post by OGEB1103 »

yep
fat_walrus

RE: hmm...

Post by fat_walrus »

what if I renamed them to "ABC.lvl" and "ABCshell.lvl"?
ARC_Trooper

RE: hmm...

Post by ARC_Trooper »

probably not, unless you hex-edited the function that opens the sides, and changed the import names to "ABC.lvl and "ABCshell.lvl"
Post Reply