Creation/Dev/Releases/Client/NewFeatures2004: Difference between revisions

From Graal Bible
No edit summary
No edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
-------------------------------
[[Category:Scripting Reference]]
New features/bug fixes in v2.22
==2.22==
-------------------------------


v2.22 enables the third tab on the serverlist.
v2.22 enables the third tab on the serverlist.
Line 12: Line 11:


Other changes in this version:
Other changes in this version:
 
* the script command showani works better on stats layer: the body image is drawn correctly  
the script command showani works better
* new script variable 'gravity':
  on stats layer:
** when you change that variable then the behaviour of projectiles changes - by default the z attribute of a projectile is decreased by 2 each second (0.1 each frame)
  the body image is drawn correctly  
** if you increase the gravity, then the arrows fall down faster, if you decrease the gravity then arrows fly longer
 
** if you decrease the gravity and shoot it in a low angle (between 0 and 0.5) you can easier simulate pistoles or guns
new script variable 'gravity': when you
** don't forget to change the gravity variable on both client and server side (note: with v5.1 this is not required anymore)
  change that variable then the behaviour
* new scripting variable 'downloadsize':
  of projectiles changes - by default the z attribute
** when the graal client is currently downloading a big file (>32k) then this variable contains the size of the file
  of a projectile is decreased by 2 each second
** using downloadpos, downloadsize and #D you can check if a file is currently downloaded can display a process bar or similar
  (0.1 each frame); if you increase the gravity,
  then the arrows fall down faster, if you decrease
  the gravity then arrows fly longer; if you
  decrease the gravity and shoot it in a low angle
  (between 0 and 0.5) you can easier simulate  
  pistoles or guns;
  don't forget to change the gravity variable on both
  client and server side
 
new scripting variable 'downloadsize': when the
  graal client is currently downloading a big file
  (>32k) then this variable contains the size of the
  file; using downloadpos, downloadsize and #D you can
  check if a file is currently downloaded can
  display a process bar or similar

Latest revision as of 00:09, 31 January 2010

2.22

v2.22 enables the third tab on the serverlist. It lists all playerworlds that are under construction, but want to be visible so that players can already check it out. The third tab is only visible to players with gold account or VIP account. The best servers of that tab are moved to the classic server list.

Other changes in this version:

  • the script command showani works better on stats layer: the body image is drawn correctly
  • new script variable 'gravity':
    • when you change that variable then the behaviour of projectiles changes - by default the z attribute of a projectile is decreased by 2 each second (0.1 each frame)
    • if you increase the gravity, then the arrows fall down faster, if you decrease the gravity then arrows fly longer
    • if you decrease the gravity and shoot it in a low angle (between 0 and 0.5) you can easier simulate pistoles or guns
    • don't forget to change the gravity variable on both client and server side (note: with v5.1 this is not required anymore)
  • new scripting variable 'downloadsize':
    • when the graal client is currently downloading a big file (>32k) then this variable contains the size of the file
    • using downloadpos, downloadsize and #D you can check if a file is currently downloaded can display a process bar or similar