Graal Forums

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

Salaisuus 12-17-2004 04:58 AM

Gmap tutorial
 
Is there a tutorial for scripting with gmap?
Lot of my npcs seem not to work with gmaps.

Something that explains what needs to be done difrently in scripts,
and what commands dont work on gmap (like hitobject aparently).

haro41 12-17-2004 06:13 AM

http://ilfirin.org/_graal/?page=gmap

Uiaad_dice_mage 12-17-2004 06:16 AM

i believe he doesnt mean how gmaps work but rather what scripting commands dont work on gmaps

ZeroTrack 12-17-2004 03:38 PM

Quote:

Originally Posted by Salaisuus
Something that explains what needs to be done difrently in scripts,
and what commands dont work on gmap (like hitobject aparently).

it would help to show the script as well, and hitobject isnt really the best way to check if something or someone was shot , hit , stabed ... etc , gmap or not.

and i believe you've already made this post once before.... http://forums.graalonline.com/forums...hitobject+gmap

Salaisuus 12-18-2004 03:28 AM

Quote:

and i believe you've already made this post once before
yes but I didnt get any usefull ansvers.

No one seems to know anything about whats scripts work and how on gmap.

I dont mean for a spesific script, I most likely need to do many in the future so I'd like to know how the gmap works.

Like with the hitobject before, I cant understand why it works on one (upperleft corner) level of gmap and not others.

It must have something to do with x and y...

Polo 12-18-2004 06:40 PM

the x and y in hitobject are wrapped to the dimension of a standard graal level, so if you try a co-ordinate higher than those, then they are modded (%) down, and so appear in the top left of the gmap.

Salaisuus 12-20-2004 01:49 PM

Guess hitobject should be called deprecated since monste servers (if not all) use gmaps.

Oh well, I used hitplayer and some params to replace it.


All times are GMT +2. The time now is 01:08 PM.

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