[GameMode] DayZ+ [0.3z]
#1

DayZ+


Author: Bombo
Version: 0.0.97


About:


It's an engine for DayZ-like gamemodes creating. All loot description is located in separate files.
So, such mode is very easy to edit!


About engine:

-flexible system for adding new things (for linux version, you can add 'to hot', without restarting the server)
-system composite items, i.e. You can specify rules for composing and parsing of items in inventory
-built-in multi-language support ( utf8 )
-position tracking system by which an item would not appear behind a blank wall or under the ground
-realistic positioning (gradient using)
-registration/authorisation system
-ammo, player and vehicle state anticheat
-weapon anticheat
-speed anticheat

About DayZ+ mode

DayZ+ mode was created by this engine (readme).
SA:MP server 0.3z-R4 is needed

-every item in this mode is tracked (untill every bullet)
-player items placed around the site of his death
-you can put some items into a vehicle
-gasoline can be drained from the tank to the canister
-any weapon can be unloaded to get an ammo
-headshots








Animated selection:


things.txt file:
Code:

//Objects description:

//rx ry rz inventory axis
//x y z start coordinates /rotation/
//zoom zoom of an object
//RX RY RZ start coordinates on the ground
//height height under the ground
//inv_id SAMP id of an object for inventory
//wr_id SAMP id of an object for the ground
//rotbl 0 - static object, 1 - rotationable object on the ground
//value start value in game (for example, bullets in АК47 clip)
//type_name system name of an object (in-DB name)
//about comment on any language

//+ if an object is ammo - start from plus
//@ if an object is autorun, start from this char

// rx ry rz x y z zoom RX RY RZ height inv_id wr_id rotbl value type_name about {cells wheels def_panels def_doors def_light def_tyres def_patrol patrol_cons max_patrol}
+[AK47_AMMO] ( 0, 0, 1, 0, 270, 200, 2.0, 0, 0, 30, -0.65, 2061, 1271, 1, 30, ORDINARY_AMMO_TYPE, ) //1221 //1271 - original
+[M4_AMMO] ( 0, 0, 1, 0, 90, 20, 2.3, 0, 0, 120, -0.65, 2061, 1271, 1, 30, ORDINARY_AMMO_TYPE, ) //1221
+[RIFLE_AMMO] ( 0, 0, 1, 0, 0, 200, 1.6, 0, 0, 70, -0.65, 2061, 1271, 1, 10, RARE_AMMO_TYPE, ) //1220
+[PISTOL_AMMO] ( 0, 0, -1, 330, 0, 142, 1.8, 0, 0, 220, -0.65, 2043, 1271, 1, 7, RARE_AMMO_TYPE, ) //1271

[EMPTY_AK47] ( 0, 0, 1, -10, 0, 20, 2.0, 90, 0, 120, -0.95, 355, 355, 1, 0, ORDINARY_RIFLE_TYPE, ) //(id355)
[LOADED_AK47] ( 0, 0, 1, 10, 0, 20, 2.0, 90, 0, 150, -0.95, 355, 355, 0, 0, ORDINARY_RIFLE_TYPE, ) //(id355)
[EMPTY_PISTOL] ( 0, 0, 1, -10, 0, 20, 1.7, 90, 0, 20, -0.95, 348, 348, 0, 0, ORDINARY_GUN_TYPE, ) //(id348)
[LOADED_PISTOL] ( 0, 0, 1, 10, 0, 20, 1.7, 90, 0, 100, -0.95, 348, 348, 0, 0, ORDINARY_GUN_TYPE, ) //(id348)
[EMPTY_M4] ( 0, 0, 1, -10, 0, 20, 2.6, 90, 0, 170, -0.95, 356, 356, 0, 0, ORDINARY_RIFLE_TYPE, ) //(id356)
[LOADED_M4] ( 0, 0, 1, 10, 0, 20, 2.6, 90, 0, 75, -0.95, 356, 356, 0, 0, ORDINARY_RIFLE_TYPE, ) //(id356)
[EMPTY_RIFLE] ( 0, 0, 1, -20, 0, 20, 2.7, 90, 0, 28, -0.95, 357, 357, 0, 0, RARE_GUN_TYPE, ) //357
[LOADED_RIFLE] ( 0, 0, 1, 10, 0, 20, 2.7, 90, 0, 50, -0.95, 357, 357, 0, 0, RARE_GUN_TYPE, ) //357 RARE_GUN_TYPE

