Graal Forums  

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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 08-09-2001, 11:00 PM
ownerofbabylon ownerofbabylon is offline
Lord Helmut
ownerofbabylon's Avatar
Join Date: Jun 2001
Location: Gainesville FL
Posts: 1,763
ownerofbabylon is on a distinguished road
Send a message via ICQ to ownerofbabylon Send a message via AIM to ownerofbabylon
Map Placing

I have read similar post but none of them were really answered right. Can someone tell me how you make it so when a player enters a level it places them on the map and the map is loaded in there?

I have my map made and I want to add it so when the player starts it shows the map but I dont know how to make it show players on it.
__________________


Warrior of Light

WWW.BABYLONSERVER.COM
Reply With Quote
  #2  
Old 08-09-2001, 11:03 PM
KJS KJS is offline
The one, The only -
KJS's Avatar
Join Date: Apr 2001
Location: USA, Minnesota
Posts: 1,012
KJS is on a distinguished road
Send a message via AIM to KJS
so do you want it to place a map when the start in your player world or something???

or just when they goto a sertain level you want it to set your map?
__________________
Thanks,
-KJL
Reply With Quote
  #3  
Old 08-10-2001, 12:01 AM
ownerofbabylon ownerofbabylon is offline
Lord Helmut
ownerofbabylon's Avatar
Join Date: Jun 2001
Location: Gainesville FL
Posts: 1,763
ownerofbabylon is on a distinguished road
Send a message via ICQ to ownerofbabylon Send a message via AIM to ownerofbabylon
I have the overworld map and I want the players head to appear on a certain part of it when first entering the server. I do not know how to load the map so that the players appear on it.
__________________


Warrior of Light

WWW.BABYLONSERVER.COM
Reply With Quote
  #4  
Old 08-10-2001, 12:12 AM
G_yoshi G_yoshi is offline
Forbidden
G_yoshi's Avatar
Join Date: Mar 2001
Posts: 7,206
G_yoshi will become famous soon enough
Send a message via AIM to G_yoshi
Im not sure exactly what you mean or want, but my guess is that you want to show the map in a level, kinda like one of those mall maps and it puts the player's head on it like the "you are here" marker?

If that is what you want, you have to script it.
__________________
Reply With Quote
  #5  
Old 08-10-2001, 01:34 AM
LiquidIce00 LiquidIce00 is offline
RadioActive Monkeeh
LiquidIce00's Avatar
Join Date: Apr 2001
Location: dirty south
Posts: 2,112
LiquidIce00 is on a distinguished road
Send a message via ICQ to LiquidIce00 Send a message via AIM to LiquidIce00 Send a message via Yahoo to LiquidIce00
its the x,y part on setmap
__________________
LiquidIce *Owner* (UnholyNation)
-UN Website
http://www.unholynation.com
-UN Forum
http://forums.unholynation.com
-
-the thinker
-

-
onwall2 for nonp2p (i suck at onwall)
Reply With Quote
  #6  
Old 08-10-2001, 11:07 PM
mhermher mhermher is offline
galase galase!
mhermher's Avatar
Join Date: Jun 2001
Location: Sweden, Stockholm.
Posts: 2,012
mhermher is on a distinguished road
Send a message via ICQ to mhermher Send a message via AIM to mhermher Send a message via Yahoo to mhermher
Just add this to a npc:


NPC Code:
if (playerenters) {
setminimap "youtminimapimghere","yourmaptxt",playerx,play ery;
setmap "yourbigmapimghere","yourmaptxt",playerx,playe ry;
}

__________________
Donate money for my trip to Germany

Adiarde Manager
Reply With Quote
  #7  
Old 08-11-2001, 11:41 AM
Neonight Neonight is offline
where da wmdz at
Neonight's Avatar
Join Date: Jun 2001
Location: Windsor, Illinois
Posts: 3,665
Neonight is on a distinguished road
Send a message via AIM to Neonight
if(playerenters){setmap filename,txtfile,x,y; setminimap filename,same txtfile,x,y}
Reply With Quote
  #8  
Old 08-11-2001, 09:39 PM
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
The X and Y coordinates you define when you put that code in doesn't tell it where to put the player on the map! It tells it where to put the player on the map when they AREN'T on a map level...You know like on Graal2001 how when people aren't on the map it all shows them in the middle of that forest?

Also, when you define the map txt file, that is what detects where to show you on the map..
__________________

-=Shard IceFire=-
Reply With Quote
  #9  
