Need some help with mission coding!!

Anything to do with GTA1/GTA2 modding (tools, scripts and more).
Post Reply
User avatar
AssainGuy
Hitman
Hitman
Posts: 101
Joined: 01 Feb 2012, 13:11
GH nick: AssainGuy
Location: Hungary
Contact:

Need some help with mission coding!!

Post by AssainGuy »

Hey people around.

Some people might know, some not, that i'm planning to make a full conversion (or DLC) for GTA2, and i know advanced scripting (notepad ftw). But I'm stuck at the missions part.

What I would like to know:
-how to put arrows showing where my objective is ,and how to remove gang arrows for that time
-and how to tell the game that the mission is completed/failed.
I've looked around at projectcerbera.com, but i haven't found what i was looking for.

I know all other scripts needed for missions (like the IF...ELSE...THEN language), but i couldn't find these stuff, so I better ask here at the professionals.
Help me out pls!
i come here sometimes
Software Development / Audio Engineering
User avatar
Sektor
Boss
Boss
Posts: 1423
Joined: 04 Mar 2008, 06:51
GH nick: Sektor
Location: GTAMP.com
Contact:

Re: Need some help with mission coding!!

Post by Sektor »

You could look at bil.mis for the official way to do missions. It is included in the official script compiler example folder.

There are smaller/easier to understand mission template examples but I have no time to find them now.
User avatar
AssainGuy
Hitman
Hitman
Posts: 101
Joined: 01 Feb 2012, 13:11
GH nick: AssainGuy
Location: Hungary
Contact:

Re: Need some help with mission coding!!

Post by AssainGuy »

Sektor wrote:You could look at bil.mis for the official way to do missions.
[yakuza] [elvis] [bribe]

I forgot to mention, that I've already looked trough the industrial district's script files, but i've got errors when i did the same for my script.

I would like to hear from you guys how to do it, the "copy stuff out of the official" is too complicated for me =)

Anyone tells me will get a gingerman cookie :) [life]
i come here sometimes
Software Development / Audio Engineering
User avatar
elypter
Immortal
Posts: 1120
Joined: 26 Dec 2009, 23:53
GH nick: elypter

Re: Need some help with mission coding!!

Post by elypter »

AssainGuy wrote: gingerman cookie [life]
epic win!
yur sa'nok ngeyä
User avatar
elypter
Immortal
Posts: 1120
Joined: 26 Dec 2009, 23:53
GH nick: elypter

Re: Need some help with mission coding!!

Post by elypter »

there are some simple maps that use arrows, for example:
bot tiny town
army
multislayer ship
multislayer cops & robbers

etherpad could be useful for this situation. does anyone know what happened to ietherpad.com ?
yur sa'nok ngeyä
BenMillard
Immortal
Posts: 889
Joined: 16 May 2009, 06:14
GH nick: BenMillard
Location: London, UK
Contact:

Re: Need some help with mission coding!!

Post by BenMillard »

You can code missions without using the 'proper' mission system. I don't know of any custom-made maps which use the full gang system with separate mission and all the rest of it.

MultiSlayer Cops & Robbers is a good demo of how to make multiplayer missions in a quick and dirty way. Please, write all your missions so they work in multiplayer for 1-6 players!
Last edited by BenMillard on 02 Feb 2012, 09:34, edited 1 time in total.
User avatar
AssainGuy
Hitman
Hitman
Posts: 101
Joined: 01 Feb 2012, 13:11
GH nick: AssainGuy
Location: Hungary
Contact:

Re: Need some help with mission coding!!

Post by AssainGuy »

BenMillard wrote:You can code missions without using the 'proper' mission system. I don't know of any custom-made maps which use the full gang system with separate mission and all the rest of it.

MultiSlayer Cops & Robbers is a good demo of how to make multiplayer missions in a quick and dirty way. Please, write all your missions so they work in multiplayer for 1-6 players!
I write missions with notepad =)
I'll get that Cops 'n Robbers map if i can find it, i'll sneak in for sum delicious codes.
[life] here's your gingerman
i come here sometimes
Software Development / Audio Engineering
User avatar
elypter
Immortal
Posts: 1120
Joined: 26 Dec 2009, 23:53
GH nick: elypter

Re: Need some help with mission coding!!

Post by elypter »

AssainGuy wrote: I write missions with notepad =)
there is notepad++ for which i made syntax hilighting and code folding:
http://gtamp.com/forum/viewtopic.php?f=4&t=218

and there is scriptpad
http://gtamp.com/forum/viewtopic.php?f=4&t=221
yur sa'nok ngeyä
User avatar
AssainGuy
Hitman
Hitman
Posts: 101
Joined: 01 Feb 2012, 13:11
GH nick: AssainGuy
Location: Hungary
Contact:

Re: Need some help with mission coding!!

Post by AssainGuy »

elypter wrote:
AssainGuy wrote: I write missions with notepad =)
there is notepad++ for which i made syntax hilighting and code folding:
http://gtamp.com/forum/viewtopic.php?f=4&t=218

and there is scriptpad
http://gtamp.com/forum/viewtopic.php?f=4&t=221
[life] 4 U 2
i come here sometimes
Software Development / Audio Engineering
Post Reply