OpenXcom Forum

Modding => OpenXcom Extended => OXCE Suggestions DONE => Topic started by: bulletdesigner on May 11, 2018, 12:20:34 pm

Title: [DONE] [Feedback] Globe markers, UFO landed marker
Post by: bulletdesigner 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
Title: Re: insight into globe markers and special weapons
Post by: ohartenstein23 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.
Title: Re: insight into globe markers and special weapons
Post by: Meridian on May 11, 2018, 02:21:32 pm
Sample mod for markers attached.
Title: Re: insight into globe markers and special weapons
Post by: ohartenstein23 on May 11, 2018, 05:34:43 pm
The documentation for the special weapons is now here on this thread (https://openxcom.org/forum/index.php/topic,6289.0.html).
Title: Re: insight into globe markers and special weapons
Post by: Hobbes 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?
Title: Re: insight into globe markers and special weapons
Post by: bulletdesigner 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)
Title: Re: insight into globe markers and special weapons
Post by: Hobbes 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
Title: Re: insight into globe markers and special weapons
Post by: bulletdesigner on May 11, 2018, 07:28:41 pm
yap that was the enigma , thks everyone issue solved
Title: Re: insight into globe markers and special weapons
Post by: bulletdesigner on May 14, 2018, 12:49:35 pm
another question is it possible to change the ufo landed marker for each specific ufo?
Title: Re: insight into globe markers and special weapons
Post by: Meridian 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?
Title: Re: insight into globe markers and special weapons
Post by: bulletdesigner 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   ::)
Title: Re: insight into globe markers and special weapons
Post by: Meridian on May 14, 2018, 01:49:31 pm
Good point.

OK, in the next release, there will be a "landedMarker" attribute.
Title: Re: [DONE] [Feedback] Globe markers, UFO landed marker
Post by: Meridian 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).