I am making a free roam mod and want to use a cool class from another mod, but it is in a .level file and i don't know how to do this.
I got to see the different sides but the sides are .lvl and i want to open it but do not know how. If you know how plz tell me, and tell me how to put it in my mod/map as a side that is choose able and then if possible tell me how to limit the number of troops available on each side. Ex: i want 1 on my side and 5 on the other so it can be like a free roam game where you watch out for them and do assassin/bounty hunter style kills. (I want all of the classes features. (animations, moves, and sounds.) pm me for my Skype if you want to help me like that.
Update: what do you mean b :"In your game code" Anthony? i have no file like that...
Help! want to use a class from a different mod!!!
Moderator: Moderators
-
NewGuyAtMods
- Recruit Womprat Killer
- Posts: 6
- Joined: Tue Feb 17, 2015 10:28 pm
- Projects :: Free roam Mos Eisley
- xbox live or psn: No gamertag set
Help! want to use a class from a different mod!!!
Last edited by NewGuyAtMods on Wed Feb 18, 2015 2:23 pm, edited 3 times in total.
- AnthonyBF2
- Sith

- Posts: 1255
- Joined: Wed Aug 21, 2013 3:55 pm
- Projects :: PS2+PSP Overhaul
Re: Help! want to use a class from a different mod!!!
You must know the technical code name for the characters or vehicles you want to use.
You can make your mod, and copy what ever lvl file into your addon.
If it's a side file, it goes in SIDE.
Lets say you wanna use Asajj Ventress from convo pack files;
In your game code, you would add these lines:
ReadDataFile("dc:SIDE\\name_of_the_file_you_copied.lvl",
"what_ever_assaj_code_name_is") -- I think it's dlc_hero_ventress
And then you can use AddUnitClass to make Assaj playable (Assaj in all of this is just an example)
AddUnitClass(IMP, "dlc_hero_ventress")
Team names are usually IMP, REP,CIS,ALL
You can make your mod, and copy what ever lvl file into your addon.
If it's a side file, it goes in SIDE.
Lets say you wanna use Asajj Ventress from convo pack files;
In your game code, you would add these lines:
ReadDataFile("dc:SIDE\\name_of_the_file_you_copied.lvl",
"what_ever_assaj_code_name_is") -- I think it's dlc_hero_ventress
And then you can use AddUnitClass to make Assaj playable (Assaj in all of this is just an example)
AddUnitClass(IMP, "dlc_hero_ventress")
Team names are usually IMP, REP,CIS,ALL
- commanderawesome
- Field Commander

- Posts: 971
- Joined: Tue Aug 13, 2013 11:58 pm
- Projects :: Skin Changer - Warfront - Other stuff
- xbox live or psn: AaTc_CmdrAwesome
- Location: The Universe
Re: Help! want to use a class from a different mod!!!
...and you can find out the code name of the class by opening the map's mission.lvl file with a hex editor and searching for "SIDE\[code name of the class's side].lvl" without quotes.
(here is a hex editor: http://www.pspad.com/en/download.php)
Please do NOT release this mod without permission from the person who created that class.
(here is a hex editor: http://www.pspad.com/en/download.php)
Please do NOT release this mod without permission from the person who created that class.
