The Infection (idea by Sunday_Roast (http://www.facepunch.com/showthread.php?t=821416) (note that the gamemode has been renamed from The Disease to The Infection)
I really need someone to do the HUD for this. I’m not good at doing stuff like the HUD, and I’m not good at making good-looking HUDs. Contact me for more info.[/release]
MEDIA AT THE BOTTOM OF THE POST... Sorry for the wall of text!
In this gamemode, one person is chosen to have a disease (that turns people into zombies). They want to infect as many people as possible before a certain time. At that time, they turn into a full blown zombie (as do every other person who is infected), and many NPC zombies appear. Survivors will then have to hold out until a certain time, at which they have to fight to an extraction point.[/release]
First of all, every player has hunger, thirst, and a need to sleep. There will be food, water, and places to sleep everywhere around the map in addition to people being able to buy/sell food/water. If your hunger/thirst becomes too great, you die. If your sleep runs out, you will go to sleep right where you are standing, and it will take longer. Note that you can only sleep otherwise on a bed.
Every player has an infection bar, showing how much of the infection they have caught. When it gets to the top, they become infected. This is true for ALL stages (see below).
There are also basic jobs. At the beginning of a round, you choose a job. These will NOT be like RP jobs. In The Infection, jobs basically just give you one or two extra skills (craftsman can make hammer/nails, doctor can make medpacks and eventually shots that get rid of the infection… See listing below).
Weapons will be in the game, though if you kill someone other than the infected you will get a penalty (what that will be is yet to be determined).
Finally: Barricading. All around the map there will be things like wood planks, scrap metal, and all sorts of other things. You can use these to make barricades to keep people (or zombies/infected) out. Note that you will need a pretty large supply of water/food in the area. You will have a Physics Gun, but you will not be able to freeze things. Instead, you must buy a hammer and nails for wooden props, or a welder for metal props.
The game is divided up into internal ‘stages’. Each stage has different objectives and gameplay. Note that you are never told when you are moving into a new stage, nor are you told what the current stage is. The stage system just makes it easier to understand the flow of the game, as well as being used in the code itsself. The stage listing is below.
Note that there is a money system, but you get no income except for winning a round. Also, all materials can be made into something by a craftsman, but none can be bought from the game itsself. The economy of the game is strictly run by players (except for a trading system between players).
[release]Stage 1: The Sickness
In this stage, not a single person has been infected. Take the time to gather food, water, and materials to build barricades as well as to find a house or cave or something to stay in (unless you want to try to survive in the open world). If you die in this stage, you will respawn normally.[/release]
[release]Stage 2: The Infection
At the beginning of this stage, one person is chosen as the infected. Their objective is to infect everyone else (or kill them). If you die in this stage, you will respawn as an infected person. If you do become infected, you must help the original infected person. Signs of the infection include:
-Coughing (everyone coughs, but the infected will cough more often)
-Needing less food/water/sleep than others
The infected can try to infect others by staying around them for a while, or by attacking them with a melee weapon. If the original infected person dies without infecting anyone else, they will respawn normally and a new infected will be chosen. If everyone is infected, the infected win and the game resets.[/release]
[release]Stage 3: The Epidemic
SURVIVAL! Any remaining survivors must survive for a set amount of time. Many zombie NPCs spawn, and all infected turn into zombies. If you die, you become a zombie.[/release]
[release]Final Stage (Stage 4): The Extermination
This stage is based off Zombie Escape from CS:S ZombieMod (Zombie Escape is normal ZombieMod, but the map is set up so that if the Humans get to the end, all of the zombies are killed, ending the round). All survivors have to run through a hoard of zombies to get to an extraction point, where they will be taken away while the Army bombs the place.[/release]
[release]Random Events/Other Events
[li]Air-Drop Rations: In stage 3, the Army will air-drop rations to your position (outside houses of course) if you find a radio.[/li][li]Army Attack: In stage 2 and 3, the Army might just send some soldiers to help, though they will attack you if they see you and you aren’t inside a specified area. Going to that area will also lower your infection.[/li][/ul][/release]
[li]Craftsman: Can create hammers from wood and nails from metal.[/li][li]Doctor: Can create medpacks. In stage 2-4 doctors can try to research a shot to lower your infection bar. The shot may or may not work, and sometimes (very rarely) it may kill you. It also has a 25% chance of curing someone who is fully infected.[/li][li]Gunsmith: Can create guns and ammo from wood and metal.[/li][li]Militant: The most basic job. Moves slightly faster than everyone else and has slightly higher firepower and earns slightly more money when a round is won.[/li][li]NOTE: Welders cannot be created. They can only be found.[/li][/ul][/release][/release][/release]
[release]Q and A
When do you expect to release this?
Not for a long time. Not for a very long time.
Who are you?
I am the lead coder.
OMG THIS IS GUNA BE ANOTH3R ZOMBIE GAM WTF!!!11!!!1!!
This is stupid. This is going to be another generic zombie game, isn’t it?
Much better. No, it won’t. This is more of a mix of a lot of different things. Yes, the last two stages are basically generic zombie games, but the first stage is a build-type game and the second stage is a lot like the gamemode Parasyte.
Oh no. Jobs and Money. Not another RP!
The only RP aspect to it is the jobs. All the jobs even do is allow you to create things. The money is there so that people have a reason to create stuff for other people. Everyone needs tools and guns, helping the Craftsman and Gunsmith. Everyone also wants medpacks, which helps the Doctor. People could even pay the Militant some cash to guard them.
<insert badly phrased/stupid question here>
Ask me any other questions by PM or by posting here.[/release]
[release]Extra Features that weren’t mentioned above
[li]Database Bans - If a superadmin bans a player, their data is still in the server. Database banning (used by running the command DBBan will ban them, and remove their saved data (money). It will also log the ban in a different part of the files, though it will not log their data, so it is lost forever. This should be used as a punishment, though not instead of the normal ban commands (unless you are perm banning them)[/li][/ul][/release]
[li]Redx475 - Lead Coder/Website Designer/Head of Project/Mapper (if needed)[/li][li]Companion Cube/jakegadget - SWEP Lua Coder[/li][li]Madurjafro - Mapper (lost all his work due to a virus or somethin…)[/li][/ul]
I need MAPPERS and CODERS to help on this project! Post here or PM me to join.
Coders should be able to do any of these:
[li]Make SWEPS[/li][li]Make SNPCs[/li][li]Make SENTs[/li][li]General Gamemode programming (to help out)[/li][/ul]
Mappers should be able to do displacement maps, triggers, and pretty much just be good at Hammer.[/release]
[li]Money system/SQL Database[/li][li]STOP! It’s hammer/welder time![/li][li]Core Logic[/li][li]Zombie Melee Weapon[/li][li]Needs (food/water)[/li][li]Gun buying system[/li][li]Most of the HUD[/li][li]Mapping entities[/li][li]Stage 4 goal system[/li][/ul]
[li]Jobs (Not very important right now)[/li][li]Bug Fixing[/li][/ul]
[li]None known. Not enough of the gamemode done to test.[/li][/ul]
NOTE: This is the very beginning of a long project. Please don’t flame on the fact that there is nothing for me to show.[/release]
I am really going to need someone to model/make textures for weapons!
//The Infection FGD for the Valve Hammer Map Editor @PointClass color( 255 255 0 ) = infect_control : "The Infection gamemode controller. Only allow one of these per map!" + "This will allow you to use inputs/outputs to change things in the map" + "based on the stage." [ EscActivator(target_destination) : "Escape Target" : : "Entity to call an output on in the escape stage" EscOutput(string) : "Escape Output" : : "The output name that will be used when we switch to the escape stage" EscDelay(integer) : "Escape Delay" : 0 : "The delay in seconds that will be used before calling the output" ResActivator(target_destination) : "Reset Target" : : "Entity to call an output on when a new round starts" ResOutput(string) : "Reset Output" : : "The output name that will be used when a new round starts" ResDelay(integer) : "Reset Delay" : 0 : "The delay in seconds that will be used before calling the output" ] @PointClass color( 255 255 0 ) = infect_needsspawn : "The Infection Needs system spawnpoint. Place ABOVE the ground" [ ] @PointClass color( 255 255 0 ) = infect_propspawn : "The Infection Prop spawnpoint. Place ABOVE the ground" [ ] @SolidClass color( 255 255 0 ) = infect_trigger_goal : "The Stage Four Goal. Use like you would a trigger, and place" + "it in the safe area." [ ]
Take that code, put it in an FGD file, add it to hammer, and you can now map for The Infection!
Due to restrictions (and my inability to find anything on adding outputs), the normal Input/Output system won’t work completely. Here is an explanation on how to use each entity:
There should only be one of these on a map.
infect_control allows interaction between the map and the gamemode, but due to restrictions (and my inability to find anything on adding outputs), the normal Input/Output system won’t work completely. I have made a workaround, which is included in the code and above FGD. Here is how you use it:
EscActivator/Escape Target: Select the entity that you want The Infection to send an output to when the stage changes to the Escape stage EscOutput/Escape Output: The name of the output The Infection should call EscDelay/Escape Delay: The delay in seconds before the output should be called ResActivator/Reset Target: Select the entity that you want The Infection to send an output to when a new round starts ResOutput/Reset Output: The name of the output The Infection should call ResDelay/Reset Delay: The delay in seconds before the output should be called
A very simple entity. Food and water (water bottle and orange) will spawn here (as defined in needs.lua). Make sure this is above the ground by a lot.[/release]
Another simple entity. Random props will spawn here (as defined in propreg.lua). Again, this must be above the ground by a lot.[/release][/release]
I have created a twitter account for this project (www.twitter.com/InfectSVN) that auto-tweets each time I commit a change. Not too useful right now (since it is unreleased), but who knows?[/release]
The Infection is currently under a temporary license to prevent leaking during the development phase. It is under my own RedxDev Non-Public Software License (http://gameavengers.net/RXD/licenses/non-pub/rxd-np-li.html). It will be moved to a much less restrictive creative commons after development is done.[/release]
I finally have some media from the gamemode, though not much. All I can show is the HUD so far, as there isn’t anything else to show (not everything has been tested yet).
NOTE: Images may take a while to load!