[BOTTLE_OF_LEMONADE] ( 0, 0, 1, 0, 0, 290, 1.7, 0, 0, 0, -1, 1544, 1544, 1, 500, SOMETHING_TYPE, ) //(id1544)
[BOTTLE_OF_JUICE] ( 0, 0, 1, 0, 0, 290, 1.7, 0, 0, 0, -1, 1543, 1543, 1, 300, SOMETHING_TYPE, ) //(id1543)
[EMPTY_BOTTLE] ( 0, 1, 1, 50, 110, 290, 1.7, 270, 0, 30, -0.96, 1486, 1486, 1, 0, SOMETHING_TYPE, ) //1486
[BOTTLE_OF_WATER] ( 0, 0, 1, 0, 0, 290, 1.7, 0, 0, 0, -0.85, 1486, 1486, 1, 250, SOMETHING_TYPE, ) //1487

// {cells wheels def_panels def_doors def_light def_tyres def_patrol patrol_cons max_patrol}
[JEEP_VEHICLE] ( 0, 0, 1, 0, 0, 20, 1.3, 0, 0, 0, -0.50, 500, 500, 0, 0, SOME_VEHICLE, Vehicle) { 4, 4, 0, 0, 0, 15, 2, 1, 40} //10 minutes
[VAN_VEHICLE] ( 0, 0, 1, 0, 0, 20, 1.3, 0, 0, 0, -0.50, 483, 483, 0, 0, SOME_VEHICLE, Vehicle) { 12, 4, 0, 0, 0, 15, 5, 1, 120} //30 minutes
[BICYCLE_VEHICLE] ( 0, 0, 1, 0, 0, 40, 1.0, 0, 0, 0, -0.50, 510, 510, 0, 0, SOME_VEHICLE, Vehicle) { 1, 2, 0, 0, 0, 0, 0, 0, 0}

[CAR_WHEEL] ( 0, 0, 1, 0, 0, 50, 2.2, 0, 0, 0, -0.54, 1025, 1025, 0, 100, CAR_PARTS, car_parts) //(id1079)
[CAR_ENGINE] ( 0, 0, 1, -30, 0, 140, 1.2, 0, 0, 80, -0.54, 920, 920, 1, 1000, CAR_PARTS, car_parts) //(id920)
[CAR_TOOLBOX] ( 0, 0, 1, -30, 0, 140, 1.6, 0, 0, 50, -0.84, 1210, 1210, 1, 0, CAR_PARTS, car_parts) //(1210)
[EMPTY_JERRYCAN] ( 0, 1, 0, 72, 306, 0, 1.9, 90, 0, 72, -0.92, 1650, 1650, 1, 0, CAR_PARTS, car_parts) //1650
[FULL_JERRYCAN] ( 0, 0, 1, 0, 0, 20, 1.9, 0, 0, 50, -0.7, 1650, 1650, 1, 20, CAR_PARTS, car_parts) //1650

[THE_BANDAGE] ( 0, 0, 1, -30, 0, 68, 2.2, 0, 0, 125, -1.0, 1279, 1577, 1, 500, SOMETHING_TYPE, ) //1279
+[PIECE_OF_PIZZA] ( 0, 1, 0, 50, 298, 90, 2.0, 0, 270, 55, -0.97, 2702, 2702, 1, 200, SOMETHING_TYPE, ) //2702
[FULL_PIZZA] ( 0, 0, 1, -30, 0, 68, 2.2, 0, 0, 125, -1.0, 1582, 1582, 1, 800, SOMETHING_TYPE, ) //1582
[BIG_FOOD] ( 0, 0, 1, -30, 0, 48, 2.0, 0, 0, 125, -0.75, 2663, 2663, 1, 1000, SOMETHING_TYPE, ) //2663
[HUMBURGER_FOOD] ( 0, -1, 0,-120, 0, 0, 2.0, 280, -60, 0, -0.94, 2703, 2703, 1, 700, SOMETHING_TYPE, ) //2703

