3
« on: December 30, 2023, 06:28:44 am »
If I can input some suggestions.
Currently, I believe the maxAltitude is the range a craft can intercept the ufo. If the craft is beyond the interception parameters, a menu will pop up and alert the player that the interception is impossible. It is during this interception phase that the warning would pop up.
Can this warning menu be improve or re-code to when the craft crosses the boundaries of one texture to another? If the altitude parameters of one texture is beyond the operatiional limits of the craft? The warning will pop up when it crosses one texture to another, eg, land texture to underwater texture? If it does not violate vanila OXC codes.
This way, maxAltitude is the maximum altitude the craft can operates in, not when interception can or cannot happen.
Two, if the former part of the suggestion is viable.
Can OXCE be upgraded in this manner, should the suggestion above can be improved as suggested?
There is a minAltitude and maxAltitude, PLUS a , minDepth and maxDepth for (Globe) Textures.
minAltitude and maxAltitude is for land or vanila ufo terrain only.
fakeUnderwater terrains has both minAltitude and maxAltitude, plus minDepth and maxDepth
The logic behind this suggestion is the enable of class distinction of land, air and sea vehicles.
craft will also have both parameters like minDepth and maxDepth, minAltitude and maxAltitude,
Land craft, has minAltitude and maxAltitude of 0, minDepth and maxDepth -1
Sea craft, has minAltitude and maxAltitude of -1, minDepth and maxDepth 0
Underwater craft, has minAltitude and maxAltitude of -1, minDepth and maxDepth 0 to 5 (whichever the highest depth possible)
Aircraft, has minAltitude and maxAltitude of 0 to 5 (whichever the highest altitude possible), minDepth and maxDepth -1
Hybrid craft, has minAltitude and maxAltitude of 0 to 5 (whichever the highest altitude possible), minDepth and maxDepth (whichever the highest altitude possible)
Craft Weapons with underwaterOnly parameter, Weapons can function like underwater, has default setting of minDepth and maxDepth (hidden from modder) set as greater than 0
If this helps and my suggestions are valued.