Page 1 of 1

Need some help with mission coding!!

Posted: 01 Feb 2012, 17:48
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!

Re: Need some help with mission coding!!

Posted: 01 Feb 2012, 18:09
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.

Re: Need some help with mission coding!!

Posted: 01 Feb 2012, 18:22
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]

Re: Need some help with mission coding!!

Posted: 01 Feb 2012, 18:40
by elypter
AssainGuy wrote: gingerman cookie [life]
epic win!

Re: Need some help with mission coding!!

Posted: 01 Feb 2012, 18:45
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 ?

Re: Need some help with mission coding!!

Posted: 01 Feb 2012, 18:55
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!

Re: Need some help with mission coding!!

Posted: 01 Feb 2012, 19:14
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

Re: Need some help with mission coding!!

Posted: 01 Feb 2012, 19:24
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

Re: Need some help with mission coding!!

Posted: 01 Feb 2012, 19:53
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