Page 1 of 1
Need some more help!
Posted: Tue Mar 29, 2005 12:13 am
by maxburg96
Alright, I got my basic map made (thanks to guru and sdwhwk) and now I want to do some more complex stuff. I would like to move the default CPs and add a few more. I would also like to change the number of units per side, and if possible, I would like to change how many units are on the field at one time. Thanks.

RE: Need some more help!
Posted: Tue Mar 29, 2005 11:57 am
by imp_strikeforce
to move cps and any other objects,
imp_strikeforce wrote:ok good. to move the regions hit select, click the region you want to move so it highlights it. then hold down either Z X or C and click and drag using either the left, middle, or right mouse button. each key has a different function, ex. Z and X rotate/resize the region, C moves it. the different mouse butons control the x y and z dimensions. play around with it and you'll get the hang of it.
for the units and reinforcements,
http://www.gametoast.com/index.php?name ... opic&t=404
these should help
Posted: Tue Mar 29, 2005 4:12 pm
by maxburg96
Yeah that helps, but how do view the mission lua file. I opened it in notepad, but couldn't see any numbers, just crazy symbols. Thanks.
Posted: Tue Mar 29, 2005 5:27 pm
by Saturn_V
you got the wrong file, somehow - .lua files are text files. Check out this thread
index.php?name=PNphpBB2&file=viewtopic&t=285&start=15
where I have posted a picture showing the different file types, what you need to edit them, and how they fit together.
(Note: text - use notepad or wordpad;
hex - search the forum for "hex editor", there'll be a few recommended;
bitmap - you'll need a paint program that can read .tga )
Posted: Wed Mar 30, 2005 12:35 am
by maxburg96
I have done some searching, but with no luck, so where can I find the mission.lua file for the map I have created. Thanks

Posted: Wed Mar 30, 2005 11:49 am
by imp_strikeforce
the mission luas are located in yur Modid/Common/Scripts/Modid/ folder, and it's just a simple text file that notepad can open.
Posted: Wed Mar 30, 2005 1:23 pm
by DeathT
Saturn_V wrote:
bitmap - you'll need a paint program that can read .tga )
IrfanView can read .tga. it a free image program.
http://www.irfanview.com, and a great program too
Posted: Wed Mar 30, 2005 11:31 pm
by maxburg96
I finally found the files and everything worked great. I actually had like 3200 troops on the field at one time. It was awesome!! I have another simple question though. How do i add some vehicles and when i went into the mission lua file there was no info. about the CIS and Republic. Do i have to manually add them? Thanks.
Posted: Wed Mar 30, 2005 11:41 pm
by Saturn_V
The Clone Wars era has it's own mission lua, eg mod1a.lua is GCW, mod1c.lua is clone wars
Vehicle tutorial here:
http://forums.lucasarts.com/thread.jspa ... &tstart=25
Posted: Wed Mar 30, 2005 11:42 pm
by imp_strikeforce
you'll see a part in the mission lua like this
ReadDataFile("SIDE\\all.lvl",
"all_inf_basicdesert",
"all_inf_lukeskywalker",
"all_inf_smuggler");
ReadDataFile("dc:SIDE\\sat.lvl",
"sat_fly_armchair");
ReadDataFile("SIDE\\imp.lvl",
"imp_inf_basic_tie",
"imp_inf_darthvader",
"imp_inf_dark_trooper");
you hav to add the vehicle ODF name that you want to use like what iv highlighted
also you need to allocate a memory pool for the type and amount of vehics you hav in yur lvl
ClearWalkers()
AddWalkerType(0, 0)-- special -> droidekas
AddWalkerType(1, 0)-- 1x2 (1 pair of legs)
AddWalkerType(2, 0)-- 2x2 (2 pairs of legs)
AddWalkerType(3, 0)-- 3x2 (3 pairs of legs)
SetMemoryPoolSize("PowerupItem", 60)
SetMemoryPoolSize("EntityMine", 40)
SetMemoryPoolSize("EntityFlyer", 40)