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
igi
post Mar 7 2007, 09:31 PM
Post #2


IESDP Guardian


Forum Member
Posts: 175
Joined: 22-July 04




There are two explode buttons (one next to param1, one next to param2). If pressing the button does nothing, I'd say it's a DLTCEP bug (it works fine here btw) - what version are you using?

The way the system generates the value:
The parameter fields are stored as dwords (double words), where a word is 2 bytes, therefore a parameter is 4 bytes. The explode button show the parameter field as the 4 individual bytes, the imploe button shows the parameter as a single 4 byte field.
The number the parameter represents is the same whether the field is treated as a dword or 4 bytes, it's like saying 1234 represents 1234 and the values, 1,2,3 and 4.


--------------------
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 - 06:28 PM