Simulating Low/zero Gravity
Black_Hawk_VS
Join Date: 2003-03-13 Member: 14478Members, Constellation
<div class="IPBDescription">Sharing what I have learned</div> First off, this is not a qestion, it is just sharing what I learned
While working on my map, Ns_BlackHawk, I had one area where I needed low gravity and another area with zero gravity. I first tried to use trigger_gravity, but could not get that to work. I came to the forums and did a search for gravity (For all of you who think it is easier to just post, I found what I was looking for in under a minute, alot faster than typing out about a problem that has been brougt up hundereds of times). The post I read said that gavity could be simulated using trigger_push and having the direction going up. This is correct, what I have to add is some numbers. It is the opposite of the sv_gavity command in game. Zero Gravity is at about 800 for the speed of push (I have not found it exactly, but it is within 5 units). This means that if you find an area that you want to have low gravity similar to setting sv_gravity to 100, then you set the speed of push to 700 (800[Equivilant of 0 gravity]-100[sv_gravity setting]=700[Speed of push needed])
I hope this helps anyone tring to use low/zero gravity in their maps
While working on my map, Ns_BlackHawk, I had one area where I needed low gravity and another area with zero gravity. I first tried to use trigger_gravity, but could not get that to work. I came to the forums and did a search for gravity (For all of you who think it is easier to just post, I found what I was looking for in under a minute, alot faster than typing out about a problem that has been brougt up hundereds of times). The post I read said that gavity could be simulated using trigger_push and having the direction going up. This is correct, what I have to add is some numbers. It is the opposite of the sv_gavity command in game. Zero Gravity is at about 800 for the speed of push (I have not found it exactly, but it is within 5 units). This means that if you find an area that you want to have low gravity similar to setting sv_gravity to 100, then you set the speed of push to 700 (800[Equivilant of 0 gravity]-100[sv_gravity setting]=700[Speed of push needed])
I hope this helps anyone tring to use low/zero gravity in their maps
Comments
Speaking of mapping bugs, another bug that bothers me is how CC's malfunction when placed on surfaces positioned at 0 map units.
Now <b>thats</b> a quote to remember for all time.