How to add my own levels?

4 replies [Last post]
Mihalyfi
Mihalyfi's picture
User offline. Last seen 14 years 34 weeks ago. Offline
Joined: 2009-01-31
Posts: 26

Q: How to add my own levels?

I tried making a my own worms remake some time ago, but gave up when i found this game, so ive got loads of 2D levels from Sonic, Mario, and others i made, I dought you could use them due to copyright issues, but is there a way i can install them so i can play them offline?

The average map size is no more than 3000x2000 with 2 Bitmaps, The Foreground/Land and the Background.

;)Thanks for any help

Everyone Be Cool, You, Be Cool.

Mihalyfi
Mihalyfi's picture
User offline. Last seen 14 years 34 weeks ago. Offline
Joined: 2009-01-31
Posts: 26

No help yet?

Ho well, so far in "Hedgewars 0.9.9\share\hedgewars\Data\Maps" ive created a folder call "Super Mario World 2", in which i placed Map.png which i have reduced to the correct resolution, Then in Map.cfg ive added the line "Super Mario World 2" and a Preview Image, I then made the folder Hedgewars 0.9.9\share\hedgewars\Data\Themes\Super Mario World - 2, and copied a theme from a different map to get it working, but im getting the error "Last two enine messages: Reading objects ifo...bad data or cannot access file theme.cfg".

I would of assumed the theme would be fine as its the same as one from a default map, any idea how to get read of this error so the level will load?

Everyone Be Cool, You, Be Cool.

DrDickens
DrDickens's picture
User offline. Last seen 12 years 13 weeks ago. Offline
Joined: 2008-08-28
Posts: 316

It's reallly simple. You need a png image with zero alpha channels zones for hedges to walk. All u have 2 do, is copy any map folder and replace the map.png.
Btw i've made a mario map just for fun...
I don't hope it'll be of any halp. Forgive teh drunken russian engrish.

БЫСТРО БЛДЖАД! Полицейский, что это необходимо для Вас, блджа, падает отсюда блджад!

DrDickens
DrDickens's picture
User offline. Last seen 12 years 13 weeks ago. Offline
Joined: 2008-08-28
Posts: 316

Oh. By the moment you can only have 2048*1024 dimensions maps.

БЫСТРО БЛДЖАД! Полицейский, что это необходимо для Вас, блджа, падает отсюда блджад!

ttsmj
User offline. Last seen 14 years 7 weeks ago. Offline
Joined: 2008-05-13
Posts: 27

Mihalyfi allegedly wrote:
I would of assumed the theme would be fine as its the same as one from a default map, any idea how to get read of this error so the level will load?

In this case you must make sure everything is set up correctly. Hellish Hand Grenade

You need these files:

map.cfg
map.png [2048x1024]
preview.png [256x128]

Pay attention, the names must be lower case!

Open the map.cfg file and enter a name of a Theme you want to use. Themes are stored in a Data/Themes/ directory. If you don't know, type: nature

User login

Copyright © 2004-2024 Hedgewars Project. All rights reserved. [ contact ]