Switch language

Default language

 
Random picture
gallery
 
   On 06/13/11 at 22h35 Quote      

Member

Group: Member

Signed up since: 06/13/11
Messages: 5
hi

I like this game very much!

but it would be very cool, if I could add new weapons and water-types.

I hope this will be added in the future.

____________________
:lol aligator :lol

pm http://    
   On 06/17/11 at 16h55 Quote      

Administrator

Group: WarMUX Team

Signed up since: 09/16/09
Messages: 233
Place: France
New weapons is unlikely as you have no easy way to define their behaviour. I know people did change the images though.

New water is possible, however long:
  1. Check http://www.wormux.org/phpboost/wiki/map-creation to learn how to create a custom map
  2. Check in the config file the
    <water>
    tag; the documentation above says which types are allowed.

From now on, I don't know if it works (I'm pretty sure it won't work in network games, unless the other player has all of the files you are creating or modifying) and have no time to validate this:
  1. Add in data/water the new water type folder, let's say slime, with:
    • A 1x22 png file for the water texture, named slime.png
    • An image of some size around 9x9, named slime_drop.png (the 'skin' of the drops projected when something falls into the slime)
  2. In data/graphism.xml, there's a section called
    <section name="water_colors">
    You must add there such information as:
    <color name="slime" r="60" g="0" b="0" a="224" />
    with r,g,b the values of the RGB components
  3. In the new map you created you should be able to specify the new water type "slime".

As I said, no guarantee.
____________________
Whenever reporting a problem, please report the following information:
  • Environment: Windows (XP/2000/Vista/Seven/...), Linux (Ubuntu Karmic/Mandriva/...), ...
  • Context of the game: network/local game, normal/blitz mode, what you were doing, ...
  • Frequency and reproducibility: crashes after 5 minutes of play, only after some action ...

pm http://www.wormux.org    
   On 07/01/11 at 17h48 Quote      

Member

Group: Member

Signed up since: 06/13/11
Messages: 5
so, I tested it now:

I first looked into the water-folder. there is a folder called wine!
so I tried to use wine, but it dindn't worked.
then I looked into the graphism.xml and saw this:

<section name="water_colors">
<color name="wine" r="60" g="0" b="0" a="224" />
<color name="water" r="0" g="109" b="193" a="127" />
<color name="lava" r="255" g="148" b="0" a="224" />
<color name="radioactive" r="170" g="212" b="0" a="224" />
<color name="dirtywater" r="67" g="107" b="21" a="64" />
<color name="chocolate" r="30" g="18" b="2" a="255" />
</section>


and this:

<!-- Water -->
<surface name="water" file="water/water/water.png" />
<surface name="water_bottom" file="water/water/water_bottom.png" />

<surface name="lava" file="water/lava/lava.png" />
<surface name="lava_bottom" file="water/lava/lava_bottom.png" />

<surface name="radioactive" file="water/radioactive/radioactive.png" />
<surface name="radioactive_bottom" file="water/radioactive/radioactive_bottom.png" />

<surface name="dirtywater" file="water/dirtywater/dirtywater.png" />
<surface name="dirtywater_bottom" file="water/dirtywater/dirtywater_bottom.png" />

<surface name="chocolate" file="water/chocolate/chocolate.png" />
<surface name="chocolate_bottom" file="water/chocolate/chocolate_bottom.png" />

</section>


wine wine was already there, but only this:
<color name="wine" r="60" g="0" b="0" a="224" />


so I added this:

<surface name="wine" file="water/wine/wine.png" />
<surface name="wine_bottom" file="water/wine/wine_bottom.png" />


and it worked!!!
now I can use wine in my maps.

but there is one strange thing:
in the water-folders are only the
(for example:)
lava.png and lava_drop.png, but no lava_bottom.png like I saw in the XML.

what is this not-existing *_bottom.png for?

edit:
the drop is wrong. it uses the water drop...



Edit by aligator On 07/01/11 at 18h01
____________________
:lol aligator :lol

pm http://    
   On 07/02/11 at 01h14 Quote      

Administrator

Group: WarMUX Team

Signed up since: 09/16/09
Messages: 233
Place: France
The file <type>_bottom.png was loaded as a texture, but had always consisted in a solid color. It is no longer loaded, and should be removed.

The drops are strangely defined in weapons.xml, like this:
<sprite name="water_drop">
<image file="water/water/water_drop.png" />
</sprite>
____________________
Whenever reporting a problem, please report the following information:
  • Environment: Windows (XP/2000/Vista/Seven/...), Linux (Ubuntu Karmic/Mandriva/...), ...
  • Context of the game: network/local game, normal/blitz mode, what you were doing, ...
  • Frequency and reproducibility: crashes after 5 minutes of play, only after some action ...

pm http://www.wormux.org    
   On 07/03/11 at 19h21 Quote      

Member

Group: Member

Signed up since: 06/13/11
Messages: 5
ok, but when I add a new entry like this:
<sprite name="wine_drop">
<image file="water/wine/wine_drop.png" />
</sprite>

it doesn't work.
this is bad....
____________________
:lol aligator :lol

pm http://    

 |  |

1 User online :: 0 Administrator, 0 Moderator, 0 Member and 1 Visitor
User online: No member online
Answer
You aren't allowed to write in this category