I would like to add SNPCs to my DarkRP server. I played a PERP before and I really liked the NPCs like the ones that sell cars, and there was one that sold seeds for pot plants.
I stumbled upon this when searching: [url]http://www.facepunch.com/threads/1054260-Bertilml-s-DarkRP-SNPC-Traders?p=27711818#post27711818[/url]
But it looks like its just a merchant, I want to learn how to make my own custom NPCs so I may take a look at PERPs stuff but I don't really want to rip everything from it...any advice?
They aren't snpcs.
It's basically just an entity set to open a derma menu or something similar when you press e on it.
You would require a custom inventory/pocket system or extensive editing to the current pocket to get it to work right. There aren't any released addons that work but you could hire someone to code it for you.
Alright that sucks, I'm interested in learning LUA, and I guess that Derma is the menu system?
Anyway, I'll probably just see if I could hire someone to develop it for me.
[QUOTE=haxordee;37865422]Alright that sucks, I'm interested in learning LUA, and I guess that Derma is the menu system?
Anyway, I'll probably just see if I could hire someone to develop it for me.[/QUOTE]
Don't waste your money on what you can do yourself easily. Maybe not too easily but Derma isn't that hard. Go [url=http://maurits.tv/data/garrysmod/wiki/wiki.garrysmod.com/index7853.html]here[/url] and you can learn exactly how to make what your looking for. If you need help just come back here and ask for it. Look at some of the derma stuff in the old wiki since it provides way more information. They're all under tutorials.
[QUOTE=TurbomanAlco;37877848]Don't waste your money on what you can do yourself easily. Maybe not too easily but Derma isn't that hard. Go [url=http://maurits.tv/data/garrysmod/wiki/wiki.garrysmod.com/index7853.html]here[/url] and you can learn exactly how to make what your looking for. If you need help just come back here and ask for it. Look at some of the derma stuff in the old wiki since it provides way more information. They're all under tutorials.[/QUOTE]
Hey thanks for the reply! I actually already checked that out, and what I got from it is basically we are creating an entity that has a player model like an NPC, and just acts as an NPC with AI and does not move, get hit, disappear. Then I guess that when you press e on it (use), then the Derma menu will pop up and it will take care of the rest.
I REALLY WANT TO MAKE THIS, BUT I HAVE ONE CONFUSION.
[URL="http://facepunch.com/showthread.php?t=1215495"]This[/URL], is my thread that I created. Basically, it explains that I don't know what to do because the 3 files don't explain where the NPC will be spawned so, once I figure that out I think I may be able to handle the rest.
Wait what exactly did you want? An npc that sold stuff or one that both sold and bought things?
Npc that just sells stuff is easy and can be done easily with and edit to your current code.
[QUOTE=mikesdav;37878365]Wait what exactly did you want? An npc that sold stuff or one that both sold and bought things?
Npc that just sells stuff is easy and can be done easily with and edit to your current code.[/QUOTE]
I want to establish an NPC that serves mainly as a vendor, who sells drugs, guns, etc.
Problem is, I don't know how to make the NPC spawn in a certain position with vector, and it doesn't tell me how in that in [URL="http://maurits.tv/data/garrysmod/wiki/wiki.garrysmod.com/index7853.html"]this[/URL] tutorial.
Why did you make two utterly useless threads that could have been merged into one besides the fact that your code is god awful.
Also stop stealing ideas from other people and come out with your own.
[QUOTE=EthanTheGreat;37878938]Why did you make two utterly useless threads that could have been merged into one besides the fact that your code is god awful.
Also stop stealing ideas from other people and come out with your own.[/QUOTE]
Actually, you are completely wrong, but seem to be unaware of it.
I'm not stealing ideas, I'm doing whatever the fuck I want here while I disregard what you just tried to instruct me to do. See, I made two threads because I lost track of two of them.
But there's not a "god awful" thing that you can fucking do about it?
I just can't fathom how immensely comical this is, people like you LOLLLLL. You really think I'm stealing ideas BY MAKING A FUCKING VENDOR? DO YOU KNOW HOW GENERAL THAT IS?
FOOL, BITCH, LOOK AT YOUR FUCKING NAME...."EthanTheGreat". Did you really just steal 'The Great' and just put your name in front of it?
Also stop stealing ideas from other people and come out with your own.
I'm making a observation that your code sucks ( See other thread ), and facepunch could use one less useless thread about an idea you ripped from the infamous perp.
As for my name, it's just a name followed by a adjective with the word 'The' in the middle. Plus it sounds catchy and is easy to remember.
I'm also very sad you're taking the Internet so personally, I thought the 10 year old Internet population had more sense than that.
Oh I'm really sorry my man, you are right! I take everything that I said back man you are just hot shit today aren't you. But seriously, you are really cool.
Sorry, you need to Log In to post a reply to this thread.