reset func_plat every round

reset func_plat every round

Re: reset func_plat every round Posted by 2dmin on Sun Nov 9th 2003 at 4:18am
2dmin
352 posts
Posted 2003-11-09 4:18am
2dmin
member
352 posts 75 snarkmarks Registered: May 17th 2003 Occupation: Progamer Location: Canberra, Australia
ok in my (small) fun map there is a large roller door which separates the terrorists from teh counter-terrorists. i have a button which activates it, up and down. but when the next round starts the "door" is still in the down position, where i left it ... how do i make it reset to the closed (up) position every round ?
Re: reset func_plat every round Posted by mazemaster on Sun Nov 9th 2003 at 4:31am
mazemaster
890 posts
Posted 2003-11-09 4:31am
890 posts 438 snarkmarks Registered: Feb 12th 2002
First, you should really be using something other than plats since they are notoriously buggy and their effects can basically be acheived by other, less buggy entities.

Second, to reset stuff every round in counterstrike, you want to use whats known as the "door hack". details here:

http://countermap.counter-strike.net/Tutorials/tutorial.php?id=7

The basic premise is that func_doors reset themselves each round.
Re: reset func_plat every round Posted by 2dmin on Sun Nov 9th 2003 at 4:35am
2dmin
352 posts
Posted 2003-11-09 4:35am
2dmin
member
352 posts 75 snarkmarks Registered: May 17th 2003 Occupation: Progamer Location: Canberra, Australia
what entity can i use instead of func_plat ? how do i make a func_door move upwards instead of sideways ?
Re: reset func_plat every round Posted by mazemaster on Sun Nov 9th 2003 at 5:14am
mazemaster
890 posts
Posted 2003-11-09 5:14am
890 posts 438 snarkmarks Registered: Feb 12th 2002
The tutorial actually does work for anything, you just are not understanding it completely. The whole idea is not to reset the func_door, but to reset other stuff that normally does not reset by using the fact that func_doors reset.

The func_door in the tutorial is not actually a door in your map, but rather just a door sitting out in space whose only purpose is to trigger a multimanager when the round resets.

Anyways, if you want to use a func_door for your map instead of a func_plat (totally different from using a door hack - here you are just using a door in the first place), then you can make it go up like so:

User posted image

The "angles" key (you might need to turn off smartedit to see it) is specified in P Y R (Pitch, Yaw, Roll). You can EITHER choose to specify 90 degrees of pitch in the "angles key" OR choose "UP" from the options by the yaw angle spinner. Don't do both - theres a bug in hammre that can cause trouble sometimes if you do this.

Here is a diagram of PYR:

User posted image
Re: reset func_plat every round Posted by 2dmin on Sun Nov 9th 2003 at 5:27am
2dmin
352 posts
Posted 2003-11-09 5:27am
2dmin
member
352 posts 75 snarkmarks Registered: May 17th 2003 Occupation: Progamer Location: Canberra, Australia
thanks man :smile:

i'm a noobie mapper, i'm glad that you took the time to enlighten me. hope you get lotsa snark marks for those 2 correct answers :smile: