Simulating Low/zero Gravity

Black_Hawk_VSBlack_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

Comments

  • Sucky_DuckySucky_Ducky Join Date: 2003-05-04 Member: 16043Members
    I actually was planning something like that on ns_aquatica, never knew... So thnx, <!--emo&:D--><img src='http://www.unknownworlds.com/forums/html/emoticons/biggrin.gif' border='0' style='vertical-align:middle' alt='biggrin.gif'><!--endemo-->
  • EriasErias Join Date: 2003-08-17 Member: 19878Members
    Is it a bug that prevents trigger_gravity from working, has the entity been removed, or is there another issue? It would be quite convenient if trigger_gravity were fixed, I remember noticing that using trigger_push against gravity can tend to make collision a bit dodgy. But I guess in HL <i>all</i> collision is a bit dodgy. <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html/emoticons/tounge.gif' border='0' style='vertical-align:middle' alt='tounge.gif'><!--endemo-->

    Speaking of mapping bugs, another bug that bothers me is how CC's malfunction when placed on surfaces positioned at 0 map units.
  • chubbystevechubbysteve Join Date: 2002-10-14 Member: 1496Members, Constellation
    <!--QuoteBegin--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> </td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->But I guess in HL all collision is a bit dodgy.<!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
    Now <b>thats</b> a quote to remember for all time.
  • NerdIIINerdIII Join Date: 2003-04-05 Member: 15230Members
    er...ever played Operation Flashpoint? THAT is what I call dodgy collisions. Half-Life is quite perfect compared to OFP.
Sign In or Register to comment.