[Another question]How do those different types of layer work on game?
-
May they effect on the speed of units moving through on them? I am not sure, who knows the answer?
-
they produce different effects on the ground like dust and footprints the ones with the red circle symbol are blocking types it is all defined in terraintypes.lua
-
@madmax said in [Another question]How do those different types of layer work on game?:
they produce different effects on the ground like dust and footprints the ones with the red circle symbol are blocking types it is all defined in terraintypes.lua
Thank you, Sir! It is a professional answer.
-
Technically they can also influence the movement speed, or any other unit property. There is a engine callback when a unit switches terrain type. The game just doesn't make use of it
-
@jip said in [Another question]How do those different types of layer work on game?:
Technically they can also influence the movement speed, or any other unit property. There is a engine callback when a unit switches terrain type. The game just doesn't make use of it
is there a code that could make one unit's movement speed related with some terrain type. For example, one unit will slow down on rockyland and speed up on grassland.could it be realized by editing script.lua?
-
You'd need to do that in a mod, but that is possible yes. If you want to take that road you're better off asking in #modding-general on the official discord. Make sure to give yourself the modder role in #role-selection. There's a lot more activity on Discord
-
@jip said in [Another question]How do those different types of layer work on game?:
You'd need to do that in a mod, but that is possible yes. If you want to take that road you're better off asking in #modding-general on the official discord. Make sure to give yourself the modder role in #role-selection. There's a lot more activity on Discord
Thanks for advising!
-
@jip said in [Another question]How do those different types of layer work on game?:
You'd need to do that in a mod, but that is possible yes. If you want to take that road you're better off asking in #modding-general on the official discord. Make sure to give yourself the modder role in #role-selection. There's a lot more activity on Discord
you can do this in the map script