[GameMode] Dynamic Map System (GM Version)
#1

[basic] you must include this on top of the map file!
MapName = Here you can add the map name for your map such as GroveStreet (no spaces)
FSMapName = If you use any objects or if you want specific commands just for your map you can add it here (to load the FS)
Team1X = Self Explained
Team1Y = Self Explained
Team1Z = Self Explained
Team2X = Self Explained
Team2Y = Self Explained
Team2Z = Self Explained
Interior = Setting an interior for your map
Weather = Self Explained
Time = Setting the world time for your map
Remember that you can add more variables/floats/etc to the map system but you'll have to edit the script and the map format.

Example map formats

Code:
[basic]
MapName = Test1
FSMapName = 
Team1X = -55
Team1Y = -334.89999389648
Team1Z = 7.999998092651
Team2X = -41.299999237061
Team2Y = -224.10000610352
Team2Z = 6.5999999046326
Interior = 0
Weather = 12
Time = 9
Code:
[basic]
MapName = Test2
FSMapName = 
Team1X = 1696.8551
Team1Y = -1871.7855
Team1Z = 13.5540
Team2X = 1715.3000488281
Team2Y = -1881.4000244141
Team2Z = 13.60000038147
Interior = 0
Weather = 20
Time = 0
WARNING: Make sure you have the folder named Maps in your scriptfiles and save every map in order like

0.ini
1.ini not names!

Download:

http://pastebin.com/ahcmWPF4

Mirrors are accepted (PM me)
Reply
#2

thanks Kitty, will try and use this
Reply
#3

Nice work, i'm gonna test it as soon as possible
Reply
#4

Quote:
Originally Posted by Kitten
View Post
Dynamic Map System!
Description: Hello, kitten here i've posted a map system tutorial long ago which was static it wasn't the really type of map system that i'd suggest now looking back to it around 5 month's ago i've decided to create a server named Zombie Apocalypse which used static map system in the beginning then further in the development i've created a 'Dynamic Map System' which makes everything easier before Zombie Apocalypse closed i've checked the forums alot of people was in need of a map system that works properly Zombie Apocalypse was using this map system but i've completely re-made it from scratch to get you an idea how it works.

You'll need foreach and y_ini both created by ****** y_ini is used to load/unload maps, as for foreach we use it for looping through all players you'll see in the script what it's used for.

Map Format (based on y ini)

Code:
[basic] you must include this on top of the map file!
MapName = Here you can add the map name for your map such as GroveStreet (no spaces)
FSMapName = If you use any objects or if you want specific commands just for your map you can add it here (to load the FS)
Team1X = Self Explained
Team1Y = Self Explained
Team1Z = Self Explained
Team2X = Self Explained
Team2Y = Self Explained
Team2Z = Self Explained
Interior = Setting an interior for your map
Weather = Self Explained
Time = Setting the world time for your map
Remember that you can add more variables/floats/etc to the map system but you'll have to edit the script and the map format.

Example map formats
pawn Code:
[basic]
MapName = Test1
FSMapName =
Team1X = -55
Team1Y = -334.89999389648
Team1Z = 7.999998092651
Team2X = -41.299999237061
Team2Y = -224.10000610352
Team2Z = 6.5999999046326
Interior = 0
Weather = 12
Time = 9
pawn Code:
[basic]
MapName = Test2
FSMapName =
Team1X = 1696.8551
Team1Y = -1871.7855
Team1Z = 13.5540
Team2X = 1715.3000488281
Team2Y = -1881.4000244141
Team2Z = 13.60000038147
Interior = 0
Weather = 20
Time = 0
WARNING: Make sure you have the folder named Maps in your scriptfiles and save every map in order like

0.ini
1.ini not names!


Download:

http://pastebin.com/ahcmWPF4

Mirrors are accepted (PM me)
Very good, sucks that your server closed down, I used to play on it
Reply
#5

Great job keep it up ^^
Reply
#6

nice Gamemode
Reply
#7

give me please mode ZA(
Reply
#8

Quote:
Originally Posted by Str1k3[R]
View Post
give me please mode ZA(
Why offtopic?
Reply
#9

and what is here dynamic, you just made Spawn coordinates, and where is loading of objects
Reply
#10

Nice work!
Reply
#11

AWESOME KITTEN, TY
Reply
#12

Quote:
Originally Posted by CoaPsyFactor
Посмотреть сообщение
and what is here dynamic, you just made Spawn coordinates, and where is loading of objects
You'll need to learn the definition of dynamic (not trying to be rude).

Loading objects will be through a fs or any commands and load it through FSMapName in the format.
Reply
#13

Quote:
Originally Posted by Str1k3[R]
View Post
give me please mode ZA(
lol, i have known kitten for 3+ years, he is teaching me how to script and he wont even sell me the ZA script
he will never give that script up EVER!!!
Reply


Forum Jump:


Users browsing this thread: 6 Guest(s)