Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Images + GMAPs = mismatch? (https://forums.graalonline.com/forums/showthread.php?t=73903)

xXziroXx 05-10-2007 11:35 AM

Images + GMAPs = mismatch?
 
Is there any way of making it so larger images just doesn't "blip" away when you're too far away from them on a GMAP? Logon Mythic and walk around to see what I mean.

Chompy 05-10-2007 02:40 PM

I think GK fixed this by using ganises, as the towers and such are ganises

xXziroXx 05-10-2007 02:49 PM

Quote:

Originally Posted by Chompy (Post 1306750)
I think GK fixed this by using ganises, as the towers and such are ganises

Ah yes, that's true! Should have thought of it, cheers!

Crow 05-10-2007 03:26 PM

Its not really fixed if you use ganis. For example a gani for a tree...if the npc itself disappears (the part of a gani that normally blocks), the rest of it will also disappear. I just used setshape2 on Esteria to fix this. That should work well ;)

xXziroXx 05-10-2007 04:22 PM

Quote:

Originally Posted by Crow (Post 1306760)
Its not really fixed if you use ganis. For example a gani for a tree...if the npc itself disappears (the part of a gani that normally blocks), the rest of it will also disappear. I just used setshape2 on Esteria to fix this. That should work well ;)

Not quite in my case..

PHP Code:

//#CLIENTSIDE
function onCreated()
{
  
setImgPart(image4*1613*167*165*16);
  
showImg(200image413);
  
changeImgPart(20000getImgWidth(image), getImgHeight(image) - (3*16));
  
changeImgMode(2001);

  
setShape2(54, {
    
02222220,
    
2222222222,
    
2222222222,
    
2222222222
  
});
  
drawUnderPlayer();
  
setTimer(.05);
}

function 
onTimeOut()
{
  if (
player.x in |46| && player.y in |13y|) changeImgColors(200111.5);
  else 
changeImgColors(2001111);
  
  
setTimer(.05);



Crow 05-10-2007 05:40 PM

Yea. If the NPC is gone, the showimg thats like 13 tiles over the NPC is also gone. I made a single image out of the stuff I needed and used setshape2 if I wanted to change the block/non-block stuff ;o


All times are GMT +2. The time now is 07:22 PM.

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