@[GPS_NAVIGATOR] ( 0, -1, 0, -90, 30, 180, 1.2, 0, 0, 105, -0.98, 18875, 18875, 1, 0, SOME_USEFULL_TYPE,usefull_thing) //18875
@[COMPASS_BOX] ( 0, 0, 1, -30, 0, 148, 2.2, 0, 0, 105, -1.0, 2710, 2710, 1, 0, SOME_USEFULL_TYPE,usefull_thing) //2710

[MINI_MAGNET] ( 0, 0, 1, -30, 0, 48, 2.0, 0, 0, 0, -0.2, 3056, 3056, 1, 0, SOMETHING_TYPE, ) //3056
[BASKET_BALL] ( 0, 0, 1, -30, 0, 48, 2.0, 0, 0, 0, -0.88, 3065, 3065, 0, 0, SOMETHING_TYPE, ) //3065
[BIG_BAG_PACK] ( 0, 0, 1, -30, 0, 48, 2.0, 0, 0, 0, -0.2, 1550, 1550, 1, 0, SOMETHING_TYPE, ) //1550
[TINY_BAG_PACK] ( 0, 0, 1, -30, 0, 48, 2.0, 0, 0, 0, -0.2, 3026, 3026, 1, 0, SOMETHING_TYPE, ) //3026
[FLOPPY_DISK] ( 0, 0, 1, -30, 0, 48, 2.0, 0, 0, 0, -0.2, 1277, 1277, 1, 0, SOMETHING_TYPE, ) //1277

//Compound objects (WHAT from WHAT you can get)
//For example, packing 'Rifle ammo' with '!Unloaded rifle' you can get 'Loaded rifle'
//every object must have a system name in [] brackets (give it once for every object)
//every object have a name on any language
//you can set a number of objects after it's name (or between object name and it's system name)

//symbol '*' means a comment
//symbol '!' means resident object (id of such an object swaps with id of a resident object on packing; on the contrary if parsing)
//symbols "!!" means uncompound resident object

Empty rifle [EMPTY_RIFLE] //(id357)
|-*Rifle butt [RIFLE_BUTT]
|-*Rifle butt [RIFLE_BARREL]
|-*Bolt action in rifle [BOLT_ACTION_RIFLE]
|-*Rifle trigger mechanism [RIFLE_TRIGGER_MECHANISM]

Loaded rifle [LOADED_RIFLE] //(id357)
|-!Empty rifle
|-Rifle ammo [RIFLE_AMMO]

Loaded rifle
|-Loaded rifle
|-Rifle ammo

Empty sniper rifle [EMPTY_SNIPER_RIFLE] //(id358) //(id2036)
|-!Empty rifle
|-The optical sight

Loaded sniper rifle
|-Loaded rifle
|-The optical sight

Loaded sniper rifle [LOADED_SNIPER_RIFLE] //(id358) //(id2036)
|-!Empty sniper rifle
|-Rifle ammo

Loaded sniper rifle
|-Loaded sniper rifle
|-Rifle ammo

Jeep vehicle [JEEP_VEHICLE]
|-*Broken car [BROKEN_CAR] //(id3594)
|-*Engine [ENGINE]
 |-*Broken engine [BROKEN_ENGINE]
 |-*Engine piston 4 [ENGINE_PISTON]
 |-*Engine connecting rod 4 [ENGINE_CONNECTING_ROD]
 |-*Engine spark 8 [ENGINE_SPARK]
|-*Car wheel 4 [CAR_WHEEL]
 |-*Wheel disk [WHEEL_DISK]
 |-*Tire [TIRE]
|-*Transmission [TRANSMISSION]
|-*Steering system [STEERING_SYSTEM]
|-*Car brakes [CAR_BRAKES]
|-*Car battery
 |-*Car bettery case
 |-*The electrolyte
 |-*Plate battery

