1 (edited by snowwi 2012-07-15 20:50:48)

Topic: [TOOL] Automapper-Rules

Hi,
I just developp a little PHP script for an easy way to create a Automapper-rule.
It is hosted here : http://data.axxer.de/Automapping/upload.php (Thanks to Axxer and http://www.teeworlds.de/ to host it )
If you don't know what a Automapper-Rules is, please go here : https://www.teeworlds.com/forum/viewtopic.php?id=8886 (Thanks to jxsl13 for this tutorial)

How to use :
1. Upload the Tileset for which you want a Automapper-rule.
2. If there is already a Automapper-rule, then go to step ...
3. Click the tile who will be the "Basetile". At the next page, click on "Is Basetile".
4. Click the other tiles. Complete the requeste case in the table, like this : http://img844.imageshack.us/img844/5687/automapper.png.
Then click on create the rule.

5. Then you finished to create the Rule, copy the text in the textbox.
6. Open a text editor, and paste the text in.
7. Don't forget to add "[name_of_the_rule]" in the begin.
8.Save the files in "teeworld/data/editor" as "name_of_the_tileset.rules"

You should be able to use the rule.

Please report Bugs here.
PS : Don't pay attention to the french over the table.


What is planed :

-Add "random" option
-Add "index Number" option
-Add the possibility to create multiple rules for one tileset
-Add "XFLIP"
-Add "YFLIP"

-better design (I am not good in CSS, if you could help me)
-Homepage what show all uploaded tileset


Edit :
The bug come from wrong permission for the folder. Axxer had to change the server where the script where hosted.

--Google translation is my friend--
I can german, french and a bit of english smile

2

Re: [TOOL] Automapper-Rules

Very handy tool, I wish I had this a couple weeks ago =P

3

Re: [TOOL] Automapper-Rules

Well i think it's a great tool, but one thing is missing.
The function to not only use full or empty, nor the empty field, but to use index numbers with more complex patterns of usage and tilesets.
Still great work, keep it up smile

Teeworlds [ friends ] clan
Some YouTube Stuff about Teeworlds

4

Re: [TOOL] Automapper-Rules

Good work, but i have a problem when i upload my tileset :

PunBB bbcode test

And there is no parameter in the URL : http://automapper.teeworlds.de/tileset.php?tileset=
If i add manually the tileset name to the URL, i can see tileset upload by other users, but not mines.

PS: I tried with standart and custom tilesets.

5

Re: [TOOL] Automapper-Rules

I have the same problem as cris272. I'll try again but I think your script is buggy smile

Once in a century...

6 (edited by snowwi 2012-07-15 18:38:14)

Re: [TOOL] Automapper-Rules

Could you please send me the tileset what you wanted tu upload in PM ?
I will try to fix it when i have time smile
EDIT : hum, I test different tileset in localhost, and it worked. The problem is probably in the server...

--Google translation is my friend--
I can german, french and a bit of english smile

7

Re: [TOOL] Automapper-Rules

I tried whith "desert_main" or "grass_main" as standart tilesets and Soar as custom.

Thanks smile

8

Re: [TOOL] Automapper-Rules

I tried with grass_main and mipEr's grass tileset. None work.

Once in a century...

9

Re: [TOOL] Automapper-Rules

The bug come from wrong permission for the folder. Axxer had to change the server where the script where hosted.
You can now use it normally.

--Google translation is my friend--
I can german, french and a bit of english smile

10

Re: [TOOL] Automapper-Rules

Does anyone still have this script or know of another tool that can make writing an automapper script easier?

Jesus is my Lord and Savior. Praise be unto God for giving us a way to live with him.

Check out my DeviantArt for all my TeeWorlds art and ideas for Teeoworlds