DB2 Configurations + LightColor bug

Talk about editing and creation of Vavoom mods

DB2 Configurations + LightColor bug

Postby kraigc » 31 Mar 2010 22:12

Hello, I've been working on a small Vavoom project, to get my feet wet in Vavoom's implementation of DECORATE and the VavoomC language... but I want it to be able to use UDMF maps... yet no configuration file exists for DB2 for Vavoom. The ZDoom engine maps work fine when I tweak the namespace (or even with the ZDoom namespace) of an existing configuration, and add stuff so it uses Vavoom's ACS definitions. But lightcolor and fadecolor properties are mixed up, causing colors to mess up. I notice this in the Vavoom source code:

p_setup_udmf.cpp:
Code: Select all
S.params.LightColour = 0x00ffffff;


I notice there is an extra set of zeros - two of them - before the 3 pairs of Fs. ZDoom's color scheme ONLY has RRGGBB (in hex format), so should this be 0xFFFFFF?. I do not know if this is a bug or not, but every sector I try to color using lightcolor or fadecolor turns dark bluish purple. no matter what values I use.

So yeah, having some troubles. Move this as needed, but I needed to say that, as I dunno if it's a bug or if editing the DB2 config is causing problems.
User avatar
kraigc
 
Posts: 9
Joined: 12 Nov 2008 19:10

Re: DB2 Configurations + LightColor bug

Postby Janis Legzdinsh » 03 Apr 2010 11:40

What values did you use?
User avatar
Janis Legzdinsh
Site Admin
 
Posts: 1952
Joined: 13 Jan 2002 08:30
Location: Limassol, Cyprus

Re: DB2 Configurations + LightColor bug

Postby kraigc » 03 Apr 2010 11:44

Janis Legzdinsh wrote:What values did you use?


one of them was the DB2 color picker for red, which was #FF0000.
User avatar
kraigc
 
Posts: 9
Joined: 12 Nov 2008 19:10


Return to Editing

Who is online

Users browsing this forum: No registered users and 0 guests

cron