Mirage Source http://miragesource.net/forums/ |
|
More Tiles in MapEditor http://miragesource.net/forums/viewtopic.php?f=210&t=36 |
Page 1 of 1 |
Author: | Tutorial Bot [ Thu Jun 01, 2006 8:50 pm ] |
Post subject: | More Tiles in MapEditor |
Author: grimsk8ter11 Difficulty: 1/5 See Also: http://www.key2heaven.net/ms/forums/viewtopic.php?t=797 :: CLIENT SIDE :: In modGameLogic, find: Code: Public Sub EditorInit() Change: Code: .Height = 255 * PIC_Y To: Code: .Height = 500 * PIC_Y Now, in frmMirage, click on the scrollbar that you use to navigate your tileset. On properties you will see: Code: Max: 255 Just change that to: Code: Max: 500 That's all! |
Author: | Acruno [ Sat Aug 16, 2008 12:02 pm ] |
Post subject: | Re: More Tiles in MapEditor |
Sorry for the necropost but this has been bugging me. No matter what number I put before the * PIC_Y, it stops at a certain point, and just displays black, as though there is another maximum somewhere. Have I missed something, do I need to define the height of my Tiles.bmp somewhere? |
Author: | Jack [ Sat Aug 16, 2008 4:56 pm ] |
Post subject: | Re: More Tiles in MapEditor |
Re do the tutorial , or reopen your project and do it again. that should work unless there is another bit to the tutorial which I doubt. |
Author: | Robin [ Sat Aug 16, 2008 5:20 pm ] |
Post subject: | Re: More Tiles in MapEditor |
Jack wrote: Re do the tutorial , or reopen your project and do it again. that should work unless there is another bit to the tutorial which I doubt. What would re-opening your project do? Anyway, if your tileset is huge, it might have reached a pre-defined limit in memory. Or you've just done the tutorial wrong, or set the height of the picture box too small. |
Author: | Acruno [ Sat Aug 16, 2008 6:55 pm ] |
Post subject: | Re: More Tiles in MapEditor |
Kind of hard to do the tutorial wrong Any way of changing that pre-defined limit? Or would that be stupid and make the whole thing slow to a crawl? |
Author: | Lea [ Sat Aug 16, 2008 7:22 pm ] |
Post subject: | Re: More Tiles in MapEditor |
Usually it's the hardware that causes the limits. Upgrade video card, system memory, etc... but srsly you should plan your tileset out well enough that you don't need 10 million tiles. |
Author: | Robin [ Sat Aug 16, 2008 7:26 pm ] |
Post subject: | Re: More Tiles in MapEditor |
Or just use multiple tilesets. I have 50, tiny tilesets which take up about 1.44mb each. Each map can only have one tileset, but they're complete enough to make some fantastic maps with them. |
Author: | Acruno [ Sat Aug 16, 2008 8:23 pm ] |
Post subject: | Re: More Tiles in MapEditor |
I assume that would optimize the map editor loading greatly, and also make mapping easier, being able to group tiles around themes (woodland, mountain, snowy etc.). Could you give me any pointers on how I would do it? I suppose I could just basically replicate the existing code, but I'm not entirely sure about assinging it to maps. |
Author: | Matt [ Sat Aug 16, 2008 9:05 pm ] |
Post subject: | Re: More Tiles in MapEditor |
Acruno wrote: I assume that would optimize the map editor loading greatly, and also make mapping easier, being able to group tiles around themes (woodland, mountain, snowy etc.). Could you give me any pointers on how I would do it? I suppose I could just basically replicate the existing code, but I'm not entirely sure about assinging it to maps. Wow. Either do one of two things. Download the current RC for MSE3 and rip the code.. Or save the tileset number to the map and load based on that. |
Author: | Acruno [ Sat Aug 16, 2008 9:11 pm ] |
Post subject: | Re: More Tiles in MapEditor |
Thanks Perfekt, I'll attempt to code it myself, and upon failing, will rip it |
Author: | Acruno [ Sun Aug 17, 2008 12:22 am ] |
Post subject: | Re: More Tiles in MapEditor |
It could just be that it is 1:30AM, but I cannot get my head round the Mod DirectX optimisations in MS2.44 so I am now asking directly for help. Anyone? |
Author: | Robin [ Sun Aug 17, 2008 12:40 am ] |
Post subject: | Re: More Tiles in MapEditor |
Go to sleep, have another look in the morning. Or go post in the 2.44 thread, rather than this thread. |
Page 1 of 1 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |