Login to ZARP
Username: Password: Remember me

TOPIC: I need YOUR help (and also coders help lmao)

I need YOUR help (and also coders help lmao) 8 years 8 months ago #178923

NOTE: This is a private project im not making my own community/server this is all for education and im not advertising anything i just seek help

I am planning to code a gamemode for Garrymod and i might need some help
I've done LUA coding before when i had my own MedievalRP server (using a darkRP base for it)
but it was really basic and what im about to do may take some effort

The gamemode will be a WW2 based class TDM (inspired by Day of Defeat)
similar to the Vietnam war server there will be 2 teams (In this case Axis and Allies)

I am currently thinking what system to use for classes

Either XP or Coins

XP
An XP bar is at the top of your screen and it fills while you get kills/play, once you gain a certain level you can unlock a class i am also deciding if there is a fee for a class

Coins
Coins are earned by getting kills etc etc once you get a certain amount of coins you can buy a class,

I also plan on introducing Tanks and planes
this may be hard as I plan on making a Tank Crew class which has an option to spawn inside a tank (better tanks may be purchased) same with planes

I am currently following multiple guides
one being steamcommunity.com/sharedfiles/filedetails/?id=147793376

so if you guys have any suggestions for my project please post them below

EDIT: Ill post more stuff that i plan to include
  • KapiJam
  • KapiJam's Avatar
  • Offline
  • Diamond Boarder
  • ZARP VIP
  • emotionally attracted to chuteuk
  • Posts: 4646
  • Thanks received: 1148
  • Karma: 90
Last Edit: 8 years 8 months ago by KapiJam.
Login or register to post a reply.

I need YOUR help (and also coders help lmao) 8 years 8 months ago #178927

For info about functions etc:
wiki.garrysmod.com

XP system:
The XP isn't too hard, I would suggest taking a look at XP systems other dev's already made, and create your own from there.

The coins:
GM:PlayerDeath( Player victim, Entity inflictor, Entity attacker ) -> http://wiki.garrysmod.com/page/GM/PlayerDeath

Include in your function at least:
-> Check if the player is really dead,
-> Check if the player is a valid player,
-> (a suggestion from me:) Check if player didn't kill the same player x amount of times (abuse risk),
-> Give the " inflictor" the coins.
  • illuminatixs
  • illuminatixs's Avatar
  • Offline
  • Expert Boarder
  • ZARP VIP
  • Taste my rainbow!
  • Posts: 1141
  • Thanks received: 262
  • Karma: 18
Last Edit: 8 years 8 months ago by illuminatixs.
Login or register to post a reply.

I need YOUR help (and also coders help lmao) 8 years 8 months ago #178932

Thanks, also do you know any sources of making a ability to spawn specific vehicles on the spot NOT using the Q Menu
  • KapiJam
  • KapiJam's Avatar
  • Offline
  • Diamond Boarder
  • ZARP VIP
  • emotionally attracted to chuteuk
  • Posts: 4646
  • Thanks received: 1148
  • Karma: 90
Login or register to post a reply.

I need YOUR help (and also coders help lmao) 8 years 8 months ago #178933

KapiJam wrote:
Thanks, also do you know any sources of making a ability to spawn specific vehicles on the spot NOT using the Q Menu

Will post tonight. At work atm
  • illuminatixs
  • illuminatixs's Avatar
  • Offline
  • Expert Boarder
  • ZARP VIP
  • Taste my rainbow!
  • Posts: 1141
  • Thanks received: 262
  • Karma: 18
Login or register to post a reply.

I need YOUR help (and also coders help lmao) 8 years 8 months ago #178934

illuminatixs wrote:
KapiJam wrote:
Thanks, also do you know any sources of making a ability to spawn specific vehicles on the spot NOT using the Q Menu

Will post tonight. At work atm

Ok thanks
  • KapiJam
  • KapiJam's Avatar
  • Offline
  • Diamond Boarder
  • ZARP VIP
  • emotionally attracted to chuteuk
  • Posts: 4646
  • Thanks received: 1148
  • Karma: 90
