Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   What is wiceblock.png (https://forums.graalonline.com/forums/showthread.php?t=134266682)

E_Man 06-20-2012 06:13 PM

What is wiceblock.png
 
I was randomly browsing through the graal folders when I found the image wiceblock.png in weapons. I thought to myself that was from an original script since it was in the weapons folder, but when I looked on the internet about what it was, I could not find anything. What was the script that wiceblock.png was in supposed to do?

wiceblock.png
http://i45.tinypic.com/21mdqap.png

smirt362 06-20-2012 06:29 PM

Looks big enough for a graalian to fit into, maybe it was used to show players as frozen.

E_Man 06-20-2012 06:36 PM

Quote:

Originally Posted by smirt362 (Post 1697844)
Looks big enough for a graalian to fit into, maybe it was used to show players as frozen.

Ya, that makes sense, it probably was that, though the image is not semi transparent.

cbk1994 06-20-2012 07:23 PM

Quote:

Originally Posted by E_Man (Post 1697847)
Ya, that makes sense, it probably was that, though the image is not semi transparent.

Semi-transparency wouldn't have been used in Graal images 10+ years ago.

ffcmike 06-20-2012 07:30 PM

It was invoked on the player upon touching a primitive Ice Arrow NPC:

PHP Code:

if (playerenterstimeout 0.05;
if (
playertouchsme) {
  if (
playerdir==2putleaps 5,x,y;
  else {
    
set icefreeze;
    
putnpc wiceblock.gif,iceblock.txt,playerx-2/16,playery-7/16;
  }
  
destroy;
}
if (
timeout) {
  
timeout 0.05;
  
y-=0.7;
  if (
y<2destroy;


PHP Code:

if (playerenters) {
  if (
icefreeze) {
    
freezeplayer 3;
    
playerx-2/16;
    
playery-7/16;
    unset 
icefreeze;
  }
  
timeout 3;
}
if (
timeout) {
  
putleaps 5,x+1,y;
  
putleaps 5,x+1,y+2;
  
destroy;



E_Man 06-20-2012 07:49 PM

Quote:

t was invoked on the player upon touching a primitive Ice Arrow NPC:

PHP Code:
if (playerenters) timeout = 0.05;
if (playertouchsme) {
if (playerdir==2) putleaps 5,x,y;
else {
set icefreeze;
putnpc wiceblock.gif,iceblock.txt,playerx-2/16,playery-7/16;
}
destroy;
}
if (timeout) {
timeout = 0.05;
y-=0.7;
if (y<2) destroy;
}
PHP Code:
if (playerenters) {
if (icefreeze) {
freezeplayer 3;
x = playerx-2/16;
y = playery-7/16;
unset icefreeze;
}
timeout = 3;
}
if (timeout) {
putleaps 5,x+1,y;
putleaps 5,x+1,y+2;
destroy;
}
What is iceblock.txt, actually I have seen lots of scripts refer back to a .txt. Is there somewhere where these are located?

ffcmike 06-20-2012 07:52 PM

They also used to be within the weapons folder on a much older version of Graal.

Luda 06-20-2012 08:28 PM

I think it was used during Classic: GTA's Magic/Well quest. When you touhed an ice block you would be frozen for a couple of seconds, could have been a different graphic though

DustyPorViva 06-20-2012 08:30 PM

Old as dirt. Thor posted the original script, but it was never used. It's as old as the Shuriken and Hammer scripts.

maximus_asinus 06-20-2012 10:41 PM

Didn't the old cane of ... something use this? Maybe it is what Thor spoke of. I remember laming people in sister Gertrude's with it.


All times are GMT +2. The time now is 03:52 PM.

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