Faction not defined

Users who are viewing this thread

SFtheWolf

Recruit
This is bugging the daylights out of me, for some reason it thinks one of my factions isn't defined. This is in module_factions:

("infected", "Infected", max_player_rating(-100), -0.05, [("army",-1),("containment",-1),("survivors",-1),("bandits",-1),("police",-1)], [], 0xDD3333),

And this is a test unit in module_troops:

["infected_common","Common Infected","Common Infected",tf_guarantee_armor,no_scene,reserved,fac_infected,[],infected_attrib,wp(0),knows_slowzombie,mercenary_face_1, mercenary_face_2],

Every time I try to build though it's telling me over and over that fac_infected is not defined. It's probably something very simple, but I'm afraid I have no idea what that is.
 
Lord Leoric of Wercheg said:
Compile two times before undoing anything. The faction should be defined the next time you compile.

Wow is that ever silly. It can't even check all the dependencies in one pass? I'll try that tonight, thank you.
 
Nope, it's happening no matter how many times I build...Do I need to build without the troop added first or something?
 
Sorry to bump, does anyone have any suggestions though?

The continuation of my mod is more or less predicated on this being fixed.
 
Back
Top Bottom