Sides Question

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
Alpha

Sides Question

Post by Alpha »

I wanted to edit the entire republic side for my map so I copied the shipped rep folder from the assets/sides folder and put it in my data_MODID/Sides folder and edited the LUA with the dc: command and now the map crashes. That's the only change I made, what did I do wrong?
jkempster

Post by jkempster »

when i did it i copied all the sides into my maps folder that may be the problem, hope i was helpful
froshthewookie

Post by froshthewookie »

If you place a flyable ship as a map object, your game will crash... I had a nice fleet of Tie fighters sitting around and that caused my game to crash.

Hope this helps
Alpha

Post by Alpha »

I didn't do that. All I did between munges was insert the dc: command and it crashed. When I removed the dc: command the map runs fine. How do I insert sides fo editing?
jkempster

Post by jkempster »

did get any errors or warnings? where exactly did u put the dc:
User avatar
[RDH]Zerted
Gametoast Staff
Gametoast Staff
Posts: 2982
Joined: Sun Feb 26, 2006 7:36 am
Projects :: Bos Wars AI - a RTS game
Games I'm Playing :: SWBF2 and Bos Wars
xbox live or psn: No gamertag set
Location: USA
Contact:

Post by [RDH]Zerted »

You have to incert all the sides. Copy ALL the sides into your map.

edit: yea, I meant the sides in the Common folder, but I guess thats not what I said.
Last edited by [RDH]Zerted on Sun Mar 12, 2006 6:13 pm, edited 1 time in total.
Alpha

Post by Alpha »

Why? How does that help any?

And this is where I put the dc:

function ScriptInit()

ReadDataFile("ingame.lvl")


SetMaxFlyHeight(30)
SetMaxPlayerFlyHeight (30)

SetMemoryPoolSize ("ClothData",20)
SetMemoryPoolSize ("Combo",50) -- should be ~ 2x number of jedi classes
SetMemoryPoolSize ("Combo::State",650) -- should be ~12x #Combo
SetMemoryPoolSize ("Combo::Transition",650) -- should be a bit bigger than #Combo::State
SetMemoryPoolSize ("Combo::Condition",650) -- should be a bit bigger than #Combo::State
SetMemoryPoolSize ("Combo::Attack",550) -- should be ~8-12x #Combo
SetMemoryPoolSize ("Combo::DamageSample",6000) -- should be ~8-12x #Combo::Attack
SetMemoryPoolSize ("Combo::Deflect",100) -- should be ~1x #combo

ReadDataFile("sound\\yav.lvl;yav1cw")
ReadDataFile("dc:SIDE\\rep.lvl",
"rep_inf_ep3_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_anakin",
"rep_hover_barcspeeder")
ReadDataFile("SIDE\\cis.lvl",
"cis_inf_rifleman",
"cis_inf_rocketeer",
"cis_inf_engineer",
"cis_inf_sniper",
"cis_inf_officer",
"cis_inf_droideka",
"cis_hero_darthmaul",
"cis_hover_aat")

And no, I did not get any errors.
LordofEntropy

Post by LordofEntropy »

You don't need all the sides, you only need the side you are modding AND the common sides folder (includes the default weapon odfs, mine skins, etc etc). If you don't have the Common folder, it will crash like you described because it won't know the right weapons to load into the game.
Alpha

Post by Alpha »

Where do I get and put the common sides folder?
Post Reply