Author Topic: Plasma beam recoverable from UFO  (Read 2461 times)

Offline cevaralien

  • Captain
  • ***
  • Posts: 96
    • View Profile
Plasma beam recoverable from UFO
« on: July 17, 2020, 09:01:25 pm »
Hi, nice to meet all.

I'm making a mod, but  i have a issue with a feature. I want to do plasma beam recoverable, because in my mod, no alien items could be manufactured.

I try to assign a specialItem number, but i saw that these numbers are assigned to another items, like ufo power source. After that, i learn that these items are tied to maps items.

The other option that i was thinking is to "hide" a item in the UFO similar to the elerium, but i don't know yet how to do this.

Does needed to open the maps to put these "hide" item on UFO?

Sorry for my english, this is not my natural language.

wcho035

  • Guest
Re: Plasma beam recoverable from UFO
« Reply #1 on: July 18, 2020, 01:22:41 pm »
There are two ways of doing this.

1) You spawn an item in the ufo map, using the item spawn method, check 40k mod. You spawn an item on the ufo and salvage it after the mission. Item can be research and re-manufacture into a plasma cannon.

2) Harder way. You know MCD, PCK and photoshop editing and how to edit the sprite sheet belonging to a terrain from a ufo map.
You have to add a plasma weapon sprite that can later added in mapview2 on a ufo. Assign a special item number to the plasma weapon, only then you can salvage it, after ufo recovery. Pending on the special item number you gave it. Can be any number after 20.
« Last Edit: July 18, 2020, 01:30:56 pm by Precentor Apollyon »

Offline cevaralien

  • Captain
  • ***
  • Posts: 96
    • View Profile
Re: Plasma beam recoverable from UFO
« Reply #2 on: July 19, 2020, 04:41:00 pm »
Thanks, i will try the option 1.

Offline cevaralien

  • Captain
  • ***
  • Posts: 96
    • View Profile
Re: Plasma beam recoverable from UFO
« Reply #3 on: July 19, 2020, 09:00:46 pm »
Item spawn method? can you explain me more, please?

Thanks

Offline cevaralien

  • Captain
  • ***
  • Posts: 96
    • View Profile
Re: Plasma beam recoverable from UFO
« Reply #4 on: August 23, 2020, 07:01:28 pm »
After some reseach, i've done it. For people interested in Plasma Cannon recoverable, you only need to put the item on the UFO at some coordinate. See lines remarked:

Quote
  - type: STR_INFILTRATOR
    modSprite: Infiltrator
    size: STR_SMALL
    damageMax: 300
    speedMax: 4300
    power: 30
    range: 42
    score: 125
    reload: 32
    breakOffTime: 340
    battlescapeTerrainData:
      name: UFO_I1
      mapDataSets:
        - BLANKS
        - U_EXT02
        - U_WALL02
        - U_BITS
      mapBlocks:
        - name: UFO_I1
          width: 20
          length: 20
           items:
           STR_PLASMA_CANNON:
              - [9, 15, 0]
              - [9, 3, 0]

The coordinates depends on the place where you want to put the object. I used the program MapViewer to design and see the coordinates of vanilla UFOs, so, i found the places where i want the items.

These items are similar to another item recoverable, for example, heavy plasmas or alien grenades, so, you can do sprites to make them part of the scenary.

After found this, i decided no to put in my mod  ;D ;D ;D... but it works as learning.

Offline Docent

  • Colonel
  • ****
  • Posts: 100
    • View Profile
    • Email
Re: Plasma beam recoverable from UFO
« Reply #5 on: August 24, 2020, 02:03:48 pm »
After found this, i decided no to put in my mod  ;D ;D ;D... but it works as learning.

 :D why?

Offline The Reaver of Darkness

  • Commander
  • *****
  • Posts: 1489
    • View Profile
Re: Plasma beam recoverable from UFO
« Reply #6 on: August 24, 2020, 04:45:49 pm »
I've made "jelly beans" that correspond to UFO components: plasma array, plasma emitter, shield emitter. Let me know if you want a copy.

« Last Edit: August 24, 2020, 04:48:46 pm by The Reaver of Darkness »

Offline cevaralien

  • Captain
  • ***
  • Posts: 96
    • View Profile
Re: Plasma beam recoverable from UFO
« Reply #7 on: August 25, 2020, 03:00:23 am »
:D why?

Because my craft could begun to be owerpowered, and the plasma cannon would be available plentiful after some crash recovering or UFO assault.

Offline cevaralien

  • Captain
  • ***
  • Posts: 96
    • View Profile
Re: Plasma beam recoverable from UFO
« Reply #8 on: September 26, 2020, 05:35:29 pm »
I've made "jelly beans" that correspond to UFO components: plasma array, plasma emitter, shield emitter. Let me know if you want a copy.



This looks very good. I'm thinking about recoverable plasma cannons, but i want to do them disposable. Maybe i could use your copy, please. Thanks

thePaleone

  • Guest
Re: Plasma beam recoverable from UFO
« Reply #9 on: September 27, 2020, 03:57:43 am »
Nice mod.

Offline The Reaver of Darkness

  • Commander
  • *****
  • Posts: 1489
    • View Profile
Re: Plasma beam recoverable from UFO
« Reply #10 on: September 27, 2020, 01:55:12 pm »
Sure thing, here it is.

This mod contains the plasma arrays and emitters, as well as a change to craft plasma beam and fusion ball which make them use these materials.