Author Topic: Add item on map.  (Read 3900 times)

Offline Nord

  • Commander
  • *****
  • Posts: 1637
  • The Gate is open.
    • View Profile
Add item on map.
« 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)?

Online Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 8616
    • View Profile
Re: Add item on map.
« Reply #1 on: January 13, 2017, 03:14:56 pm »
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?

Offline Hobbes

  • Commander
  • *****
  • Posts: 2101
  • Infiltration subroutine in progress
    • View Profile
Re: Add item on map.
« Reply #2 on: January 13, 2017, 03:55:09 pm »
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:

Code: [Select]
    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?

Offline Nord

  • Commander
  • *****
  • Posts: 1637
  • The Gate is open.
    • View Profile
Re: Add item on map.
« Reply #3 on: January 13, 2017, 05:34:08 pm »
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:

Code: [Select]
    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.

Offline Solarius Scorch

  • Global Moderator
  • Commander
  • *****
  • Posts: 11452
  • WE MUST DISSENT
    • View Profile
    • Nocturmal Productions modding studio website
Re: Add item on map.
« Reply #4 on: January 13, 2017, 05:43:49 pm »
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:

Code: [Select]
      - 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.

Offline Nord

  • Commander
  • *****
  • Posts: 1637
  • The Gate is open.
    • View Profile
Re: Add item on map.
« Reply #5 on: January 13, 2017, 06:20:14 pm »
Yup, thanks.

Offline Hobbes

  • Commander
  • *****
  • Posts: 2101
  • Infiltration subroutine in progress
    • View Profile
Re: Add item on map.
« Reply #6 on: January 13, 2017, 07:13:04 pm »
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.



Offline Nord

  • Commander
  • *****
  • Posts: 1637
  • The Gate is open.
    • View Profile
Re: Add item on map.
« Reply #7 on: January 13, 2017, 09:39:18 pm »
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...

Offline Yankes

  • Commander
  • *****
  • Posts: 3207
    • View Profile
Re: Add item on map.
« Reply #8 on: January 13, 2017, 10:38:52 pm »
In extended you can split them to separate weapons (+bonus one that do damage instead of MC or PA).