Two questions regarding assets

Archive of the old editing forum
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Locked
Drake Raider
Posts: 474
Joined: Fri Jul 18, 2008 12:27 pm

Two questions regarding assets

Post by Drake Raider »

Is it possible to change the colormap/palette or texture resource set during or between a level?

Hm.... how to say

Say. Episode one emphisizes primary colours, but episode 2 moves into a more volotile region and saturates the oranges over tthe blues.

And switching a texture set, so you don't have to remap the map itself, but just create different sets of textures with the same names and have the game cycle between them based on script.
Blue Shadow
Posts: 4949
Joined: Sun Nov 14, 2010 12:59 am

Re: Two questions regarding assets

Post by Blue Shadow »

Nope and nope.
Drake Raider
Posts: 474
Joined: Fri Jul 18, 2008 12:27 pm

Re: Two questions regarding assets

Post by Drake Raider »

So if you were, to sau, safe the palatte or texture file into the map wad,, and then import the wad into a map folder on a pk3, they would still all be loaded at launch and overwrite each other?
User avatar
Caligari87
Admin
Posts: 6174
Joined: Thu Feb 26, 2004 3:02 pm
Preferred Pronouns: He/Him
Contact:

Re: Two questions regarding assets

Post by Caligari87 »

The default or the one in the main pk3 would get loaded at runtime, the one in the map wad would be ignored because there's already a palette loaded by the time a level is started.

I believe.

8-)
Drake Raider
Posts: 474
Joined: Fri Jul 18, 2008 12:27 pm

Re: Two questions regarding assets

Post by Drake Raider »

Alright. I'll have to think of something else for what I'm making. the-sergeant-who-shall-not-be-marked is working on something that recognizes exact map references to convert them. Perhaps like that. I'm not that fluent in acs, but if statements can check for specific map names, labels, or references, right? Can they also check for loaded iwads?
Drake Raider
Posts: 474
Joined: Fri Jul 18, 2008 12:27 pm

Re: Two questions regarding assets

Post by Drake Raider »

Double Post here but I think I found a solution to the palatte problem.

A script that set sector color for every reference could simulate a palatte change in truecolor. But I do have one dilemma. I would need a colour change to be relative rather than absolute. Is it possible somehow to check what the current colour is?
Locked

Return to “Editing (Archive)”