OpenXcom Forum
Modding => Help => Topic started by: wcho035 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.
-
Ruleset in code block please.
-
customPalettes:
- type: PAL_BASESCAPE
target: PAL_BASESCAPE
file: Resources/Pals/TEST/PAL_BATTLESCAPEORG.pal
sorry, syntax legal?
-
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.
-
Is there a specific battlescape palette one can use for base defense then?
Yes? No?
If yes, what is it?
-
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.
-
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.
-
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...
-
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...
-
Attached a sample mod for xcom1.
-
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.