[9:16:17 PM]
ok
so
maxslope has been deprecated
what is it's replacement?
otherwise, how are we supposed to define the maximum slope that a unit can be built upon?
I know that for mobile units maxslope is in the movedefs
but what about for buildings?
*copy pasta from moddev chat*
maxslope deprecated, but there is no replacement?
Moderator: Moderators
- Forboding Angel
- Evolution RTS Developer
- Posts: 14673
- Joined: 17 Nov 2005, 02:43
- Forboding Angel
- Evolution RTS Developer
- Posts: 14673
- Joined: 17 Nov 2005, 02:43
Re: maxslope deprecated, but there is no replacement?
Nevermind. Unclear changelog is unclear and murky.
Re: maxslope deprecated, but there is no replacement?
For future reference I believe the following is the case:
Unitdef tag is unchanged
Access via lua UnitDefNames["myunit"].maxSlope has been removed - use maxHeightDif ?
Unitdef tag is unchanged
Access via lua UnitDefNames["myunit"].maxSlope has been removed - use maxHeightDif ?
Re: maxslope deprecated, but there is no replacement?
the program to compare files is called diff, not dif
everywhere it is written with 2 f
I hope this will not change. For the sake of short variable names, consistency, backward compatibility and personal preference.
BTW: With terraform (and weapon craters) it makes no sense that you can not build somewhere anyway. Instead it takes time.
What is the new default value? When will the manuals get their update?
everywhere it is written with 2 f
I hope this will not change. For the sake of short variable names, consistency, backward compatibility and personal preference.
BTW: With terraform (and weapon craters) it makes no sense that you can not build somewhere anyway. Instead it takes time.
What is the new default value? When will the manuals get their update?
Re: maxslope deprecated, but there is no replacement?
Re-read my post.NeonStorm wrote:the program to compare files is called diff, not dif
everywhere it is written with 2 f
I hope this will not change. For the sake of short variable names, consistency, backward compatibility and personal preference.
BTW: With terraform (and weapon craters) it makes no sense that you can not build somewhere anyway. Instead it takes time.
What is the new default value? When will the manuals get their update?
Re: maxslope deprecated, but there is no replacement?
American/British english?NeonStorm wrote:the program to compare files is called diff, not dif
everywhere it is written with 2 f
- Forboding Angel
- Evolution RTS Developer
- Posts: 14673
- Joined: 17 Nov 2005, 02:43
Re: maxslope deprecated, but there is no replacement?
Not that kind of diff, genius.NeonStorm wrote:the program to compare files is called diff, not dif
everywhere it is written with 2 f
-
- Moderator
- Posts: 2464
- Joined: 12 Oct 2007, 09:24
Re: maxslope deprecated, but there is no replacement?
This seems to be a common error. We should make sure that people know the difference between their unit defs and UnitDefs.