• Headcrab Pill
    189 replies, posted
Now, we need a red and a blue pill. Which one to take :ninja:..
You could add a concommand -duck when players disconnect to fix that bug you've got going there. Maybe even only execute it when players are in headcrab mode. Looks like fun, and originality is a plus.
Hey thanks cringer. How long would it take you to make more, now you've perfected the code? I would love a zombeh.
[QUOTE=ryno5660]Hey thanks cringer. How long would it take you to make more, now you've perfected the code? I would love a zombeh.[/QUOTE] Jetboom's Zombie Survival has playable HL2 zombies. I would love a Antlion or DOG pill, or the other headcrabs ;)
Yes, but it isn't out. And dog would be awesome, pound the ground and use grav gun, as well as lift vans above your head to smash things with :)
[QUOTE=MrJelle]You could add a concommand -duck when players disconnect to fix that bug you've got going there. Maybe even only execute it when players are in headcrab mode.[/quote] I execute -duck whenever the player's weapon is holstered. The problem is that LocalPlayer():ConCommand() does not work once the player has begun disconnecting. After the player has started disconnecting the ConCommand method becomes nil. Even if I add a hook for GM:ShutDown() on the clientside, it doesn't work there. I tried a billion ways to get the ConCommand to execute but since there is no way to hook BEFORE the player starts disconnecting, it doesn't work... [quote=ryno5660]How long would it take you to make more, now you've perfected the code?[/quote] Dunno. I'm going to make this one into a more generic pill_base and derive more from that. [quote=Erarg]DOG pill[/quote] Dog would indeed be fun, but somewhat limited. Almost all of his animations are made for scripted sequences... so there wouldn't be any jumping, crouching, swimming, etc.
Hahaha, so fricking awesome! Better than the headcrab model too. Unless you use that headcrab model thing with the swep then it would make sense, lol. Downloadin now!
Just a problem... When you use camera and make it look at you, it crash sometime..
[QUOTE=Yukitan]Just a problem... When you use camera and make it look at you, it crash sometime..[/QUOTE] Hmm, you mean when you use the camera prop to look at yourself when you're in headcrab mode?
[QUOTE=cringerpants] Dog would indeed be fun, but somewhat limited. Almost all of his animations are made for scripted sequences... so there wouldn't be any jumping, crouching, swimming, etc.[/QUOTE] If DOG pill can't work, then will Rollermine pill work? :question: Anyway, I think it would be able to turn this into a gamemode, I just don't understand how to use teams in Lua. For example, I might be thinking about using the Suicide Barrel script for a gamemode, where the headcrab team gets the headcrab pill, and the human team gets a shotgun and a crowbar. The question is, how do I separate the teams?
[quote=Erarg]The question is, how do I separate the teams?[/quote] Something like: [lua] TEAM_HEADCRABS = 1 TEAM_HUMANS = 2 function GM:Initialize() team.SetUp(TEAM_HEADCRABS, "Headcrabs", Color(255, 0, 0, 255)) team.SetUp(TEAM_HUMANS, "Humans", Color(0, 0, 255, 255)) self.BaseClass:Initialize() end function GM:PlayerInitialSpawn(ply) if team.NumPlayers(TEAM_HEADCRAB) <= team.NumPlayers(TEAM_HUMANS) then ply:SetTeam(TEAM_HEADCRABS) else ply:SetTeam(TEAM_HUMANS) end self.BaseClass:PlayerInitialSpawn(ply) end function GM:PlayerLoadout(ply) if ply:Team() == TEAM_HEADCRABS then ply:Give("pill_headcrab") else ply:Give("weapon_crowbar") ply:Give("weapon_shotgun") end end[/lua]
where do you extract them too i tried addons,lua,lua/weapons. please help
Nice. I like your work.
Nice swep. I can't seem to get my headcrab to burrow, it just says "you can burrow here find dirt" even when i am on dirt.
[QUOTE=gray fox102]where do you extract them to[/quote] The zip already has the path in it ... the lua files need to go into lua/weapons/pill_headcrab. [QUOTE=Sero]I can't seem to get my headcrab to burrow, it just says "you can burrow here find dirt" even when i am on dirt.[/QUOTE] Weird, I'm checking it against MAT_DIRT, MAT_FOILAGE, and MAT_SAND, so it shouldn't have a problem. What map are you having the problem on so I can check it out?
I did some editing to Suicide Barrels, and with your help, I made a Humans Vs. Headcrabs mode. I'll try to host a listen server ASAP, my modem might be a little cruddy though and there will be some ping.
it is the best!!
I don't usually download sweps because I usually have little use for weapons, but this one is nice. +Lua King for you mister!
ace. well done. this is exactly like it should be. and thanks for the help.
Ok, the gamemode was super buggy, I need to work on that :laffo: [spoiler]It says cringerpants is not a Steam user name or something like that, you sure?[/spoiler]
[QUOTE=Giga King]Vortigaunts, Antlions, Antlion gaurds and strider pills would ROCK Make a gamemode: Humans vs. Headcrabs[/QUOTE] Yeah that would be awesome, Zombies are cool, too
I love this! You are amazing! [b]Edit:[/b] [QUOTE=Hellborg 45]That rocked you should make Fast and posion controlable headcrabs![/QUOTE] Agreed! [b]Edit:[/b] [QUOTE=cringerpants]I execute -duck whenever the player's weapon is holstered. The problem is that LocalPlayer():ConCommand() does not work once the player has begun disconnecting. After the player has started disconnecting the ConCommand method becomes nil. Even if I add a hook for GM:ShutDown() on the clientside, it doesn't work there. I tried a billion ways to get the ConCommand to execute but since there is no way to hook BEFORE the player starts disconnecting, it doesn't work... Dunno. I'm going to make this one into a more generic pill_base and derive more from that. Dog would indeed be fun, but somewhat limited. Almost all of his animations are made for scripted sequences... so there wouldn't be any jumping, crouching, swimming, etc.[/QUOTE] Would Dog be able to throw cars though? [b]Edit:[/b] (Talks like a druggie) "Hey man...got any pills?" :v:
[QUOTE=cringerpants]Hmm, you mean when you use the camera prop to look at yourself when you're in headcrab mode?[/QUOTE] No, when i'm as 'builder' mode once i used headcrab pill once , if i use camera i may crash, and even if i didn't use headcrab pill yet anyways. (I enver crashed with camera track before , and when i tried with your weapon I crashed.)
So... you see like a headcrab?
[QUOTE=Hellborg 45]AND antlion king I would LOVE to twollop somebody and watch them fly Happy Days![/QUOTE] Not antlion king. Antlion GAURD. Also, this looks like it's awesome, downloading right now. [b]Edit:[/b] [QUOTE=nick12506]it is the best!![/QUOTE] BEATS THE REST... Cellular modular interact-o-podular... ring ring ring ring ring ring ring... BANANA PHONE.
Fucking outstanding if you ask me, great job :)
This would be epic if somebody could make a sort of obstacle course map where you have to switch between human and head crab to complete. Tunnels too small for a human and gaps too long to jump without the head crab. Maybe I should attempt this..
I found a bug. I entered one of the vehicles in construct (the airboat with a gun, not sure if it's with everything) and it made a non-solid copy of a non-moving head crab below my feet. It didn't go away, even after I turned off the swep, then suicided.
Could you make Zombie and Antlion ones? :v:
[QUOTE=SeymourGuado]Could you make Zombie and Antlion ones? :v:[/QUOTE] Did you read the whole thread? He is making Antlion and Ant Guards ones. Not sure about zombies.
Sorry, you need to Log In to post a reply to this thread.