aliens

Author Topic: [DONE] [Feedback] Globe markers, UFO landed marker  (Read 4843 times)

Offline bulletdesigner

  • Commander
  • *****
  • Posts: 676
    • View Profile
[DONE] [Feedback] Globe markers, UFO landed marker
« on: May 11, 2018, 12:20:34 pm »
can someone provide more information on both subjects

I geting a crash ->segmention fault when i give the atribute  markerIcon: 12 in alien deployment (i have the image of the globe markers in the extrasprites)
So what i´m a missing, marker works fine in the craft and UFO section


about the special weapons( the one that dosent apear in hands), can we custom make the box sprite? how does it works

Thks in advanced
« Last Edit: July 17, 2018, 02:04:44 pm by Meridian »

Offline ohartenstein23

  • Commander
  • *****
  • Posts: 1931
  • Flamethrowers fry cyberdisk circuits
    • View Profile
Re: insight into globe markers and special weapons
« Reply #1 on: May 11, 2018, 01:49:32 pm »
About the special weapons - I've written up some formal documentation for it, just forgot to post it. There will be a thread in the OXCE+ section soon explaining how to use it with some examples.

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 8598
    • View Profile
Re: insight into globe markers and special weapons
« Reply #2 on: May 11, 2018, 02:21:32 pm »
Sample mod for markers attached.

Offline ohartenstein23

  • Commander
  • *****
  • Posts: 1931
  • Flamethrowers fry cyberdisk circuits
    • View Profile
Re: insight into globe markers and special weapons
« Reply #3 on: May 11, 2018, 05:34:43 pm »
The documentation for the special weapons is now here on this thread.

Offline Hobbes

  • Commander
  • *****
  • Posts: 2101
  • Infiltration subroutine in progress
    • View Profile
Re: insight into globe markers and special weapons
« Reply #4 on: May 11, 2018, 05:52:59 pm »
I geting a crash ->segmention fault when i give the atribute  markerIcon: 12 in alien deployment (i have the image of the globe markers in the extrasprites)

So what i´m a missing, marker works fine in the craft and UFO section

Can you post the relevant alienDeployment/extraSprites code?

Offline bulletdesigner

  • Commander
  • *****
  • Posts: 676
    • View Profile
Re: insight into globe markers and special weapons
« Reply #5 on: May 11, 2018, 06:03:46 pm »
alienDeployments:
  - type: STR_ALIEN_WAR
    markerIcon: 12
    width: 50
    length: 50

  - type: GlobeMarkers
    width: 36
    height: 3
    subX: 3
    subY: 3
    files:
      0: Resources/Geo/globe_ufo_expanded.png

i think i know what i did wrong the globe marker image only goes to 36 and i´m using a 63 (36/3 = 12 so only 0 to 11 markers)

Offline Hobbes

  • Commander
  • *****
  • Posts: 2101
  • Infiltration subroutine in progress
    • View Profile
Re: insight into globe markers and special weapons
« Reply #6 on: May 11, 2018, 06:11:48 pm »
alienDeployments:
  - type: STR_ALIEN_WAR
    markerIcon: 12
    width: 50
    length: 50

  - type: GlobeMarkers
    width: 36
    height: 3
    subX: 3
    subY: 3
    files:
      0: Resources/Geo/globe_ufo_expanded.png

i think i know what i did wrong the globe marker image only goes to 36 and i´m using a 63 (36/3 = 12 so only 0 to 11 markers)

Yeah, you have 16 markers on globe_ufo_expanded.png, so if you want to use all you'll need to increase width to 48

Offline bulletdesigner

  • Commander
  • *****
  • Posts: 676
    • View Profile
Re: insight into globe markers and special weapons
« Reply #7 on: May 11, 2018, 07:28:41 pm »
yap that was the enigma , thks everyone issue solved

Offline bulletdesigner

  • Commander
  • *****
  • Posts: 676
    • View Profile
Re: insight into globe markers and special weapons
« Reply #8 on: May 14, 2018, 12:49:35 pm »
another question is it possible to change the ufo landed marker for each specific ufo?

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 8598
    • View Profile
Re: insight into globe markers and special weapons
« Reply #9 on: May 14, 2018, 12:53:32 pm »
another question is it possible to change the ufo landed marker for each specific ufo?

No, but can be easily added (10 minute work).

Out of curiosity: what would be a benefit of that?

Offline bulletdesigner

  • Commander
  • *****
  • Posts: 676
    • View Profile
Re: insight into globe markers and special weapons
« Reply #10 on: May 14, 2018, 01:18:28 pm »
No, but can be easily added (10 minute work).

Out of curiosity: what would be a benefit of that?

i got missions that uses UFO as landed, so there not a UFO landed , there like a fortress or a cathedral.
i Use UFO and not terror direct site to have the current environment , i know its possible to do the direct site to all environment but i guess its a lot more work and i´m lazy   ::)

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 8598
    • View Profile
Re: insight into globe markers and special weapons
« Reply #11 on: May 14, 2018, 01:49:31 pm »
Good point.

OK, in the next release, there will be a "landedMarker" attribute.

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 8598
    • View Profile
Re: [DONE] [Feedback] Globe markers, UFO landed marker
« Reply #12 on: September 03, 2018, 11:16:36 am »
The landed marker was added also to vanilla yesterday... unfortunately under a different name.

So, to remain compatible, I will rename the ruleset attribute from "landedMarker" to "markerLand" (in OXCE+ 4.0 and higher).