redsunservers / SuperZombieFortress

Custom Team Fortress 2 Gamemode, inspired from Left 4 Dead
GNU General Public License v3.0
36 stars 26 forks source link

Introduce More SZF Entities #73

Closed Batfoxkid closed 4 years ago

Batfoxkid commented 4 years ago

Basically I have a running fork and a request I had from map makers was to know when events took place in SZF such as changing map music. Would be great to have this as an official addition.

logic_relay

szf_laststand

Trigger to activate last stand music OnUser1 when there is only one survivor left alive (activator is the client) OnUser2 when the last control point is being captured

szf_zombierage / szf_panic_event

OnUser1 when a frenzy begins OnUser2 when a frenzy ends

szf_zombietank / szf_tank

OnUser1 when a tank spawns (activator is the client) OnUser2 when a tank dies (activator is the client)

prop_dynamic

szf_weapon_common

A weapon that is only common, such as spawn weapons but aren't infinite

szf_weapon_uncommon

A weapon that is only uncommon, such a rare weapon when the rare cap is hit

Batfoxkid commented 4 years ago

For example a map uses it's own music when a frenzy/tank starts and needs to return to it's normal music when a frenzy/tank ends.

FortyTwoFortyTwo commented 4 years ago

For example a map uses it's own music when a frenzy/tank starts and needs to return to it's normal music when a frenzy/tank ends.

Fair enough, though now i'm unsure which is best route to go for triggering relays when frenzy/tank end, either one of those:

I feel first suggestion is best to go for, @haxtonsale thoughts?

Batfoxkid commented 4 years ago

Alright, added a stock FireRelay, added rare cap info_target, and support for having multiple Tanks at once via the map or commands.