I have copied Boba Fett's odf file and renamed it. The new name is "imp_hero_kerubim.odf" since I want the unit without scrapping Boba.
I have copied "imp_hero_bobafett.req" and renamed the copy "imp_hero_kerubim.req". It's the exact same as the original.
I have added the text "imp_hero_kerubim" into "imp.req."
I have added the unit into the localize tool. Above it is the text of the address. entity.imp.hero_kerubim.
In "123g_con.lua" I have changed the following things:
Code: Select all
ReadDataFile("dc:SIDE\\imp.lvl",
"imp_inf_rifleman",
"imp_inf_rocketeer",
"imp_inf_engineer",
"imp_inf_sniper",
"imp_inf_officer",
"imp_inf_dark_trooper",
"imp_hero_bobafett",
"imp_hero_kerubim", // I probably didn't need to do that.
"imp_fly_destroyer_dome" )Code: Select all
AddUnitclass(IMP, "imp_hero_kerubim",0,1)Kerubim isn't showing up in game, though.
Now the strangest thing is that when I use Boba Fett's files, odf, req, and all, he shows up in game. I can change anything in "imp_hero_bobafett.odf", even add my custom weapons that are showing up in-game, and it works.
Thanks in advance for any help.




