Your Ad Here

Subscribe
 Post #1
 28th October 2009 Last edited by redx475; 1st December 2009 at 08:25PM.. (Changed finished/unfinished)
redx475's Avatar
February 2009
338 Posts

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)


HUD DESIGNER
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.


MEDIA AT THE BOTTOM OF THE POST... Sorry for the wall of text!


About

Summary
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.


Gameplay
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).

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.


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)
-Vomiting
-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.


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.


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.


Random Events/Other Events
  • Air-Drop Rations: In stage 3, the Army will air-drop rations to your position (outside houses of course) if you find a radio.
  • 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.


Jobs
  • Craftsman: Can create hammers from wood and nails from metal.
  • 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.
  • Gunsmith: Can create guns and ammo from wood and metal.
  • 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.
  • NOTE: Welders cannot be created. They can only be found.


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!!
...What?

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>
Again... What?

Ask me any other questions by PM or by posting here.


Extra Features that weren't mentioned above
  • Database Bans - If a superadmin bans a player, their data is still in the server. Database banning (used by running the command DBBan <player> <time> <reason> 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)


Team:
  • Redx475 - Lead Coder/Website Designer/Head of Project/Mapper (if needed)
  • Companion Cube/jakegadget - SWEP Lua Coder
  • Madurjafro - Mapper (lost all his work due to a virus or somethin...)

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:
  • Make SWEPS
  • Make SNPCs
  • Make SENTs
  • General Gamemode programming (to help out)
Mappers should be able to do displacement maps, triggers, and pretty much just be good at Hammer.


Tasks/Bugs
Finished:
  • Money system/SQL Database
  • STOP! It's hammer/welder time!
  • Core Logic
  • Zombie Melee Weapon
  • Needs (food/water)
  • Gun buying system
  • Most of the HUD
  • Mapping entities
  • Stage 4 goal system
Unfinished:
  • Jobs (Not very important right now)
  • Bug Fixing
Bugs:
  • None known. Not enough of the gamemode done to test.
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.


I am really going to need someone to model/make textures for weapons!


Mapping FGD
Code:
//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:

infect_control
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:
Code:
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


infect_needsspawn
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.


infect_propspawn
Another simple entity. Random props will spawn here (as defined in propreg.lua). Again, this must be above the ground by a lot.


Twitter Updates
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?


LICENSE
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...rxd-np-li.html). It will be moved to a much less restrictive creative commons after development is done.


MEDIA: YAY!
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!
http://gameavengers.net/RXD/img/infect_testmap-hud01.JPGhttp://gameavengers.net/RXD/img/infect_testmap-gunshop01.JPG
 Post #2
 28th October 2009
Morcam's Avatar
September 2008
1,259 Posts
I like the general idea, though the infection method seems a bit overly complex. If that's how you want it though, go right ahead.

It also seems like a generally difficult mod to create in general, although with time, you could certainly make it. Good luck, and I'd play it, at least to try it.
 Post #3
 28th October 2009
Jo The Shmo's Avatar
January 2009
940 Posts
You don't post content, yet ask for people to script some sweps, sents, and snpcs.
If you are the main coder, how come you don't know how to make a simple swep?

This isn't a WIP, it's basically http://www.facepunch.com/showthread.php?t=821416 with better organization.
 Post #4
 28th October 2009 Last edited by redx475; 28th October 2009 at 10:22PM..
redx475's Avatar
February 2009
338 Posts
I made this thread to show all the ideas I'm putting into use. Also, I know how to do sweps. I never said I didn't. I'm just not good at them. I can do everything else fine. This also IS a wip, since it is a Work In Progress. I do actually have code done, though not much of it. I don't have any content to show because there is nothing to show. As I said, I don't have much done in terms of code. Also, there is nothing that says you have to be almost completed or something to post a WIP, is there?

@Morcam: I know this will take a while. I'll find time.

EDIT:
Now that I've put up that I want help with the actual gamemode programming, do you want to flame me on that too? Is it too much to ask for some help with coding a large gamemode? As Morcam said, this is going to take a while. I don't plan to spend a year or even 6 months on this.
 Post #5
 3rd November 2009
redx475's Avatar
February 2009
338 Posts
Update: This isn't taking nearly as long as I thought. It should be done this week.
 Post #6
 3rd November 2009
Madurjafro's Avatar
September 2009
261 Posts
Sexy. I would make a map (for the fun of it) but I'm using the EP1 engine... unless i make a map on that then get somebody to make a carbon copy of it on the EP2 engine.
 Post #7
 3rd November 2009