Old 08-12-2001, 05:04 AM
LiquidIce00 LiquidIce00 is offline
RadioActive Monkeeh
LiquidIce00's Avatar
Join Date: Apr 2001
Location: dirty south
Posts: 2,112
LiquidIce00 is on a distinguished road
Send a message via ICQ to LiquidIce00 Send a message via AIM to LiquidIce00 Send a message via Yahoo to LiquidIce00
Quote:
Originally posted by Shard_IceFire
The X and Y coordinates you define when you put that code in doesn't tell it where to put the player on the map! It tells it where to put the player on the map when they AREN'T on a map level...You know like on Graal2001 how when people aren't on the map it all shows them in the middle of that forest?

Also, when you define the map txt file, that is what detects where to show you on the map..
yes.. dont use playerx,playery for x,y . it gets messy and depending on where you are you will see urself and receive some pm's in some weird places on the screen =)
I suggest you tryout diff numbers like 1-5 or something . doesnt need to be a big number since a map is small
__________________
LiquidIce *Owner* (UnholyNation)
-UN Website
http://www.unholynation.com
-UN Forum
http://forums.unholynation.com
-
-the thinker
-

-
onwall2 for nonp2p (i suck at onwall)
Reply With Quote
  #10  
Old 08-12-2001, 07:21 AM
General General is offline
Banned
Join Date: Apr 2001
Location: Station Square
Posts: 984
General is on a distinguished road
Send a message via ICQ to General Send a message via AIM to General Send a message via Yahoo to General
....hmm...cool, i didnt know tjhat
Reply With Quote
  #11  
Old 08-14-2001, 06:35 AM
Tyhm Tyhm is offline
Psionic Youth
Tyhm's Avatar
Join Date: Mar 2001
Location: Babord, West Graal Deaths:1009 Kills:1
Posts: 5,635
Tyhm has a spectacular aura about
the last 2 numbers are the X and Y in levels.
__________________
"Whatever," said Bean, "I was just glad to get out of the toilet."

"Power does not corrupt. Fear corrupts, perhaps the fear of a loss of power."- John Steinbeck
"I'm only acting retarded, what's your excuse?" queried the Gord.
- My pet, the Levelup Gnome

http://forums.graalonline.com/forums...&postcount=233
Reply With Quote
  #12  
Old 08-14-2001, 06:37 AM
ownerofbabylon ownerofbabylon is offline
Lord Helmut
ownerofbabylon's Avatar
Join Date: Jun 2001
Location: Gainesville FL
Posts: 1,763
ownerofbabylon is on a distinguished road
Send a message via ICQ to ownerofbabylon Send a message via AIM to ownerofbabylon
Quote:
Originally posted by Shard_IceFire
The X and Y coordinates you define when you put that code in doesn't tell it where to put the player on the map! It tells it where to put the player on the map when they AREN'T on a map level...You know like on Graal2001 how when people aren't on the map it all shows them in the middle of that forest?

Also, when you define the map txt file, that is what detects where to show you on the map..
ooooo! now I got it!
__________________


Warrior of Light

WWW.BABYLONSERVER.COM
Reply With Quote
  #13  
Old 08-14-2001, 07:23 AM
ownerofbabylon ownerofbabylon is offline
Lord Helmut
ownerofbabylon's Avatar
Join Date: Jun 2001
Location: Gainesville FL
Posts: 1,763
ownerofbabylon is on a distinguished road
Send a message via ICQ to ownerofbabylon Send a message via AIM to ownerofbabylon
So can someone give me this exactly?

i have babylonmap.png, babylonmap.txt, and I want the map to be added (so they can hit M and see it) when they enter onlinestartlocal.graal

does anyone know how to do this?
__________________


Warrior of Light

WWW.BABYLONSERVER.COM
Reply With Quote
  #14  
Old 08-14-2001, 07:32 AM
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 ownerofbabylon
So can someone give me this exactly?

i have babylonmap.png, babylonmap.txt, and I want the map to be added (so they can hit M and see it) when they enter onlinestartlocal.graal

does anyone know how to do this?
Fully Made Script:

//Babylon Map Script
setmap babylonbigmap.png,thebabylon.txt,1,1;
setminimap minibabylonmap.png,thebabylon.txt,1,1;

BTW Have you finished my map.txt?
Reply With Quote
  #15  
Old 08-14-2001, 07:34 AM
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 Poogle

Fully Made Script:

//Babylon Map Script
setmap babylonbigmap.png,thebabylon.txt,1,1;
setminimap minibabylonmap.png,thebabylon.txt,1,1;

BTW Have you finished my map.txt?
or put it in a isweapon
Reply With Quote
Reply


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 11:57 PM.


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