Bicycle vehicle [BICYCLE_VEHICLE]

Empty pistol [EMPTY_PISTOL] //(id348)
|-*Pistol barrel [PISTOL_BARREL]
|-*Pistol handle [PISTOL_HANDLE]
|-*Pistol trigger mechanism [PISTOL_TRIGGER_MECHANISM]
|-*Pistol bolt action [PISTOL_BOLT_ACTION]

Loaded pistol [LOADED_PISTOL] //(id348)
|-!Empty pistol
|-Pistol ammo [PISTOL_AMMO]

Loaded pistol
|-Loaded pistol
|-Pistol ammo

Empty M4 [EMPTY_M4] //(id356) //(id2035)
|-*M4 butt [M4_BUTT]
|-*M4 bolt action [BOLT_ACTION_M4]
|-*M4 trigger mechanism [M4_TRIGGER_MECHANISM]
|-*M4 barrel [M4_BARREL]

Loaded M4 [LOADED_M4] //(id356) //(id2035)
|-!Empty M4
|-M4 ammo [M4_AMMO]

Loaded M4
|-Loaded M4
|-M4 ammo

Empty AK47 [EMPTY_AK47] //(id355)
|-*AK47 butt [AK47_BUTT]
|-*AK47 bolt action [BOLT_ACTION_AK47]
|-*AK47 trigger mechanism [AK47_TRIGGER_MECHANISM]
|-*AK47 barrel [AK47_BARREL]

Loaded AK47 [LOADED_AK47] //(id355)
|-!Empty AK47
|-AK47 ammo [AK47_AMMO]

Loaded AK47
|-!Empty AK47
|-AK47 ammo 2

Loaded AK47
|-!Empty AK47
|-AK47 ammo 3

Loaded AK47
|-Loaded AK47
|-AK47 ammo

Loaded AK47
|-Loaded AK47
|-AK47 ammo 2

Loaded AK47
|-Loaded AK47
|-AK47 ammo 3

Full jerrycan [FULL_JERRYCAN]
|-!Empty jerrycan [EMPTY_JERRYCAN]

Empty bottle
|-!!Bottle of lemonade [BOTTLE_OF_LEMONADE]

Empty bottle
|-!!Bottle of juice [BOTTLE_OF_JUICE]

Bottle of water [BOTTLE_OF_WATER]
|-!Empty bottle [EMPTY_BOTTLE]

Full pizza [FULL_PIZZA]
|-!Full pizza
|-Piece of pizza [PIECE_OF_PIZZA]

Full pizza
|-!Full pizza
|-Piece of pizza 2

Full pizza
|-!Full pizza
|-Piece of pizza 3

Hamburger [HUMBURGER_FOOD]

Lunch [BIG_FOOD]
The source: GitHub (all *.pwn files are in pawno folder!)
About: readme

Test server: botinform.asuscomm.com:7797

Donate:
WebMoney Z841169965648 E226595298971 R211309231066
Reply
#2

Nice gj!
Reply
#3

Nice. Good job man.
Reply
#4

Quote:
Originally Posted by Warlord
View Post
Nice. Good job man.
Quote:
Originally Posted by Alex Magaсa
View Post
Nice gj!
Post-hunt much?



You need to add the source (.pwn) files!
Reply
#5

All *.pwn files are in pawno folder.
Reply
#6

Good work and bombo can you send me your skype details
Reply
#7

Great gm! +REp
Reply
#8

is there any zombies ?
Reply
#9

Awesome !
Reply
#10

Quote:
Originally Posted by samp_boy
View Post
is there any zombies ?
No yet..
Reply
#11

i'll test it once you update your gamemode with zombies.

Anyways nice gm
Reply
#12

Hooww nice script continue to develop it i loved it +1
Reply
#13

Great gamemode.
Reply
#14

This is actually pretty decent.
Reply
#15

Great GM, tested it, works great +1 REP.
Reply
#16

Good job!
Reply
#17

no command ?? /cmds /acmds ??
Reply
#18

Good gamemode, nice job !
Reply
#19

that's quite nice actually.
Reply
#20

cool keep it up!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)