Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 09-29-2001, 08:44 AM
Darkspector Darkspector is offline
Registered User
Join Date: May 2001
Location: under the newjersey turnpike in a styrfoam box
Posts: 380
Darkspector is on a distinguished road
Send a message via ICQ to Darkspector
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
__________________
[img]ftp://dragonlance.keenspace.com/20020902.gif[/img]
Reply With Quote
  #2  
Old 09-29-2001, 09:12 AM
Enigma_GP6 Enigma_GP6 is offline
Banned
Join Date: Jul 2001
Location: Who?
Posts: 261
Enigma_GP6 is on a distinguished road
Send a message via ICQ to Enigma_GP6 Send a message via AIM to 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
Reply With Quote
  #3  
Old 09-29-2001, 10:20 PM
Poogle Poogle is offline
Registered User
Poogle's Avatar
Join Date: Jun 2001
Posts: 2,471
Poogle is on a distinguished road
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
Reply With Quote
  #4  
Old 10-01-2001, 08:50 AM
btedji btedji is offline
bryan986
btedji's Avatar
Join Date: Apr 2001
Location: Force 10
Posts: 1,153
btedji is on a distinguished road
Send a message via ICQ to btedji Send a message via AIM to btedji Send a message via Yahoo to btedji
change the 0,0 to players[0].x,players[0].y
Reply With Quote
  #5  
Old 10-01-2001, 09:48 AM
Shard_IceFire Shard_IceFire is offline
Registered User
Shard_IceFire's Avatar
Join Date: Jun 2001
Location: Eastern Harkoonia
Posts: 861
Shard_IceFire is on a distinguished road
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)
__________________

-=Shard IceFire=-
Reply With Quote
  #6  
Old 10-01-2001, 09:50 AM
btedji btedji is offline
bryan986
btedji's Avatar
Join Date: Apr 2001
Location: Force 10
Posts: 1,153
btedji is on a distinguished road
Send a message via ICQ to btedji Send a message via AIM to btedji Send a message via Yahoo to btedji
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
Reply With Quote
  #7  
Old 10-01-2001, 10:01 AM
James James is offline
LOCAL DOUCHEBAG
James's Avatar
Join Date: Aug 2001
Location: Oregon
Posts: 3,132
James is a splendid one to beholdJames is a splendid one to beholdJames is a splendid one to beholdJames is a splendid one to behold
Send a message via AIM to James
even easier

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

JAMES BAY PACKERS
2011 FANTASY FOOTBALL CHAMPIONS
2012 FANTASY FOOTBALL CHAMPIONS


“If I can slow it down in my mind... things will be fine."

-Aaron Rodgers
2011's NFL Most Valuable Player




Reply With Quote
  #8  
Old 10-01-2001, 11:01 AM
wetferret1 wetferret1 is offline
Script Cow - MOOO!
wetferret1's Avatar
Join Date: Aug 2001
Location: Oregon, USA
Posts: 1,285
wetferret1 is on a distinguished road
Send a message via AIM to wetferret1
How do you make a map of a server when you have done all the levels?
__________________
[img]http://s-o.clanpages.com/wet***getlal.png[/img]
Quote:
Originally posted by Loriel
I am not corrupt, and I will ban you if you don't believe that.
(-=Wetferret IceFire=-)
Reply With Quote
  #9  
Old 10-01-2001, 04:34 PM
grim_squeaker_x grim_squeaker_x is offline
Retired Oldbie
grim_squeaker_x's Avatar
Join Date: Mar 2001
Posts: 3,084
grim_squeaker_x will become famous soon enough
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.
__________________

Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 04:38 PM.


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