Having trouble with point_clientcommand
Quote from n8r8r on July 24, 2012, 6:30 pmI am trying to make a map with changing gravity by having a linked_portal_door on the ceiling of two rooms, and using the console command "sv_gravity -150" to fly through to the second room, and then "sv_gravity 600" once you reach the second room, to give the illusion that your walking on the ceiling. All of this works perfectly when I enter the commands by hand, but I can't seem to get the point_clientcommand entity to work.
I noticed that you cant jump without the gravity being at 600, and that the change in gravity wont apply to you until you enter a situation where gravity would need to be applied (like during a jump). So I am using a trigger_multiple on the floor of the room to OnEndTouch have the point_clientcommand use the command sv_gravity -150. That way the gravity will be changed when the player jumps (and is no longer touching the floor.
But when I load up the map and jump, nothing happens. How do I fix this?
(I would attach the map so you can better understand but I am new to the forum and don't know how to do this.)
I am trying to make a map with changing gravity by having a linked_portal_door on the ceiling of two rooms, and using the console command "sv_gravity -150" to fly through to the second room, and then "sv_gravity 600" once you reach the second room, to give the illusion that your walking on the ceiling. All of this works perfectly when I enter the commands by hand, but I can't seem to get the point_clientcommand entity to work.
I noticed that you cant jump without the gravity being at 600, and that the change in gravity wont apply to you until you enter a situation where gravity would need to be applied (like during a jump). So I am using a trigger_multiple on the floor of the room to OnEndTouch have the point_clientcommand use the command sv_gravity -150. That way the gravity will be changed when the player jumps (and is no longer touching the floor.
But when I load up the map and jump, nothing happens. How do I fix this?
(I would attach the map so you can better understand but I am new to the forum and don't know how to do this.)
Quote from FelixGriffin on July 24, 2012, 6:31 pmUse a point_servercommand, not a point_clientcommand.
Use a point_servercommand, not a point_clientcommand.
Quote from n8r8r on July 24, 2012, 6:37 pmOk now the game freezes for a second when i jump for the first time, and then nothing different happens.
Ok now the game freezes for a second when i jump for the first time, and then nothing different happens.

Quote from BenVlodgi on July 24, 2012, 7:53 pmuse push triggers instead, my Mod Back-Stock uses gravity changing a few different times in a few different ways, but I never change the sv_gravity
use push triggers instead, my Mod Back-Stock uses gravity changing a few different times in a few different ways, but I never change the sv_gravity
Quote from Skotty on July 24, 2012, 9:21 pmWhat about Trigger_Gravity?
What about Trigger_Gravity?
Quote from n8r8r on July 24, 2012, 9:36 pmThanks for the help, I have now been able to get both trigger_push and trigger_gravity working. You guys are awesome!
But just out of curiosity why didn't the point_clientcommand/servercommand work? What if I wanted to use other commands like timescale in the future?
Thanks for the help, I have now been able to get both trigger_push and trigger_gravity working. You guys are awesome!
But just out of curiosity why didn't the point_clientcommand/servercommand work? What if I wanted to use other commands like timescale in the future?

Quote from BenVlodgi on July 25, 2012, 2:01 amthen use client command then use the command option with the parameter of the thing you would type in the console, dont include quotes.
then use client command then use the command option with the parameter of the thing you would type in the console, dont include quotes.
Quote from n8r8r on July 25, 2012, 2:37 amwell yes, the entire point of this post is that just doing that doesnt work for me. ( i never included the quotes im not entirely sure why i typed them back there )
well yes, the entire point of this post is that just doing that doesnt work for me. ( i never included the quotes im not entirely sure why i typed them back there )