Raised This Month: $51 Target: $400
 12% 

[TF2] The Infection - Yet Another Zombie Survival Gamemode for TF2


Post New Thread Reply   
 
Thread Tools Display Modes
Seamusmario
Member
Join Date: Jun 2017
Location: United States
Old 07-04-2023 , 12:50   Re: [TF2] The Infection - Yet Another Zombie Survival Gamemode for TF2
Reply With Quote #21

the timer i was talking about earlier is map specific. i have no clue how i would create a team_round_timer entity that will cause the round to end when the timer is finished
__________________
uhhhhhhhh
Seamusmario is offline
q1085909155
Member
Join Date: Oct 2021
Old 07-04-2023 , 12:55   Re: [TF2] The Infection - Yet Another Zombie Survival Gamemode for TF2
Reply With Quote #22

One more issue, Human Rage should not start charging after the mode Cvar change, it should start charging after the auto balance, the turn starts normally, and the player can move normally.

For round time, perhaps you can declare an int or float, displayed to the user can simply, time to return to zero, will make human victory, and presented them. Then start the next game over.
q1085909155 is offline
q1085909155
Member
Join Date: Oct 2021
Old 07-04-2023 , 12:57   Re: [TF2] The Infection - Yet Another Zombie Survival Gamemode for TF2
Reply With Quote #23

round time is controlled by the new cvar, which you can measure in seconds, or if your code is more advanced you can use the form mm:ss
q1085909155 is offline
Seamusmario
Member
Join Date: Jun 2017
Location: United States
Old 07-04-2023 , 13:50   Re: [TF2] The Infection - Yet Another Zombie Survival Gamemode for TF2
Reply With Quote #24

added sm_infection_time
__________________
uhhhhhhhh
Seamusmario is offline
q1085909155
Member
Join Date: Oct 2021
Old 07-05-2023 , 02:40   Re: [TF2] The Infection - Yet Another Zombie Survival Gamemode for TF2
Reply With Quote #25

Test again:
1. Player model hollow problem not solved.
2, the round timer needs to show the time in real time, similar to the countdown, this needs to be displayed in real time at the top of the player's screen, rather than only once after the start of the round. You can display it with PrintCenterTextAll
3, when there is only the last player, the detection error will show the penultimate player who died, which is probabilistic.
4. Bullet time seems to have failed? Is it because I'm testing with a bot?
q1085909155 is offline
q1085909155
Member
Join Date: Oct 2021
Old 07-05-2023 , 04:18   Re: [TF2] The Infection - Yet Another Zombie Survival Gamemode for TF2
Reply With Quote #26

After zombies win, the timer for humans to win should stop running, otherwise it will cause
This round is over! The zombie team wins. After a few seconds, the human team won.
q1085909155 is offline
Seamusmario
Member
Join Date: Jun 2017
Location: United States
Old 07-05-2023 , 13:56   Re: [TF2] The Infection - Yet Another Zombie Survival Gamemode for TF2
Reply With Quote #27

made another update
__________________
uhhhhhhhh
Seamusmario is offline
q1085909155
Member
Join Date: Oct 2021
Old 07-05-2023 , 22:40   Re: [TF2] The Infection - Yet Another Zombie Survival Gamemode for TF2
Reply With Quote #28

L 07/06/2023 - 108:44: [SM] Exception reported: Invalid timer handle 15800107 (error 1)
L 07/06/2023 - 108:44: [SM] Blaming: the_infection.smx
L 07/06/2023 - 108:44: [SM] Call stack trace:
L 07/06/2023 - 108:44: [SM] [0] KillTimer
L 07/06/2023 - 108:44: [SM] [1] Line 1423, E:\hlserver\tf\tf\addons\sourcemod\scripting\ the_infection.sp::RoundStarted
q1085909155 is offline
q1085909155
Member
Join Date: Oct 2021
Old 07-05-2023 , 22:44   Re: [TF2] The Infection - Yet Another Zombie Survival Gamemode for TF2
Reply With Quote #29

This may result in no more round timers after the first round
q1085909155 is offline
Seamusmario
Member
Join Date: Jun 2017
Location: United States
Old 07-06-2023 , 23:23   Re: [TF2] The Infection - Yet Another Zombie Survival Gamemode for TF2
Reply With Quote #30

fixed maybe?
__________________
uhhhhhhhh
Seamusmario is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 13:33.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode