[QUOTE=PortalFTW;18550912]Thanks thats the same problum that I was having.[/QUOTE]
I fixed that in version 1.2, so re-dl if you haven't already
I think you should make it possible to edit the usual rp classes, like gundealer.
Alright, I got myself Notepad ++ so I could get a cleaner look at the code and such of the DarkRP lua class files, and for some reason your code lines generated by this aren't fully compatible with the latest (SVN) DarkRP.
The normal coding goes like this:
[code]TEAM_CITIZEN = AddExtraTeam("Citizen", Color(20, 150, 20, 255), "models/player/group01/male_01.mdl", [[The Citizen is the most basic level of society you can hold
besides being a hobo.
You have no specific role in city life.]], {}, "citizen", 0, 45, 0, false, false)[/code]
Yours is abit off, it'd seem:
[code]TEAM_/cpmedic = AddExtraTeam( "Civil Protection Medic", Color( 1, 50, 180, 255 ), 'models/player/police_female.mdl', [[Civil Protection tend to have high casuality rates due to poor strategies and no health care. Overwatch, in a rather stubborn matter, at least filled in the later with civilian-class medics. Hellooo Nurse!]], {'med_kit', 'stunstick', 'door_ram', 'weapon_real_cs_usp'}, /cpmedic, 2, 45, 0, 1, true )[/code]
The way your generator creates the classes, the person making them still has to go in and edit abit of the coding around to actually get it to work. Not sure if you knew this or not, just informing you. Also got the bloody classes working (Finally!).
[QUOTE=RikohZX;18570329]Alright, I got myself Notepad ++ so I could get a cleaner look at the code and such of the DarkRP lua class files, and for some reason your code lines generated by this aren't fully compatible with the latest (SVN) DarkRP.
The normal coding goes like this:
[code]TEAM_CITIZEN = AddExtraTeam("Citizen", Color(20, 150, 20, 255), "models/player/group01/male_01.mdl", [[The Citizen is the most basic level of society you can hold
besides being a hobo.
You have no specific role in city life.]], {}, "citizen", 0, 45, 0, false, false)[/code]
Yours is abit off, it'd seem:
[code]TEAM_/cpmedic = AddExtraTeam( "Civil Protection Medic", Color( 1, 50, 180, 255 ), 'models/player/police_female.mdl', [[Civil Protection tend to have high casuality rates due to poor strategies and no health care. Overwatch, in a rather stubborn matter, at least filled in the later with civilian-class medics. Hellooo Nurse!]], {'med_kit', 'stunstick', 'door_ram', 'weapon_real_cs_usp'}, /cpmedic, 2, 45, 0, 1, true )[/code]
The way your generator creates the classes, the person making them still has to go in and edit abit of the coding around to actually get it to work. Not sure if you knew this or not, just informing you. Also got the bloody classes working (Finally!).[/QUOTE]
Ok, there is an error of yours in there, and an error of mine in there.
Let's start with mine; "/cpmedic" should be in quotes.
Now your error, on the command line in the class generator, you DON'T include the slash. So where you put "/cpmedic" should actually be "cpmedic".
[editline]06:38PM[/editline]
I'll fix that in the next update, I"m adding new features. (I never actually tested these in DarkRP, so I guess that's a little bit of my fault :P)
[editline]07:21PM[/editline]
New Update: v1.3
See Changelog for updates
Download:
[url=http://www.garrysmod.org/downloads/?a=view&id=84344][img]http://www.garrysmod.org/img/?t=dll&id=84344[/img][/url]
HOORAY IT WORKS... SORT OF, now instead of saying "class model" or "class weapons" it just says label and i can't do anything with it...
[QUOTE=cornarias;18580700]HOORAY IT WORKS... SORT OF, now instead of saying "class model" or "class weapons" it just says label and i can't do anything with it...[/QUOTE]
Are you using it in single player?
I need to know i have no shared.lua in my C:\Programmer\Steam\steamapps\bilbodog\garrysmod\garrysmod\gamemodes\DarkRP\gamemode
please write to me where i should place the files, i don´t understand this please write back to me
[QUOTE=bilbodog;18587348]I need to know i have no shared.lua in my C:\Programmer\Steam\steamapps\bilbodog\garrysmod\garrysmod\gamemodes\DarkRP\gamemode
please write to me where i should place the files, i don´t understand this please write back to me[/QUOTE]
You have no shared.lua??? Then, sir, I'm afraid you don't have DarkRP :/
I need that box player model :0
A very useful tool for beginners indeed, and I think the first classmaker that works within Garrysmod. There are a few more out there, but this is one of the two left still operational.
Also, you may want to add support for that "Class you have to be to become this class" field. Although I am guilty of neglecting that one in mine as well...
[QUOTE=cheiftiger;18589268]You have no shared.lua??? Then, sir, I'm afraid you don't have DarkRP :/[/QUOTE]
Yesyes i have Darkrp but no shared lua??? i don´t understand to??? please help ? (Write back please)
[QUOTE=bilbodog;18597286]Yesyes i have Darkrp but no shared lua??? i don´t understand to??? please help ? (Write back please)[/QUOTE]
This is your shared.lua:
[IMG]http://i49.tinypic.com/2le6lhg.jpg[/IMG]
To open it, you need a text editing program, which Windows comes with one named notepad by default. So just right click, open with, notepad. and then copy paste your generated classes to the bottom of the file.
I [b]CAN'T[/b] be any more specific than that.
[QUOTE=cheiftiger;18600561]This is your shared.lua:
[IMG]http://i49.tinypic.com/2le6lhg.jpg[/IMG]
To open it, you need a text editing program, which Windows comes with one named notepad by default. So just right click, open with, notepad. and then copy paste your generated classes to the bottom of the file.
I [b]CAN'T[/b] be any more specific than that.[/QUOTE]
Can i have a pic on you classes how to paste them, it will not work please take a pic in your notepad so i can see how or make a video (please write back)
[QUOTE=cheiftiger;18581863]Are you using it in single player?[/QUOTE]
i em but it dont work still ether when im in multiplayer
If it adds the proverbial 'WTF' factor into the equation, this works for me in Single Player.
[QUOTE=kittycatlove;18611835]i em but it dont work still ether when im in multiplayer[/QUOTE]
[QUOTE=RikohZX;18613796]If it adds the proverbial 'WTF' factor into the equation, this works for me in Single Player.[/QUOTE]
Well then, that means kittycatlove did something wrong. If the menu won't even pop up for you to generate a class, then that means you installed it wrong. Try looking and seeing if you messed up installing it somewhere.
Alright, i believe it is my computer that is screwin me up now, i dont get a lua error and it says that the class was generated, but im still getting nothing... i think it may be because steam was on our C drive, but my dad just Cut and pasted it into D, and that screwed up some of our other games, so that might be my problem here. I also did a search for the text file it generates and it cannot find it, so im pretty sure it's my computer. If there is an Uber easy solution to this, please tell me :P
Thanks,
Waffle
I added a button to the menu that lets you view the generated codes for your classes in v1.3. Re-download it and you will not have to search for the text file. :dance:
[QUOTE=cheiftiger;18655545]I added a button to the menu that lets you view the generated codes for your classes in v1.3. Re-download it and you will not have to search for the text file. :dance:[/QUOTE]
I do have your newest one, but when i click the view thingy it just doesn't do anything.
That is quite strange... perhaps an addon conflict? I don't see what else it could be. The viewer Reads the text file directly as long as you have it in the data folder (which you should, as long as you have generated at least one class).
Check your addons and see if any of them could possibly be blocking file.Read. I don't know what else it could be. If that doesn't work you can always re-install Gmod, but I don't think you'd want to do that just for this class maker :P (Although, it does speed up your gmod by removing pointless files and addons :P)
Lol, i dunno, since it works for other people, i guess ill just have to go steal my friends computer to make me some classes :P Thanks for helping though
Waffle
This wont work for me niether :( And its nothing to do with my garrysmod.
Can anyone try to fix this please?
when i put the job into my shared.lua under the add jobs under me line they still wont work and all the jobs dissappear and everyones model glitches?
Make sure you are running [b]AT LEAST[/b] version 2.3.7 of DarkRP. If you aren't, this [b]WILL[/b] cause errors.
[QUOTE=cottonwaxy;18785067]when i put the job into my shared.lua under the add jobs under me line they still wont work and all the jobs dissappear and everyones model glitches?[/QUOTE]
You placed the jobs in wrong. Get Notepad++ from the official DarkRP gamemode topic (or Google it), and place the new jobs in appropriately past the specified line.
[QUOTE=RikohZX;18787439]You placed the jobs in wrong. Get Notepad++ from the official DarkRP gamemode topic (or Google it), and place the new jobs in appropriately past the specified line.[/QUOTE]
i did do that and i have the latest dark rp =/
and i am using notepad++
[QUOTE=cottonwaxy;18796633]i did do that and i have the latest dark rp =/
and i am using notepad++[/QUOTE]
Alright, you place teams directly under line 90 if nothing above has been altered - otherwise, it's:
[QUOTE]//ADD TEAMS UNDER THIS LINE:[/QUOTE]
From there, make sure the class you're putting in resembles the official ones in all the variables and commands. An example:
[QUOTE]TEAM_CPMEDIC = AddExtraTeam("Civil Protection Medic", Color(1, 50, 180, 255), 'models/player/police_female.mdl', [[Civil Protection tend to have high casuality rates due to
poor strategies and no health care. Overwatch, in a rather stubborn matter, at least
filled in the later with civilian-class medics. Hellooo Nurse!]], {'med_kit', 'stunstick', 'door_ram', 'weapon_real_cs_usp'}, "cpmedic", 2, 45, 0, true, true)[/QUOTE]
Not sure how else to help you, since I dunno how you set your class(es) up, but I hope this helps atleast.
Why isn't there a box to input the job which you need to be before you can become your current one?
[QUOTE=crash_oxide;18439322]Really nice addon, but one thing that would be really sweet would be able to add shipments :D, other Than that, great addon![/QUOTE]
Hmm... If you want to add shipments you just browse gmod.org for darkrp shipements, look at their code, and use them as a example. Or just copy and paste the code.
PS: You put this into garrysmod/garrysmod/gamemodes/darkrp/addshipments AT THE VERY BOTTUM OF THE LIST!
[editline]04:05PM[/editline]
[QUOTE=bilbodog;18597286]Yesyes i have Darkrp but no shared lua??? i don´t understand to??? please help ? (Write back please)[/QUOTE]
Whats your steam name so i can add you... if you accept ill show you how.
[editline]04:07PM[/editline]
Hey ill add and help anyone who needs help. If you have team-viewer (and no I'm not a dickhead who is going to ruin your computer or look at your files) ill be able to help even more!
[editline]04:07PM[/editline]
[editline]06:00PM[/editline]
First of all...
TEAM_/storm = AddExtraTeam( "Storm the
Super Rebel", Color( 1, 255, 1, 255 ),
'models/player/Group03/Male_04.mdl',
[[Its Storm... YAY!!! I am a super rebel.]], {'stunstick',
'weapon_posessor', 'spartan_leg', 'unarrest_stick'}, '/storm', 1, 100, 2, 0, false )
That to me is a fail generator.
He uses ' instead of "
He did Team_/storm (correct way---> TEAM_STORM
He overall failed.
My point is: Don't download this. If someone proves me wrong then ill be surprised, but it fails anyways in my opinion...
Sorry, you need to Log In to post a reply to this thread.