Halloween bumpercar mini-game help

That's the plan

L4: Comfortable Member
Jul 8, 2018
183
38
Does anyone know the logic behind how to make the Halloween bumper car mini-game work? I can't really figure it out. If anyone knows any tutorial links, please send them to me. And feedback is appreciated.
 
Last edited:

Wyvern

Certified TF2 Cartographer
Feb 16, 2018
105
152
The best way to learn is to decompile a festive map with the logic. I'm sorry I can't give you a straight forward answer, as I'm as new to the topic as you are, lol. But take a look at Carnival of Carnage, Doomsday, or any other maps that have the mini game. I'll try and find a link for you! :)
 

Wyvern

Certified TF2 Cartographer
Feb 16, 2018
105
152
Ok, Here's a link to a bunch of Decompiled maps:

https://tf2maps.net/threads/valve-maps-decompiled.5952/

Installation & How to see it in hammer:
Look under Miscellaneous, and download the carnival of carnage vmf. Then, go to steam, right click tf2, and click properties(it's at the bottom). You should see a settings list; click the local files button, and find "browse local files". Once your in the local files, click "sourcesdk_content". Then, go through all of the files, until you get to the list of vmf's. Finally drag the vmf into the folder, go to hammer, hit "File" then "Open", find the map, and open it.

Let me know if it works!
 

ics

http://ics-base.net
aa
Jun 17, 2010
841
541
Don't use trigger_add_tf_player_condition to create the bumper cars. This causes lagging feel for the next rounds after one has been played.

The doomsday_event method is better and the carts are bigger. It can be tricky to learn and theres no guides around that i know of.
 

That's the plan

L4: Comfortable Member
Jul 8, 2018
183
38
Thanks for all the replys, still can't really figure it out though :(
If ever manage to figure it out, I'll probably make a guide on it. I'll just keep trying.
 

ics

http://ics-base.net
aa
Jun 17, 2010
841
541
The way valve does it in doomsday event is, that there are 3 minigames that you teleport to and at the same time, the game automatically puts you into a cage and lets you go. You need entity tf_logic_minigames that you name to lets say minigames and then you trigger the minigame upon any time, like point capture like "OnTrigger minigames TeleportToMinigame 0" (or replace 0 with 1 or 2 for different minigame). You need spawns for the carts too where they spawn and so forth. This should get you started. Look doomsday_event for more information, dont look Gravestone (pl_rumble_event). It works more special way and may just confuse you more.
 

That's the plan

L4: Comfortable Member
Jul 8, 2018
183
38
The way valve does it in doomsday event is, that there are 3 minigames that you teleport to and at the same time, the game automatically puts you into a cage and lets you go. You need entity tf_logic_minigames that you name to lets say minigames and then you trigger the minigame upon any time, like point capture like "OnTrigger minigames TeleportToMinigame 0" (or replace 0 with 1 or 2 for different minigame). You need spawns for the carts too where they spawn and so forth. This should get you started. Look doomsday_event for more information, dont look Gravestone (pl_rumble_event). It works more special way and may just confuse you more.
Ah, thanks for the help, I'm well on my way now. Just curious, does the entity "tf_halloween_minigame" have anything to do with it?
 

That's the plan

L4: Comfortable Member
Jul 8, 2018
183
38
Yes, you need that too to make stuff work properly.
Quick update: So uh.. it kinda works. It fades to white like it usually does, and then the game just crashes. Help?
 
Last edited:

Izotope

Sourcerer
aa
May 13, 2013
698
764
Quick update: So uh.. it kinda works. It fades to white like it usually does, and then the game just crashes. Help?
Ah yes, very common.
Place a bumpercar and a cage model somewhere in your map, best somewhere out of bounds where it's not seen.
This precaches them and fixes the crash.
 

That's the plan

L4: Comfortable Member
Jul 8, 2018
183
38
Ah yes, very common.
Place a bumpercar and a cage model somewhere in your map, best somewhere out of bounds where it's not seen.
This precaches them and fixes the crash.
That didn't fix the problem unfortunately (I put them in as prop statics) :(. I think I'll just put the VMF for download and see if anyone can fix it there. Sorry about that. Here's the link:https://tf2maps.net/downloads/bumper-cart-fix-thing.7300/ if anyone can figure out, that would be great. Again, sorry about the in-convenience.
 
Last edited:

That's the plan

L4: Comfortable Member
Jul 8, 2018
183
38
They have to be dynamic props.
Sorry about all that, can confirm it works now. Thank you to everyone who responded and helped! I really appreciate it.