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.

How to make a bouncy or a sticky weapon

3 posters

Go down

How to make a bouncy or a sticky weapon Empty How to make a bouncy or a sticky weapon

Post by WormsS Tue Feb 19, 2013 6:33 pm

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

      <TangentialMinBounceDamping></TangentialMinBounceDamping>
      <ParallelMinBounceDamping></ParallelMinBounceDamping>
      <TangentialMaxBounceDamping></TangentialMaxBounceDamping>
      <ParallelMaxBounceDamping></ParallelMaxBounceDamping>
These lines are useful to change the values of the bouncing properties.
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>
And you will have a bouncy grenade. Smile
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
WormsS
Worms tweaker
Worms tweaker

Posts : 49
Activity Points : 69
Reputation : 9
Join date : 2010-03-31
Age : 26
Location : France

Back to top Go down

How to make a bouncy or a sticky weapon Empty Re: How to make a bouncy or a sticky weapon

Post by Dzani Sun Mar 03, 2013 9:27 pm

You have been promoted to Worms Tweaker Rank.
Dzani
Dzani
Admin
Admin

Posts : 575
Activity Points : 953
Reputation : 87
Join date : 2008-01-10

https://worms4mayhem.forumotion.com

Back to top Go down

How to make a bouncy or a sticky weapon Empty Re: How to make a bouncy or a sticky weapon

Post by WormsS Sun Mar 03, 2013 9:52 pm

Yay ! Very Happy
WormsS
WormsS
Worms tweaker
Worms tweaker

Posts : 49
Activity Points : 69
Reputation : 9
Join date : 2010-03-31
Age : 26
Location : France

Back to top Go down

How to make a bouncy or a sticky weapon Empty Re: How to make a bouncy or a sticky weapon

Post by TKDF Fri Sep 06, 2013 6:58 pm

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>
I'm Tweaker Tounge
TKDF
TKDF
Standard Member

Posts : 547
Activity Points : 811
Reputation : 24
Join date : 2012-02-23
Age : 26
Location : Italy

http://soundcloud.com/tkdf

Back to top Go down

How to make a bouncy or a sticky weapon Empty Re: How to make a bouncy or a sticky weapon

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