Page 1 of 1

Raising the sky limit [Solved]

Posted: Fri May 29, 2009 5:50 am
by vortexus
Hi guys, I've got a problem that I need some help with. I'm currently experimenting, trying to learn how to do mapping well, and.. How do you raise the sky barrier(or remove it), please I am clueless on this one. I know I am probably being an annoying newbie and will be flogged of and told that I need to read the manual, but its not in the manual and I couldn't find it on this forum.

Re: Raising the sky limit

Posted: Fri May 29, 2009 6:28 am
by theultimat
To do this you would need to open up your map's LUA (located in data_***\Common\scripts\***). The file should be called (for CW Conquest, for example) ***c_con.lua. Open that file with notepad, and find the following lines:

Code: Select all

    SetMaxFlyHeight(30)
    SetMaxPlayerFlyHeight (30)
You then need to change the numbers to higher ones, thus allowing your units to fly higher. If you want it to seem like there is no barrier, just set the heights to 999, so it would look like this (if you didn't want any barrier):

Code: Select all

    SetMaxFlyHeight(999)
    SetMaxPlayerFlyHeight (999)
Hope that helps.

Re: Raising the sky limit

Posted: Fri May 29, 2009 6:29 am
by DarthD.U.C.K.
in your missions luas you can find these lines:

Code: Select all

    SetMaxFlyHeight(30)
    SetMaxPlayerFlyHeight (30)
heighten them to "heighten the roof of your map" (this can be also found in the everything you need thread)

dang, you beat me
the max height of a landmap is about 200-300 by the way