Adding Particles?

View previous topic View next topic Go down

Adding Particles?

Post by Snowy on Wed Dec 15, 2010 9:06 pm

I added a particle combination to use on a team weapon and it is not working for some reason. I just put

Code:
<ContainerResources href='WXP_SnowBlast'/>

on the long list, and this

Code:
    <XContainerResourceDetails id='WXP_SnowBlast'>
      <Value href='WXP_SnowBlast-0'/>
      <Name>WXP_SnowBlast</Name>
      <Flags>81</Flags>
    </XContainerResourceDetails>
      <EffectDetailsContainer id='WXP_SnowBlast-0'>
      <EffectNames>WXPF_WhiteoutDelayed</EffectNames>
      <EffectNames>WXP_Rainfall</EffectNames>
      <EffectNames>WXP_JetpackStartRing</EffectNames>
      <EffectNames>WXP_StormClouds</EffectNames>
      <EffectNames>WXP_LightningGlow</EffectNames>
      <EffectNames>WXP_StormDarken</EffectNames>
    </EffectDetailsContainer>

after the last effect. anything wrong?

______________________________________________________________________________________________________________________
-Snowy
avatar
Snowy
Designer
Designer

Posts : 76
Activity Points : 92
Reputation : 4
Join date : 2010-12-07
Age : 24
Location : Newport

View user profile http://snowyproductions.weebly.com

Back to top Go down

Re: Adding Particles?

Post by Dzani on Wed Dec 15, 2010 9:25 pm

After this WXP_StormDarken ?
avatar
Dzani
Admin
Admin

Posts : 575
Activity Points : 953
Reputation : 87
Join date : 2008-01-10

View user profile http://worms4mayhem.forum-motion.com

Back to top Go down

Re: Adding Particles?

Post by Snowy on Wed Dec 15, 2010 9:29 pm

I need to add something after WXP_StormDarken?

______________________________________________________________________________________________________________________
-Snowy
avatar
Snowy
Designer
Designer

Posts : 76
Activity Points : 92
Reputation : 4
Join date : 2010-12-07
Age : 24
Location : Newport

View user profile http://snowyproductions.weebly.com

Back to top Go down

Re: Adding Particles?

Post by Dzani on Wed Dec 15, 2010 9:35 pm

I went through you code and there are no errors. I didn't do this for quite a long time, but on your list only WXP_Rainfall is not an effect. Maybe that's the reason. However. let me test it. Did you assign it with weapon explosion ?
avatar
Dzani
Admin
Admin

Posts : 575
Activity Points : 953
Reputation : 87
Join date : 2008-01-10

View user profile http://worms4mayhem.forum-motion.com

Back to top Go down

Re: Adding Particles?

Post by Snowy on Wed Dec 15, 2010 9:38 pm

i assigned it with weapon launch for the team weapon

______________________________________________________________________________________________________________________
-Snowy
avatar
Snowy
Designer
Designer

Posts : 76
Activity Points : 92
Reputation : 4
Join date : 2010-12-07
Age : 24
Location : Newport

View user profile http://snowyproductions.weebly.com

Back to top Go down

Re: Adding Particles?

Post by Dzani on Wed Dec 15, 2010 9:53 pm



This is how it looks for me.
It works. But if you want all white and similar, you have to edit effects that cause it.
avatar
Dzani
Admin
Admin

Posts : 575
Activity Points : 953
Reputation : 87
Join date : 2008-01-10

View user profile http://worms4mayhem.forum-motion.com

Back to top Go down

Re: Adding Particles?

Post by Snowy on Wed Dec 15, 2010 10:00 pm

thats for the explosion. i put if for the LaunchFx for the team weapon

______________________________________________________________________________________________________________________
-Snowy
avatar
Snowy
Designer
Designer

Posts : 76
Activity Points : 92
Reputation : 4
Join date : 2010-12-07
Age : 24
Location : Newport

View user profile http://snowyproductions.weebly.com

Back to top Go down

Re: Adding Particles?

Post by Dzani on Wed Dec 15, 2010 10:10 pm

So it doesn't work when you Launch it. I'll check it .
avatar
Dzani
Admin
Admin

Posts : 575
Activity Points : 953
Reputation : 87
Join date : 2008-01-10

View user profile http://worms4mayhem.forum-motion.com

Back to top Go down

Re: Adding Particles?

Post by Snowy on Wed Dec 15, 2010 10:14 pm

exactly. i dont know if there is something wrong with the Local.XML, because on DentonationFx i have the Starburst explosion and that doesnt work either. But the AerialFx DOES work. :/

______________________________________________________________________________________________________________________
-Snowy
avatar
Snowy
Designer
Designer

Posts : 76
Activity Points : 92
Reputation : 4
Join date : 2010-12-07
Age : 24
Location : Newport

View user profile http://snowyproductions.weebly.com

Back to top Go down

Re: Adding Particles?

Post by Dzani on Wed Dec 15, 2010 10:24 pm

I only found in Weaptwk.xml

<LaunchSfx> not <LaunchFX>
It is sFX file, meaning it has specific values like

BowRelease
RocketRelease
SheepBaa

...

So you can only assign it to FX containers I believe.

avatar
Dzani
Admin
Admin

Posts : 575
Activity Points : 953
Reputation : 87
Join date : 2008-01-10

View user profile http://worms4mayhem.forum-motion.com

Back to top Go down

Re: Adding Particles?

