• RP Gamemode
    107 replies, posted
So for a few years now (about 4) I have been working on a role play gamemode. When I started it, PERP 1 was popular (I feel old D:) so the original concept was based around that. The basic idea of it was supposed to be GMStranded + DarkRP + Theater + PERP and its turned out quite well (I think). Its still heavily unfinished but I have stopped developing it since I'm sort of over Garry's Mod now. Its quite undocumented but also there is quite a bit of code there which will probably be the death of this, but none the less: [URL="https://bitbucket.org/GamerGambit/evolved-role-play/src"]here is the code[/URL]. If you have any questions, feel free to ask them here and I'll do my best to answer them. Feel free to contribute in any way you want if you want. [B]Pre-requisites[/B] * MySQL database (dump is in the repo) * Either: [URL="https://bitbucket.org/GamerGambit/admin-mod-old/src"]My admin mod[/URL] or an admin mod with appropriate function replacements. * MySQLOO * Pimpmyride (Redundant by theres a require somewhere for it) * TDM Cars SVN [b]Map: rp_evocity_v33x[/b] The co-ordinates for everything (NPCs, vehicle spawns, etc) are hardcoded for this map. [b]Content:[/b] A link to all the models, materials and sounds can be found here: [URL="https://bitbucket.org/GamerGambit/evolved-role-play/downloads/content.7z"]https://bitbucket.org/GamerGambit/evolved-role-play/downloads/content.7z[/URL]
God fuckin damnit you beat me to the punch
RIP Circuitbawx, he had a good run. Too bad PERP is dead because of HZ claiming that they own it :<
[QUOTE=circuitbawx;45821636]God fuckin damnit you beat me to the punch[/QUOTE] What punch D:? [QUOTE=Reyjr43;45821641]RIP Circuitbawx, he had a good run. Too bad PERP is dead because of HZ claiming that they own it :<[/QUOTE] I stopped following everything ages ago. I'm not trying to claim that my gamemode is better than anything at all and it does have a very PERP-like feel to it.
[QUOTE=sam6420;45821869]Anybody got it up? Is it.. good?[/QUOTE] Unfortunately I dont have it running and its possible that it could be quite broken. Ill put it up real quick on a local server and test it and patch anything thats broken. [editline]28th August 2014[/editline] You will need a MySQL database as well :l
[QUOTE=G4MB!T;45821887]Unfortunately I dont have it running and its possible that it could be quite broken. Ill put it up real quick on a local server and test it and patch anything thats broken. [editline]28th August 2014[/editline] You will need a MySQL database as well :l[/QUOTE] What's the table layout?
[QUOTE=code_gs;45821939]What's the table layout?[/QUOTE] The repo has the SQL dump. [editline]28th August 2014[/editline] I just tested it an it works fine. I SHOULD point out that you will also need to use either [URL="https://bitbucket.org/GamerGambit/admin-mod/src"]my admin mod[/URL] or one with a ply:GetLevel() function which returns an int, sorry.
The admin mod also contains a wrapper for databasing with MySQLOO. It has no built-in support for TMySQL but if someone wants me to add it they can add a ticket.
Sorry ill fix up the post. [editline]28th August 2014[/editline] Also the gamemode doesnt actually USE pimp my ride, it was left over from experimenting I guess.
[QUOTE=sam6420;45822429]Also, in the gamemode there is an error caused by using require instead of include for pimpmyride, it looks for a lua file instead of a dll when you use require. Idk what I'm doing. :v: [editline]28th August 2014[/editline] Also no button to submit a new character haha[/QUOTE] Put the dll in lua/bin. As for the submit button, this is news to me. Ill look into it.
[QUOTE=sam6420;45822454]Could I just be missing models/materials? Also lua/bin worked, thanks.[/QUOTE] Missing content will break other things. The positions of player names depends on model attachments which will break if you dont have the models. Ill see about packing the content and ill provide a link when I'm done. Also I found out why the new character stuff is broken :l Ill push the changes shortly. [editline]28th August 2014[/editline] Ok I've patched that error and several others and uploaded the content needed. [URL="https://bitbucket.org/GamerGambit/evolved-role-play/downloads/content.7z"]Link can be found here[/URL]. I'll update the post.
Too easy. If you come across any errors please use the issue tracker on the bitbucket repository. I get emailed when someone makes an issue. Also I would advise you to make pull requests if you find issues or have any proposals for things to be added etc.
Nice release, I'll have to take a peek :P
[QUOTE=ds;45822717]Nice release, I'll have to take a peek :P[/QUOTE] Knock yourself out. Dependent libraries (MySQLOO, pimpmyride) are not included. As long as you (general you) report the bugs, I'll push the fixes.
[QUOTE=G4MB!T;45822731]Knock yourself out. Dependent libraries (MySQLOO, pimpmyride) are not included. As long as you (general you) report the bugs, I'll push the fixes.[/QUOTE] Sure thing, I'll probably end up adding things of my own etc. of course you'd receive proper credit if I did begin a server :P [editline]28th August 2014[/editline] [QUOTE=sam6420;45822750]Currently hosting it here: 68.147.146.224:27015 [editline]28th August 2014[/editline] Some parts of the map are white (doorways) and npc's are t-posed.. again not sure if this is me being silly or the gamemode itself.[/QUOTE] Usually if you try to use a normal model as a player model you get a t pose, maybe same happens if done the other way around? I'll be joining in a minute to test some things.
There is actually a problem with the NPCs being T-posed, it isnt a server issue. The problem is because the models have no NPC anims. I DID have NPC models, but it meant that you were downloading the same models twice (all of the player models had doubles with NPC anims).
You need TDM Cars, yet another dependency I forgot to add, sorry :(. Make sure the vehicle scripts are on the server.
[QUOTE=sam6420;45822774]I think spawning cars crashes the server.. [editline]28th August 2014[/editline] Edit: Also, workshop: [url]http://steamcommunity.com/sharedfiles/filedetails/?id=306760997[/url][/QUOTE] Were you able to drive it at all? Or did just spawning it crash the server.
If you spawn vehicles at all in Garry's Mod when the server doesnt have the vehicle script, the server will crash. You can just remove all of the vehicle scripts and test that if you wish.
I can see a bunch of DarkRP noobies here soon. "Whats a sql?" "Halp me ples" "How to set up?"
Hehe.. well PERP had the same issue dont forget :wink:. Also, like I mentioned in the opening post, there are some parts that are unfinished (such as the market). At some point ill work on a fix maybe.
Thats always a good thing. Is there a "but" in there?
They are $0 because I couldnt be bothered giving everyone $9999999 when they were helping me test. To change the price, just open up the file in vehicles/ and change the price.
Rekt. Did you already own it? If you want to remove it, just remove your entry from the bans table if you are using my admin mod.
For some reason I get this: [code] [ERROR] gamemodes/roleplay/gamemode/cl_init.lua:4: attempt to index global '_R' (a nil value) 1. unknown - gamemodes/roleplay/gamemode/cl_init.lua:4 Couldn't Load Init Script: 'roleplay/gamemode/cl_init.lua' [/code]
[QUOTE=kpjVideo;45824979]For some reason I get this: [code] [ERROR] gamemodes/roleplay/gamemode/cl_init.lua:4: attempt to index global '_R' (a nil value) 1. unknown - gamemodes/roleplay/gamemode/cl_init.lua:4 Couldn't Load Init Script: 'roleplay/gamemode/cl_init.lua' [/code][/QUOTE] [code]_R = debug.getregistry()[/code] Run that globally.
[QUOTE=kpjVideo;45824979]For some reason I get this: [code] [ERROR] gamemodes/roleplay/gamemode/cl_init.lua:4: attempt to index global '_R' (a nil value) 1. unknown - gamemodes/roleplay/gamemode/cl_init.lua:4 Couldn't Load Init Script: 'roleplay/gamemode/cl_init.lua' [/code][/QUOTE] See the thing is, this gamemode is centered around my admin mod which has everything you need. code_gs posted the code you need to run for it to work. If you do decide to look at my admin mod, everything you need is in shared/sh_lib.lua.
I got banned for buying a car i own ;), Its actually a pretty cool gamemode from what i've managed to do, how on earth do you open the admin menu though lol
Ye there isnt one :l I guess I could make one if enough people wanted but for the time being its all command based. Also, you need the privileges to use the commands.
[QUOTE=sam6420;45831127]I'm playing and hosting this right now. How much effort are you willing to put into this gamemode at the moment? An admin menu would be nice. :v: [editline]29th August 2014[/editline] Hmm, also why is voice communication disabled?[/QUOTE] I have stopped personal development on it. To answer your question: I'm willing to put in as much effort as you and anyone else who use it want me to. If you ask for features, I'll work on them, same with bug fixes and stuff. I'll open a ticket for the admin menu if you wish. I'm not aware of any issues regarding voice communication. By default, it has a radius.
Sorry, you need to Log In to post a reply to this thread.