Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - CFK

Pages: [1]
1
Help / Re: Mapscript documentation
« on: December 01, 2023, 05:30:01 pm »
And... it works ! I'm beginning to understand how it works thanks to you.

2
Help / Re: Mapscript documentation
« on: December 01, 2023, 01:56:09 pm »
So, if I understand correctly (but I doubt it), if I want to place a unique 30x30 mapblock, should I set the size parameter to 3 ? What if I want to place a 30x20 or 20x10 mapblock ?

I ask this because I've tried it with a 20x20 mapblock, no problem. But as soon as I want one with a more "exotic" size, it doesn't work. The map is generated but the mapblock doesn't appear. So I copied the method used in X-Piratez by making a UFO appear (addUFO), and it works, but I feel like I'm tinkering.

In any case, thank you for your help as it's really not intuitive. The documentation is clear on many parameters, but not at all on mapscripting.

3
Help / Re: Mapscript documentation
« on: November 30, 2023, 10:46:24 am »
Yes, that's what I was afraid of. I generally like to know what I'm doing, which is why I asked the question.

The addUFO and addCraft commands are pretty self-explanatory, but I have no idea what addBlock and fillArea are for. But I'll give it a try, thanks.

EDIT : and it's working, many thanks !

4
Help / Mapscript documentation
« on: November 29, 2023, 02:08:36 pm »
I'm making a very simple map for learning and I think I've understood how to do it with the help of MapView2. However, when I try to launch it I get "Map failed to fully generate".

I've looked at how several mapscripts are written and done some research, and I have to admit that this is black magic for me. Is there any clear documentation on the subject ?

Pages: [1]