Worms 4 and Ultimate Mayhem tweaking mods
Would you like to react to this message? Create an account in a few clicks or log in to continue.

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

4 posters

Go down

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

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

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

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

Back to top Go down

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

Post by Fireworm 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 : 29

Back to top Go down

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

Post by AfterWorm29 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....
AfterWorm29
AfterWorm29
Standard Member

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

Back to top Go down

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

Post by Fireworm 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:

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

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

Fireworm
Standard Member

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

Back to top Go down

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

Post by No Fear 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
No Fear
No Fear
Worms tweaker
Worms tweaker

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

Back to top Go down

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

Post by Fireworm 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.

Fireworm
Standard Member

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

Back to top Go down

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

Post by mm24 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

Back to top Go down

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

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

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