Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   map (https://forums.graalonline.com/forums/showthread.php?t=13262)

Darkspector 09-29-2001 08:44 AM

map
 
this was not getting any where on the main furom so can any body tell me the script that lets be set the map and its txt thingy

Enigma_GP6 09-29-2001 09:12 AM

here, this is what I do, go to the top-most left level, then put a NPC woth this script:

PHP Code:

if (playerenters){
setmap yourmapname.format,textfilename.txt,0,0;


and then play the level, starting at 0 and 0. then the map should set.

-Graalian Rebel

Poogle 09-29-2001 10:20 PM

Quote:

Originally posted by Enigma_GP6
here, this is what I do, go to the top-most left level, then put a NPC woth this script:

PHP Code:

if (playerenters){
setmap yourmapname.format,textfilename.txt,0,0;


and then play the level, starting at 0 and 0. then the map should set.

-Graalian Rebel

The 0,0 can be changed and dont forget about: setminimap yourMINImapname.format,bigmapwhatever.txt,0,0;
setmap yourBIGmapname.format,bigmapwhatever.txt,0,0;
I sugest u but the script in a isweapon weapon like a -Map weapon so they dont see it

btedji 10-01-2001 08:50 AM

change the 0,0 to players[0].x,players[0].y

Shard_IceFire 10-01-2001 09:48 AM

Quote:

change the 0,0 to players[0].x,players[0].y
Actually, I believe the 0,0 are the x y coordinates it displays you at on the map when you aren't on one of the outside levels (like how on graal2001 where there is that clump of people shown in the middle of the forest or whatever)

btedji 10-01-2001 09:50 AM

Quote:

Originally posted by Shard_IceFire

Actually, I believe the 0,0 are the x y coordinates it displays you at on the map when you aren't on one of the outside levels (like how on graal2001 where there is that clump of people shown in the middle of the forest or whatever)

wow if that is true then that is good to know

James 10-01-2001 10:01 AM

even easier

if (created) {
setmap mapimage.format,yourbigmaptxtfile.txt,playerx,play ery
}

wetferret1 10-01-2001 11:01 AM

How do you make a map of a server when you have done all the levels?

grim_squeaker_x 10-01-2001 04:34 PM

Quote:

Originally posted by wetferret1
How do you make a map of a server when you have done all the levels?
First you make a bigmap.txt file (Or any other filename), then you do setmap wbowi1.gif,yourbigmap.txt,x,y; in a level, then press CTRL + M and it will automattically generate the map.


All times are GMT +2. The time now is 10:16 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.