aliens

Author Topic: Custom Base defense Pal in Battlescape.  (Read 3375 times)

wcho035

  • Guest
Custom Base defense Pal in Battlescape.
« on: February 05, 2020, 01:08:56 pm »
Hi, in Battlescape during base defense, I want to use my own custom pal.

So, in assumption, this is to do with

PAL_BASESCAPE_SAFE or its related Palette?

If it is, would this line be syntax legal?

customPalettes:
  - type: PAL_BASESCAPE
    target: PAL_BASESCAPE
    file: Resources/Pals/TEST/PAL_BATTLESCAPEORG.pal

This is for Base defense.

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9009
    • View Profile
Re: Custom Base defense Pal in Battlescape.
« Reply #1 on: February 05, 2020, 02:00:44 pm »
Ruleset in code block please.

wcho035

  • Guest
Re: Custom Base defense Pal in Battlescape.
« Reply #2 on: February 05, 2020, 02:17:03 pm »
Code: [Select]
customPalettes:
  - type: PAL_BASESCAPE
    target: PAL_BASESCAPE
    file: Resources/Pals/TEST/PAL_BATTLESCAPEORG.pal

sorry, syntax legal?

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9009
    • View Profile
Re: Custom Base defense Pal in Battlescape.
« Reply #3 on: February 05, 2020, 02:42:53 pm »
So, in assumption, this is to do with
PAL_BASESCAPE_SAFE or its related Palette?

No.

would this line be syntax legal?

customPalettes:
  - type: PAL_BASESCAPE
    target: PAL_BASESCAPE
    file: Resources/Pals/TEST/PAL_BATTLESCAPEORG.pal

Yes.

This is for Base defense.

No.

wcho035

  • Guest
Re: Custom Base defense Pal in Battlescape.
« Reply #4 on: February 05, 2020, 02:58:45 pm »
Is there a specific battlescape palette one can use for base defense then?

Yes? No?

If yes, what is it?

Offline Solarius Scorch

  • Global Moderator
  • Commander
  • *****
  • Posts: 11694
  • WE MUST DISSENT
    • View Profile
    • Nocturmal Productions modding studio website
Re: Custom Base defense Pal in Battlescape.
« Reply #5 on: February 05, 2020, 03:05:47 pm »
Your question makes little sense. Is there such a palette? Sure, if someone has made it. But why would anyone make a palette specifically for this mission? That's awfully specific.

wcho035

  • Guest
Re: Custom Base defense Pal in Battlescape.
« Reply #6 on: February 05, 2020, 03:20:18 pm »
There is a reason why I ask it because I have made a palette for it.

 As to why for this mission. Or specifically, why I ask is there a special pal for base defense mission in battlescape.

I have underwater xcom bases that uses ohartenstein's vertical levels. In battlescape, the ocean floor above the base is showing weird colours because 

PAL_BATTLESCAPE_1

PAL_BATTLESCAPE_2

PAL_BATTLESCAPE_3

 aren't triggered and the game is treating any base defense mission by default above ground, even if the mission is taking place underwater.

Hence I asked, is there a special PAL_BATTLESCAPE_1 for base defense missions.
« Last Edit: February 05, 2020, 03:29:06 pm by Precentor Apollyon »

Offline Solarius Scorch

  • Global Moderator
  • Commander
  • *****
  • Posts: 11694
  • WE MUST DISSENT
    • View Profile
    • Nocturmal Productions modding studio website
Re: Custom Base defense Pal in Battlescape.
« Reply #7 on: February 05, 2020, 03:32:07 pm »
I still don't understand your question.

IF YOU MADE A PALETTE, THEN IT EXISTS.

I can't see why you wouldn't be able to use it with base defence, or any other mission... Just make the proper environmental condition, declare the palette in it, and then use this environment in the deployment.

But that's not what you asked, you keep asking if this palette exists, while you made it yourself...

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9009
    • View Profile
Re: Custom Base defense Pal in Battlescape.
« Reply #8 on: February 05, 2020, 03:41:17 pm »
Calm down Solarius :)
Talking to this guy is almost completely impossible, just accept he's different.

Is there a specific battlescape palette one can use for base defense then?

If you create it, it will exist.
If you don't create it, it will not exist.

Yes? No?

Yes. No.

If yes, what is it?

It's whatever you call it.
You can call it "Pink Butterflies" if you want.

PS: Why not just look at how it's done in other mods? For example "Organ Grinder" mission in PirateZ...
« Last Edit: February 05, 2020, 03:50:51 pm by Meridian »

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9009
    • View Profile
Re: Custom Base defense Pal in Battlescape.
« Reply #9 on: February 05, 2020, 07:34:58 pm »
Attached a sample mod for xcom1.

wcho035

  • Guest
Re: Custom Base defense Pal in Battlescape.
« Reply #10 on: February 06, 2020, 11:06:59 am »
Meridian, I wish to confirm your sample mod worked perfectly. Thank you very much.

Solarius, I do apologize if there is a miscommunication. I was trying to convey the message that the battlescape in base defense is not triggering the custom pal I had made.

I need it because for undersea base defense, the surface terrain is appearing in a weird color without the pal I made.