• DARKRP recoding? wat.
    28 replies, posted
dhf
Changing jobs, shipments etc. would require no knowledge of lua and is very straight forward. However the stat bars wouldn't be that straight forward and you would need to know lua. I haven't tried to make similar things myself but I doubt it is that hard and have seen it done on a few servers.
gf
Don't edit or recode DarkRP. It'll still be DarkRP and even if it was good, that is enough for some people to label it as crap.
dsf
Loads of people hate DarkRP, loads of people love DarkRP, though I must admit - DarkRP's publication (duh?) are kids. I am 15 years old and I owned a DarkRP server. but anyways; Custom Jobs: Easy as hell, everything is well-described in the shared.lua file in gamemode/DarkRP. New shipments: same, but in this case it's addshipments. [Car Dealer Job] If you want people to have cars, but only one job can spawn them, then that's well-described in addshipments, aswel. [DarkRP 2.3.7] HP bars are a little more complex, but it's overcoming. If you only want HP and Armor, you could read this: [url]http://wiki.garrysmod.com/?title=How_to:_HUD[/url] Stamina bars and stuff like that, is, unfortuneately, out of my league. Though; there's is LOADS of pro-Lua-coders, who I am sure would point you in the direction. Good luck!
sf
Yea, but again - mostly kids play DarkRP, therefore; most pro coders wont support DarkRP. But I dont know, they might want to help you, just so you can improve your lua coding-abilities, or something like that.
sd
[QUOTE=legionfalls;20736799]So my GF[/quote] [quote]the RP scene on GMOD 10.[/quote] I know this will sound trollish, but as far as I know no girls are at all interested in Roleplay. [i]Outside the bedroom[/i] Anyway, you don't need a book to learn Lua. Practise and reading the wiki is all you will need.
sf
[QUOTE=|FlapJack|;20744233]I know this will sound trollish, but as far as I know no girls are at all interested in Roleplay. [i]Outside the bedroom[/i] Anyway, you don't need a book to learn Lua. Practise and reading the wiki is all you will need.[/QUOTE] Lol you made my day with this reply lol
This guy wins for having an awesome girlfriend that likes DarkRP. Every DarkRP hater now has an invalid statement since even the girls like it! Also why does no one recommend [url]www.lua.org/pil[/url] Read the pil before reading the garrysmod.com tutorials. The tutorials on Lua on garrysmod.com are not complete, the tutorials for the application of Lua in Gmod are.
If you want to change stat bars, you need to first take a look at [url]http://wiki.garrysmod.com/?title=How_to:_HUD[/url] to learn the basics of a HUD, and how you want it positioned
I've modded for DarkRP recently (don't ask). It's fairly to modify simple areas, but FPtje's derma code is so oddly tabbed that it becomes incredibly tedious. I spent 20 minutes retabbing an entire function at one point.
[QUOTE=Unib5;20757358]I've modded for DarkRP recently (don't ask). It's fairly to modify simple areas, but FPtje's derma code is so oddly tabbed that it becomes incredibly tedious. I spent 20 minutes retabbing an entire function at one point.[/QUOTE] Huge function?
[QUOTE=aualin;20757474]Huge function?[/QUOTE] It's ridiculous in some parts. Some of the codes a mess and I'm having a hell of a time getting DRP to cooperate with me.
[QUOTE=aualin;20757474]Huge function?[/QUOTE] It was quite big yes, but it was still awfully tabbed. It should have only taken me perhaps 5 minutes.
s
Write scripts that do something strange. Try them. Get hilarious results. Learn to code. Make own gamemode. That's my advice. Pretty much what I've been doing. However, none of my projects have been completed, soooo... :D
[QUOTE=sintwin;20737589]Changing jobs, shipments etc. would require no knowledge of lua and is very straight forward. However the stat bars wouldn't be that straight forward and you would need to know lua. I haven't tried to make similar things myself but I doubt it is that hard and have seen it done on a few servers.[/QUOTE] This guy is somewhat right, but the hunger fatigue and all that, is all part of the HUD. Which is not so straight forward especially for a beginner. Also when he says "I doubt it is that hard and have seen it done on a few servers." He is right - if you a a veteran lua coder, you would be lost trying to do that
[QUOTE=FPtje;20757100]This guy wins for having an awesome girlfriend that likes DarkRP.[/QUOTE] it's a shame his girlfriend has terrible taste.
[QUOTE=Rambo_9;21148304]it's a shame his girlfriend has terrible taste.[/QUOTE] Hu-Tchi! Edited: @ OP - You quit or still trying?
[QUOTE=legionfalls;20736799]So my GF and I were conversing about improvements to the RP scene on GMOD 10. And I was wondering, how much work would be involved in editing the source code of DarkRP? Is it even possible? I'm not exactly a total nub with code, I just don't exactly know anything specific- besides HTML, CSS, and a little bit of Python. When I say edit, I mean class (job) changes, new stat bars (hunger, fatigue - similar to GMS, etc), as well as new jobs, price changes, and other minute differences. How much LUA would I need to learn to be able to edit this? I have spare time on my hands, why not do something productive instead? EDIT: I have a book that I could pick up- if it'd help me learn, I'd love to learn a new language. [url]http://www.amazon.com/Programming-Lua-Second-Roberto-Ierusalimschy/dp/8590379825/ref=sr_1_1?ie=UTF8&s=books&qid=1268553945&sr=8-1[/url] Anyone have any thoughts? Relevance?[/QUOTE] I coded DarkRP into a completely NEW Gamemode, in a matter of 4 hours. AND it was my first day of coding ever. :smug:
Thats not such a feat Moja, a monkey could do it in 3 lawl
[QUOTE=c-unit;21223425]Thats not such a feat Moja, a monkey could do it in 3 lawl[/QUOTE] :comeback:
Kinda reminds me of what it's like over at ArcEmu, people checkout our source code, edit 10-15 lines and re-release it as their own "improved server" lol.
lol Moja the only RP server i actually like, is noobonicplague, they have it edited to the point where its actually cool =\
Sorry, you need to Log In to post a reply to this thread.