So I'm thinking of making some sort of crazy BF2 Christmas party set on Hoth (conquest). I have a bunch of code console stuff in mind, but I'm trying to add some units.
Basically, I want to add wampas to the Alliance side. To do this, I open up the code console and type
Code: Select all
AddUnitClass(ALL,"snw_inf_wampa", 1,1)
But nothing happens. At best, though, Pilot Luke shows up on the unit list for some odd reason. Am I doing something wrong?
*EDIT* Now I'm doing ReadDataFile to let the game know where to get the class.
Code: Select all
ReadDataFile("SIDE\\snw.lvl", "snw_inf_wampa")
The game crashes after this line.