Make LocType repairable

Advanced Tactics is a versatile turn-based strategy system that gives gamers the chance to wage almost any battle in any time period. The initial release focuses on World War II and includes a number of historical scenarios as well as a full editor! This forum supports both the original Advanced Tactics and the new and improved Advanced Tactics: Gold Edition.

Moderator: Vic

Post Reply
ghoward
Posts: 150
Joined: Fri Nov 09, 2007 8:32 pm

Make LocType repairable

Post by ghoward »

Does anyone know how to do this. In Vic's old North Africa scenario, towns and villages etc are set to not buildable, but they are repairable, so it is possible. There is more to doing it that setting buildable=false and setting an EP Cost>0 on the LT page of the editor. I have tried that 10 times. There has to be a switch, or a rulevar, that controls repairabliity for a LocationType, or a LocTypeGroup, or something like that. Does anybody know where it is?
User avatar
ernieschwitz
Posts: 4554
Joined: Tue Sep 15, 2009 3:46 pm
Location: Denmark

RE: Make LocType repairable

Post by ernieschwitz »

There is a rulevar, but I can't recall exactly where... You might just have to go through them all.
Creator of High Quality Scenarios for:
  • Advanced Tactics Gold
    DC: Warsaw to Paris
    DC: Community Project.
Try this Global WW2 Scenario: https://www.vrdesigns.net/scenario.php?nr=280
ghoward
Posts: 150
Joined: Fri Nov 09, 2007 8:32 pm

RE: Make LocType repairable

Post by ghoward »

thanks, Ernie
there is a rulevar in the enable/disable section that will disable all repairs. It makes the repair button go away. Disabling repairs makes my problem worse, enabling it doesn't solve anything. Is that what you meant, or do you think there is another?
User avatar
ernieschwitz
Posts: 4554
Joined: Tue Sep 15, 2009 3:46 pm
Location: Denmark

RE: Make LocType repairable

Post by ernieschwitz »

There should be one that does it (a rulevar). What number does the Rulevar you are switching on/off have. Also have you made sure that the location you are using your engineers on, isn't already fully repaired?
Creator of High Quality Scenarios for:
  • Advanced Tactics Gold
    DC: Warsaw to Paris
    DC: Community Project.
Try this Global WW2 Scenario: https://www.vrdesigns.net/scenario.php?nr=280
ghoward
Posts: 150
Joined: Fri Nov 09, 2007 8:32 pm

RE: Make LocType repairable

Post by ghoward »

Thank You Thank You Thank You. I was referring to rulevar 504, but the one I needed is 902. I dumped the textfiles and searched rulevar.txt for "repair" and it popped right out. I really appreciate your help, it was driving me nuts.
Post Reply

Return to “Advanced Tactics Series”