OpenXcom Forum

OpenXcom => Open Feedback => Topic started by: kikimoristan on August 11, 2015, 06:56:14 am

Title: how you declare different environments for different terrain in mods?
Post by: kikimoristan on August 11, 2015, 06:56:14 am
been trying to figure out how t make the engine treat new terrain as either underwater or surface. is it from the mcd? is it in the rul file? anyone knows?
Title: Re: how you declare different environments for different terrain in mods?
Post by: Hobbes on August 11, 2015, 11:35:22 am
been trying to figure out how t make the engine treat new terrain as either underwater or surface. is it from the mcd? is it in the rul file? anyone knows?

The only division between 'underwater' and 'surface' terrains is the depth: [] variable that is assigned to all the underwater terrains in the ruleset.
Title: Re: how you declare different environments for different terrain in mods?
Post by: kikimoristan on August 11, 2015, 06:15:30 pm
nice. thank hobbes. that information is very handy.