How to make a bouncy or a sticky weapon
3 posters
Worms 4 and Ultimate Mayhem tweaking mods :: 3D PC games // Tweaking that we major in :: Worms 4 mayhem :: Tweaking Tutorials
Page 1 of 1
How to make a bouncy or a sticky weapon
Even though the tweaking is pretty "dead" now, I would like to make a tutorial.
Okay, firt of all, I want you to know that I'm french and I might not be really understanding.
The title says it all...
The first thing you need to do is to open WeapTwk.xml, which is in Worms 4 Mayhem/data/Tweak.
So in this tutorial we're going to make a sticky Grenade, which is something really cool.
Press Ctrl+F, type "kWeaponGrenade", and press Enter twice.
Now you have to search these lines:
If you want your weapon to be sticky, change these values to -1, like:
Now your grenade is sticky. 8)
And if you want your weapon to be bouncy, it's really simple: Change these values to 1, like:
Be careful with this kind of weapon, because your weapon needs to explode, else it bounces forever until it falls in the water. The most classic way for a weapon to explode is when the "<LifeTime>" delay is reached. The life time of the grenade is 6000 (in millisecond), what it means 6 seconds. The " 5.. 4.. 3.. 2.. 1.." counter can be hidden with "IsFuseDisplayed". Set this to "false" and the counter won't appear, like the mine.
Now you have a sticky or a bouncy weapon.
Oh, and don't forget to set "DetonatesOnLandImpact" to false, else your weapon will explode on a wall like the bazooka.
I'm sorry for my english which is sometimes pretty hard to understand.
I hope that my tutorial will be useful, even if there isn't a lot of tweakers at this time.
Bye.
Okay, firt of all, I want you to know that I'm french and I might not be really understanding.
The title says it all...
The first thing you need to do is to open WeapTwk.xml, which is in Worms 4 Mayhem/data/Tweak.
So in this tutorial we're going to make a sticky Grenade, which is something really cool.
Press Ctrl+F, type "kWeaponGrenade", and press Enter twice.
Now you have to search these lines:
- Code:
<TangentialMinBounceDamping></TangentialMinBounceDamping>
<ParallelMinBounceDamping></ParallelMinBounceDamping>
<TangentialMaxBounceDamping></TangentialMaxBounceDamping>
<ParallelMaxBounceDamping></ParallelMaxBounceDamping>
If you want your weapon to be sticky, change these values to -1, like:
- Code:
<TangentialMinBounceDamping>-1</TangentialMinBounceDamping>
<ParallelMinBounceDamping>-1</ParallelMinBounceDamping>
<TangentialMaxBounceDamping>-1</TangentialMaxBounceDamping>
<ParallelMaxBounceDamping>-1</ParallelMaxBounceDamping>
Now your grenade is sticky. 8)
And if you want your weapon to be bouncy, it's really simple: Change these values to 1, like:
- Code:
<TangentialMinBounceDamping>1</TangentialMinBounceDamping>
<ParallelMinBounceDamping>1</ParallelMinBounceDamping>
<TangentialMaxBounceDamping>1</TangentialMaxBounceDamping>
<ParallelMaxBounceDamping>1</ParallelMaxBounceDamping>
Be careful with this kind of weapon, because your weapon needs to explode, else it bounces forever until it falls in the water. The most classic way for a weapon to explode is when the "<LifeTime>" delay is reached. The life time of the grenade is 6000 (in millisecond), what it means 6 seconds. The " 5.. 4.. 3.. 2.. 1.." counter can be hidden with "IsFuseDisplayed". Set this to "false" and the counter won't appear, like the mine.
Now you have a sticky or a bouncy weapon.
Oh, and don't forget to set "DetonatesOnLandImpact" to false, else your weapon will explode on a wall like the bazooka.
I'm sorry for my english which is sometimes pretty hard to understand.
I hope that my tutorial will be useful, even if there isn't a lot of tweakers at this time.
Bye.
WormsS- Worms tweaker
- Posts : 49
Activity Points : 69
Reputation : 9
Join date : 2010-03-31
Age : 26
Location : France
WormsS- Worms tweaker
- Posts : 49
Activity Points : 69
Reputation : 9
Join date : 2010-03-31
Age : 26
Location : France
Re: How to make a bouncy or a sticky weapon
I knew that already do and even easier
- Code:
<TangentialMinBounceDamping>0</TangentialMinBounceDamping>
<ParallelMinBounceDamping>0</ParallelMinBounceDamping>
<TangentialMaxBounceDamping>0</TangentialMaxBounceDamping>
<ParallelMaxBounceDamping>0</ParallelMaxBounceDamping>
or: <HasAdjustableBounce>false<HasAdjustableBounce>
Similar topics
» Is there a way to make a weapon give health
» help please how do you make a weapon shoot several shots???
» how to make a Effects Combination
» How to make a c4
» How to make your own fontend music
» help please how do you make a weapon shoot several shots???
» how to make a Effects Combination
» How to make a c4
» How to make your own fontend music
Worms 4 and Ultimate Mayhem tweaking mods :: 3D PC games // Tweaking that we major in :: Worms 4 mayhem :: Tweaking Tutorials
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|