Bit Blot Forum

Aquaria => Modding => Topic started by: putty321 on December 30, 2007, 09:30:11 pm

Title: map editor (stupid question)
Post by: putty321 on December 30, 2007, 09:30:11 pm
well, i tried the map editor and i was able to but some things in the template mod circle map thingy... but now i wonder how i could make a multiple room / bigger circle, since i wasnt able to remove the obstructions/ tile's of the black around the circle  :'( so im kinda stuck now.

thanks if you help  :P
Title: Re: map editor (stupid question)
Post by: Danger Mouse on December 31, 2007, 03:37:20 am
The easist method would be to open a paint program with a new image filled with black (RGB = 0 0 0) then design the areas of the maps internal caves and open areas above water with white (RGB 255 255 255). The image size must have equal width and height, and saved in _mods/'your mods name'/maptemplates folder. Then when you load your mod in aquaria open the menu choose load level and type in your maps name, you'll then want to go back to the menu and choose regen rock from maptemplate.            ;D
Title: Re: map editor (stupid question)
Post by: putty321 on December 31, 2007, 01:14:12 pm
ah, thanks that worked :)
Title: Re: map editor (stupid question)
Post by: Danger Mouse on January 01, 2008, 06:20:00 am
No problem I'm glad I could be of help. There is an html guide that explains a lot for modding that is available here in the forums. I don't have the link memmorized, but you could use the search option or browse around the forums for it. I found it usefull to save the html's locally. I do have a problem with the key functions listed for the editor in such that I cannot get the Shift-C or Shift-V to work in the editor to change the scale of a tile. Been waiting for a response to this issue. ::)
Title: Re: map editor (stupid question)
Post by: Danger Mouse on January 01, 2008, 10:30:43 pm
Apparently the guide was missing the information that you must right click and hold while holding shift-c or shift-v and then move the mouse in the direction that you want to enlarge or shrink the selected tile. I found this information on the wiki page. I haven't had the chance to verify this yet, but I'm sure the information is correct.
Title: Re: map editor (stupid question)
Post by: putty321 on January 06, 2008, 07:35:01 pm
yeah it'd better be  :D
Title: Re: map editor (stupid question)
Post by: Danger Mouse on January 06, 2008, 08:38:46 pm
yeah, I forgot to get back to this post, I verified that it works. I wish instead that you coud free transform the tiles by clicking and holding both left and right mouse buttons. Another great add would be to let you use the wheel mouse to cycle back and forth through tiles. The same implimentation could be used for entities. I these could be some serious conciderations for the next update. ;D
Title: Re: map editor (stupid question)
Post by: deb on March 31, 2008, 04:49:56 pm
I too am having trouble creating my first map. I created a folder mymod in _mods. Then inside it, I created a maps folder with a simple xml file (without any png info, just the water level and gradients as by Derek's simple tutorial). Then also inside the mymod folder I created a maptemplates folder and inside a .png 512x512 image created in paint (white background and a few black lines for the walls). Gave it the same name as the xml file in the maps folder. When I open the editor it would not go into the map. Then I added a lua script to load the map file. Now I can do Tab and enter the edit mode, but when I press F11 to load the picture map onto the xml in the maps folder nothing happens. Do I need another lua script to load the image data into the xml in the maps folder?

Thanks

deb
Title: Re: map editor (stupid question)
Post by: Alec on March 31, 2008, 07:05:14 pm
Would you mind sending me your mod so I can check it out and see if there's anything wrong?

If you could zip it up and email it to zaphire@gmail.com that would be best. Thanks. :)
Title: Re: map editor (stupid question)
Post by: Tosheros on April 01, 2008, 01:13:21 am
I also got my share of stupid questions :

1. I can't add nodes ???  In the tutorial they say we just have to press the space bar, but nothing happens...

2. How can i choose the water level? It remains at the very top of the map so I can't pass through it, just hear the sound at the end of the map...
Title: Re: map editor (stupid question)
Post by: TheBear on April 01, 2008, 01:24:48 am
1. Ctrl + Space will drop a node.
 
2. Water level is changed in the map.xml file in the "maps" folder of your mod. When you're in the map editor there are two numbers  on the top bar in the middle which are your x,y coordinates of where your mouse currently is. So if your mouse is pointing at y=5000 go into your xml file and change waterLevel="0" to waterLevel="5000"
Title: Re: map editor (stupid question)
Post by: Tosheros on April 01, 2008, 11:14:53 am
Thank you for the water level.

I still can't drop nodes.... I hope I hadn't accidentally erased something...
Title: Re: map editor (stupid question)
Post by: TheBear on April 01, 2008, 05:17:04 pm
Make sure you're in Node editing mode. Click Menu - Edit Nodes (Shortcut F7).  Then try ctrl + space.
Title: Re: map editor (stupid question)
Post by: Alphasoldier on April 01, 2008, 07:20:05 pm
Node will be placed where your cursor is, handy to know if you didn't already.
Title: Re: map editor (stupid question)
Post by: Tosheros on April 01, 2008, 07:27:56 pm
Node will be placed where your cursor is, handy to know if you didn't already.

XD I'm not that dumb
Still does'nt work, i'll try a new map...

Edit => I tried with all the other maps given, and I can never create nodes... I can edit existing nodes but not create.

I begin to wonder if it is not related to the fact I am using an Azerty keyboard, but since the others manipulations where I need the Spacebar or Control works...
Title: Re: map editor (stupid question)
Post by: TheBear on April 01, 2008, 09:22:50 pm
hah sorry only thing I could think of. 
Title: Re: map editor (stupid question)
Post by: Alphasoldier on April 02, 2008, 02:11:39 pm
Sorry, some people don't know that. And I guess you've also tried to put your keyboard on the UK standard. And use both Ctrl's. If it still deosn't work, try another keyboard.