Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Closed Thread
 
Thread Tools Search this Thread Display Modes
  #1  
Old 08-07-2004, 04:08 PM
R0bin R0bin is offline
Banned
R0bin's Avatar
Join Date: Oct 2002
Location: Wales, UK
Posts: 828
R0bin is on a distinguished road
Send a message via AIM to R0bin
The lighting on the particle script isnt that accurate.

Graal should only run on 20fps, 1/20 = 0.05 as in the smallest timeout or sleep you can do. whee.

Shame its not a perfect sphere, Master Storm or someone showed me a sphere which was much MUCH more efficient than both kai's and this one, it was maybe 30 lines of code? didnt skip at all, etc.
  #2  
Old 08-08-2004, 12:15 AM
amonrabr amonrabr is offline
Scripter
Join Date: Nov 2001
Location: Brazil
Posts: 374
amonrabr is on a distinguished road
Quote:
Originally Posted by R0bin
The lighting on the particle script isnt that accurate.

Graal should only run on 20fps, 1/20 = 0.05 as in the smallest timeout or sleep you can do. whee.

Shame its not a perfect sphere, Master Storm or someone showed me a sphere which was much MUCH more efficient than both kai's and this one, it was maybe 30 lines of code? didnt skip at all, etc.
when an event has an external param.. like Keypress has #p() params.. The script is called twice. So this way you can run it faster.. Sure that normal timeout cant be faster then 50 miliseconds. But you can call your script twice.. thats what I mean and I proved..

Envy is the way of the fool, something that many people in Graal should learn. Like XXIII centuries ago Socrates showed the smart guy is the one that knows how much things needs to learn. I can agree that are billion people better then me.. better then anyone when programming, but a message like "Hi... your script is fun" or something like that would be great.. like you said your message, I feel like my week making the scripts were nothing..
  #3  
Old 08-08-2004, 01:04 AM
R0bin R0bin is offline
Banned
R0bin's Avatar
Join Date: Oct 2002
Location: Wales, UK
Posts: 828
R0bin is on a distinguished road
Send a message via AIM to R0bin
Quote:
Originally Posted by amonrabr
Envy is the way of the fool, something that many people in Graal should learn. Like XXIII centuries ago Socrates showed the smart guy is the one that knows how much things needs to learn. I can agree that are billion people better then me.. better then anyone when programming, but a message like "Hi... your script is fun" or something like that would be great.. like you said your message, I feel like my week making the scripts were nothing..
Who are you talking to?
  #4  
Old 08-08-2004, 06:15 AM
Python523 Python523 is offline
Banned
Join Date: Aug 2001
Location: Illinois
Posts: 3,498
Python523 is on a distinguished road
Quote:
Originally Posted by amonrabr
Envy is the way of the fool, something that many people in Graal should learn. Like XXIII centuries ago Socrates showed the smart guy is the one that knows how much things needs to learn. I can agree that are billion people better then me.. better then anyone when programming, but a message like "Hi... your script is fun" or something like that would be great.. like you said your message, I feel like my week making the scripts were nothing..
Where's the envy
  #5  
Old 08-08-2004, 06:38 AM
osrs osrs is offline
Graalian since 1998
osrs's Avatar
Join Date: Mar 2002
Location: Brazil
Posts: 2,724
osrs is on a distinguished road
Send a message via ICQ to osrs Send a message via AIM to osrs Send a message via MSN to osrs Send a message via Yahoo to osrs
Quote:
Originally Posted by Nappa
I think Kai should strike back with an even greater 3d object.
I don't think Amon-Ra's intention was beat Kaimetsu's work.
__________________
"Ability is what you are capable of doing. Motivation determines what you do. Attitude determines how well you do it."
Facebook: facebook.com/raysilvadotnet /
  #6  
Old 08-08-2004, 06:07 AM
Kaimetsu Kaimetsu is offline
Script Monkey
Kaimetsu's Avatar
Join Date: May 2001
Posts: 18,222
Kaimetsu will become famous soon enough
Quote:
Originally Posted by R0bin
Shame its not a perfect sphere, Master Storm or someone showed me a sphere which was much MUCH more efficient than both kai's and this one, it was maybe 30 lines of code? didnt skip at all, etc.
There's a difference between code size and efficiency. I believe I've seen what you're referring to. It's far more than thirty lines, the lighting doesn't work properly and it cheats by using showpoly2 rather than projecting manually.

Quote:
Originally Posted by amonrabr
when an event has an external param.. like Keypress has #p() params.. The script is called twice
Yes. But the screen only updates once, meaning the second processing was wasted time, serving no purpose but to desync the animation slightly. I already explained this.
__________________
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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:45 PM.


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