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 , 11:25   Re: [TF2] The Infection - Yet Another Zombie Survival Gamemode for TF2
Reply With Quote #11

fixed
__________________
uhhhhhhhh
Seamusmario is offline
q1085909155
Member
Join Date: Oct 2021
Old 07-04-2023 , 11:45   Re: [TF2] The Infection - Yet Another Zombie Survival Gamemode for TF2
Reply With Quote #12

Some suggestions:
1, new players enter the server, join the zombie team.
2, use Cvar, free to choose all the doors of the server open.
3. Zombie movement speed is reduced
Some mistakes:
1. Set to 0 using sm_infection_enable after the mode runs, some players will lose their model clothes and be in zombie mode. So much so that their bellies are hollow.
2, after the first point is set to 0, there is some sound left in some places, similar to ropes, or a rustling sound. These are solved by the player re-entering the server.
Some questions:
1. In the code, where do I get the last player? Or you can update it so that when there is only one player left, it says "Player xxx is the last player". It's best if you can highlight them or make them more visible
2, zombies are to kill all humans to win, so how do humans win? Should we set a round time?

Last edited by q1085909155; 07-04-2023 at 11:52. Reason: emm
q1085909155 is offline
Seamusmario
Member
Join Date: Jun 2017
Location: United States
Old 07-04-2023 , 12:12   Re: [TF2] The Infection - Yet Another Zombie Survival Gamemode for TF2
Reply With Quote #13

1. Humans require a timer that lasts as long as 5 minutes or more in order to win.
2. So far, I haven't actually added an identifier for the last remaining survivor yet, but i will add one in the next update.
3. The sound is the Mannpower plague infection sound. No idea why it's still playing despite being killed.
4. Cvar is already used in this forum thread.
__________________
uhhhhhhhh
Seamusmario is offline
Seamusmario
Member
Join Date: Jun 2017
Location: United States
Old 07-04-2023 , 12:14   Re: [TF2] The Infection - Yet Another Zombie Survival Gamemode for TF2
Reply With Quote #14

a1.2 is out
__________________
uhhhhhhhh
Seamusmario is offline
q1085909155
Member
Join Date: Oct 2021
Old 07-04-2023 , 12:26   Re: [TF2] The Infection - Yet Another Zombie Survival Gamemode for TF2
Reply With Quote #15

I have some code that opens all the doors on the server that you might want to refer to
Code:
CreateTimer(0.1, Timer_Doors, TIMER_REPEAT);
	

public Action Timer_Doors(Handle timer)
{
	int doors=-1;
	while((doors=FindEntityByClassname(doors, "func_door"))!=-1)
    {
        AcceptEntityInput(doors, "Open");
    }
	
	KillTimerSafe(timer);
}

public void KillTimerSafe(Handle &hTimer)
{
	if(hTimer != INVALID_HANDLE)
	{
		KillTimer(hTimer);
		hTimer = INVALID_HANDLE;
	}
}
q1085909155 is offline
Seamusmario
Member
Join Date: Jun 2017
Location: United States
Old 07-04-2023 , 12:30   Re: [TF2] The Infection - Yet Another Zombie Survival Gamemode for TF2
Reply With Quote #16

ok
__________________
uhhhhhhhh
Seamusmario is offline
q1085909155
Member
Join Date: Oct 2021
Old 07-04-2023 , 12:36   Re: [TF2] The Infection - Yet Another Zombie Survival Gamemode for TF2
Reply With Quote #17

Considering that opening all the doors doesn't seem very useful, you can set it to cvar or leave this feature out.
For turn times, you can place a timer at the top of the player screen.
If you can do it as soon as possible, and fix the error. I will be able to officially put this plug-in online in my community server. This is a great plugin, thank you
q1085909155 is offline
Seamusmario
Member
Join Date: Jun 2017
Location: United States
Old 07-04-2023 , 12:45   Re: [TF2] The Infection - Yet Another Zombie Survival Gamemode for TF2
Reply With Quote #18

could you specify what you mean by "turn times"
__________________
uhhhhhhhh
Seamusmario is offline
q1085909155
Member
Join Date: Oct 2021
Old 07-04-2023 , 12:47   Re: [TF2] The Infection - Yet Another Zombie Survival Gamemode for TF2
Reply With Quote #19

Quote:
Originally Posted by Seamusmario View Post
could you specify what you mean by "turn times"
Sorry, my mistake. It should have been "round time". That's when humanity wins
q1085909155 is offline
Seamusmario
Member
Join Date: Jun 2017
Location: United States
Old 07-04-2023 , 12:47   Re: [TF2] The Infection - Yet Another Zombie Survival Gamemode for TF2
Reply With Quote #20

oh ok
__________________
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:13.


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