Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting > New Scripting Engine (GS2)
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #16  
Old 05-01-2006, 03:34 AM
Angel_Light Angel_Light is offline
Varia Developer
Angel_Light's Avatar
Join Date: Nov 2005
Location: Knoxville, TN
Posts: 1,684
Angel_Light is on a distinguished road
Send a message via AIM to Angel_Light Send a message via MSN to Angel_Light
This isnt what I meant. I meant like bending random parts of tiles on a level
__________________
Deep into the Darkness peering...
Reply With Quote
  #17  
Old 05-01-2006, 09:28 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 will become famous soon enough
Right, which could be done by rapidly changing the Z of that tile (somehow) then updating the board locally. Then setting it back when you're done. Trouble is, that'd just bend the tiles, not the NPC Image of a sign, or a door, or a tree, or a shopkeeper, or a beer...
__________________
"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
  #18  
Old 05-02-2006, 01:20 AM
Angel_Light Angel_Light is offline
Varia Developer
Angel_Light's Avatar
Join Date: Nov 2005
Location: Knoxville, TN
Posts: 1,684
Angel_Light is on a distinguished road
Send a message via AIM to Angel_Light Send a message via MSN to Angel_Light
well we could set each img (though it would take forever to do) with certain script to change with tiles. :/
__________________
Deep into the Darkness peering...
Reply With Quote
  #19  
Old 05-02-2006, 01:25 AM
ZeLpH_MyStiK ZeLpH_MyStiK is offline
Scripter
ZeLpH_MyStiK's Avatar
Join Date: May 2003
Location: NYC
Posts: 553
ZeLpH_MyStiK is on a distinguished road
Send a message via MSN to ZeLpH_MyStiK Send a message via Yahoo to ZeLpH_MyStiK
Quote:
Originally Posted by Tyhm
Right, which could be done by rapidly changing the Z of that tile (somehow) then updating the board locally. Then setting it back when you're done. Trouble is, that'd just bend the tiles, not the NPC Image of a sign, or a door, or a tree, or a shopkeeper, or a beer...
Which is what the script I posted was for.
__________________
Reply With Quote
  #20  
Old 05-02-2006, 02:20 PM
ApothiX ApothiX is offline
Okiesmokie
Join Date: May 2004
Posts: 1,447
ApothiX is on a distinguished road
Quote:
Originally Posted by Tyhm
Right, which could be done by rapidly changing the Z of that tile (somehow) then updating the board locally. Then setting it back when you're done. Trouble is, that'd just bend the tiles, not the NPC Image of a sign, or a door, or a tree, or a shopkeeper, or a beer...
It causes a lot of lag when you are attempting to update the terrain using scripts. If you're trying to do it 'rapidly', it will never happen.
__________________


[06:24:19] * Parts: Skyld (i=silent@unaffiliated/skyld) ("Perhaps Okiesmokie did not realise that I like the boys. ")
Reply With Quote
  #21  
Old 05-02-2006, 06:18 PM
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
I'd feel bad for the npc server.
Reply With Quote
  #22  
Old 05-02-2006, 09:02 PM
ApothiX ApothiX is offline
Okiesmokie
Join Date: May 2004
Posts: 1,447
ApothiX is on a distinguished road
Quote:
Originally Posted by KuJi
I'd feel bad for the npc server.
I tried to make a wave effect for my server by modifying the waterheight variable and updating the terrain every so often, and it lagged horribly
__________________


[06:24:19] * Parts: Skyld (i=silent@unaffiliated/skyld) ("Perhaps Okiesmokie did not realise that I like the boys. ")
Reply With Quote
  #23  
Old 05-02-2006, 10:04 PM
Angel_Light Angel_Light is offline
Varia Developer
Angel_Light's Avatar
Join Date: Nov 2005
Location: Knoxville, TN
Posts: 1,684
Angel_Light is on a distinguished road
Send a message via AIM to Angel_Light Send a message via MSN to Angel_Light
Maybe this feature will be added to GS3 along with my "playerkills()" function. XD
__________________
Deep into the Darkness peering...
Reply With Quote
  #24  
Old 05-03-2006, 02:23 PM
ApothiX ApothiX is offline
Okiesmokie
Join Date: May 2004
Posts: 1,447
ApothiX is on a distinguished road
Quote:
Originally Posted by Angel_Light
Maybe this feature will be added to GS3 along with my "playerkills()" function. XD
What 'feature'? People have given you code examples on how to do it already.
__________________


[06:24:19] * Parts: Skyld (i=silent@unaffiliated/skyld) ("Perhaps Okiesmokie did not realise that I like the boys. ")
Reply With Quote
  #25  
Old 05-04-2006, 09:39 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 will become famous soon enough
pixeldata(x,y,minlayer,maxlayer) - returns the pixel (array of floats, length 4: r,g,b,a) at the specified location, between the layers listed (works like the showimg layers, 0 to 4)

With such a function it would be possible to re-draw a section of the board "stretched".
Even better:
getimage(x,y,x0,y0,minlayer,maxlayer) - returns an image (just as if it was an actual png) of the data from x to x0 and y to y0, so you can warp this temporary clientside-only screenshotlet. Take a picture of the level and warp that.
__________________
"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
  #26  
Old 05-05-2006, 01:33 PM
Angel_Light Angel_Light is offline
Varia Developer
Angel_Light's Avatar
Join Date: Nov 2005
Location: Knoxville, TN
Posts: 1,684
Angel_Light is on a distinguished road
Send a message via AIM to Angel_Light Send a message via MSN to Angel_Light
it seems that lags players if there 6 or players watching and Okie, nonething works on that. There no way to read who just killed who.
__________________
Deep into the Darkness peering...
Reply With Quote
  #27  
Old 05-05-2006, 08:33 PM
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
GS3 X_X?

I don't see that as happeing.
Reply With Quote
  #28  
Old 05-05-2006, 09:46 PM
ApothiX ApothiX is offline
Okiesmokie
Join Date: May 2004
Posts: 1,447
ApothiX is on a distinguished road
Quote:
Originally Posted by Angel_Light
There no way to read who just killed who.
I don't really see how that is relevant to this thread?
__________________


[06:24:19] * Parts: Skyld (i=silent@unaffiliated/skyld) ("Perhaps Okiesmokie did not realise that I like the boys. ")
Reply With Quote
  #29  
Old 05-05-2006, 09:53 PM
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 will become famous soon enough
(Because Mr Omega over here's trying to make a weapon, I guess)
__________________
"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
  #30  
Old 05-05-2006, 09:59 PM
ApothiX ApothiX is offline
Okiesmokie
Join Date: May 2004
Posts: 1,447
ApothiX is on a distinguished road
Quote:
Originally Posted by Tyhm
(Because Mr Omega over here's trying to make a weapon, I guess)
No, he was talking about this in an older thread. He wants to know who killed who using the default attack system. Using a custom system would make such detection easy to implement.
__________________


[06:24:19] * Parts: Skyld (i=silent@unaffiliated/skyld) ("Perhaps Okiesmokie did not realise that I like the boys. ")
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 10:07 PM.


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