OpenXcom Forum
Modding => Work In Progress => Topic started by: Nord on January 13, 2017, 02:51:47 pm
-
Hello.
Question: is there a way to add item to the battleground while generating map, other than create ufo-looking-like-terrain? Or else is there a way to mark these ufo on the globe as terror site (special mission)?
-
I've read your post several times, but I really don't understand what do you want to say.
Can you maybe give some concrete examples?
-
I'm also confused like Meridian since you seem to be talking about 2 different things at the same time. But I'll try to explain both.
You can place items, like weapons or equipment on specific maps upon mission start with this:
mapBlocks:
- name: AREARAID00
width: 50
length: 50
items:
STR_DATA_DISK_1:
- [6, 17, 3]
Where the [6, 17, 3] is the location on the AREARAID00 mapblock where the item will be placed.
Is this what you want to know?
-
I'm also confused like Meridian since you seem to be talking about 2 different things at the same time. But I'll try to explain both.
You can place items, like weapons or equipment on specific maps upon mission start with this:
mapBlocks:
- name: AREARAID00
width: 50
length: 50
items:
STR_DATA_DISK_1:
- [6, 17, 3]
Where the [6, 17, 3] is the location on the AREARAID00 mapblock where the item will be placed.
Is this what you want to know?
Yes, exactly. Many thanks.
Is it descripted somewhere, and i missed it again?
I saw only examples with same command in elerium/zrbite placement in ufo/uso, so thinked it is possible only there. Glad i was wrong.
-
You can find examples in such mods as: Area 51, Piratez, Final Mod Pack, X-Com Files.
I could post some examples here, but it's exactly the same syntax as Hobbes' example.
Or, if you are using OXCE+, you can use a random list:
- name: CAVES_01
width: 20
length: 20
randomizedItems:
- position: [12, 15, 2]
amount: 1
mixed: true
itemList: [STR_SKULL, STR_SPIDERWEB, STR_SPIDERWEB, STR_SPIDERWEB, STR_OLD_HANDBAG, STR_OLD_BOOT, STR_SHIV, STR_BONE, STR_BIG_BONE]
In this example, one item is taken at random from the list.
-
Yup, thanks.
-
Yes, exactly. Many thanks.
Is it descripted somewhere, and i missed it again?
I saw only examples with same command in elerium/zrbite placement in ufo/uso, so thinked it is possible only there. Glad i was wrong.
I actually only explained one of them but I'm glad I was right :)
This should be described on the maps section of the ruleset page at https://ufopaedia.org
As a general rule, everything you see on the vanilla rulesets can be used elsewhere. There are a few exceptions like the alien's Psi Weapon though.
-
I actually only explained one of them but I'm glad I was right :)
This should be described on the maps section of the ruleset page at https://ufopaedia.org
As a general rule, everything you see on the vanilla rulesets can be used elsewhere. There are a few exceptions like the alien's Psi Weapon though.
By the way, (offtopic) psi-weapon can be divided to two: one for panic and second for control? It seems hardcoded...
-
In extended you can split them to separate weapons (+bonus one that do damage instead of MC or PA).