Post by Snowy on Wed Dec 15, 2010 10:27 pm

I want to use it in Local.XML not Weaptwk.XML.
It's for my team weapon Smile

______________________________________________________________________________________________________________________
-Snowy
avatar
Snowy
Designer
Designer

Posts : 76
Activity Points : 92
Reputation : 4
Join date : 2010-12-07
Age : 24
Location : Newport

View user profile http://snowyproductions.weebly.com

Back to top Go down

Re: Adding Particles?

Post by Dzani on Wed Dec 15, 2010 10:37 pm

I just tried it in Local.xml with other effect and it still doesn't work.
I believe you can't put that in LaunchFx. I'll check it more tomorrow Smile Maybe certain effects can be placed.
avatar
Dzani
Admin
Admin

Posts : 575
Activity Points : 953
Reputation : 87
Join date : 2008-01-10

View user profile http://worms4mayhem.forum-motion.com

Back to top Go down

Re: Adding Particles?

Post by Snowy on Wed Dec 15, 2010 10:39 pm

I tried removing some effects but it won't work.

what effects can you put in LaunchFx?

______________________________________________________________________________________________________________________
-Snowy
avatar
Snowy
Designer
Designer

Posts : 76
Activity Points : 92
Reputation : 4
Join date : 2010-12-07
Age : 24
Location : Newport

View user profile http://snowyproductions.weebly.com

Back to top Go down

Re: Adding Particles?

Post by Dzani on Thu Dec 16, 2010 12:17 am

Last time I was searching in Local.xml for <LaunchFx> I didn't found anything in there, or to be more specific, in ones Team 17 made ( default team weapons ).
But, there must be something that goes there Smile . We'll find something probably.
avatar
Dzani
Admin
Admin

Posts : 575
Activity Points : 953
Reputation : 87
Join date : 2008-01-10

View user profile http://worms4mayhem.forum-motion.com

Back to top Go down

Re: Adding Particles?

Post by Snowy on Thu Dec 16, 2010 12:45 am

It is there. right below the gun apperance options and right above AerialFx

______________________________________________________________________________________________________________________
-Snowy
avatar
Snowy
Designer
Designer

Posts : 76
Activity Points : 92
Reputation : 4
Join date : 2010-12-07
Age : 24
Location : Newport

View user profile http://snowyproductions.weebly.com

Back to top Go down

Re: Adding Particles?

Post by Dzani on Thu Dec 16, 2010 12:46 am

Yeah I know that it is there. But I mean, the value inside the <LaunchFX> This : ) </LaunchFX>
I didn't find anything.
avatar
Dzani
Admin
Admin

Posts : 575
Activity Points : 953
Reputation : 87
Join date : 2008-01-10

View user profile http://worms4mayhem.forum-motion.com

Back to top Go down

Re: Adding Particles?

Post by Snowy on Thu Dec 16, 2010 12:49 am

oh haha ok. well if it is there, its for a reason. im just not sure why none of the particles are working :/

______________________________________________________________________________________________________________________
-Snowy
avatar
Snowy
Designer
Designer

Posts : 76
Activity Points : 92
Reputation : 4
Join date : 2010-12-07
Age : 24
Location : Newport

View user profile http://snowyproductions.weebly.com

Back to top Go down

Re: Adding Particles?

Post by Dzani on Thu Dec 16, 2010 12:53 am

I was thinking of doing this

<LaunchFX> <DetonationFX>WXP_SNOWBALL </DetonationFX> </LaunchFX>

but I am not sure would that work Smile . I'll try it tomorrow.

Other option is, change <LaunchFX> to <LaunchSfx> and put values that are located in Weaptwk.xml like

sheepbaa
RocketRelease
BowRelease and similar.

...

or there must be something ( some values ) for <LaunchFx> as you said.
avatar
Dzani
Admin
Admin

Posts : 575
Activity Points : 953
Reputation : 87
Join date : 2008-01-10

View user profile http://worms4mayhem.forum-motion.com

Back to top Go down

Re: Adding Particles?

Post by Snowy on Thu Dec 16, 2010 1:07 am

im gonna look in the team 17 forums

______________________________________________________________________________________________________________________
-Snowy
avatar
Snowy
Designer
Designer

Posts : 76
Activity Points : 92
Reputation : 4
Join date : 2010-12-07
Age : 24
Location : Newport

View user profile http://snowyproductions.weebly.com

Back to top Go down

Re: Adding Particles?

Post by No Fear on Thu Dec 16, 2010 10:30 pm

Well Snowy The Effects Doesn't work in detonation and launch lines if u added a effect , i had the same problem only in Ariel Line works But in weapttwk file if u wanted to tweak a weapon u can set an effect in all 3 lines launch and detonation they will work unfortunately in local.xml file the effects doesn't work in launch or detonation lines
i don't know why
avatar
No Fear
Worms tweaker
Worms tweaker

Posts : 76
Activity Points : 115
Reputation : 13
Join date : 2010-09-24

View user profile

Back to top Go down

Re: Adding Particles?

Post by Snowy on Thu Dec 16, 2010 10:46 pm

yea I see that now Smile

______________________________________________________________________________________________________________________
-Snowy
avatar
Snowy
Designer
Designer

Posts : 76
Activity Points : 92
Reputation : 4
Join date : 2010-12-07
Age : 24
Location : Newport

View user profile http://snowyproductions.weebly.com

Back to top Go down

Re: Adding Particles?

Post by Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum