The Game Modding Community - Since 2001

[DEU] Zero G in Gmod map...

A Forum Thread for Garry's Mod 13

Need a way to set sv_gravity to "0" in my map

As the title says, I tried to turn off the gravity in my map. Since the **point_clientcommand** is disabled in multiplayer I can't find a way to enter server commands... I know you can avoid this by placing a giant **trigger_push** in your map to compensate gravity but it doesn't affect all objects (like debris or something..) Thanks in advance!

Posts

  • 4y
    Devieus avatar
    Devieus username pic Joined 8y ago
    Moderator
    ONLINE
    83,964 points Ranked 43rd
    67 medals 6 legendary 11 rare
    • 1st Place - Tutorial Contest Medal icon
    • 15+ Entries! GameBanana’s Christmas Giveaway 2015 Medal icon
    • Returned 5000 times Medal icon
    • 15+ Entries! GameBanana’s Christmas Giveaway 2016 Medal icon
    • 2017 Top Contributor Medal icon
    • 15+ Entries! GameBanana’s Christmas Giveaway 2017 Medal icon
    You could try a point_servercommand instead, those are the things that deal with servers.
    Sentinel of the TV remote avatar
    Mantra
    Sentinel of the TV remote
  • 4y
    Evil23 avatar
    Evil23 Joined 11y ago
    Offline
    9,221 points Ranked 507th
    16 medals 1 legendary 3 rare
    • 10 years a member Medal icon
    • 6 years a member Medal icon
    • GameBanana’s Christmas Giveaway 2015 Day Seventeen Winner! Medal icon
    • 8-14 Entries! GameBanana’s Christmas Giveaway 2015 Medal icon
    • One month a member Medal icon
    • 6 months a member Medal icon
    That doesn't work either I think because of cheating possibilities.. :( Is there a way that my server executes a .cfg file when loading the map?! Then I could simply include the file into my .bsp and had the same effect.
  • 4y
    Devieus avatar
    Devieus username pic Joined 8y ago
    Moderator
    ONLINE
    83,964 points Ranked 43rd
    67 medals 6 legendary 11 rare
    • 1st Place - Tutorial Contest Medal icon
    • 15+ Entries! GameBanana’s Christmas Giveaway 2015 Medal icon
    • Returned 5000 times Medal icon
    • 15+ Entries! GameBanana’s Christmas Giveaway 2016 Medal icon
    • 2017 Top Contributor Medal icon
    • 15+ Entries! GameBanana’s Christmas Giveaway 2017 Medal icon
    Yes, a `point_servercommand` can do that, but whatever you put in a `.cfg`, a `point_servercommand` can do on equal level. If you're having trouble trying to activate cheats, do `sv_cheats 1` before any command, then whatever commands you want to do after a miniscule delay, then `sv_cheats 0` after another delay.
    Sentinel of the TV remote avatar
    Mantra
    Sentinel of the TV remote
  • 4y
    Evil23 avatar
    Evil23 Joined 11y ago
    Offline
    9,221 points Ranked 507th
    16 medals 1 legendary 3 rare
    • 10 years a member Medal icon
    • 6 years a member Medal icon
    • GameBanana’s Christmas Giveaway 2015 Day Seventeen Winner! Medal icon
    • 8-14 Entries! GameBanana’s Christmas Giveaway 2015 Medal icon
    • One month a member Medal icon
    • 6 months a member Medal icon
    The problem is point_servercommand doesn't do anything at all in Gmod. It worked in HL2 but when I try the same map in Gmod it does not! I guess it's not allowed in multiplayer games...
  • 4y
    Devieus avatar
    Devieus username pic Joined 8y ago
    Moderator
    ONLINE
    83,964 points Ranked 43rd
    67 medals 6 legendary 11 rare
    • 1st Place - Tutorial Contest Medal icon
    • 15+ Entries! GameBanana’s Christmas Giveaway 2015 Medal icon
    • Returned 5000 times Medal icon
    • 15+ Entries! GameBanana’s Christmas Giveaway 2016 Medal icon
    • 2017 Top Contributor Medal icon
    • 15+ Entries! GameBanana’s Christmas Giveaway 2017 Medal icon
    In that case you're running pretty low on options, perhaps a `trigger_gravity` for the players and zero mass props.
    Sentinel of the TV remote avatar
    Mantra
    Sentinel of the TV remote

Embed

Share banner
Image URL:
HTML embed code:
BB embed code:
Markdown embed code:

Author

Evil23 avatar
Evil23 Joined 11y ago
Offline
9,221 points Ranked 507th
16 medals 1 legendary 3 rare
  • 10 years a member Medal icon
  • 6 years a member Medal icon
  • GameBanana’s Christmas Giveaway 2015 Day Seventeen Winner! Medal icon
  • 8-14 Entries! GameBanana’s Christmas Giveaway 2015 Medal icon
  • One month a member Medal icon
  • 6 months a member Medal icon

Evil23
Sign up to access this!
Sign up to access this!
Sign up to access this!
Sign up to access this!

Category

Attributes

Share

  • Share on Reddit
  • Share on Twitter
  • Share on Facebook
  • Share on Google+

Stats

  • 8,388 Views
  • 5 Posts
  • 4y Submitted

Greetings! Mascot

GameBanana is one of the oldest mod sites on the net. Sign up and maximize your browsing experience.

  • Subscribe: Get notified of new submissions like this.
  • Say Thanks: Show your appreciation - send modders points.
  • Post: Give modders your thoughts on their work.
  • Vote: Help your favorite modders win monthly awards.
  • Flag: Alert moderators and warn members of problems with mods.
  • Watch: Get notified when mods are updated.

Interested? Sign up now!

Already a Bananite? Login

WiPs by Submitter

bcp.crwdcntrl.net tracking pixel