OpenXcom Forum

Modding => Released Mods => XPiratez => Topic started by: DiamondJack on February 14, 2019, 10:17:21 am

Title: How can I edit the movement cost across different terrains?
Post by: DiamondJack on February 14, 2019, 10:17:21 am
Well, subj. What should I change to change the TU cost for walking?
Title: Re: How can I edit the movement cost across different terrains?
Post by: Solarius Scorch on February 14, 2019, 05:16:43 pm
Unfortunately, you would have to edit every floor tile in the game. You can't do this on the unit level.
Title: Re: How can I edit the movement cost across different terrains?
Post by: DiamondJack on February 15, 2019, 08:35:30 am
Isn`t it a global variant? hmm...
Well, its OK for me. Just tell me - where is it? Can I e3dit it without recompiling the sourcecode?
Title: Re: How can I edit the movement cost across different terrains?
Post by: Solarius Scorch on February 15, 2019, 09:02:01 am
Sure, you just need to open MCDEdit and edit all relevant tile to set move costs (walk, fly, and hover; or just walk, as you prefer) to the value you want.
Or actually it would be easier to use the MCD fix option in rulesets to override MCD values. Check the Ruleset Reference for details.
Title: Re: How can I edit the movement cost across different terrains?
Post by: DiamondJack on February 15, 2019, 11:42:48 am
Do you mean this MCD edit or there is something else?
https://openxcom.org/forum/index.php/topic,2028.0.html

And this reference?
https://www.ufopaedia.org/index.php/Ruleset_Reference_Nightly_(OpenXcom)
Title: Re: How can I edit the movement cost across different terrains?
Post by: Solarius Scorch on February 15, 2019, 07:27:55 pm
Yes, and yes!