Stryke
30 Nov 2008, 11:37
Yes thats right! a particle tweaking tutorial!
WARNING! ALWAYS MAKE BACKUP FILES BEFORE TWEAKING UNLESS YOU WANT TO RE INSTALL YOUR GAME FOR NEW TWEAKS!
its one of the great things of tweaking, making your own effects
but ofcourse this is a basic tutorial we just go make an effect out of some other allready made effects!
ok, lets make an good explosion. to begin you just need to know a few things.
the long list of <ContainerResources href='name_of_the_effect_here'/> are names of the effects, those names let the game now that there is an effect, well for this tutorial we will use WXP_GreenExplosion, called WXP_GreenExplosion. i like to call this list just the nameslist, keep that in your mind or if you cant trust your head write it down on your hand! well whatever, so thats the nameslist. now if you scroll down you will get to some other stuff, you will understand what that does later. now lets begin!
first we want to open up the PartTwk file so go to the start button, right click on it and click explore! go to program files, then to codemaster, then to worm 4 mayhem, then to data, then to tweak and there you are! now right click on PartTwk and open it up with notepad! now you are ready to tweak!
so lets go. scroll down the nameslist untill the last name. it should look like:
<ContainerResources href='zzzSteve2'/>
</XDataBank>
now make a space in betwwen it so it looks like:
<ContainerResources href='zzzSteve2'/>
</XDataBank>
in the space you type:
<ContainerResources href='WXP_GreenExplosion'/>
so it looks like:
<ContainerResources href='zzzSteve2'/>
<ContainerResources href='WXP_GreenExplosion'/>
</XDataBank>
ok, done with the name, now scroll aaaaaaall the way down to the bottom and there you will find something like:
</ParticleEmitterContainer>
</xomObjects>
</xomArchive>
now make a space in between it so it looks like:
</ParticleEmitterContainer>
</xomObjects>
</xomArchive>
and in between that space you go type:
<XContainerResourceDetails id='WXP_GreenExplosion'>
<Value href='WXP_GreenExplosion-0'/>
<Name>WXP_GreenExplosion</Name>
<Flags>81</Flags>
</XContainerResourceDetails>
<EffectDetailsContainer id='WXP_GreenExplosion-0'>
<EffectNames>WXPF_GreenGlowBigBang</EffectNames>
<EffectNames>WXPF_GreenTrail1</EffectNames>
<EffectNames>WXP_ExplosionG_RingDark</EffectNames>
<EffectNames>WXPF_BlueTrails_1</EffectNames>
</EffectDetailsContainer>
now the effect is done, but ofcourse you still dont understand what we did, do ya? well, let me explain it to you.
first about this part:
<XContainerResourceDetails id='WXP_GreenExplosion'>
<Value href='WXP_GreenExplosion-0'/>
<Name>WXP_GreenExplosion</Name>
<Flags>81</Flags>
</XContainerResourceDetails>
this part lets the game now that there isnt only a name of an effect but that it also contains something! thats all i can really explain about it.
now the other part:
<EffectDetailsContainer id='WXP_GreenExplosion-0'>
<EffectNames>WXPF_GreenGlowBigBang</EffectNames>
<EffectNames>WXPF_GreenTrail1</EffectNames>
<EffectNames>WXP_ExplosionG_RingDark</EffectNames>
<EffectNames>WXPF_BlueTrails_1</EffectNames>
</EffectDetailsContainer>
lets the game now which effects are used in it! so, wasn't that simple? now for getting the effect in the game!
close down this notepad and click yes when it asks you to save it. and now open up WeapTwk. then hit ctrl + f and search for kWeaponBazooka. hit the search button two times and scroll down until you find something which looks like:
<ArielFx>WXP_BazookaTrailPack</ArielFx>
<DetonationFx>WXP_GreenExplosion</DetonationFx>
<DetonationSfx>ExplosionRegular</DetonationSfx>
<ExpiryFx></ExpiryFx>
<SplashFx>WXP_WaterSplash</SplashFx>
<SplishFx>WXP_WaterSmallSplash</SplishFx>
<SinkingFx>WXP_UnderWaterBubbles</SinkingFx>
<BounceFx></BounceFx>
<StopFxAtRest>true</StopFxAtRest>
<BounceSfx></BounceSfx>
<PreDetonationSfx></PreDetonationSfx>
<ArmSfx1Shot></ArmSfx1Shot>
<ArmSfxLoop></ArmSfxLoop>
<LaunchSfx>RocketRelease</LaunchSfx>
<LoopSfx>BombWhistle</LoopSfx>
<BigJumpSfx></BigJumpSfx>
<WalkSfx></WalkSfx>
i know, thats a lot of text but you will be able to find it. now this piece of text tells the game which effect is used for what. now search something like this:
<DetonationFx>WXP_ExplosionX_Med</DetonationFx>
and change it into:
<DetonationFx>WXP_GreenExplosion</DetonationFx>
so now the game knows it needs to use our effect! now close down this notepad, click yes again and start up worms 4 mayhem, start a game, shoot your bazooka and lets hope it worked!
if you did it alright it should look a bit like this:
http://i262.photobucket.com/albums/ii97/hotmatch5/GreenExplosionW4M.jpg
that was my particle tweaking tutorial, for any question send me a message or reply to this topic! happy tweaking! ow and please comment... id like it
WARNING! ALWAYS MAKE BACKUP FILES BEFORE TWEAKING UNLESS YOU WANT TO RE INSTALL YOUR GAME FOR NEW TWEAKS!
its one of the great things of tweaking, making your own effects
but ofcourse this is a basic tutorial we just go make an effect out of some other allready made effects!
ok, lets make an good explosion. to begin you just need to know a few things.
the long list of <ContainerResources href='name_of_the_effect_here'/> are names of the effects, those names let the game now that there is an effect, well for this tutorial we will use WXP_GreenExplosion, called WXP_GreenExplosion. i like to call this list just the nameslist, keep that in your mind or if you cant trust your head write it down on your hand! well whatever, so thats the nameslist. now if you scroll down you will get to some other stuff, you will understand what that does later. now lets begin!
first we want to open up the PartTwk file so go to the start button, right click on it and click explore! go to program files, then to codemaster, then to worm 4 mayhem, then to data, then to tweak and there you are! now right click on PartTwk and open it up with notepad! now you are ready to tweak!
so lets go. scroll down the nameslist untill the last name. it should look like:
<ContainerResources href='zzzSteve2'/>
</XDataBank>
now make a space in betwwen it so it looks like:
<ContainerResources href='zzzSteve2'/>
</XDataBank>
in the space you type:
<ContainerResources href='WXP_GreenExplosion'/>
so it looks like:
<ContainerResources href='zzzSteve2'/>
<ContainerResources href='WXP_GreenExplosion'/>
</XDataBank>
ok, done with the name, now scroll aaaaaaall the way down to the bottom and there you will find something like:
</ParticleEmitterContainer>
</xomObjects>
</xomArchive>
now make a space in between it so it looks like:
</ParticleEmitterContainer>
</xomObjects>
</xomArchive>
and in between that space you go type:
<XContainerResourceDetails id='WXP_GreenExplosion'>
<Value href='WXP_GreenExplosion-0'/>
<Name>WXP_GreenExplosion</Name>
<Flags>81</Flags>
</XContainerResourceDetails>
<EffectDetailsContainer id='WXP_GreenExplosion-0'>
<EffectNames>WXPF_GreenGlowBigBang</EffectNames>
<EffectNames>WXPF_GreenTrail1</EffectNames>
<EffectNames>WXP_ExplosionG_RingDark</EffectNames>
<EffectNames>WXPF_BlueTrails_1</EffectNames>
</EffectDetailsContainer>
now the effect is done, but ofcourse you still dont understand what we did, do ya? well, let me explain it to you.
first about this part:
<XContainerResourceDetails id='WXP_GreenExplosion'>
<Value href='WXP_GreenExplosion-0'/>
<Name>WXP_GreenExplosion</Name>
<Flags>81</Flags>
</XContainerResourceDetails>
this part lets the game now that there isnt only a name of an effect but that it also contains something! thats all i can really explain about it.
now the other part:
<EffectDetailsContainer id='WXP_GreenExplosion-0'>
<EffectNames>WXPF_GreenGlowBigBang</EffectNames>
<EffectNames>WXPF_GreenTrail1</EffectNames>
<EffectNames>WXP_ExplosionG_RingDark</EffectNames>
<EffectNames>WXPF_BlueTrails_1</EffectNames>
</EffectDetailsContainer>
lets the game now which effects are used in it! so, wasn't that simple? now for getting the effect in the game!
close down this notepad and click yes when it asks you to save it. and now open up WeapTwk. then hit ctrl + f and search for kWeaponBazooka. hit the search button two times and scroll down until you find something which looks like:
<ArielFx>WXP_BazookaTrailPack</ArielFx>
<DetonationFx>WXP_GreenExplosion</DetonationFx>
<DetonationSfx>ExplosionRegular</DetonationSfx>
<ExpiryFx></ExpiryFx>
<SplashFx>WXP_WaterSplash</SplashFx>
<SplishFx>WXP_WaterSmallSplash</SplishFx>
<SinkingFx>WXP_UnderWaterBubbles</SinkingFx>
<BounceFx></BounceFx>
<StopFxAtRest>true</StopFxAtRest>
<BounceSfx></BounceSfx>
<PreDetonationSfx></PreDetonationSfx>
<ArmSfx1Shot></ArmSfx1Shot>
<ArmSfxLoop></ArmSfxLoop>
<LaunchSfx>RocketRelease</LaunchSfx>
<LoopSfx>BombWhistle</LoopSfx>
<BigJumpSfx></BigJumpSfx>
<WalkSfx></WalkSfx>
i know, thats a lot of text but you will be able to find it. now this piece of text tells the game which effect is used for what. now search something like this:
<DetonationFx>WXP_ExplosionX_Med</DetonationFx>
and change it into:
<DetonationFx>WXP_GreenExplosion</DetonationFx>
so now the game knows it needs to use our effect! now close down this notepad, click yes again and start up worms 4 mayhem, start a game, shoot your bazooka and lets hope it worked!
if you did it alright it should look a bit like this:
http://i262.photobucket.com/albums/ii97/hotmatch5/GreenExplosionW4M.jpg
that was my particle tweaking tutorial, for any question send me a message or reply to this topic! happy tweaking! ow and please comment... id like it