MegaGlest Forum

Modding and game content creation => Mods => Topic started by: Ropi on 5 December 2004, 18:10:26

Title: Damn programming.
Post by: Ropi on 5 December 2004, 18:10:26
Hi team!

I have a few Qs:

1. Rotating turrets still don't exist?

2. I want to make more than 1 animations for my modells but the system cant understand it. I want to make it like the sounds:

<selection-sounds enabled="true">
   <sound path="sounds/archer_select1.wav"/>
   <sound path="sounds/archer_select2.wav"/>
   <sound path="sounds/archer_select3.wav"/>
</selection-sounds>

---> want to make --->

<animations>
   <animation path="models/RifleMan_Still.G3D"/>
   <animation path="models/RifleMan_Still02.G3D"/>
   <animation path="models/RifleMan_Still03.G3D"/>
</animations>

And this is where I die. If I put them whitout a group it only displayes the
first animation.
If I put them in a group (like above), then Glest starts to cry:
ERROR RifleMan.G3D doesn't have a children named "animation path".
For God's Sake "animation path" is in the animations group, but the
stupid system can't find it. Wa-a-a-

Please help Tucho. THX.

PS: In the next update it would be nice to put an export plugin that
can export paticlesystems.
Title:
Post by: enveloop on 6 December 2004, 03:18:31
I´m sorry to say that actually you can´t use multiple animations for a single action, that´s a feature implemented for sounds only. :'(
Title:
Post by: Ropi on 6 December 2004, 08:49:26
That is sad  :D .
Title:
Post by: martiño on 6 December 2004, 13:04:12
Yoy can't export particle systems, but you can edit some of their properties using xml files, please take a took to the Particle_Proj.xml or Particle_Splash.xml files in the battlemage unit.
Title:
Post by: Ropi on 6 December 2004, 21:03:09
Yeah I tried those, but thanks. :twisted:

Oh! And before I forget thx for the quick replyes.  ;)

Dont hurt meh!
Title:
Post by: martiño on 7 December 2004, 21:36:33
Hi,

- For particles you can just choose from a set of available particle types and change some parameters. For beams I would sugest an "arrow_proj" particle type in red or green color with some alpha, with no model. You can increase particle speed to make particles go straight to the target (in the "arrow_proj" type only). You can increase emmision-rate to make the particle system last longer.
Title:
Post by: Ropi on 8 December 2004, 20:17:53
Thx that sould help :)