Mission LUA and editing troopers textures?
Moderator: Moderators
Mission LUA and editing troopers textures?
How is it done? People seem to crack it but then dont tell anyone how it is done!? And I know one of our members is writing a tutorial but if anyone has done it please tell me! I have tried, but peicing together what people have metioned and this talk about the MISSION.lua (which doesn't seem to exist) has completely confused me! Help!
RE: Mission LUA and editing troopers textures?
When people refer to the mission script (.lua files) they mean files like ModIDc_con.lua, ModIDg_con, and so on (where c_ is the sides-clonewars/gcw-and _con in the map type--conquest. These files are found in C:\BF2_ModTools\data_ModID\Common\scripts\ModID. When you mod textures, you have to tell the script files to load the new textures from the mod's side folder, instead of from the game's default side folders. To do this, you find: where rep.lvl can be replaced by SideName.lvl and change it to: The dc: simply tells the game to load the textures for the map from the side folder in your mod database, instead of the default sides folder. To mod textures, copy the side folder of the side whos textures you wish to mod, then mod the textures, recolor, whatever, save, and munge from _BUILD in your mod's folder.
Code: Select all
ReadDataFile("SIDE\\rep.lvl",
Code: Select all
ReadDataFile("dc:SIDE\\rep.lvl",
RE: Mission LUA and editing troopers textures?
mission lua is in
mod***\ common \ scripts \ ***
*** being your mod/map 3 letter name.
you can find the tga files of all the troopers in the assets folder..... just run a windows search for trooper.tga or vanguard.tga etc
mod***\ common \ scripts \ ***
*** being your mod/map 3 letter name.
you can find the tga files of all the troopers in the assets folder..... just run a windows search for trooper.tga or vanguard.tga etc
RE: Mission LUA and editing troopers textures?
Thanks! I understand now, I'll send some pics when I'm done.