Advanced tweak.....can teach how to make it?

View previous topic View next topic Go down

Advanced tweak.....can teach how to make it?

Post by AfterWorm29 on Tue Oct 12, 2010 4:43 am

is any1 know how to make an advanced tweak...like laser shot...or something like that :x
avatar
AfterWorm29
Standard Member

Posts : 17
Activity Points : 19
Reputation : 0
Join date : 2010-10-11
Age : 20
Location : Wondering around the world

View user profile

Back to top Go down

Re: Advanced tweak.....can teach how to make it?

Post by Fireworm on Wed Oct 13, 2010 8:53 am

AfterWorm29 wrote:is any1 know how to make an advanced tweak...like laser shot...or something like that :x
You mean changing particle effects for weapons? (and also making your own particle)

Fireworm
Standard Member

Posts : 493
Activity Points : 622
Reputation : 88
Join date : 2010-01-27
Age : 22

View user profile

Back to top Go down

Re: Advanced tweak.....can teach how to make it?

Post by AfterWorm29 on Thu Oct 14, 2010 4:53 am

Iceworm wrote:
AfterWorm29 wrote:is any1 know how to make an advanced tweak...like laser shot...or something like that :x
You mean changing particle effects for weapons? (and also making your own particle)

well something like that....
avatar
AfterWorm29
Standard Member

Posts : 17
Activity Points : 19
Reputation : 0
Join date : 2010-10-11
Age : 20
Location : Wondering around the world

View user profile

Back to top Go down

Re: Advanced tweak.....can teach how to make it?

Post by Fireworm on Thu Oct 14, 2010 5:57 am

Changing particles is in PartTwk.xml, located in the tweak folder.

Here is a little basic particle tweaking tutorial that was posted on the Team 17 forum.
Stryke wrote: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:



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
Original post located here.
http://forum.team17.com/showthread.php?t=37738

______________________________________________________________________________________________________________________
I'm done here. I want to call this site home, but I can't. There is nothing go to here, it's just a barren wasteland.
If you want me back, give me a call when the one-man show is over.

~Sincerely, Fireworm.

Fireworm
Standard Member

Posts : 493
Activity Points : 622
Reputation : 88
Join date : 2010-01-27
Age : 22

View user profile

Back to top Go down

Re: Advanced tweak.....can teach how to make it?

Post by No Fear on Thu Oct 21, 2010 12:34 pm

yes yes

adding effect name and placing effects to it easy tweak
i know this
but THAnx anyway
But Making A combination is much easier
:lol:


Last edited by No Fear on Thu Dec 09, 2010 10:30 pm; edited 1 time in total
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: Advanced tweak.....can teach how to make it?

Post by Fireworm on Thu Oct 21, 2010 10:11 pm

AfterWorm29 wrote:like laser shot...or something like that :x
Not to long ago I played with a twk file on, (W4ModLauncher file) and one of the weapons had a bazooka that was lazorish. It is possible, I just don't know how to do it yet.

______________________________________________________________________________________________________________________
I'm done here. I want to call this site home, but I can't. There is nothing go to here, it's just a barren wasteland.
If you want me back, give me a call when the one-man show is over.

~Sincerely, Fireworm.

Fireworm
Standard Member

Posts : 493
Activity Points : 622
Reputation : 88
Join date : 2010-01-27
Age : 22

View user profile

Back to top Go down

Re: Advanced tweak.....can teach how to make it?

Post by mm24 on Fri Oct 22, 2010 4:33 pm

I don't know add a particle,but in the forum,they know.
I only know how to ad a weapon .

mm24
Standard Member

Posts : 9
Activity Points : 12
Reputation : 0
Join date : 2010-10-10

View user profile

Back to top Go down

Re: Advanced tweak.....can teach how to make it?

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