Raising the sky limit [Solved]
Moderator: Moderators
- vortexus
- Private Recruit
- Posts: 21
- Joined: Sun Dec 28, 2008 1:37 pm
Raising the sky limit [Solved]
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.
-
theultimat
- Lieutenant General

- Posts: 679
- Joined: Sun Apr 13, 2008 1:39 pm
- Location: UK
Re: Raising the sky limit
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:
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):
Hope that helps.
Code: Select all
SetMaxFlyHeight(30)
SetMaxPlayerFlyHeight (30)Code: Select all
SetMaxFlyHeight(999)
SetMaxPlayerFlyHeight (999)- DarthD.U.C.K.
- Master of the Force

- Posts: 6027
- Joined: Wed Sep 27, 2006 11:05 am
- Location: Duckburg, Germany
Re: Raising the sky limit
in your missions luas you can find these lines:
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
Code: Select all
SetMaxFlyHeight(30)
SetMaxPlayerFlyHeight (30)dang, you beat me
the max height of a landmap is about 200-300 by the way
