Hey, we have forums!

Author Topic: map editor (stupid question)  (Read 20356 times)

0 Members and 1 Guest are viewing this topic.

Offline putty321

  • Mini Bit
  • **
  • Posts: 3
    • View Profile
map editor (stupid question)
« 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

Offline Danger Mouse

  • Hero Bit
  • *********
  • Posts: 624
  • Shush.
    • View Profile
    • Danger Mouse
Re: map editor (stupid question)
« Reply #1 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

Offline putty321

  • Mini Bit
  • **
  • Posts: 3
    • View Profile
Re: map editor (stupid question)
« Reply #2 on: December 31, 2007, 01:14:12 pm »
ah, thanks that worked :)

Offline Danger Mouse

  • Hero Bit
  • *********
  • Posts: 624
  • Shush.
    • View Profile
    • Danger Mouse
Re: map editor (stupid question)
« Reply #3 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. ::)

Offline Danger Mouse

  • Hero Bit
  • *********
  • Posts: 624
  • Shush.
    • View Profile
    • Danger Mouse
Re: map editor (stupid question)
« Reply #4 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.

Offline putty321

  • Mini Bit
  • **
  • Posts: 3
    • View Profile
Re: map editor (stupid question)
« Reply #5 on: January 06, 2008, 07:35:01 pm »
yeah it'd better be  :D

Offline Danger Mouse

  • Hero Bit
  • *********
  • Posts: 624
  • Shush.
    • View Profile
    • Danger Mouse
Re: map editor (stupid question)
« Reply #6 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

Offline deb

  • Mini Bit
  • **
  • Posts: 7
    • View Profile
Re: map editor (stupid question)
« Reply #7 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

Offline Alec

  • Administrator
  • Dream Bit
  • **********
  • Posts: 2211
    • View Profile
Re: map editor (stupid question)
« Reply #8 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. :)

Offline Tosheros

  • Bit Bit
  • ****
  • Posts: 93
  • Sorry for my awfull english. I am a French X-D
    • View Profile
Re: map editor (stupid question)
« Reply #9 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...
I should think about something stupid to put in there...

Offline TheBear

  • Extra Bit
  • *****
  • Posts: 199
    • View Profile
    • http://doconnell.wordpress.com
Re: map editor (stupid question)
« Reply #10 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"
« Last Edit: April 01, 2008, 01:38:02 am by TheBear »

Offline Tosheros

  • Bit Bit
  • ****
  • Posts: 93
  • Sorry for my awfull english. I am a French X-D
    • View Profile
Re: map editor (stupid question)
« Reply #11 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...
I should think about something stupid to put in there...

Offline TheBear

  • Extra Bit
  • *****
  • Posts: 199
    • View Profile
    • http://doconnell.wordpress.com
Re: map editor (stupid question)
« Reply #12 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.

Offline Alphasoldier

  • Dream Bit
  • **********
  • Posts: 1810
  • Zero Suit!
    • View Profile
Re: map editor (stupid question)
« Reply #13 on: April 01, 2008, 07:20:05 pm »
Node will be placed where your cursor is, handy to know if you didn't already.
God sees and knows everything, but at least he won't gossip about it.

Offline Tosheros

  • Bit Bit
  • ****
  • Posts: 93
  • Sorry for my awfull english. I am a French X-D
    • View Profile
Re: map editor (stupid question)
« Reply #14 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...
« Last Edit: April 01, 2008, 08:14:22 pm by Tosheros »
I should think about something stupid to put in there...