Search
Username:
Password:

Register or Reset Password

SUBMISSIONS





FPSB.com TF2 Servers
Killer Wombat TF2
Rabid Wombat TF2
Fairy Wombat TF2
Custom Wombat TF2
Search Threads:           Advanced
 
 
 
 
 
Ending a game on map (koth_Barn)
Advice please: I'm confused how to trigger the end of a map
Posted 3 days ago, last post 2 days ago by captain-pot-noodle
2
Replies
131
Views
0
Favorites
Undefined
Class (?)
Hello all I've created a king of the hill map for TF2 KOTH_Barn on beta 2 at the moment (Beta 3 nearly ready) Its available here: http://www.fpsbanana.com/maps/53758

Anyway My question is:

Do I need to place a game_end entity to trigger after a certain number of rounds

or do I need to set it not to end and then the servers can set the limit?

Thanks in advance p0t n00dle :-)

e: corrected wording
Bananite
ncyphe .
That which lies in wait | Y2M
Posted 3 days ago
Edit: I just realized this is not what you asked, but it's an arguable thing. Some would say to let the server or admins control when the game changes maps, but at the same time, if the server has no time limits or there are no admins on, the map will play forever. If you need help, I've provided a quick tutorial below.
---end edit---

Ok, I'm gonna be a bit quick, but the entities and things I'm going to explain to you should work. I have tinkered around in some of these areas before.

If you are wanting to create a set number of rounds, you are going to need to create a math_counter entity and a game_end entity. Set your Math_counter's fields as follows

--Math_Counter
name: [can be anything really]
start disabled: no
initial value: [the number of rounds you want the players to play]
Minimum Legal Value: 0
Maximum Legal Value: [Max number of rounds you want the player to be able to play. Should be the same as initial value]

Set the out out to:
Output: "onhitmin"
Target entities: [the name of your game_end entity]
Via this input: EndGame
After a delay of second: 4 (note: let the player see the MVP's before the scoreboard by making this at least 4 seconds)

---
How to use this setup:

I will describe this using the game_round_win entity; however, you should be able to apply this to Flag and CP_master entities as well.

on output:
Output: OnRoundWin
Target entities: [math_counter name]
Via this input: Subtract
parameter Overide: 1

----

Post me if you have any problems.

If you're reading this then you've gone too far.
captain-pot-noodle .
Bananite | Y2M
Posted 2 days ago
Thanks for your help! :-)
Bananite
Assess Thread
You cannot assess yet!
Moderating FPSB is in your hands - when you assess a submission your vote determines its success or failure.

To vote on this submission register or login.
Stamps
No stamps recorded
StampIt
Is this thread particularly good or bad in one or more areas? Stamp it!
You cannot stamp yet!
Stamps let you apply characteristics to submissions to help others understand them.

To stamp this submission register or login.
Share It!
Get HTML Code
Get BBCode
Tell a Friend
Posters Summary
Thread Stats on captain-pot-noodle .
Submissions: 1
Total Views: 1
Total Feedback: 0 posts
Average Rating: -
Unrated Threads: 1
Total Favs: 0
First Submission: 3 days ago
Latest Submission: 3 days ago
Favorite Category: TF2 > Mapping (1 threads)
Save It
You cannot post yet!
Get involved on FPSB by posting your thoughts. Give authors your feedback to help them develop.

To post in this submission register or login.