Dynamic Map System (GM Version) -
Kitten - 11.09.2012
[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)
Re: Dynamic Map System (GM Version) -
doodle210 - 11.09.2012
thanks Kitty, will try and use this
Re: Dynamic Map System (GM Version) -
PawnFox - 11.09.2012
Nice work, i'm gonna test it as soon as possible
Re: Dynamic Map System (GM Version) -
xPhantom - 11.09.2012
Quote:
Originally Posted by Kitten
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
Re: Dynamic Map System (GM Version) -
DarkB0y - 11.09.2012
Great job keep it up ^^
Re: Dynamic Map System (GM Version) -
Qu3esL - 11.09.2012
nice Gamemode
Re: Dynamic Map System (GM Version) -
Str1k3[R] - 11.09.2012
give me please mode ZA(
Re: Dynamic Map System (GM Version) -
FanHamMer - 11.09.2012
Quote:
Originally Posted by Str1k3[R]
give me please mode ZA(
|
Why offtopic?
Re: Dynamic Map System (GM Version) -
CoaPsyFactor - 11.09.2012
and what is here dynamic, you just made Spawn coordinates, and where is loading of objects
Re: Dynamic Map System (GM Version) -
DeadLy™ - 11.09.2012
Nice work!
Respuesta: Dynamic Map System (GM Version) -
adrianxd - 11.09.2012
AWESOME KITTEN, TY
Re: Dynamic Map System (GM Version) -
Kitten - 11.09.2012
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.
Re: Dynamic Map System (GM Version) -
doodle210 - 14.09.2012
Quote:
Originally Posted by Str1k3[R]
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!!!