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 03-31-2006, 03:39 AM
Warcaptain Warcaptain is offline
Banned
Warcaptain's Avatar
Join Date: Jun 2001
Location: Virginia, USA
Posts: 2,086
Warcaptain is on a distinguished road
Send a message via ICQ to Warcaptain Send a message via AIM to Warcaptain Send a message via Yahoo to Warcaptain
GMAP and copylevel()

IIIIIIIIIIIIIII have a question....

Since the player is shown on the gmap (ie: if an npc's level is set to the actual .nw it wont show up)

If I have 2 gmaps using the same generated NW files.. if one player is on one gmap and the other is on the second one using the files.. will they be completely in..contactable? Will it be like having two different gmaps and .nw files?

Will putnpc2's show up like dbnpcs do (where their level has to be set to the gmap)

So I could have a putnpc2 put on the one gmap file and another on the other.. and they would be completely seperate?

K.. well I hope someone knows this.. or Stefan you can clarify because this would be VERY helpful.
Reply With Quote
  #2  
Old 03-31-2006, 04:34 AM
KuJi KuJi is offline
Banned
Join Date: Apr 2004
Location: Staten Island, New York
Posts: 2,202
KuJi will become famous soon enough
Send a message via ICQ to KuJi Send a message via AIM to KuJi Send a message via MSN to KuJi Send a message via Yahoo to KuJi
What would be needed for 2 gmaps on the same levels? And they will most likely not be able to see each other, but why not just make 2 folders of the same stuff? Then just update both at the same time.

( Just a suggestion )

Also, I can go test it, actually I will. I'll post results in 5 minutes.
Reply With Quote
  #3  
Old 03-31-2006, 04:35 AM
Warcaptain Warcaptain is offline
Banned
Warcaptain's Avatar
Join Date: Jun 2001
Location: Virginia, USA
Posts: 2,086
Warcaptain is on a distinguished road
Send a message via ICQ to Warcaptain Send a message via AIM to Warcaptain Send a message via Yahoo to Warcaptain
I thought to test it too.. but I am not sure I will be able to think to test everything so I wanted to hear it from Stefan how the software will handle that type of thing.
Reply With Quote
  #4  
Old 03-31-2006, 04:40 AM
KuJi KuJi is offline
Banned
Join Date: Apr 2004
Location: Staten Island, New York
Posts: 2,202
KuJi will become famous soon enough
Send a message via ICQ to KuJi Send a message via AIM to KuJi Send a message via MSN to KuJi Send a message via Yahoo to KuJi
Alright, I tested it. I am on 2 different Gmaps, and I don't see each other. I also see all npcs, and everything has loaded.

If you want, I can show you on Graal X. ( I am logged on 2 accounts at the moment)

*Edit* I'll go try putnpc2
Reply With Quote
  #5  
Old 03-31-2006, 04:43 AM
Warcaptain Warcaptain is offline
Banned
Warcaptain's Avatar
Join Date: Jun 2001
Location: Virginia, USA
Posts: 2,086
Warcaptain is on a distinguished road
Send a message via ICQ to Warcaptain Send a message via AIM to Warcaptain Send a message via Yahoo to Warcaptain
Try PUTNPC2 and also try DBNPC if you are actually testing it.

Might want to try triggeraction as well to see if an npc on one gmap can receive the action.
Reply With Quote
  #6  
Old 03-31-2006, 04:45 AM
KuJi KuJi is offline
Banned
Join Date: Apr 2004
Location: Staten Island, New York
Posts: 2,202
KuJi will become famous soon enough
Send a message via ICQ to KuJi Send a message via AIM to KuJi Send a message via MSN to KuJi Send a message via Yahoo to KuJi
Alright, putnpc2 only worked with graalx.gmap, and not graalx2.gmap (the new one)

Trying DBNPCs now. (but I guess its not worth it now that putnpc2 doesnt wrk :-( )

Hmm, for DBNPC, should I just try a character that walks around? I believe it should work as you do need to specify which level (gmap) it goes under and the x/y of it.

-- Test Finished --
A lot of npcs do not work, half the time the npcs do not show if you log on the gmap, but if you are warped they show, but do not work with actions etc..

Database npcs do not work properly.

You should request this feature if you would like it.
-- Test Results Ended --
Reply With Quote
  #7  
Old 03-31-2006, 05:34 AM
Warcaptain Warcaptain is offline
Banned
Warcaptain's Avatar
Join Date: Jun 2001
Location: Virginia, USA
Posts: 2,086
Warcaptain is on a distinguished road
Send a message via ICQ to Warcaptain Send a message via AIM to Warcaptain Send a message via Yahoo to Warcaptain
yes this is disappointing :-\

will have to talk to stefan.
Reply With Quote
  #8  
Old 03-31-2006, 05:37 AM
napo_p2p napo_p2p is offline
oh snaps
napo_p2p's Avatar
Join Date: Sep 2003
Location: Pismo Beach, California
Posts: 2,118
napo_p2p has a spectacular aura aboutnapo_p2p has a spectacular aura about
Send a message via AIM to napo_p2p Send a message via MSN to napo_p2p
Quote:
Originally Posted by Warcaptain
yes this is disappointing :-\
No, it is expected.

Two different .gmap files are just like two different .nw files.
__________________
Scito hoc super omnia.
Haec vita est tua una sola.
Dum vita superest, utere maxime quoque puncto, momento, et hora quae habes.
Tempus neminem non manet.
Noli manere tempus.
Carpe Diem

Seize the Day.
Reply With Quote
  #9  
Old 03-31-2006, 05:39 AM
Warcaptain Warcaptain is offline
Banned
Warcaptain's Avatar
Join Date: Jun 2001
Location: Virginia, USA
Posts: 2,086
Warcaptain is on a distinguished road
Send a message via ICQ to Warcaptain Send a message via AIM to Warcaptain Send a message via Yahoo to Warcaptain
yes... thats what I thought Napo.. but if it worked like that I could have 2 different gmaps that use the same .nw levels as a reference but players on one gmap can not access or see any npcs/players on that gmap (except for local ones that are part of the level)

but it doesnt work.. and that wont let me do what i want :-\

i hope stefan can work it so that does work.
Reply With Quote
  #10  
Old 03-31-2006, 06:53 AM
KuJi KuJi is offline
Banned
Join Date: Apr 2004
Location: Staten Island, New York
Posts: 2,202
KuJi will become famous soon enough
Send a message via ICQ to KuJi Send a message via AIM to KuJi Send a message via MSN to KuJi Send a message via Yahoo to KuJi
Why not just make two folders with the same levels and diff gmaps?

Not sure if that would work, but you can always rename it to:
Gmap 1: gx_a01-1.nw
Gmap 2: gx_a01-2.nw

Then make the gmaps for each one, and when you edit something, upload for both.
Reply With Quote
  #11  
Old 03-31-2006, 06:55 AM
Warcaptain Warcaptain is offline
Banned
Warcaptain's Avatar
Join Date: Jun 2001
Location: Virginia, USA
Posts: 2,086
Warcaptain is on a distinguished road
Send a message via ICQ to Warcaptain Send a message via AIM to Warcaptain Send a message via Yahoo to Warcaptain
i would have to modify the gmap file.. it would be a lot more complicated than just copylevel();
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 06:21 PM.


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