[ Обновленные темы · Новые сообщения · Участники · Поиск · RSS ]
  • Страница 1 из 1
  • 1
Архив - только для чтения
Basic particle tweaking tutorial!
Проверенные
Сообщений: 336
Реп: 51
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.xml 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.xml 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:

Code
<ContainerResources href='zzzSteve2'/>
</XDataBank>

Now make a space in betwwen it so it looks like:
Code
<ContainerResources href='zzzSteve2'/>

</XDataBank>

In the space you type:<ContainerResources href='WXP_GreenExplosion'/>
so it looks like:
Code
<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:
Code
</ParticleEmitterContainer>
</xomObjects>
</xomArchive>

Now make a space in between it so it looks like:
Code
</ParticleEmitterContainer>

</xomObjects>
</xomArchive>

In between that space you go type:
Code
<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:
Code
<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:

Code
<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:

Code
<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:
------------------------------------------------------------------------------- This point was made by Stryke WARNING! ALWAYS MAKE BACKUP FILES BEFORE TWEAKING UNLESS YOU WANT TO RE INSTALL YOUR GAME FOR NEW TWEAKS!


 
MarkWarT
Проверенные
Сообщений: 497
Реп: 22
Can you translate it into the Russian?

Trading Unusual Nickname with Perfectly Straight Underlines, serious offers only
 
Проверенные
Сообщений: 336
Реп: 51
It is not difficult .... Google translator to help you! Google translator can still voice it.

 
MarkWarT
Проверенные
Сообщений: 497
Реп: 22
Of course, but Google Translator is REALLY STUPID + russian noobs can't understand how to use it

Trading Unusual Nickname with Perfectly Straight Underlines, serious offers only
 
theo0326
Проверенные
Сообщений: 1
Реп: 0
hello egokarpo

are that his possible serait to change the yeux of worms a lot sharingan can hushed up me question a link ?

thank you

 
  • Страница 1 из 1
  • 1
Поиск: