Making a mine Created 17 years ago2006-11-15 16:56:56 UTC by Kinrah Kinrah

Created 17 years ago2006-11-15 16:56:56 UTC by Kinrah Kinrah

Posted 17 years ago2006-11-15 16:56:56 UTC Post #202828
Ok, I'm trying to make a mine. As in with minecarts and such. I have part one of many levels (switchhouse.bsp) with a working func_tracktrain and such, but these are things I'm trying to work out.

If I want the player to spawn inside the tracktrain, which has an initial speed of 256, how far along the track must I place the info_player_start, item_suit and weapon_shotgun?

I also have 'fire doors' that are triggered by the cart, opening just in time for the cart to run through, then closing again after a few seconds. That works just fine. Problem is, on reverse, the cart slides 'through' the door, crushing the player between the door and the side of the cart. I want the cart to just back up to the door and then stop. How would I do this? (Nobody suggest firing a path_track once, I know that works when the map is revisited, and the way I've got it worked out means that the cart will be visiting the path_track again after some level changes.)

Also, could I have an explanation of how a func_trackchange works? Because in the switch house, there will be five switches, each corresponding to a junction elswhere in the mine (use of globals there), and each switch changes the points. I know this means a trackchange is in order, and more path_tracks down the other line, but how does it work?

Now I have to move onto switch1.bsp and behindswitches.bsp, making an extension on the starting end and a loop allowing the cart to return to the upper level of the switch house area. Some help with trigger_transitions will be of help here as well.
Posted 17 years ago2006-11-15 17:24:17 UTC Post #202829
A thread with explanation on how to use Func_trackchange/autochange

As for stopping the train from goinf right through the door, how about giving giving the first path_track after the door no branch path. You couldn't return from that point and will be considered as a dead end if you will drive in revearse.
You must be logged in to post a response.