Basic particle tweaking tutorial! - Форум
W4Tweaks
Меню сайта
Последние файлы
Последние темы


Вход



Мини-чат
 
500

Статистика
Онлайн:

Сегодня заходили: firsacho, Joker, KaMiKaZe, 4erveR, Unaited


Друзья сайта

Если вы хотите увидеть в этом спиcке свой сайт загляните сюда

Наш баннер:



· Регистрация · Вход
[ Новые сообщения · Участники · Подписки · Поиск · RSS ]
Страница 1 из 11
Архив - только для чтения
Форум » ТОПКА » ТОПКА » Basic particle tweaking tutorial! (This point was made by Stryke)
Basic particle tweaking tutorial!
egokarpo
Дата: СР, 19.08.2009, 16:31:34 | Сообщение # 1
egokarpo
Группа: Проверенные
Сообщений: 336
Репутация: 51
Статус: Offline
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
Дата: ЧТ, 31.12.2009, 13:19:35 | Сообщение # 2
MarkWarT
Завсегдатай
Группа: Проверенные
Сообщений: 497
Репутация: 22
Статус: Offline
Can you translate it into the Russian?

Trading Unusual Nickname with Perfectly Straight Underlines, serious offers only
 
egokarpo
Дата: ПТ, 01.01.2010, 08:19:48 | Сообщение # 3
egokarpo
Группа: Проверенные
Сообщений: 336
Репутация: 51
Статус: Offline
It is not difficult .... Google translator to help you! Google translator can still voice it.

 
MarkWarT
Дата: ПТ, 01.01.2010, 08:35:46 | Сообщение # 4
MarkWarT
Завсегдатай
Группа: Проверенные
Сообщений: 497
Репутация: 22
Статус: Offline
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
Дата: ПТ, 05.11.2010, 20:59:30 | Сообщение # 5
theo0326
Только что регнулся
Группа: Новички
Сообщений: 1
Репутация: 0
Статус: Offline
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

 
Форум » ТОПКА » ТОПКА » Basic particle tweaking tutorial! (This point was made by Stryke)
Страница 1 из 11
Поиск:

Copyright W4Tweaks™ 2008-2016 Хостинг от uCoz