Let's begin with, "How will it work?"
Well for starters the server mods should be compressed files that are ready to distribute to the clients, it should be stored in this fashion "Ace of Spades > Servers > SERVER_NAME > Mods >"
The modding should be devided as such:
- Body Mod
- Weapon Mod
- Game Mod
- Misc Mod*
* This will have any kind of uncategorized mods.[To expand]
Let's talk about the Weapon Mods, there should be a file with a "package".
The file will have the weapon specs and info and the package will have the graphics/sounds/art/etc.
this is my Idea on how the file should be:
- Code: Select all
[WEAPON_NAME]#package and file will be named the same so there is no need to specify file path.
stats={
type=rifle, #(shotgun, SMG, LMG, sniper, handgun, assault, melee, explosive_throw, explosive_drop(or dropt(trigger)), explosive_shoot)
single_shot=true,
fire_rate=1, #from 1 to 6, from -3 to 3 if single_shot=true.
damage_rate=25, #from 1 to 100.
range=20, #can be ingame block range, from 1 to 100, different types of weapon have pre-set max distance.
splash=0, #for explosives, from 1 to 10(blockrange).
weight=2, #from 1 to 10(8-10 = LMG class weapon weight), affects your moving and sprinting speed.
reload_rate=2 #from 1 to 10.
}
I might be forgetting some stuff, will thing of more.
Will add more thoughts to the rest(Game, Body and Misc) you can drop your "two cents" to this also.