Page 1 of 1

Sides

Posted: Sat Mar 14, 2009 12:07 pm
by baneore
how would i add sides, heros, or chars from parts of the game?

Re: Sides

Posted: Sat Mar 14, 2009 12:16 pm
by YaNkFaN
you just reference them in the modid(era: can be g or c).lua

Re: Sides

Posted: Sat Mar 14, 2009 12:22 pm
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...

Re: Sides

Posted: Sat Mar 14, 2009 1:55 pm
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

Re: Sides

Posted: Sat Mar 14, 2009 2:06 pm
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)

Re: Sides

Posted: Sat Mar 14, 2009 2:08 pm
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.

Re: Sides

Posted: Sat Mar 14, 2009 2:28 pm
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?