Login or register to post a reply.

I need YOUR help (and also coders help lmao) 8 years 8 months ago #178935

Since you're thinking of implementing tanks and planes, NeuroTec is by far the most realistic and well-made tank and airplane mods out there. It features a huge amount of airplanes and tanks, even ships from Modern Era and WW2 era.

It's not on the workshop anymore, but I think you can still download it through here: facepunch.com/showthread.php?t=1160981

If not, try and dig for NeuroTec on the internet. It would be well worth the search.

As for spawning these vehicles on the spot, I'd highly recommend you speak to the owners of Zarp, they should be able to help you out if you're looking for a vehicle spawn system similar to our SSRP one. Or just wait for illuminatixs as he's most likely coding a more intensive/realistic menu because it's meant for PERP.

American Allied Soldier Models
German Axis Soldier Models part 1
German Axis Soldier Models part 2

For the guns, use either Day of Defeat weapons or use the C.W 2 base with community made WW2 gun addons for this base.

C.W 2 Original Modpack

You'll have to search for the WW2 guns.

Hopefully I helped.
  • stratiic
  • stratiic's Avatar
  • Offline
  • User is blocked
  • ZARP VIP
  • spitting in your mum's twat
  • Posts: 4803
  • Thanks received: 1452
  • Karma: -20
Last Edit: 8 years 8 months ago by stratiic.
Login or register to post a reply.

I need YOUR help (and also coders help lmao) 8 years 8 months ago #178956

Stratiic wrote:
Since you're thinking of implementing tanks and planes, NeuroTec is by far the most realistic and well-made tank and airplane mods out there. It features a huge amount of airplanes and tanks, even ships from Modern Era and WW2 era.

It's not on the workshop anymore, but I think you can still download it through here: facepunch.com/showthread.php?t=1160981

If not, try and dig for NeuroTec on the internet. It would be well worth the search.

As for spawning these vehicles on the spot, I'd highly recommend you speak to the owners of Zarp, they should be able to help you out if you're looking for a vehicle spawn system similar to our SSRP one. Or just wait for illuminatixs as he's most likely coding a more intensive/realistic menu because it's meant for PERP.

American Allied Soldier Models
German Axis Soldier Models part 1
German Axis Soldier Models part 2

For the guns, use either Day of Defeat weapons or use the C.W 2 base with community made WW2 gun addons for this base.

C.W 2 Original Modpack

You'll have to search for the WW2 guns.

Hopefully I helped.

Thanks alot, I'll get to work on downloading all resources tommorow!
  • KapiJam
  • KapiJam's Avatar
  • Offline
  • Diamond Boarder
  • ZARP VIP
  • emotionally attracted to chuteuk
  • Posts: 4646
  • Thanks received: 1148
  • Karma: 90
Login or register to post a reply.

I need YOUR help (and also coders help lmao) 8 years 8 months ago #179096

Here is something that looks like it would work:
Warning: Spoiler! [ Click to expand ]


Other than that, just check out the documentation at the wiki page I gave you earlier and look up some tutorial video's on basic game mode making within gmod.

Feel free to add me to steam if you need some help.
  • illuminatixs
  • illuminatixs's Avatar
  • Offline
  • Expert Boarder
  • ZARP VIP
  • Taste my rainbow!
  • Posts: 1141
  • Thanks received: 262
  • Karma: 18
Login or register to post a reply.
Time to create page: 0.107 seconds

259 PLAYERS ONLINE

Connect to server View Gametracker DarkRP 1
9/127
online
Connect to server View Gametracker Deathrun
0/40
online
Connect to server View Gametracker TTT
0/47
online
Connect to server View Gametracker Bhop
1/32
online
Connect to server View Gametracker Surf
3/32
online
Connect to server View Gametracker Prop Hunt
0/42
online
Connect to server View Gametracker Sandbox
0/42
online
Connect to server Discord
246/789
online
Top