question about classes

Post everything from general questions, to modding questions, to map WIPs to releases. (SWBF1 only)

Moderator: Moderators

Post Reply
Sentenza

question about classes

Post by Sentenza »

I need just a quick thing , how do i make certain class playable and other not ? and how do i substitute the super battle droid with the regular one of the single player campaign ?

I need that for a "storic campaign" type tournament and i need to have some classes unavailable in some maps , but the maps will be the orginal one , no mod map
=XSL=Sentenza[ITA]

RE: question about classes

Post by =XSL=Sentenza[ITA] »

well understood , but i dont know how to do that , i mean modify that thing.
Maybe you cand do me big favor and do this little modification for me to download. I have no idea how to modify the LUA and stuff , maybe remind me to a thread where its explained.

I need the Geonosis standard map but without the Jet Trooper available for the Rep side.
And Naboo theed ,again without the Jet Trooper , and with the standard infantry droid replacing the super battle droid.

And btw can i have a limitative number for any type of class ? i mean for example only 2 Jet Trooper for the Rep side , only 2 Droideka for the CIS and stuff like that ?
Sentenza

Post by Sentenza »

Yeah set up the count to less or remove it , but when human player choose that classes they have limited number , or this is just for the AI ?
nzy3vc

Post by nzy3vc »

the counts are only for the AI. Human players can select whatever class they want. and to remove a class completely, simply put the remark notations in front of it. The " -- " for example...

-- all_inf_trooper
Sentenza

Post by Sentenza »

much thanx too you and psycho but my problem is a little more simple , i readed somewhere that shipped world cant be modified so i have to make a copy paste of all the level things in a new one and modify that LUA thing right?

Second : i dont know how to open the LUA file , where is the LUA editor in the Tool? and wheres the LUA i have to modify ? do i have to do any other special thing in th end?
imp_strikeforce

Post by imp_strikeforce »

the lua can be opened with notepad or just about anything, i use notepad.

the mission luas are located in the modid/common/Scripts/modid/ folder- [modid]a.lua for the GCW era and [modid]c.lua for the CW era.

the shipped luas are in the assets/Mission LUA Samples/ folder
Sentenza

Post by Sentenza »

ive learned how to modify the LUA thing but now i need to know how to just make a perfect copy/paste of the original Geo level and then modify my mod map LUA that will be called CG - Geonosis
imp_strikeforce

Post by imp_strikeforce »

you mean change the map name?
Post Reply