OpenXcom Forum
Modding => Work In Progress => Topic started by: bulletdesigner on May 16, 2017, 04:36:35 pm
-
i hate to be the one putting out these simple questions that maybe someone as answered before. so bear with me
its simple i made a 50 x 30 cathedral , i want to use it was an UFO so the environment may vary
(https://thumb.ibb.co/knkCmQ/CAT.gif) (https://ibb.co/knkCmQ)
but i guess UFO only works as 30x30 map, in mapdeploy data i made 60x60 ( a lot of space still to insert 30x50) map still no cathedral appear, also the height is capped to 4 so it do no conflict with other terrain blocks
Why it won´t work? can it work?
-
but i guess UFO only works as 30x30 map
UFOs can also be rectangular, I just debugged a 50x20 UFO in XcomFiles earlier today.
https://openxcom.org/forum/index.php/topic,5047.msg83102.html#msg83102
Why it won´t work? can it work?
It can work.
I don't know why it doesn't work in your case... I can help debug if you can't solve it... but I will need a snapshot of your entire mod (and a save just before landing if possible; or New Battle settings).
-
to be honest i made no map script, since it worked on the other ufo i created using the 30x30, they deploy vanilla script , so that´s the problem i think if i make the new script, i need to script all terrain types with a diferent name and define other data like zone and world dat that i´m not into yet. But That way i have no problem since i have made other maps with 30 x 70 work fine, but i have to make a diferent map for all terrain types ( for what i see made in other mods, and maybe that´s the reason behind)
-
I didn't say you need a new script.
I just said it works (and should work with existing scripts too).
But I need more info to say more...
-
Meridian sorry about the mess , just made it work , was a line not introduced, works fine now , noticed when i was copy pasting rullset´s to send
-
If you need any help getting maps to work just drop me a line :)
Nice cathedral btw
-
By the way, if you're using OXCE/OXCE+, you don't need to turn the map into a UFO in order to place it on different terrains, this was one of the features of the vertical/alternate terrain code. If you have the cathedral in it's own terrain, you can add it by the addBlock mapscript:
mapscripts:
- type: [Some terrain name]
commands:
- type: addBlock
verticalLevels:
- type: ground
groups: 0
size: [1, 1, 0]
- type: middle
terrain: [Name of Cathedral's terrain]
maxRepeats: 1
-
By the way, if you're using OXCE/OXCE+, you don't need to turn the map into a UFO in order to place it on different terrains, this was one of the features of the vertical/alternate terrain code. If you have the cathedral in it's own terrain, you can add it by the addBlock mapscript:
mapscripts:
- type: [Some terrain name]
commands:
- type: addBlock
verticalLevels:
- type: ground
groups: 0
size: [1, 1, 0]
- type: middle
terrain: [Name of Cathedral's terrain]
maxRepeats: 1
you made me interested in this vertical map option, i´m planning to add tank´s (1x1 map using terrorists units ) and crafts (1 x 1 map using civilian), and that´s seems the way to go add a map with a craft and a separated with a tank on several map´s
also thank for help all people on thread