[FilterScript] *RELEASE* Survival Realism
#1

Survival Realism Beta v.1.01
Hello, today I finished my new project name,, Survival Realism''
It is a system in which you scavenge Dynamic created buildings, created by System Admin
There are 3 levels of buildings and 14 types of items that can be found
In each of the 3 levels of the buildings have a different percentage chance you fall any item (% can be found as comments in the file Config.pwn from line 128 to 183)
With items you find, you can make, weapons, cars, and other items can also make Radio
There are four skills that improve with each level
Premium currency is fuel that can be found on buildings but very low % or be obtained by Redeem Code
Script has Full control script from which you can control the entire script, you can find it in ,,filterscripts /Config/config.pwn''
The radio has 100 channels (the number may change)
When the radio is running, it consumes 1 battery every 30 minutes if there is no battery radio stops also can not run if you do not have batteries
Cars are also dynamic when destroy once they never respawn, this reduces lag in server
The script is the most suitable for zombie servers where you have to survive, this idea was inspired just for Zombie mod
INCLUDES:
Код:
#include <a_samp>
#include <dini> 
#include <zcmd> 
#include <YSI\y_ini>
#include <streamer>
#include <strlib>
#include <mxini>
It's in the archive

Timing:
Код:
Scavenge Building Level 1 is 3 Minutes (def. 1 Energy)
Scavenge Building Level 2 is 15 Minutes (def. 2 Energy)
Scavenge Building Level 3 is 25 Minutes (def. 4 Energy)
Craft Mele Weapons is 30 secs (def. 1 Energy)
Craft Pistols is 1 min (def. 1 Energy)
Craft Submachine guns is 2 mins (def. 2 Energy)
Craft Shotguns is 3 min and 30 secs (def. 3 Energy)
Craft Assualt Rifles is 5 mins (def. 5 Energy)
Craft Other Stuff is 4 mins (def. 2 Energy)
Craft Cars is 2 mins (def. 1 Energy)
Craft Items is 1 min (def. 1 Energy)
Every function except radio requires energy
Skill:
Код:
Scavenge - Reduce time for scavenging an building (3% for level) (def. max level 10) 
Craft - Reduce time for crafting (2% for level) (def. max level 10)
Find - Increases the chances to find items may be changed from Config.pwn (Recommended not to change)(Very high likely to be bugged system) (def. max level 20) 
Spirit - Increases the limit on the maximum energy by 1 (def. max level 10) 
Player Level - total of all skills
Example: Scavenge 20, Craft 15, Find 20, Spirit 10, max level will be 65
Commands:
For players
Код:
/rlfcodes , /rltcredits , /scavenge , /craft , /getmyfuel , /inventory 
/switchradio , /radio , /setradiohz, /shop , /mystats , /upgrade
For RCON admin
Код:
/createbuilding [level]
/set [player] [type] [value]
/add [player] [type] [value]
Types are:
level, points, xp, energy, fuel, metal, wood, cloth, weaponpart, carpart, armourpart, ammo,
gunpowder, tools, wire, battery, plate, junk, plastic
BUGS:
There are no bugs found
I think the new version 1.1 there may be another bug, please if anyone finds such share it
New trade System is not tested


Credits:
rumen98 - The idea
rumen98 - Scripting
Special thanks to Konstantinos - For help with some functions
Worktime: About two weeks
Script - 5321 lines
Config File - 440 lines
Total - 5761 lines

Changelog:
Код:
Version 1.1
Added Logs:
Radio Log - record every message from radio in special folder with unique room file
Admin Log - record every use of RCON admin commands
Command Log - record use of /switchradio , /getmyfuel , /setradiohz commands
Fail Log - record when player fail in crafting or scavenging process
Added new commands /setprivatehz which you can set you selected frequency for 1 fuel (from 101 to 100000) 
Bug fix on /setradiohz command (now you can not set negative radio frequency)
Added When you upgrade your skills and have available points, the menu is displayed again
Some changes in ShowInventory and MyStats functions
Added #define MaxPrivateHZ 100000 to change the limit of maximum private frequencies (def. 100000)
Added #define CostPrivate 1 to change how fuel cost change private frequency (def. 1)
Added OnPlayerClickPlayer Trade/Give system (Price for trading is 3 fuel)
Added #define TradeCost 3 to change price for trading
Added new RCON admin commands /set and /add with which you can control players items and stats
Bug fix on AutoLevelUp function 
Added ProxDetector which displays messages from players if they are 50 feet away
Added Radio Screen Mode command /radioscreen which send direct messages through radio chat without you having to write /radio [text]
Added #define TextDistance 50.0 Messages that are not on the radio, will only show a distance of 50 meters (ProxDetector)
Some Changes in Upgrade menu Now shows how many points you have available for upgrading
Version 1.01
Fixed Weapon Dialog - Added Premium weapons menu

Post Changelog:
Код:
Version 1.1
Added more information in Commands section
Updated Bugs and Credits section
Version 1.01
Added information about Energy in Timing section
Everything new added, it's blue
if someone wants to replace with a better description, let me write a PM

Sorry for bad English im Bulgarian
Reply


Messages In This Thread
*RELEASE* Survival Realism - by rumen98 - 21.05.2014, 22:46
Re: *RELEASE* Survival Realism - by rumen98 - 23.05.2014, 17:37
Re: *RELEASE* Survival Realism - by AroseKhanNiazi - 23.05.2014, 18:43
Re: *RELEASE* Survival Realism - by rumen98 - 23.05.2014, 19:54
Re: *RELEASE* Survival Realism - by izeatfishz - 23.05.2014, 23:27
Re: *RELEASE* Survival Realism - by rumen98 - 24.05.2014, 05:28
Re: *RELEASE* Survival Realism - by Team_PRO - 24.05.2014, 06:25
Re: *RELEASE* Survival Realism - by JFF - 24.05.2014, 07:26
Re: *RELEASE* Survival Realism - by rumen98 - 24.05.2014, 10:12
Re: *RELEASE* Survival Realism - by Iillminetor1 - 24.05.2014, 10:59

Forum Jump:


Users browsing this thread: 2 Guest(s)