Author Topic: Questions about negative texture id.  (Read 4000 times)

wcho035

  • Guest
Questions about negative texture id.
« on: October 22, 2019, 12:02:33 pm »
Hi Meridian,


    - id: -1
      deployments:
        STR_TERROR_MISSION: 50    
        STR_PORT_TERROR: 50
    - id: -2
      deployments:
        STR_ISLAND_TERROR: 100
    - id: -3
      deployments:
        STR_ARTIFACT_SITE_P1: 100
    - id: -4
      deployments:
        STR_CARGO_SHIP_P1: 50
        STR_CRUISE_SHIP_P1: 50      


These negative texture ids above. From my assumption, they have to match the negative ID value from mission weight below to work, like to the -1 from the left of STR_NEW_YORK.

So a terror mission can be generated from New York, Washington and LA.

        - [286.125, 286.125, -40.75, -40.75, -1, STR_NEW_YORK]
        - [282.875, 282.875, -38.75, -38.75, -1, STR_WASHINGTON]
        - [241.75, 241.75, -34.125, -34.125, -1, STR_LOS_ANGELES]

Is it possible for one of these

        - [286.125, 286.125, -40.75, -40.75, -1, STR_NEW_YORK]

To share more than one negative id? For example

        - [286.125, 286.125, -40.75, -40.75, -1, -2, -3, STR_NEW_YORK]

Also what are these values from  the line above?

- [286.125, 286.125, -40.75, -40.75  ??

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9091
    • View Profile
Re: Questions about negative texture id.
« Reply #1 on: October 22, 2019, 12:19:08 pm »
Cannot share.

The values are globe coordinates.

wcho035

  • Guest
Re: Questions about negative texture id.
« Reply #2 on: October 22, 2019, 02:04:56 pm »
Thanks for the reply as usual Meridian.

If you can help me understand of how of these coordinate works.

For example.

286.125, 286.125, -40.75, -40.75

They are X, y, longitude, Latitude?  If you can explain the values.

Lastly, how does the randomness of these negative ID texture works?

For example

    - id: -1
      deployments:
        STR_TERROR_MISSION: 50   
        STR_PORT_TERROR: 50
    - id: -2
      deployments:
        STR_ISLAND_TERROR: 100
    - id: -3
      deployments:
        STR_ARTIFACT_SITE_P1: 100
    - id: -4
      deployments:
        STR_CARGO_SHIP_P1: 50
        STR_CRUISE_SHIP_P1: 50     
    - id: -5 and onwards.

1) How does the game pick which negative ID to generate?

2) And will they always generate Once? Twice? Infinite? Thanks.

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9091
    • View Profile
Re: Questions about negative texture id.
« Reply #3 on: October 22, 2019, 03:26:03 pm »
I'll leave that for others to answer, doesn't need any dev knowledge.

wcho035

  • Guest
Re: Questions about negative texture id.
« Reply #4 on: October 23, 2019, 03:06:37 pm »
Hi Meridian, seems like no body is replying.

I can probably figure that coordinate question myself.

So, just a yes or no reply

Does this random repeating works more than once? AKA. If I have -1 to -100 in the negative Texture.

Aside from terror missions, this negative value or random mission generate repeat more than once?

Yes, no?

Thanks.

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9091
    • View Profile
Re: Questions about negative texture id.
« Reply #5 on: October 23, 2019, 03:15:05 pm »
Hi Meridian, seems like no body is replying.

It would probably help if you didn't start every post with "Hi Meridian"... just a hint.

Also, you asked yesterday, forum takes time... try Discord for more immediate answers.

wcho035

  • Guest
Re: Questions about negative texture id.
« Reply #6 on: October 23, 2019, 03:24:16 pm »
Okay! Thanks for the tip! I will look you up on Discord!  ;D

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9091
    • View Profile
Re: Questions about negative texture id.
« Reply #7 on: October 23, 2019, 03:31:43 pm »
I told you several times I am not your personal troubleshooter.

And putting a smiley at the end of a sentence, where you say... "I ignore what you say Meridian and will do only what I want anyway" does not help you either.

This is a "modding 101" question and every modder can help you with this.
Also, you should first try it yourself.
It is well described on the wiki; and it is also quite easy to deduce for example from TFTD ruleset.
Don't come crying to mommy with every boo-boo.

wcho035

  • Guest
Re: Questions about negative texture id.
« Reply #8 on: October 23, 2019, 03:48:42 pm »
Alright. I just check with Warboy, he answer it all. Thank you.

wcho035

  • Guest
Re: Questions about negative texture id.
« Reply #9 on: October 23, 2019, 03:54:11 pm »
I told you several times I am not your personal troubleshooter.

And putting a smiley at the end of a sentence, where you say... "I ignore what you say Meridian and will do only what I want anyway" does not help you either.

This is a "modding 101" question and every modder can help you with this.
Also, you should first try it yourself.
It is well described on the wiki; and it is also quite easy to deduce for example from TFTD ruleset.
Don't come crying to mommy with every boo-boo.

You need to enjoy a smile sometimes Meridian. I make a joke at you with the smile. I do understand you are a very busy person. There is something Warboy told me about the Latmin and max is not really straight forward in the the wiki.

And putting a smiley at the end of a sentence, where you say... "I ignore what you say Meridian and will do only what I want anyway" does not help you either.

Sometimes the true intend of what we are trying to communicate is lost. A joke is miss translate.

Don't come crying to mommy with every boo-boo.

That's out of line. I do sincerely apologise if I cross yours. Don't mean to. Anyway, thank you for the original recommendation on the Discord.
« Last Edit: October 23, 2019, 04:18:52 pm by Precentor Apollyon »

Offline Nord

  • Commander
  • *****
  • Posts: 1746
  • The Gate is open.
    • View Profile
Re: Questions about negative texture id.
« Reply #10 on: October 23, 2019, 03:59:32 pm »
Negative texture id's used for missions without texture. Currently "-1" means cities. (Dots on map). You can read it in ruleset reference https://www.ufopaedia.org/index.php/Ruleset_Reference_Nightly_(OpenXcom)

wcho035

  • Guest
Re: Questions about negative texture id.
« Reply #11 on: October 23, 2019, 04:05:27 pm »
Thank you Nord, I got all the info I want from this thread. Thank you.