Sides

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
User avatar
baneore
Private Second Class
Posts: 64
Joined: Fri Aug 01, 2008 12:58 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Sides

Post by baneore »

how would i add sides, heros, or chars from parts of the game?
YaNkFaN
Field Commander
Field Commander
Posts: 943
Joined: Sat Dec 13, 2008 8:17 am

Re: Sides

Post by YaNkFaN »

you just reference them in the modid(era: can be g or c).lua
User avatar
baneore
Private Second Class
Posts: 64
Joined: Fri Aug 01, 2008 12:58 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: Sides

Post by baneore »

how would i referince them? i already have some codes and tried to add a wookie and jedi runner but they didint show up ingame...
YaNkFaN
Field Commander
Field Commander
Posts: 943
Joined: Sat Dec 13, 2008 8:17 am

Re: Sides

Post by YaNkFaN »

try using the search function here at gt also you need to call the units in your .lua


here

ReadDataFile("SIDE\\(3 letter name of side).lvl",
"unit_name_1",
"unit_name_2",
"unit_name_3")

also in order for them to appear in game you must add them here
under setup teams


soldier = { "unit_name_1",(number), (number)},

etc
User avatar
baneore
Private Second Class
Posts: 64
Joined: Fri Aug 01, 2008 12:58 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: Sides

Post by baneore »

i have follwed ed calebs tutorial and done everything but after putting him in the side unit area whjat do i do for -AddUnitClass? and how do i set hm up in setupteamss what number do i use to decide hwere he will show up?

ROFL!!! sry i forgot u just told me how to do setup teams...nvm about the team part (except for number)
theultimat
Lieutenant General
Lieutenant General
Posts: 679
Joined: Sun Apr 13, 2008 1:39 pm
Location: UK

Re: Sides

Post by theultimat »

The numbers state how many of that unit is on the battlefield at a given time. The first number is the minimum, the second is the maximum.
User avatar
baneore
Private Second Class
Posts: 64
Joined: Fri Aug 01, 2008 12:58 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: Sides

Post by baneore »

....uggg...now all i did was losse a unit

this is the Severity 3

Message Severity: 3
.\Source\LuaCallbacks_Mission.cpp(866)
Lua ReadDataFile: Could not open ..\..\addon\COF\data\_LVL_PC\core.lvl
prev = none iLastPage = nil
prev = texture iLastPage = 1
prev = texture iLastPage = 2
prev = texture iLastPage = 3
ifs_legal.Exit

(i was able to get this message by the help from theItfactor thx theItfactor!!!) :)

would this work?: go nto the assets/sides/rep. get the rep pilot odfs, msh,tga,req. place him in my ***/sides/tur-odfs,msh,req. and then add his name to the lua?
Post Reply