Author Topic: teamcolor particle effects?  (Read 4479 times)

Zoythrus

  • Guest
teamcolor particle effects?
« on: 22 March 2010, 00:30:56 »
is this possible? it would make my mod REALLY cool!

(please say that it is....)

tiger

  • Archmage
  • ******
  • Posts: 675
  • Don't rush it. Make it with Quality.
    • View Profile
Re: teamcolor particle effects?
« Reply #1 on: 22 March 2010, 01:18:47 »
yes this is possible in megaglest.

Zoythrus

  • Guest
Re: teamcolor particle effects?
« Reply #2 on: 22 March 2010, 01:19:57 »
can you please tell me how to do it?

tiger

  • Archmage
  • ******
  • Posts: 675
  • Don't rush it. Make it with Quality.
    • View Profile
Re: teamcolor particle effects?
« Reply #3 on: 22 March 2010, 01:30:36 »
<?xml version="1.0" standalone="yes"?>
<unit-particle-system>
       <texture value="true" path="images/particle.bmp" luminance="false"/>
   <primitive value="quad"/>
   <offset x="1.0" y="-0.3" z="1.3"/>
   <direction x="0" y="1" z="0"/>
   <color red="0.8" green="0.4" blue="0.0" alpha="0.5" />
   <color-no-energy red="1.0" green="0.0" blue="0.0" alpha="0.0" />
       <radius value="0.1" />
       <size value="0.5" />
       <size-no-energy value="0.2" />
       <speed value="2.5" />
   <gravity value="0"/>
       <emission-rate value="10" />
       <energy-max value="30" />
       <energy-var value="0" />
   <relative value="false" />
       <fixed value="false" />
       <teamcolorNoEnergy value="true" />
       <teamcolorEnergy value="true" />

</unit-particle-system>

Zoythrus

  • Guest
Re: teamcolor particle effects?
« Reply #4 on: 22 March 2010, 01:34:07 »
thanks tiger! will this work with all particle effects?

tiger

  • Archmage
  • ******
  • Posts: 675
  • Don't rush it. Make it with Quality.
    • View Profile
Re: teamcolor particle effects?
« Reply #5 on: 22 March 2010, 01:42:42 »
Yes I think so  :D

Zoythrus

  • Guest
Re: teamcolor particle effects?
« Reply #6 on: 22 March 2010, 03:38:21 »
now that we're on the topic of particle effects, i would like to ask if there is a reference i can go from when it comes to the xyz offsets...(like a scale or something...i dont know where to begin)

Fluffy203

  • Guest
Re: teamcolor particle effects?
« Reply #7 on: 22 March 2010, 03:53:20 »
i think it works like this  least i think , it should work that way if not then someone got the scale wrong least in a 3d perspective

                                         | = y
                                         |
                                         Z __ __ =x

ElimiNator

  • Airship
  • ********
  • Posts: 3,391
  • The MegaGlest Moder.
    • View Profile
Re: teamcolor particle effects?
« Reply #8 on: 22 March 2010, 05:00:58 »
Team color particals work but not for attack or splash yet I dont think, last time I asked Titi he said it dosn't work yet.

KEY
x - -
z
|
y is up

Get the Vbros': Packs 1, 2, 3, 4, and 5!

titi

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 4,240
    • View Profile
    • http://www.titusgames.de
Re: teamcolor particle effects?
« Reply #9 on: 22 March 2010, 09:34:43 »
Teamcolor should work in splash particles and shot particles too, but I never tried it  :-\
Try Megaglest! Improved Engine / New factions / New tilesets / New maps / New scenarios

Zoythrus

  • Guest
Re: teamcolor particle effects?
« Reply #10 on: 22 March 2010, 14:26:57 »
i used a battlemage's attack, and it works!

i know about the xyz field, i want to have a reference to go from, such as a relation to the grey boxes in Blender

tiger

  • Archmage
  • ******
  • Posts: 675
  • Don't rush it. Make it with Quality.
    • View Profile
Re: teamcolor particle effects?
« Reply #11 on: 22 March 2010, 16:38:10 »
sorry I don't understand what is it you want?

Zoythrus

  • Guest
Re: teamcolor particle effects?
« Reply #12 on: 22 March 2010, 17:18:24 »
how tall is a swordman? if i wanted to make smoke come out of his hand, where would i put the offest?

-Archmage-

  • Moderator
  • Dragon
  • ********
  • Posts: 5,887
  • Make it so.
    • View Profile
    • My Website
Re: teamcolor particle effects?
« Reply #13 on: 22 March 2010, 17:33:11 »
About as tall as the cube in Blender. :P
Egypt Remastered!

Proof: Owner of glest@mail.com

tiger

  • Archmage
  • ******
  • Posts: 675
  • Don't rush it. Make it with Quality.
    • View Profile
Re: teamcolor particle effects?
« Reply #14 on: 22 March 2010, 17:43:18 »
you just have to experiment with the offset to find out.

Zoythrus

  • Guest
Re: teamcolor particle effects?
« Reply #15 on: 22 March 2010, 17:51:07 »
this would be easier if megaglest had GAE's zoom function

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
Re: teamcolor particle effects?
« Reply #16 on: 22 March 2010, 17:59:04 »
It will come soon (its on the list)

Zoythrus

  • Guest
Re: teamcolor particle effects?
« Reply #17 on: 22 March 2010, 18:30:21 »
is it possible to make a fire particle effect? not just smoke...

tiger

  • Archmage
  • ******
  • Posts: 675
  • Don't rush it. Make it with Quality.
    • View Profile
Re: teamcolor particle effects?
« Reply #18 on: 22 March 2010, 19:14:07 »
of corse you can do that easy
do you know how to make particles?

Zoythrus

  • Guest
Re: teamcolor particle effects?
« Reply #19 on: 22 March 2010, 19:54:30 »
kinda, im getting into it...(it means im a newbie when it comes to particles)

John.d.h

  • Moderator
  • Airship
  • ********
  • Posts: 3,757
  • I have to go now. My planet needs me.
    • View Profile
Re: teamcolor particle effects?
« Reply #20 on: 22 March 2010, 20:03:30 »
how tall is a swordman? if i wanted to make smoke come out of his hand, where would i put the offest?
A human in Glest has a height of slightly more than 2 (like 2.1).  One unit in Glest corresponds to one unit in Blender.

Zoythrus

  • Guest
Re: teamcolor particle effects?
« Reply #21 on: 22 March 2010, 20:09:16 »
ok, that is what i was wanting to know. Thank you John

Fluffy203

  • Guest
Re: teamcolor particle effects?
« Reply #22 on: 23 March 2010, 01:48:46 »
problem solved  :thumbup:

Zoythrus

  • Guest
Re: teamcolor particle effects?
« Reply #23 on: 23 March 2010, 03:29:30 »
before this thread gets locked, i have to ask: are there any really cool effects that you guys know of? and can i have a good list of everything i can do in the particle effect XML (i can tell that the wiki needs updating)

Fluffy203

  • Guest
Re: teamcolor particle effects?
« Reply #24 on: 23 March 2010, 03:32:55 »
Linear: which is fun to play with if you are using lasers i would suggest this , if using rapid fire play with the emissions of this one.
Parabolic: Basically used for arches like mortar's , arrows , catapults, and cannons.
Spiral: Kinda pointless really , but you can make it go really fast and make a sonic cannon out of it.
Don't forget about the SPLASH: This is very fun to play with considering that you can mess with the emissions and which direction the splash happens , i make a wave of energy with this effect very cool.

Thats all i got  :thumbup:

 

anything