Page 1 of 1

Wind tunnel/Conveyor Belt

Posted: Mon Mar 29, 2004 6:59 am
by Mulkaccino
Wondering if someone can point me in the right direction here. Trying to create a trigger (doesn't have to be a trigger...) that will push the player in a direction but allow the player resist the movement. I've tried the trigger_push but I don't want the player to launch into the air. I need to the player to be able to run against the conveyor belt/wind tunnel. I've seen the target_push commands in other games but don't see it in MOHRadiant. Any help/suggestions/comments would be greatly appreciated. Thanks!

Posted: Mon Mar 29, 2004 7:10 am
by Bjarne BZR
Well, I've never used it myself, but:
Entity window for trigger_push/trigger_pushany wrote:Pushes entities as if they were caught in a heavy wind.

"speed" indicates the rate that entities are pushed (default 1000).

"angle" indicates the direction the wind is blowing (-1 is up, -2 is down)

"target" if target is set, then a velocity will be calculated based on speed

"triggerable" turn trigger on
"nottriggerable" turn trigger off

If NOT_PLAYERS is set, the trigger does not push players
If MONSTERS is set, the trigger will push monsters
If PROJECTILES is set, the trigger will push projectiles (rockets, grenades, etc.)
...this indicates that this should be usable... not sure you can resist it however...

Posted: Mon Mar 29, 2004 7:45 am
by Mulkaccino
Hmmm, thats what I've been trying but it launches you (like a cannon) instead of pushes against you... neat, but not practical for what I'm trying to accomplish. :( I've even tried putting the script_origin that the trigger_push targets below the floor (solid brush) with the idea that it would drag me on the floor instead on launch me into the air... but with no success...

Posted: Mon Mar 29, 2004 7:54 am
by Shifty
could create a clip brush and set it up to move in the script i guess, which will move people but I don't know if it will achieve the effect you want though

Posted: Mon Mar 29, 2004 9:02 am
by Bjarne BZR
From waht I understand you dont need a target, just set "speed" and "angle". Have you tried that?

Posted: Mon Mar 29, 2004 9:18 am
by Bjarne BZR
Speed 100 gives a good conveyor belt feeling. The motions are a bit jerky however.

Posted: Mon Mar 29, 2004 3:28 pm
by Mulkaccino
could create a clip brush and set it up to move in the script i guess, which will move people but I don't know if it will achieve the effect you want though
Good idea shifty, though it wouldn't be practical for the application I'm using.

Bjarne, I think your idea might work. For some reason I was thinking you HAD to set ANGEL as either -1 or -2. :oops: I'm going to de-n00b myself and give it another go when I get home. The jerkiness might be to my advantage as well. Thanks!

Posted: Tue Mar 30, 2004 4:18 am
by kai0ty
my friend made a map for cs, ka_fxlot, with a trigger push. its a cool map, but not by mohaa standards.

Posted: Tue Mar 30, 2004 4:20 pm
by Mulkaccino
I got it figured out. Thanks all :)