slide walls + rotation speed


(Miki) #1

I’m making another funmap,

so i’ve got a small path

|| __ || and ‘||’ are the walls. I want, that if a button is pressed, (so in script at ‘activate’) the walls slide in

||_||
|| ||

and after 5 sec back out to orginal.

What is the best way to do this?

And, if you have something that is rotating (func_rotating) how do you change the speed of it in your script?


(isbowhten) #2

you could make a func_door (so you dont need scripting) but youahve to remove the icons then and make it closed for everybody.

rotating is very easy if you just put in your script
setrotation y z x ehm… not sure abouzt the row of the axis … they are called pitch yaw roll.
jsut try it out…
e.g. setrotation 0 100 0…
if you wanna change it setrotation 0 4956 0


(Miki) #3

Could you tell me more about the door, or make me a mini .map file, cus i don’t understand?

Thanks for the rotation :slight_smile:


(isbowhten) #4

hm the func_door, not the func_door_rotating… just slides away…
and has a several keys that handle the movement…
look at the notes


(Pande) #5

lip key might confuse you, so here is: how much is left sticking out… a sliding door by default will move in its direction by 2 times the amount (so an 80 unit wide door will move 160 units) MINUS its lip default lip is 8, so an 80 unit door will move 152 units in its direction.


(kamikazee) #6

Personally, I would use a func_invisible_user which is linked to a target_script_trigger to run some piece of script on a script_mover.

If you use func_door, the result is messy because the door needs to be slightly indented. A script_mover can slide backwards, then move to the side to reveal the secret passage.


(Pande) #7

slightly indented?! what? Nono, if you set it right it will be perfectly aligned, what are you talking about?


(kamikazee) #8

Isn’t this for a hidden door in a wall? If so, it can’t be aligned with the surrounding walls because the door would slide into the surrounding brushes and cause Z-fighting.


(Pande) #9

lip -1 then


(Miki) #10

It wasn’t for a invisible door. The idea was a DEATH_RUN alike map (from counter strike)

let me explain it, for everybody that doesn’t know it :

2 axis vs 30 allies.

Axis are in the center, in, for instance, a glass building. They have tons of buttons, and when they press it, a trap is activated. A trap can be the floor that breaks on the allied track, or a fan that ‘blows’ players off the track, or something that comes out of the roof that ‘splats’ players underneath

with LMS gametype, ofcourse.

At the end of the track, (after 25 traps, for instance) allies can push a button to take ‘revenge’ and kill the 3 axis, or another way that the allies can kill axis easy, (think of ‘water’ on the roof, so allies can see and shoot axis, but axis can’t see where the allies are)

If anybody wants to make a map like that, let me now :smiley: (in PM or here)


(Tyrlop) #11

[QUOTE=Miki;184928]It wasn’t for a invisible door. The idea was a DEATH_RUN alike map (from counter strike)

let me explain it, for everybody that doesn’t know it :

2 axis vs 30 allies.

Axis are in the center, in, for instance, a glass building. They have tons of buttons, and when they press it, a trap is activated. A trap can be the floor that breaks on the allied track, or a fan that ‘blows’ players off the track, or something that comes out of the roof that ‘splats’ players underneath

with LMS gametype, ofcourse.

At the end of the track, (after 25 traps, for instance) allies can push a button to take ‘revenge’ and kill the 3 axis, or another way that the allies can kill axis easy, (think of ‘water’ on the roof, so allies can see and shoot axis, but axis can’t see where the allies are)

If anybody wants to make a map like that, let me now :smiley: (in PM or here)[/QUOTE]
WOW DAMN THATS A GOOD IDEA! but sadly i sucks at scripting i think that isbowhten is the right man! but i can do a cool design if needed, omg thats a really good map idea dude :slight_smile: thumbs up
NOW LETS MAKE THIS MAP !! i love this idea, it is very very hard to make but it is possible im sure!


(Pande) #12

Where does scripting come into that idea? :frowning:


(isbowhten) #13

tell me just what you want and i tell you how to do ^^
but i have less time atm for anything so i can only try to tell you how to do , but not do myself


(Tyrlop) #14

alot of diffrent ways of killing people in a long room, and axis sit on the other side and press buttons. they have to kill all allies before they reach the end of the room where there is a door to the axis controll room or just a button to kill axis. that needs scripting i think, if we want good traps ofcourse


(IndyJones) #15

how are you going to prevent respawning?


(dvdcupgo339) #16

I think you are right,The home of Professional DVD Retail, DVD Dropship. World-wide a genuine DVD DROPSHIP company that actually makes you money.


(-SSF-Sage) #17

>LMS (last man standing) gametype provided by the game.


(Miki) #18

I have made a TOPIC out of it, since i think it might have some succes… You can find it :

http://splashdamage.com/forums/showthread.php?t=17438