TF2 buildings: Sentry, Dispenser and Teleporters + SWEPs
236 replies, posted
The problem with the HUD disapearing always happens for me if I build a Dispenser with the Build PDA.
The problem seems to be that Avon overwrites the string.Explode function with his own function.
The error:
[CODE]
Hook 'TF_Renaissance.DefaultHUDPaint' Failed: stargate/shared/lib.lua:35: attempt to index upvalue 's' (a number value)
[/CODE]
I've already found a fix for this.
Just add on line 354 of your client_hud.lua tostring to the GetNWInt so it looks like this:
[CODE]local msg_sep = string.Explode( ".", tostring(dispenser:GetNetworkedInt( "resources" )) )[/CODE]
Also my HUD disappears if I spawn a Sentry from the NPCs menu.
The error:
[CODE]
Hook 'TF_Renaissance.DefaultHUDPaint' Failed: includes\util.lua:154: attempt to call method 'IsValid' (a nil value)
[/CODE]
How i fix this :P
[lua]
autorun/tf_concommands.lua:36: attempt to call method 'HasWeapon' (a nil value)[/lua]
I think the IsValid error comes from the fact that the entity is nil.
Any Ideas on making the Engineer Shotgun and Pistol? =3
And possibly other classes? =3
This is going to be the best Christmas ever!
And the mod will be awesome.
[QUOTE=Edd Gould213]Any Ideas on making the Engineer Shotgun and Pistol? =3
And possibly other classes? =3[/QUOTE]
Silverlan said he is going to script those later, he's done all of the melee weapons and two of the primary weapons.
You are a god among facepunchers.
1: They're inaccurate as hell. a Lv 3 Sentry couldn't hit a zombie 10 ft away.
2: For some reason I can't place sappers on them.
3: Still awesome.
A Sentry has been made? Wow. I'm impressed. Have a Lua King.
Absolutely fantastic.
Keep up the excellent work, Silverlan.
I am not impressed of your work... You can even do it better! Because you are a Lua Lord! And i would say i am impressed if you can help me with my Predator SWEP.
Lua King'ed for sure! This is so AMAZING! I have yet to try it on multiplayer, but at the same time I have yet to get any errors. :D
I made a ton sentrys via the NPC menu, so much beeping. then I made a zombie. I exit out of the Q-menu, I see a zombie corpse on the ground. I make G-Man. BOOM BOOM BOOM BOOM gman dead. I'll try again after I get home from school
[QUOTE=Silverlan]The weapons work in sandbox, but I have only done all the melee weapons and two of the primary weapons yet.[/QUOTE]
Do you plan on releasing them separately? :dance:
When I upgraded a lvl 2 sentry to a lvl 3 while being supplied by a dispenser, I got it to upgrade and went down to -5 metal.
[URL=http://www.cubeupload.com][IMG]http://www.cubeupload.com/files/692d6bgmconstruct0000.jpg[/IMG][/URL]
Hey Silverlan is it possibe to Sap your own Sentries?
Love the SENTS
When a building of yours gets destroyed, if you pick up the parts you can pass the 200 metal limit. I even reached 700 metal once.
A bug I assume.
It shouldn't fire at rebels, citizen, or Alyx.
[QUOTE=Shinamori]It shouldn't fire at rebels, citizen, or Alyx.[/QUOTE]
In my opinion, it should. I never saw something take down a rebel so fast (other than an Antlion Guard/Hunter). It's fun. :v:
Jesus christ, You are the man, you are god, you my good man, will be praised through all the lands. Once you release your gamemode, you will have bitches trying to get inside your house because its already filled with alot of bitches that you, the king, were given, in accordance to your great, awesomeness.
HOO RAH
[b]Edit:[/b]
[img]http://filesmelt.com/Imagehosting/pics/d34021f404b9ce414965b5a48fcc8494.jpg[/img]
Here's a picture I took, if you need it, and also, I
'm uploading a video right now to present your addon, tf2 buildings my good man.
I gave all credits to you and also provided the link to this thread on facepunch.
Since I can't really edit anything, I decided to leave it like that, no introduction or anything.
You can edit it if you like, just give some small credits to me for making the video, sir. =D
(note, this video also shows some stuff that you have to fix, but none the less VERY good release)
Aha, fully uploaded, here's the link:
[url]http://www.wegame.com/watch/TF2_buildings/[/url]
Also, fullscreen is HIGHLY recomnended.
edit
Here's the link to the .avi of the video.
[url]http://www.2shared.com/file/3910715/6c518e89/hl2-20080910-1900326.html[/url]
Sentry needs more damage and needs to aim lower other than that excellent pack!
You rule silverlan. Anyways: The sentries sometimes aim abit bad.
[IMG]http://i259.photobucket.com/albums/hh320/KevinESP/gm_construct0030.jpg[/IMG]
Lol you can do griefing too! Just like real tf2!
[IMG]http://i259.photobucket.com/albums/hh320/KevinESP/gm_construct0042.jpg[/IMG]
Have you made the player models yet? Seeing as they need re-rigging, you can't just use the normal models (different bones). I can make the Lua for the player models (the new models), once they are done. But unless you have coded a way to choose the skin depending on team (which I am assuming you have seeing as you've done it for the buildings) I can only help you with making them for sandbox mode.
[QUOTE=Omolong]Have you made the player models yet? Seeing as they need re-rigging, you can't just use the normal models (different bones). I can make the Lua for the player models (the new models), once they are done. But unless you have coded a way to choose the skin depending on team (which I am assuming you have seeing as you've done it for the buildings) I can only help you with making them for sandbox mode.[/QUOTE]
He actually can and has made the models work without re-rigging them. It was just a code change, according to him. And I'm pretty sure he knows how to make the Playermodel Selection Lua, because it's an extremely easy script, and he's doing all of this. So, it shouldn't be a problem for him.
Sorry, just a bug report. This seems to conflict with the Stargate Addon by aVoN. When creating a dispenser the TF2 based HUD will break completely, and the build PDA stops working entirely.
Edit: Oh I'm stupid, I just noticed someone else said this already. Sorry.
I noticed that the sentry doesn't count the kills, this can be repeared?. Great work, i can´t wait for the gamemode.
Awesome.
Hows the progress on the gamemode?
Like the guy a few pages back said, ever since I first played team fortress 2 I've dreamed of working sentries in gmod. And now, my dream has been realized. Silverlan, it seems that you have a natural talent for making me happy :excited:
[QUOTE=Blargtastic]Like the guy a few pages back said, ever since I first played team fortress 2 I've dreamed of working sentries in gmod.[/QUOTE]
Same. It's just amazing.
Also, any chance of making the ammo items too?
Good Job Silverlan
It seems your lua career is doing well =D
[QUOTE=TheCombine]Same. It's just amazing.
Also, any chance of making the ammo items too?[/QUOTE]
I was wondering the same thing as I toyed around with it.
Sorry, you need to Log In to post a reply to this thread.