Under 1.06, certain terrainmodifiers are not stored properly(See this thread, Rivercrossing -65 problem ). After searching through several savefiles to try and find a pattern I have managed to make a tech that forces the affected modifiers in from the beginning of the game, to prevent them from picking up false values later.
The problem is however, that for some reason the game CTD's whenever I try to load the original variant. I tried creating 2 new techs, which also caused a CTD, so at this moment I'm using one existing tech and one new. So far, it's working and the savefile's I have at this moment seem to indicate that the mod works as ot should.
However, I would still like to know what went wong with the original tech so I'm posting it here and I hope that some of you may be able to tell me what went wrong.
These are the error messages
Thanks,
Robert
The problem is however, that for some reason the game CTD's whenever I try to load the original variant. I tried creating 2 new techs, which also caused a CTD, so at this moment I'm using one existing tech and one new. So far, it's working and the savefile's I have at this moment seem to indicate that the mod works as ot should.
However, I would still like to know what went wong with the original tech so I'm posting it here and I hope that some of you may be able to tell me what went wrong.
These are the error messages
Here's the culprit(Unknown lhs in tech file) 'command = {' line = 203 file =db/tech/infantry_tech.txt
(Unknown lhs in tech file) 'type = urban move'line = 203 file =db/tech/infantry_tech.txt
(Unknown lhs in tech file) 'which = infantry'line = 203 file =db/tech/infantry_tech.txt
(Unknown lhs in tech file) 'value = 1'line = 203 file =db/tech/infantry_tech.txt
Did I already mention it's a big one?application = { # Necessary Equipment
id = 1974
name = TECH_INFANTRY_NAME #Localized name
desc = TECH_INFANTRY_DESC #Localized description
required = { }
chance = 90
cost = 0
time = 1
neg_offset = 30
pos_offset = 60
effects = {
command = { type = river_attack which = infantry value = 1 }
command = { type = river_attack which = cavalry value = 1 }
command = { type = river_attack which = motorized value = 1 }
command = { type = river_attack which = mechanized value = 1 }
command = { type = river_attack which = armor value = 1 }
command = { type = river_attack which = paratrooper value = 1 }
command = { type = river_attack which = marine value = 1 }
command = { type = river_attack which = bergsjaeger value = 1 }
command = { type = river_attack which = militia value = 1 }
command = { type = shore_attack which = infantry value = 1 }
command = { type = shore_attack which = cavalry value = 1 }
command = { type = shore_attack which = motorized value = 1 }
command = { type = shore_attack which = mechanized value = 1 }
command = { type = shore_attack which = armor value = 1 }
command = { type = shore_attack which = marine value = 1 }
command = { type = shore_attack which = bergsjaeger value = 1 }
command = { type = shore_attack which = militia value = 1 }
command = { type = shore_attack which = paratrooper value = 1 }
command = { type = paradrop_attack which = infantry value = 1 }
command = { type = paradrop_attack which = cavalry value = 1 }
command = { type = paradrop_attack which = motorized value = 1 }
command = { type = paradrop_attack which = mechanized value = 1 }
command = { type = paradrop_attack which = armor value = 1 }
command = { type = paradrop_attack which = marine value = 1 }
command = { type = paradrop_attack which = bergsjaeger value = 1 }
command = { type = paradrop_attack which = militia value = 1 }
command = { type = paradrop_attack which = paratrooper value = 1 }
command = { type = urban_attack which = infantry value = 1 }
command = { type = urban_attack which = cavalry value = 1 }
command = { type = urban_attack which = motorized value = 1 }
command = { type = urban_attack which = mechanized value = 1 }
command = { type = urban_attack which = armor value = 1 }
command = { type = urban_attack which = marine value = 1 }
command = { type = urban_attack which = bergsjaeger value = 1 }
command = { type = urban_attack which = militia value = 1 }
command = { type = urban_attack which = paratrooper value = 1 }
command = { type = desert_attack which = infantry value = 1 }
command = { type = desert_attack which = cavalry value = 1 }
command = { type = desert_attack which = motorized value = 1 }
command = { type = desert_attack which = mechanized value = 1 }
command = { type = desert_attack which = armor value = 1 }
command = { type = desert_attack which = marine value = 1 }
command = { type = desert_attack which = bergsjaeger value = 1 }
command = { type = desert_attack which = militia value = 1 }
command = { type = desert_attack which = paratrooper value = 1 }
command = { type = night_attack which = infantry value = 1 }
command = { type = night_attack which = cavalry value = 1 }
command = { type = night_attack which = motorized value = 1 }
command = { type = night_attack which = mechanized value = 1 }
command = { type = night_attack which = armor value = 1 }
command = { type = night_attack which = marine value = 1 }
command = { type = night_attack which = bergsjaeger value = 1 }
command = { type = night_attack which = militia value = 1 }
command = { type = night_attack which = paratrooper value = 1 }
command = { type = rain_attack which = infantry value = 1 }
command = { type = rain_attack which = cavalry value = 1 }
command = { type = rain_attack which = motorized value = 1 }
command = { type = rain_attack which = mechanized value = 1 }
command = { type = rain_attack which = armor value = 1 }
command = { type = rain_attack which = marine value = 1 }
command = { type = rain_attack which = bergsjaeger value = 1 }
command = { type = rain_attack which = militia value = 1 }
command = { type = rain_attack which = paratrooper value = 1 }
command = { type = urban_defense which = infantry value = 1 }
command = { type = urban_defense which = cavalry value = 1 }
command = { type = urban_defense which = motorized value = 1 }
command = { type = urban_defense which = mechanized value = 1 }
command = { type = urban_defense which = armor value = 1 }
command = { type = urban_defense which = marine value = 1 }
command = { type = urban_defense which = bergsjaeger value = 1 }
command = { type = urban_defense which = militia value = 1 }
command = { type = urban_defense which = paratrooper value = 1 }
command = { type = blizzard_defense which = infantry value = 1 }
command = { type = blizzard_defense which = cavalry value = 1 }
command = { type = blizzard_defense which = motorized value = 1 }
command = { type = blizzard_defense which = mechanized value = 1 }
command = { type = blizzard_defense which = armor value = 1 }
command = { type = blizzard_defense which = marine value = 1 }
command = { type = blizzard_defense which = bergsjaeger value = 1 }
command = { type = blizzard_defense which = militia value = 1 }
command = { type = blizzard_defense which = paratrooper value = 1 }
command = { type = snow_defense which = infantry value = 1 }
command = { type = snow_defense which = cavalry value = 1 }
command = { type = snow_defense which = motorized value = 1 }
command = { type = snow_defense which = mechanized value = 1 }
command = { type = snow_defense which = armor value = 1 }
command = { type = snow_defense which = marine value = 1 }
command = { type = snow_defense which = bergsjaeger value = 1 }
command = { type = snow_defense which = militia value = 1 }
command = { type = snow_defense which = paratrooper value = 1 }
command = { type = frozen_defense which = infantry value = 1 }
command = { type = frozen_defense which = cavalry value = 1 }
command = { type = frozen_defense which = motorized value = 1 }
command = { type = frozen_defense which = mechanized value = 1 }
command = { type = frozen_defense which = armor value = 1 }
command = { type = frozen_defense which = marine value = 1 }
command = { type = frozen_defense which = bergsjaeger value = 1 }
command = { type = frozen_defense which = militia value = 1 }
command = { type = frozen_defense which = paratrooper value = 1 }
command = { type = desert_defense which = infantry value = 1 }
command = { type = desert_defense which = cavalry value = 1 }
command = { type = desert_defense which = motorized value = 1 }
command = { type = desert_defense which = mechanized value = 1 }
command = { type = desert_defense which = armor value = 1 }
command = { type = desert_defense which = marine value = 1 }
command = { type = desert_defense which = bergsjaeger value = 1 }
command = { type = desert_defense which = militia value = 1 }
command = { type = desert_defense which = paratrooper value = 1 }
command = { type = night_defense which = infantry value = 1 }
command = { type = night_defense which = cavalry value = 1 }
command = { type = night_defense which = motorized value = 1 }
command = { type = night_defense which = mechanized value = 1 }
command = { type = night_defense which = armor value = 1 }
command = { type = night_defense which = marine value = 1 }
command = { type = night_defense which = bergsjaeger value = 1 }
command = { type = night_defense which = militia value = 1 }
command = { type = night_defense which = paratrooper value = 1 }
command = { type = rain_defense which = infantry value = 1 }
command = { type = rain_defense which = cavalry value = 1 }
command = { type = rain_defense which = motorized value = 1 }
command = { type = rain_defense which = mechanized value = 1 }
command = { type = rain_defense which = armor value = 1 }
command = { type = rain_defense which = marine value = 1 }
command = { type = rain_defense which = bergsjaeger value = 1 }
command = { type = rain_defense which = militia value = 1 }
command = { type = rain_defense which = paratrooper value = 1 } }
command = { type = urban_move which = infantry value = 1 }
command = { type = urban_move which = cavalry value = 1 }
command = { type = urban_move which = motorized value = 1 }
command = { type = urban_move which = mechanized value = 1 }
command = { type = urban_move which = armor value = 1 }
command = { type = urban_move which = marine value = 1 }
command = { type = urban_move which = bergsjaeger value = 1 }
command = { type = urban_move which = militia value = 1 }
command = { type = urban_move which = paratrooper value = 1 }
command = { type = desert_move which = infantry value = 1 }
command = { type = desert_move which = cavalry value = 1 }
command = { type = desert_move which = motorized value = 1 }
command = { type = desert_move which = mechanized value = 1 }
command = { type = desert_move which = armor value = 1 }
command = { type = desert_move which = marine value = 1 }
command = { type = desert_move which = bergsjaeger value = 1 }
command = { type = desert_move which = militia value = 1 }
command = { type = desert_move which = paratrooper value = 1 }
command = { type = forest_attack which = infantry value = 1 }
command = { type = forest_attack which = cavalry value = 1 }
command = { type = forest_attack which = motorized value = 1 }
command = { type = forest_attack which = mechanized value = 1 }
command = { type = forest_attack which = armor value = 1 }
command = { type = forest_attack which = marine value = 1 }
command = { type = forest_attack which = bergsjaeger value = 1 }
command = { type = forest_attack which = militia value = 1 }
command = { type = forest_attack which = paratrooper value = 1 }
command = { type = mountain_attack which = bergsjaeger value = 1 }
command = { type = hill_attack which = bergsjaeger value = 1 }
command = { type = night_attack which = fighter value = 1 }
command = { type = night_attack which = strategic_bomber value = 1 }
command = { type = night_attack which = tactical_bomber value = 1 }
command = { type = night_attack which = dive_bomber value = 1 }
command = { type = night_attack which = naval_bomber value = 1 }
command = { type = night_attack which = torpedo_plane value = 1 }
command = { type = rain_attack which = fighter value = 1 }
command = { type = rain_attack which = strategic_bomber value = 1 }
command = { type = rain_attack which = tactical_bomber value = 1 }
command = { type = rain_attack which = dive_bomber value = 1 }
command = { type = rain_attack which = naval_bomber value = 1 }
command = { type = rain_attack which = torpedo_plane value = 1 }
command = { type = snow_attack which = fighter value = 1 }
command = { type = snow_attack which = strategic_bomber value = 1 }
command = { type = snow_attack which = tactical_bomber value = 1 }
command = { type = snow_attack which = dive_bomber value = 1 }
command = { type = snow_attack which = naval_bomber value = 1 }
command = { type = snow_attack which = torpedo_plane value = 1 }
command = { type = frozen_attack which = fighter value = 1 }
command = { type = frozen_attack which = strategic_bomber value = 1 }
command = { type = frozen_attack which = tactical_bomber value = 1 }
command = { type = frozen_attack which = dive_bomber value = 1 }
command = { type = frozen_attack which = naval_bomber value = 1 }
command = { type = frozen_attack which = torpedo_plane value = 1 }
command = { type = desert_attack which = fighter value = 1 }
command = { type = desert_attack which = strategic_bomber value = 1 }
command = { type = desert_attack which = tactical_bomber value = 1 }
command = { type = desert_attack which = dive_bomber value = 1 }
command = { type = desert_attack which = naval_bomber value = 1 }
command = { type = desert_attack which = torpedo_plane value = 1 }
command = { type = fort_attack which = fighter value = 1 }
command = { type = fort_attack which = strategic_bomber value = 1 }
command = { type = fort_attack which = tactical_bomber value = 1 }
command = { type = fort_attack which = dive_bomber value = 1 }
command = { type = fort_attack which = naval_bomber value = 1 }
command = { type = fort_attack which = torpedo_plane value = 1 }
}
}
Thanks,
Robert