Short Explanation of modding GTA2. (For Beginners).
Posted: 15 Nov 2012, 10:02
GTA2 Maps consists of 4 official files:
GMP
MMP
SCR
MIS
Other files like:
gxt
sty
And there are programs which produce these files like:
GTA2 Map Editor Produes GMP Files.
Notepad Produces MMP Files.
GTA2 Script Pad Produces MIS And SCR Files.
GTA2 MAP EDITOR
Map editor is the most important program in gta2 modding, you can make buildings, Streets, Water by using it.
How to use GTA2 Map Editor: http://en.wikigta.org/wiki/GTA2_Editor
----------------------------------------------------------------------------------------
GTA2 Script Pad :
GTA2 Has a modding language, each Code you put in the script pad has its own effect in the map,
How to use GTA2 Script pad: http://projectcerbera.com/gta/2/ ((BenMillard's site))
The main scripting language (ALWAYS WORK) By Davidio :
you should type/copy this in GTA2 script pad, Save it to produce .mis file, compile it for .SCR
//players
PLAYER_PED p1 = ( 128.5 , 121.5 , 255.0 ) 0 180
PLAYER_PED p2 = ( 129.5 , 125.5 , 255.0 ) 4 180
PLAYER_PED p3 = ( 130.5 , 127.5 , 255.0 ) 9 180
//weapons
GENERATOR rocket1 = (124.5, 210.5, 255.0) 0 COLLECT_02 0 0 99
//counter
COUNTER loop = 1
LEVELSTART
SET_AMBIENT_LEVEL(1.0, 0)
SWITCH_GENERATOR(rocket1, ON)
WHILE_EXEC(loop=1)
DO_NOWT
ENDWHILE
LEVELEND
---------------------
This script is not stable, you can add/delete codes as you wish when you learn GTA2 Coding language.
After typing this Script, save it and compile it.
------------------------------------------------------------------------------------------------------------
MMP File:
To make an mmp file, Open Notepad and copy this in it:
[Mapfiles]
GMPFile = mapname.gmp
STYFile = bil.sty
SCRFile = mapname.scr
Description = mapname
[Map]
UpDate = Year-M-D
CreaDate = Year-M-D
LongDesc = "mapname :"description"
Tags[] = mapname
Author= mapowner
Readme = mapname_readme.txt
Replace:
Mapname: The map's name you made
Year-M-D: Year-month-day
Desc: Description of your map.
SAVE it, and then rename the file to .mmp, For example:
GTA2.txt ---> Rename it ---> GTA2.mmp
--------------------------------------------------------------
I Finished this topic for now, more updates will come later.
GMP
MMP
SCR
MIS
Other files like:
gxt
sty
And there are programs which produce these files like:
GTA2 Map Editor Produes GMP Files.
Notepad Produces MMP Files.
GTA2 Script Pad Produces MIS And SCR Files.
GTA2 MAP EDITOR
Map editor is the most important program in gta2 modding, you can make buildings, Streets, Water by using it.
How to use GTA2 Map Editor: http://en.wikigta.org/wiki/GTA2_Editor
----------------------------------------------------------------------------------------
GTA2 Script Pad :
GTA2 Has a modding language, each Code you put in the script pad has its own effect in the map,
How to use GTA2 Script pad: http://projectcerbera.com/gta/2/ ((BenMillard's site))
The main scripting language (ALWAYS WORK) By Davidio :
you should type/copy this in GTA2 script pad, Save it to produce .mis file, compile it for .SCR
//players
PLAYER_PED p1 = ( 128.5 , 121.5 , 255.0 ) 0 180
PLAYER_PED p2 = ( 129.5 , 125.5 , 255.0 ) 4 180
PLAYER_PED p3 = ( 130.5 , 127.5 , 255.0 ) 9 180
//weapons
GENERATOR rocket1 = (124.5, 210.5, 255.0) 0 COLLECT_02 0 0 99
//counter
COUNTER loop = 1
LEVELSTART
SET_AMBIENT_LEVEL(1.0, 0)
SWITCH_GENERATOR(rocket1, ON)
WHILE_EXEC(loop=1)
DO_NOWT
ENDWHILE
LEVELEND
---------------------
This script is not stable, you can add/delete codes as you wish when you learn GTA2 Coding language.
After typing this Script, save it and compile it.
------------------------------------------------------------------------------------------------------------
MMP File:
To make an mmp file, Open Notepad and copy this in it:
[Mapfiles]
GMPFile = mapname.gmp
STYFile = bil.sty
SCRFile = mapname.scr
Description = mapname
[Map]
UpDate = Year-M-D
CreaDate = Year-M-D
LongDesc = "mapname :"description"
Tags[] = mapname
Author= mapowner
Readme = mapname_readme.txt
Replace:
Mapname: The map's name you made
Year-M-D: Year-month-day
Desc: Description of your map.
SAVE it, and then rename the file to .mmp, For example:
GTA2.txt ---> Rename it ---> GTA2.mmp
--------------------------------------------------------------
I Finished this topic for now, more updates will come later.