The Black Wyrm Lair Forums
The Black Wyrm's Lair Terms of Use Help Search Members Calendar

Welcome Guest ( Log In | Register )

> Effect #9 Glow Pulse
Rabain
post Mar 7 2007, 04:46 PM
Post #1


GOD


Retired team member
Posts: 1728
Joined: 14-July 04
From: Ireland




I can never seem to get this to work without copying another glow effect from an existing item...this time i want to try other colours than gold!

Basically the Effect says:

QUOTE
Pulses the area specified by the 'Location and Speed' field, at the rate specified by the 'Location and Speed' field, with the colour specified by the 'RGB colour' field.

The 'RGB Colour' field is handled as follows:
Second byte = Red (0-255)
Third byte = Green (0-255)
Fourth byte = Blue (0-255)

The 'Location' field is handled as follows:
First byte = Location
Third byte = Speed (0-255)

A speed of 0 does not pulsate. A speed of 1 is fastest, and a speed of 255 is slowest.

Known values for 'Location' are:
00 Belt Buckle (on armor) or amulets (on robes)
01 Minor colour
02 Major colour
03 Skin colour...etc


The problem I have is that if I put Location 03 and Speed 0 together in the Location field then DLTECP resolves this to 30 and when "Checking" it says the effect is invalid...and i get no glow ingame.

In the item with the gold glow that gives no errors the Location/Speed field has this number 25559045. How it comes to this from a possible 3 digit (255) and 2 digit number (location 02,04 etc) is beyond me.
Go to the top of the page
 
Quote Post
 
Start new topic
Replies
Rabain
post Mar 7 2007, 05:43 PM
Post #2


GOD


Retired team member
Posts: 1728
Joined: 14-July 04
From: Ireland




This website helped: http://www.pitt.edu/~nisg/cis/web/cgi/rgb.html
Go to the top of the page
 
Quote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:



- Lo-Fi Version Time is now: 29th August 2025 - 08:43 PM