Good attempt. Would have been awesome if the weapon actually worked...
It does. It's not an attempt, it's a full-blown weapon.
Since you're being an asshole about it too...Looks like you won't be using one of the best SWEPS created. :)
[b]Edit:[/b]
[QUOTE=shs]Not really a bump; last reply is 1 day ago.
I guess I could maybe make a no-cloud version, but it would be ugly. The cloud has a bunch of script based on it (for example, all the lightning has its startpoint based off its position), so it would be tough to remove it completely.[/QUOTE]
Sorry, just an edit:
Maybe make it a tiny cloud, hardly seeable? That way you could go indoors. People might even see it above your head and go "What the fuck?"
wow this is cool
[b]Edit:[/b]
you got my download
[QUOTE=ryno5660]Maybe make it a tiny cloud, hardly seeable? That way you could go indoors. People might even see it above your head and go "What the fuck?"[/QUOTE]
I'm already almost done with doing just that. I added a little variable at the top to adjust the cloud's overall size. Set it to 0, and the cloud will still technically be there, but it will be invisible, with no lag, of course.
[QUOTE=nomansland]Good attempt. Would have been awesome if the weapon actually worked...[/QUOTE]
If it's not working, redownload and extract the lua folder to your garrysmod directory. If it's installed correctly and still doesn't work, it might be because of the cloud; the new version will fix it.
You rock.
[QUOTE=shs]If it's not working, redownload and extract the lua folder to your garrysmod directory. If it's installed correctly and still doesn't work, it might be because of the cloud; the new version will fix it.[/QUOTE]
It's probably because of the cloud. I know I put everything in the right place. The cloud worked, the lightning worked, but I didn't see any zombies.
[b]Edit:[/b]
[QUOTE=ryno5660]It does. It's not an attempt, it's a full-blown weapon.
Since you're being an asshole about it too...Looks like you won't be using one of the best SWEPS created. :)[/QUOTE]
Telling the truth about a weapon makes me an asshole? Whatever you say Professor...
[QUOTE=nomansland]It's probably because of the cloud. I know I put everything in the right place. The cloud worked, the lightning worked, but I didn't see any zombies.[/QUOTE]
Well, if the weapon actually worked, then you need to spawn some ragdolls; you have to raise the bodies.
If you've tried that, then I'll look at the code and see if there's a problem. All I can suggest for now is redownloading/reinstalling.
[QUOTE=shs]Well, if the weapon actually worked, then you need to spawn some ragdolls; you have to raise the bodies.
If you've tried that, then I'll look at the code and see if there's a problem. All I can suggest for now is redownloading/reinstalling.[/QUOTE]
You have to spawn ragdolls in order for the weapon to work? Thank you! I'll try that.
[b]Edit:[/b]
YEEY! It works! Thank you for telling me that! But please do tell us these things in the beginning so we don't have to wonder why things don't work
He said the same thing on the first page..
hey can some one help me i will make ragdoll and then press rise and a random zombie is standing and when I tell it to do something it does not move and when I pick up the swep it says there is a error with the storm and nothing go dark please help me ???
[b]Edit:[/b]
can some one please correct my spelling please
[QUOTE=Hopey47]Hey, can someone help me? I made a ragdoll and then ;eft-clicked and a random zombie appeared. When I told it to do something it did not move. Also, when I picked up the swep it said there was an error with the storm and nothing went dark. Please help me.
[b]Edit:[/b]
can someone please correct my spelling?[/QUOTE]
Zombie ragdolls make whatever zombie the ragdoll is of. Other ragdolls, like Alyx for example, make random zombies. Right click orders them around; if you're looking at the ground, they'll move there, and if you're looking at an enemy, they'll attack him.
The storm error doesn't do anything besides spam the console. I don't know what it is or what causes it.
[i]Post fixed in quote[/i]
ohh so you get this error to
[QUOTE=shs]:words:
I was kind of taking advantage of the fact that in gmod 10, any NPC you kill makes a prop_ragdoll of itself. But some NPCs make 'ghost ragdolls' instead, that don't count and thus can't be raised. The same goes for players unfortunately, so you can't raise your friends as zombies :(.
It's always done that since I began this SWEP, yet there are no noticable errors with it, so it should be fine.[/QUOTE]
Rate me disagree for proving you wrong :P
Brilliant dude!
Now i can run around like a mad man raining lightning down on any pieces of wood I see :dance:
Sorry for the delays, but the optimized version is here! A variable at the top allows you adjust the size or even remove the laggy storm cloud!
I got a "hot fix" for you:
change this:
SWEP.WorldModel = "models/weapons/w_pherepod.mdl"
to:
SWEP.WorldModel = "models/weapons/w_bugbait.mdl"
Cause the game can't find "pherepod" as model (i know it's the "true" name of bugbait, but i didn't make HL2...), which results in a unnecessary error
AGAIN I LOVE YOU.
You are an epic creator of good things, shs. You could seriously go far, man.
[QUOTE=Gargoyl]I got a "hot fix" for you:
change this:
SWEP.WorldModel = "models/weapons/w_pherepod.mdl"
to:
SWEP.WorldModel = "models/weapons/w_bugbait.mdl"
Cause the game can't find "pherepod" as model (i know it's the "true" name of bugbait, but i didn't make HL2...), which results in a unnecessary error[/QUOTE]
I can't believe I forgot to fix that... :downs:
Hehe, well now you do :weed: also i pm'ed you a question, make sure to answer it!! :D
This is a pretty sweet SWEP. The only thing bad about it is that the "Evil Light Aura" can get kind of annoying. It often makes it difficult, if not impossible, to see. I would suggest changing, toning down, or removing this in the next version.
Is there any way for me to get rid of me smoking? that's the one thing that bothers me because all it's doing is blinding me.
This will not work in multiplayer when it comes to summoning zombies
[QUOTE=Facehugger88]Is there any way for me to get rid of me smoking? that's the one thing that bothers me because all it's doing is blinding me.
This won't work in multiplayer when it comes to summoning zombies[/QUOTE]
Find and remove this piece of code:
[lua]if powerloop == 16 then
local effectdata = EffectData()
effectdata:SetOrigin( self.Owner:GetPos() )
effectdata:SetEntity( self.Owner )
util.Effect( "zombie_lord", effectdata )[/lua]
It's in the OnThink function.
Okay, I have tried all the ways listed to get zombies to 'come'. They will not. Everytime I try, all the methods, all I get is "
weapons/weapon_zombielord/shared.lua:502: attempt to index global 'zombiestorm' (a nil value)"
Every time I use primary fire. I have tried spawning zombie ragdolls, I have let a rollermine kill a zombie and then tried, I have killed zombie NPCs myself and then tried, and nothing works.
What the hell am I doing wrong?
How do I get this to work?
Oh, and cheats ARE on... So i'm rather clueless at this point.
[QUOTE=Himself6196]Okay, I have tried all the ways listed to get zombies to 'come'. They will not. Everytime I try, all the methods, all I get is "
weapons/weapon_zombielord/shared.lua:502: attempt to index global 'zombiestorm' (a nil value)"
Every time I use primary fire. I have tried spawning zombie ragdolls, I have let a rollermine kill a zombie and then tryed, I have killed zombie NPCs myself and then tried, and nothing works.
What the hell am I doing wrong?
How do I get this to work?
Oh, and cheats ARE on... So i'm rather clueless at this point.[/QUOTE]
That console message has nothing to do with your problem. I've never had this problem before with this weapon. I'll see if I can duplicate it, and then look into fixing it.
[QUOTE=shs]That console message has nothing to do with your problem. I've never had this problem before with this weapon. I'll see if I can duplicate it, and then look into fixing it.[/QUOTE]
Alright, thank you.
Edit: Huh. And all of a sudden, when I played, I can suddenly summon zombies from a few things: When I spawn the ragdoll for the metrocop, I can summon zombies off it. As well as when a regular player gets 20 or lower health, they get knocked unconcious and turned into a ragdoll. I can then summon two zombies off them. There may be more that I can use, but i'm not sure, but I still can't use the regular zombies, for example. Ragdoll spawned or NPC spawned.
Lol, sweet.
The entire time I was saying:
"Yesss... get them my minions.. "
while I tore apart countless combine soldiers then raised their bodies to become one with their comrades.
But, heres some errors (both are yellow):
[lua]
Error: [Scripted Entity Function] weapons/weapon_zombielord/shared.lua:489: attempt to index global 'unholylight' (a nil value)
weapons/weapon_zombielord/shared.lua:319: attempt to index global 'zombiestorm' (a nil value)
[/lua]
The reason you are getting these errors is because this stuff you are creating, (unholylight, zombiestorm), is server-side. So, when you reference it in a shared portion of the file, the server gets whats going on, but the client-side has no idea, so it errors. So basically, you just need an if SERVER then.
and, the zombies somewhat follow my orders, but not really. I had a group of soldiers out in the distance shotgunning down my zombies, but they just sat there picking their butts when I told them to attack the guys.
Plus, I hit 'r' and 'e' and nothing happened either times.
Also, that smoke cloud above my head was cool for about the first 5 seconds. After that, it just got annoying, so I went in and disabled it.
Cheers!
[b]Edit:[/b]
Also, the way to fix this:
[lua]
-- It's a lot of uneeded code, but I wasn't sure how to fix a problem when using less.
[/lua]
would be like this:
[lua]
local zombietable = { "Rawr, put your zombies here", "Rawar Zombie 2" }
local zombiesounds = { "First Dude Sound", "Etc." }
local l = math.random( 1, 3 )
local zombie = ents.Create(zombietable[l])
zombie:SetPos(zombehs[i]:GetPos())
zombie:Spawn()
zombie:Fire("setrelationship", "player D_LI 99", 0)
zombie:SetKeyValue("rendercolor", "255 100 100")
zombie:SetKeyValue("targetname", "zomteam")
local effectdata = EffectData()
effectdata:SetOrigin( zombie:GetPos() )
effectdata:SetEntity( zombie )
util.Effect( "zombie_summon", effectdata )
zombehs[i]:Remove()
zombie:EmitSound(zombiesounds[l])
[/lua]
also, you should really spread out your coding. Its kinda annoying to read, I really don't understand how you can code like that, honestly.
[quote]
Since you're being an asshole about it too...Looks like you won't be using one of the best SWEPS created. [/quote]
I think we all know what the [url=http://forums.facepunchstudios.com/showthread.php?t=285952]best swep ever created[/url] is...
OMG I have SO MUCH FUN with that swep.
sHs I love you. Eat my babies.
Why can't I see the clouds?
I see lightning but no clouds.
Thanks for all the help Ring-Ding. I think it's high time I updated this... after testing on a server, it crashed twice (may not have been this but still) and the commands didn't work right. I'm currently using npc_go which is a serverside command.
I had tried using a random number before, but I hadn't thought of using a table.
[QUOTE=salty peanut]Why can't I see the clouds?
I see lightning but no clouds.[/QUOTE]
Check the top of the script and make sure the variable "opt" is at "2".
[b]Edit[/b]
Lastly, the reload function works, but you have to hold it down until the lightning strikes. To do the "use" function, you must be standing close to your target.
[QUOTE=shs]Lastly, the reload function works, but you have to hold it down until the lightning strikes. To do the "use" function, you must be standing close to your target.[/QUOTE]
Slap that on the front page somewhere, it looks like i'm not the only one that had this problem.
And make the opt variable start at 2 when you first download the script, rather than having to go into the script and manually change it to 2.
Sorry, you need to Log In to post a reply to this thread.