• Illness Mod for DarkRP
    16 replies, posted
This was originally on SF, I cant seem to fix PayPal issues. So... Here it is for free. Be free to add me if you could help me with making it better. [URL]https://www.dropbox.com/s/k3gtekbg60cziqp/illness-mod-for-darkrp.zip?dl=0[/URL] This is a simple, fun script a friend and I worked on to add a unique aspect and need for the Doctor job. It currently has 2 sicknesses. Common Cold A Simple sickness that makes you cough, move slower and impairs your vision. Ebola A more fun and silly sickness. It does the same but kills you faster and is not curable. I can add new illnesses if you want, but if you know a little about coding, it should be simple for you to make your very own illness! The illnesses also can be transmitted and are contagious, meaning if you hear someone coughing, and he is close to you, you might catch the cold. There is a feature that enables it only if the Doctor Job (You must edit this yourself) is on the server. Since the Doctor is the one who will be able to buy medicine and cure illnesses. There isn't really much media needed except maybe a preview of the effects, but it isn't special, so if you would like me to add some media, I will. I hope you guys enjoy it, this is my first script idea and would like feedback. Media [URL]http://prntscr.com/6er33l[/URL] Video [URL]https://www.youtube.com/watch?v=2IdYeLfIvVY[/URL] I know other people say it's written horribly... And this is my first real addon I have worked on. Meaning I have lots to learn. All I ask is to not comment how terrible the code is and give me pointers, examples, alternatives, etc.. I would like this to be something people will remember by because it's a good idea, not the terrible coding.
I will give you a little pointer on terms of one thing, NWBools. In the case of your addon it would be much better to network if the player is ill or not via net messages and keep things like illness type on the server, just network it only when something has changed. Worded that so badly but i hope you kinda understand, if you need any pointers add me on steam or pm me
[QUOTE=AIX-Who;47583193]I will give you a little pointer on terms of one thing, NWBools. In the case of your addon it would be much better to network if the player is ill or not via net messages and keep things like illness type on the server, just network it only when something has changed. Worded that so badly but i hope you kinda understand, if you need any pointers add me on steam or pm me[/QUOTE] What is your Steam name, good sir? [b]Edit:[/b] Oh shit, nvm... hey Luke! :D
Erhm, the rate, what is that in? Minutes, seconds?
Seconds, like he stated in the bloody config comments.
[url]http://prntscr.com/6er33l[/url]
[QUOTE=LordBants;47605422][url]http://prntscr.com/6er33l[/url][/QUOTE] What are you trying to say?
Where do you locate the effects?
[QUOTE=DEAD_HUNTER;49637691]Where do you locate the effects?[/QUOTE] learn lua, it took me less than 1 minute to find it. HINT: "Screen effects" are client side - (note 1 client side file).
[QUOTE=tzahush;49638354]learn lua, it took me less than 1 minute to find it. HINT: "Screen effects" are client side - (note 1 client side file).[/QUOTE] I think he means the ones he can find in order to make new illnesses.. in that case [url]http://bfy.tw/40NC[/url] that could help :P
[QUOTE=XxLMM13xXx;49638369]I think he means the ones he can find in order to make new illnesses.. in that case [url]http://bfy.tw/40NC[/url] that could help :P[/QUOTE] How ironic, You should often use google also, LMM.
[QUOTE=XxLMM13xXx;49638369]I think he means the ones he can find in order to make new illnesses.. in that case [url]http://bfy.tw/40NC[/url] that could help :P[/QUOTE] Still cant seem to find the folder where water_warp01 is located.
For one, why does the config need me to retype the default run and walk speeds? Just grab them for god's sake.
I put it in my server Folder but it don't working for me. Somebody have addons who seem like this ?
[QUOTE=Ezotose;51721299]I put it in my server Folder but it don't working for me. Somebody have addons who seem like this ?[/QUOTE] If you looked the thread's date and the many updates GMod had, you will understand why.
Biological side note, shouldn't what you have only be diagnosable by the doctor/medic job? Also, once a player has already been infected, shouldn't the chance be less for that player as they've built an immunity on the cellular level?
[QUOTE=Potatofactory;51724971]Biological side note, shouldn't what you have only be diagnosable by the doctor/medic job? Also, once a player has already been infected, shouldn't the chance be less for that player as they've built an immunity on the cellular level?[/QUOTE] This was scriptfodder
Sorry, you need to Log In to post a reply to this thread.