Worms 4 Tweaking

Le tweaking ou comment créer ses armes au delà de l'usine d'armes

Partagez | 

 1 - Getting started

Aller en bas 

Nombre de messages : 1133
Age : 27
Localisation : data\\Tweak\\
Date d'inscription : 25/05/2006

MessageSujet: 1 - Getting started   Mar 1 Jan - 18:56

Read this tutorial first to warm up your neurons if you are very new to tweaking. You will need them to understand the other tutorials here.

)--- Introducing tweaking
Tweaking? What the hell is that?
Tweaking defines editing data (tweak) files in the game in order to modify its different properties (weapons, maps, schemes, ...), or eventually add your own properties.

Can it harm my game? Or my computer?
Yes, "do it at your own risk". A simple mistake in your editing can make the game crash at startup, but there is usually a way to fix it.
It will never harm your computer, so don't worry about that.

Should I download anything?
Nope. Notepad is enough, you don't need anything else.

What should I do with Notepad, then?
Open the tweak files using Notepad, and edit their content.

And what can I begin with?
First, you must know what you want to do. You will not edit all the tweak files, only a few of them will be useful --> Which files to edit?

Let's go!
/!\ Hey, wait a moment! Before editing any file, copy it, and put it in a safe location, so you can restore it if something goes wrong.

)--- Manipulating tweak files
I can't find those "tweak files"!
If you know where you have installed Worms 4 Mayhem, go there. Open the "data" folder, and then, find the "Tweak" folder. Open it, and you should see lots of .xml files. There you go, you have just found the tweak files!

If you don't know where you have installed it, it's probably in the default path, which is "Program Files\Codemasters\Worms 4 Mayhem". If it's not there, then search "Worms 4 Mayhem.exe" using the Windows Search function.

I can't edit the files...
Right click on the file you want to edit, then select "Open with...", "Select the program from a list", select Notepad, then click OK.

Oh noes! CODE!
Don't worry if you don't know programming at all. The tutorials are here to teach you how to use that code.

Too much code! I can't find the code in the tutorial!
Use the Find function of your text editor to find a line more easily.
(for Notepad : Ctrl + F, or Edit > Find..., enter the text you want to find, and click "Find Next" until you reach what you are looking for)

)--- How to read the tutorials?
There is code! No way I can understand that!
The code is not here to make things harder. The tutorials are only quoting the code used in the tweak files so they are easier to understand.

Not really easier to understand...
Open the file quoted in the tutorial, and find the code you can't understand.

Are your tutorials reliable, at least?
There may be a few mistakes in some tutorials, but we are trying to avoid this as much as possible. By the way, you can still try to fix the error by yourself and notify us about it!

)--- Tweaking
How to verify if my code is working?
Just try it! Save your file, and run the game.

My weapon doesn't do what I was expecting!
A tweaked weapon is rarely perfect on the first run. After testing your weapon, fix your code, try it, fix it again, and try it again... until you get what you want.

I have edited a weapon, but I see no changes in the game!
Remember to save the file before launching the game, else it won't detect the changes you have made.

When I try to improve my weapon on one side, flaws appear on the other side...
Sometimes, a part of the code may affect another part. Try to balance your weapon and minimize the flaws.

Tutorial written by Maycne Sonahoz
Translated by _Kilburn

Windows did not detect any keyboard. Press Enter to continue...
Revenir en haut Aller en bas
Voir le profil de l'utilisateur http://w4-tweaking.bb-fr.com
1 - Getting started
Revenir en haut 
Page 1 sur 1
 Sujets similaires
» Ange ; you could get back then started young (uc)

Permission de ce forum:Vous ne pouvez pas répondre aux sujets dans ce forum
Worms 4 Tweaking :: ENGLISH Section :: ENGLISH Section :: Tweaking Tutorials and Support :: Tweaking Basics Tutorial-
Sauter vers: