Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Graal V4 Main Forum (https://forums.graalonline.com/forums/forumdisplay.php?f=143)
-   -   Graal v4.03 release (https://forums.graalonline.com/forums/showthread.php?t=62877)

Admins 12-20-2005 06:33 AM

Graal v4.03 release
 
2 Attachment(s)
New versions for Windows, Linux and Mac have been uploaded. If you have already installed it then just connect to the server list, otherwise follow following urls:

Windows:http://www.graalonline.com/downloads/Graal4Setup.exe
Linux:http://www.graalonline.com/downloads/graal4setup
Mac:http://www.graalonline.com/downloads/Graal4.dmg.bz2

v4 should be quite finished now, ready for the official release.

Changes:
Graal 3D:
- fixed several crashing bugs
- fixed the player shadow
- on Linux and Mac you can change the mouse sensitivity in the options now
- readded the terrain detail textures
- fixed saving of lightmaps (meaning reentering the server is faster)
- improved the speed on Mac

Graal 2D:
- fixed microphone support on Mac; for changing the volume of the microphone you currently need to edit ~/.graal/graal4/graal4config.txt
- added support for animated tiles (addtiledef with mngs/gifs)
- fixed an addtiledef problem with overwriting tiledefs for single levels / group of levels (so that the Era mines don't have snow anymore)
- "showscriptstats" chat command for showing the clientside script commands which take most cpu time
- level.showterraingrid = true/false for showing the terrain grid like when you open a terrain gmap in the level editor
- new F1 window (online only)
- the F1,F3 and F5 windows can be closed by pressing the keys again
- when sending a Mass PM then it is also adding the "Mass Message:" in front of them in the PM history
- fixed a crashing bug with "else else" in old scripting engine
- it doesn't remove your local guild tag anymore when you go on the login server and then the server where you had the local tag
- on Windows it is now logging into graal4console.log, so you/we can easier find problems when the game is crashing
- added player.platform variable (win,mac,linux) for new scripting
- keypressed events now have 3 parameters: keycode, character, and scancode (independend from the players language, but are different for mac, so if you use the scancode then also let some mac player test it)
- added a new pics1.png to the installers and to the levels pack (tile fixes made by haunter and others)

Particle Engine:
- emitter.emitautomatically = true/false - if you want the emitter to automatically emit particles or not
- emitter.emitatterrainheight = true/false - if enabled then it will emit all particles at terrain height (+emissionoffset) instead of the z of the showimg
- emitter.emitat({x,y,z}) - for emitting a particle at a special position without needing to modify emissionoffset
- emitter.particletypes = number, emitter.particles[] - by increasing particletypes to 2 or more (default is 1), you can let the emitter emit different particles; you can access the additional particles by emitter.particles[1] etc.; emitter.particle is the same like emitter.particles[0]
- emitter.dropemitter, emitter.dropwateremitter - those work exactly like the emitter itself (e.g. you can edit emitter.dropemitter.particle) and are used for emitting particles once a particle drops on the ground (rain drops) or the lifetime is over (for fireworks) - once a particle is dropping the emitter is calling dropemitter.emitat() to produce the drops; if there is a dropwateremitter and the particle was dropping on water then it is using the dropwateremitter for the drop effect
- particle.sound - a sound file or array of sound files which is played when the particle is emitted, mainly meant for combination with the emitter.dropemitter

Dropemitter example (can be used for falling lava effects or so):
PHP Code:

//#CLIENTSIDE
function onCreated() {
  
with (findimg(200)) {
    
attachtoowner true;

    
// Emitter attributes
    
layer 2;
    
with (emitter) {
      
delaymin 0.1;
      
delaymax 0.3;
      
nrofparticles 2;
      
emissionoffset = {0010};
      
checkbelowterrain true;
      
wraptoclippingbox true;
      
cliptoscreen true;

      
with (particle) {
        
lifetime 10;
        
zangle = -1;
        
speed 4;
        
image "l_snowball.png";
        
mode 1;
        
alpha 0.01;
      }

      
addglobalmodifier("impulse"0.20.2"zangle""multiply"0.950.95);
      
addlocalmodifier("once"00"rotation""replace"02*pi);
      
addlocalmodifier("once"00"angle""replace"degtorad(200), degtorad(260));
      
addlocalmodifier("once"00"x""add", -100100);
      
addlocalmodifier("once"00"y""add", -100100);
      
addlocalmodifier("once"00"speed""replace"48);
      
addlocalmodifier("range"01"alpha""replace"0.011);

      
with (dropemitter) {
        
nrofparticles 10;
        
with (particle) {
          
lifetime 1;
          
image "l_snowball.png";
          
mode 1;
          
zoom 0.8;
          
zangle 0.5;
          
sound "walk_snow.wav,,,,,";
          
spin 4*pi;
        }
        
addlocalmodifier("once"00"angle""replace"02*pi);
        
addlocalmodifier("once"00"speed""replace"36);
        
addlocalmodifier("once"00"rotation""replace"02*pi);
        
addglobalmodifier("range"0100000"zangle""add", -2, -2);
        
addlocalmodifier("range"0.51"alpha""replace"0.990);
        
addlocalmodifier("range"0.41"zoom""replace"0.80);
      }
    }
  }


This script requires a snowball image which is attached to this post. I have also attached the sound (walk_snow.wav) in case someone is missing that.

Skyld 12-20-2005 09:48 AM

Excellent work, Stefan!

Nabru 12-20-2005 11:41 AM

Good job :D

Magadal 12-20-2005 04:08 PM

Leet, thx >:P.

CujoDaMan 12-20-2005 09:59 PM

Will v4 ever be relesed to classic accounts?

Riot 12-20-2005 10:45 PM

Quote:

Originally Posted by CujoDaMan
Will v4 ever be relesed to classic accounts?

Considering:
Quote:

Originally Posted by Stefan
v4 should be quite finished now, ready for the official release.

I would say, yes.

Crono 12-20-2005 11:00 PM

Great job ;)

Ever since I ran out of VIP I was like "OMG NO v4 ANYMORE?~?!?!?! I WIL NOT servIVVE!!11" but now it's coming out so I'm cool :)

pacMASTA 12-21-2005 01:48 AM

Finally the official release is almost apon us good work stefan and the rest of the team if their is any. :)

xAndrewx 12-21-2005 10:53 AM

Haha, you're the man! :D

har0shi 12-21-2005 03:46 PM

um.... the mac download doesn't work, just brings up a huge page of script

Admins 12-21-2005 05:11 PM

Right-click and save-as?

har0shi 12-21-2005 07:22 PM

Quote:

Originally Posted by Stefan
Right-click and save-as?

my only right click options are:

open link in new window
download linked file
add link to bookmarks
copy link


p.s. "download linked file" just downloads the text

Admins 12-21-2005 10:46 PM

download linked file should be ok

Admins 12-22-2005 01:03 AM

Update: Released v4.03 revision for all platforms to fix particle emitter on stats layer / GUI, so that the snow in the new F1 window is working fine :eek:

Inverness 12-22-2005 03:28 AM

Nice job on the updates, when do we get a new RC and Level Editor?
The Editor doesn't read GS2 and i'm severely needing a delete folders button.

Btw could you add a leader to read serveroptions, like servero.staff, you would be able to see whos on the staff list for scripts, among other things.

Rick 12-22-2005 04:06 AM

Quote:

Originally Posted by Inverness
'm severely needing a delete folders button.

Pick up a copy of RC2 from GK debug if you have access. It has Delete Folder capability.

Curt1zzle 12-22-2005 04:21 AM

Quote:

Originally Posted by har0shi
p.s. "download linked file" just downloads the text

Fix the file format. :rolleyes:

Yen 12-22-2005 06:44 AM

I want the new RC and a new level editor, too! :(

Quote:

Originally Posted by Inverness
Btw could you add a leader to read serveroptions, like servero.staff, you would be able to see whos on the staff list for scripts, among other things.

PHP Code:

function onCreated() {
  
requestText("options",NULL);
}

function 
onReceiveText(texttype,textoptions,lines) {
  for (
alines) {
    if (
a.starts("staff=")) {
      
stafflist a.substring(6,-1);
      break;
    }
  }


Is that what you mean, Invy?
By the way.. Check under your bed before you go to sleep tonight. ;]

Skyld 12-22-2005 11:22 AM

PHP Code:

function onReceiveText() 

not
PHP Code:

function onReceivedText() 


har0shi 12-22-2005 07:25 PM

Quote:

Originally Posted by Stefan
download linked file should be ok

no, it just downloads the text

Admins 12-22-2005 10:37 PM

Quote:

Originally Posted by har0shi
no, it just downloads the text

We have modified things, can you check now?

har0shi 12-23-2005 12:00 AM

good job. it works now thanks very much :D

eds1003 12-24-2005 03:03 AM

Yay!!! If V4 was never going to be public then i would die of lag. My computer sucks too. I cant afford anymore upgrades because my mom is verry sick and is out of work (DAMN U LIVER CANCER FROM BREST CANCER) <_< Confusing eh?! Anyways, Great jop Steffan and it will make us all feel better. Now all I have to do is finish my room so I can get back on graal.

eds1003 12-24-2005 03:19 AM

Sorry for the doubble post but is V4 Public like right now?! I just looked at he download section and the client info is 4.03 O_O Is thisthe OFFICIAL RELEASE?!

napo_p2p 12-24-2005 03:34 AM

Quote:

Originally Posted by eds1003
Sorry for the doubble post but is V4 Public like right now?! I just looked at he download section and the client info is 4.03 O_O Is thisthe OFFICIAL RELEASE?!

BOOM!

eds1003 12-31-2005 02:10 AM

Eep!

Inverness 01-01-2006 04:03 AM

Quote:

Originally Posted by Rick
Pick up a copy of RC2 from GK debug if you have access. It has Delete Folder capability.

I don't have access to debug, gots connections though. ;)
Quote:

Originally Posted by Yen
Is that what you mean, Invy?
By the way.. Check under your bed before you go to sleep tonight. ;]

Yes I thought about something like that before, but didn't have knowledge of sendtext() and requesttext().

Btw I have many sharp objects under my bed, i'm sure it wont be a problem.


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

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