redx475's Avatar
February 2009
338 Posts
Umm... You know Hammer is only one program, so if you make a map and send the VMF to me, I can recompile it with the Orangebox engine and put in any extra entities (I haven't made a list of them yet, but I will).

Hammer can read any map under any config. Just make sure spawn points are info_player_starts and try to not use any textures/models from games other than HL2 (if you have to, use CS:S textures as well).
 Post #8
 4th November 2009
jakegadget's Avatar
June 2009
155 Posts
This sounds like a promising gamemode. I would like to help if possible. I have been working with Lua for a long time, just never gotten around to ever releasing anything. I can do both gamemode and Sweps/Sents. If you want any proof I can work something out for you. I'll PM you my Steam and you can tell me the kind of things you would need me to do.
 Post #9
 4th November 2009 Last edited by redx475; 4th November 2009 at 02:46AM..
redx475's Avatar
February 2009
338 Posts
Yeah. Please PM me your steam username. I may need someone to do sweps at one point (possibly sents, but I need to work those Into the core of the gamemode). I will need an example from you (if you can't find a good model then just use the magnum or something). Contact me for more details.

EDIT:
Got your pm! (btw: sending this from ma iPhone... Epic win!)
 Post #10
 6th November 2009
redx475's Avatar
February 2009
338 Posts
I am pleased to announce the newest member of The Infection team:
Companion Cube/jakegadget

EDIT:
Damn... no automerge...
 Post #11
 6th November 2009
Madurjafro's Avatar
September 2009
261 Posts
Umm... You know Hammer is only one program, so if you make a map and send the VMF to me, I can recompile it with the Orangebox engine and put in any extra entities (I haven't made a list of them yet, but I will).

Hammer can read any map under any config. Just make sure spawn points are info_player_starts and try to not use any textures/models from games other than HL2 (if you have to, use CS:S textures as well).
Fuck it I'll make the map and use the dev texures :D. just depends on how big you want it and how many houses you would like (or shacks plus a couple of caves)
 Post #12
 6th November 2009
Gold Member
SlayerFin's Avatar
May 2008
2,730 Posts
This sounds awesome.
 Post #13
 6th November 2009
Dennab
July 2009
672 Posts
The food and water thing seems kind of annoying to me.
 Post #14
 6th November 2009 Last edited by redx475; 6th November 2009 at 11:43PM..
redx475's Avatar
February 2009
338 Posts
Fuck it I'll make the map and use the dev texures :D. just depends on how big you want it and how many houses you would like (or shacks plus a couple of caves)
Oh please don't use dev textures... I don't want to have to do the texturing myself... I suck at that. Just use the HL2 and CS:S textures... there should be enough there. About the houses: Can you make a few large ones, a few small shacks, and a couple of caves? Also, there will be a bunch of special entities that I will be using, so I will send you the FGD sometime in the future. One last thing: Can you possibly make an area that would be walled off (the entrance to an army base) which includes a func_door and behind it be a large forest and a small bunker? It is my idea for the escape part. One of my entities will trigger the door opening, so don't worry about that.

@Red Toaster: The food/water thing won't be too bad. Just find a bunch of food/water and stick it where you will be barricade. Also, this forces people to go around collecting resources. They can't barricade right at the beginning unless they want to die very quickly.

EDIT:
Note that the infected will not need food/water

EDIT 2:
Okay, I am not using sleep... It would make it way too hard.
 Post #15
 7th November 2009
Sunday_Roast's Avatar
November 2007
509 Posts
Oh man I had allready forgot this.
But it's damn nice for you to move on with this idea.
Besides I'm quite busy planning a L4D2 mod (http://steamcommunity.com/groups/L2Dmod).

But thanks and best of luck.
 Post #16
 7th November 2009
redx475's Avatar
February 2009
338 Posts
Thanks Sunday_Roast! Thanks for your comment, and for the awesome idea!
 Post #17
 7th November 2009
Géza!'s Avatar
January 2008
1,759 Posts
Hmm, sounds like a fun gamemode. Also, for maps, heh, you could modify a pre-existing RP map as a temporary solution.
 Post #18
 8th November 2009
redx475's Avatar
February 2009
338 Posts
Hmm, sounds like a fun gamemode. Also, for maps, heh, you could modify a pre-existing RP map as a temporary solution.
No, we can't use RP maps without editing them a LOT. There has to be a town, and also an area that is closed off until the last stage that will lead to a zombie escape area.
 Post #19
 8th November 2009 Last edited by redx475; 10th November 2009 at 02:14AM..
redx475's Avatar
February 2009
338 Posts
UPDATE: Added FGD and mapping entities.

Edited:

Another update: Edited FGD

Another Edit:
I have started debugging!!!!!! And wow, my first post is looooooong...
 Post #20
 10th November 2009 Last edited by Madurjafro; 10th November 2009 at 04:33PM..
Madurjafro's Avatar
September 2009
261 Posts
Ok, ok. I'm now unofficialy on your team, thats if i ever get around to making a map ^^
oh yeah thanks for the ideas, btw I'm going to make the map pretty large. (starting at the a corner and working my way around)
 Post #21
 10th November 2009
dj_night's Avatar
January 2008
823 Posts
Looks like some kind of RolePlay but with zombies.. I like it.
 Post #22
 11th November 2009
redx475's Avatar
February 2009
338 Posts
Ok, ok. I'm now unofficialy on your team, thats if i ever get around to making a map ^^
oh yeah thanks for the ideas, btw I'm going to make the map pretty large. (starting at the a corner and working my way around)
You are now officially a part of the team :P I'll add you to the list.

Looks like some kind of RolePlay but with zombies.. I like it.
It is going to be set up so that you can roleplay if you want, but you don't have to play it that way.
 Post #23
 11th November 2009 Last edited by Madurjafro; 11th November 2009 at 03:16PM..
Madurjafro's Avatar
September 2009
261 Posts
Hmm... i think your lucky... i just started the map yesterday (made a kind of man-made cave with ladders and stuff) anyway all I'm doing is making the map look sexy and texturizing it, you can do the rest =3 (thats how lazy I am)
 Post #24
 12th November 2009
redx475's Avatar
February 2009
338 Posts
...Just do some houses and stuff. I can add all of the special entities and areas.
 Post #25
 12th November 2009
Madurjafro's Avatar
September 2009
261 Posts
...Just do some houses and stuff. I can add all of the special entities and areas.
am doing. actaully i just finished one of the caves. ill texturize the whole thing once i am done with the map =)
 Post #26
 15th November 2009
redx475's Avatar
February 2009
338 Posts
am doing. actaully i just finished one of the caves. ill texturize the whole thing once i am done with the map =)
:D

On a side note, I haven't gotten too much debugging done, on account of me building ma new computer! I have it built, but nothing installed yet. I also have a lot of stuff to do this week, so I won't be getting around to working on this until next week. Sorry!
 Post #27
 15th November 2009
prutman's Avatar
November 2006
166 Posts
You don't post content, yet ask for people to script some sweps, sents, and snpcs.
If you are the main coder, how come you don't know how to make a simple swep?

This isn't a WIP, it's basically http://www.facepunch.com/showthread.php?t=821416 with better organization.
Its a request?
And so what,its better,better is better than worse,right?
 Post #28
 15th November 2009
GMOD Moderator
grea$emonkey's Avatar
May 2007
9,015 Posts
I've been waiting for this. Best of luck!
 Post #29
 16th November 2009
redx475's Avatar
February 2009
338 Posts
Its a request?
And so what,its better,better is better than worse,right?
The old topic was a request. This topic is a WIP. I have almost actually finished it, but I haven't had time to debug it.

@greasemonkey: Thanks!
 Post #30
 16th November 2009
Madurjafro's Avatar
September 2009
261 Posts
K still trying to figure out how to make the edges of my block be level with the other blocks (making hills and crap) also i have made a kind of treehouse thing, although you can get in through the back so its not completly invunerable to zombies and stuff
Happy Faec :D
 Post #31
 17th November 2009
redx475's Avatar
February 2009
338 Posts
K still trying to figure out how to make the edges of my block be level with the other blocks (making hills and crap) also i have made a kind of treehouse thing, although you can get in through the back so its not completly invunerable to zombies and stuff
Happy Faec :D
Ok. I should be getting back to work on this next week (waiting for windows 7 to come for my new computer... XP is installed right now and I'm not installing gmod until i get 7)
 Post #32
 19th November 2009
Sunday_Roast's Avatar
November 2007
509 Posts
I could draw some blueprints for the houses to make them more appealing if you like.
You know graphical design.
 Post #33
 19th November 2009
redx475's Avatar
February 2009
338 Posts
I could draw some blueprints for the houses to make them more appealing if you like.
You know graphical design.
That would be nice if you could draw some blueprints. I'm still waiting to get windows 7 before downloading gmod again, so I won't be working on this until next week.
 Post #34
 20th November 2009
bilbasio's Avatar
May 2009
232 Posts
I can be mapper, I have good skill at mapping and I have free time so...
 Post #35
 20th November 2009
Madurjafro's Avatar
September 2009
261 Posts
Wow, I have just realised how small the limits are on Hammer, no matter about to start on a small two-storey shack? (wood and the like)
 Post #36
 20th November 2009
redx475's Avatar
February 2009
338 Posts
Wow, I have just realised how small the limits are on Hammer,
Well... That's what you get with any engine... A size limit.

no matter about to start on a small two-storey shack? (wood and the like)
A two story shack would be great!

I can be mapper, I have good skill at mapping and I have free time so...
Ok... Well, I need ideas for another map then. If you can think of some, then go right ahead! If you want to be on the team, can you show me an example of what you have done?
 Post #37
 21st November 2009
kraizer793's Avatar
April 2008
1,420 Posts
So, can we have some media? Or is there not any...
 Post #38
 22nd November 2009
bilbasio's Avatar
May 2009
232 Posts
All the map I have done, I deleted them when I installed windows 7 so... Just tell me what to map and I will do it...
 Post #39
 23rd November 2009
redx475's Avatar
February 2009
338 Posts
All the map I have done, I deleted them when I installed windows 7 so... Just tell me what to map and I will do it...
You saying you finished the map? And then deleted it? Please, use proper English...

So, can we have some media? Or is there not any...
There will be next week when I get around to debugging. Still waiting for windows 7 to come before I reinstall gmod.
 Post #40
 23rd November 2009
LordPikachu's Avatar
August 2009
23 Posts
seems to be awesome man, waiting to play :D
Reply

All times are GMT. The time now is 06:28AM.

Facepunch Studios 2010 - Server 'MARGE'