Wind tunnel/Conveyor Belt

If you're looking for mapping help or you reckon you're a mapping guru, post your questions / solutions here

Moderator: Moderators

Post Reply
Mulkaccino
Lance Corporal
Posts: 23
Joined: Mon Mar 22, 2004 11:13 pm
Location: San Diego, CA

Wind tunnel/Conveyor Belt

Post 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!
Signature...? I can't find my digital pen...
Bjarne BZR
Site Admin
Posts: 3298
Joined: Wed Feb 05, 2003 2:04 pm
Location: Sweden
Contact:

Post 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...
Admin .MAP Forums
Image
Head above heels.
Mulkaccino
Lance Corporal
Posts: 23
Joined: Mon Mar 22, 2004 11:13 pm
Location: San Diego, CA

Post 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...
Signature...? I can't find my digital pen...
Shifty
Map Reviewer
Posts: 717
Joined: Sun Dec 15, 2002 11:53 pm
Location: UK
Contact:

Post 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
.MDT Webmaster, Mapper, Moddeler & Concept Artist
.Map Reviewer
Image
http://www.shiftys-bunker.tk Under Construction
Bjarne BZR
Site Admin
Posts: 3298
Joined: Wed Feb 05, 2003 2:04 pm
Location: Sweden
Contact:

Post by Bjarne BZR »

From waht I understand you dont need a target, just set "speed" and "angle". Have you tried that?
Admin .MAP Forums
Image
Head above heels.
Bjarne BZR
Site Admin
Posts: 3298
Joined: Wed Feb 05, 2003 2:04 pm
Location: Sweden
Contact:

Post by Bjarne BZR »

Speed 100 gives a good conveyor belt feeling. The motions are a bit jerky however.
Admin .MAP Forums
Image
Head above heels.
Mulkaccino
Lance Corporal
Posts: 23
Joined: Mon Mar 22, 2004 11:13 pm
Location: San Diego, CA

Post 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!
Signature...? I can't find my digital pen...
kai0ty
Brigadier General
Posts: 507
Joined: Fri Mar 19, 2004 1:45 am

Post by kai0ty »

my friend made a map for cs, ka_fxlot, with a trigger push. its a cool map, but not by mohaa standards.
There are only 10 kinds of people in this world; those who know what binary is, and those who don't.
Mulkaccino
Lance Corporal
Posts: 23
Joined: Mon Mar 22, 2004 11:13 pm
Location: San Diego, CA

Post by Mulkaccino »

I got it figured out. Thanks all :)
Signature...? I can't find my digital pen...
Post Reply