|
|
|
 |
 |
 |
 |
|
 |
 |
|
 |
 |
|
 |
|
| Development::GeorgeS's Tools A forum just for GeorgeS's tools |

05-29-2007, 04:42 AM
|
|
Fire Beetle
|
|
Join Date: Mar 2005
Posts: 24
|
|
Just curious, how does one activate the item effects. I am using the newest EQitems and everything works great so far, except.
Item Charges : 0 (Activation unknown)
Worn Effect : Also is down
Looked over these posts and the forums sorry if I missed it.
Thanks again,
|

05-31-2007, 11:28 AM
|
|
Demi-God
|
|
Join Date: May 2007
Posts: 1,032
|
|
another idea for you George, add material and color tint editing for your item editor =)
would be a great help at design time
|

05-31-2007, 04:26 PM
|
|
Forum Guide
|
|
Join Date: Sep 2003
Location: California
Posts: 1,474
|
|
I never messed with color/materials - how does it work?
If it's simple enough, I'll add it in
..regarding item charges et.al, I am not sure myself even how to get those to work either...
GeorgeS
|
 |
|
 |

05-31-2007, 04:38 PM
|
|
Demi-God
|
|
Join Date: May 2007
Posts: 1,032
|
|
the material part should be rather simple
the material simply goes from 1 to 16 and indicates difffirent apperances
this is so easy anyone could do this via advance options - just a number into material field.
the numbers are:
0=No Graphic
1=Leather
2=Chain Mail
3=Plate
4=Monk Armor
10=Robe1
11=Robe2
12=Robe3
13=Robe4
14=Robe5
15=Robe6
16=Robe7
(you can view this textures in game by setting mob to one of the player races and asigning it #texture 1 to 16)
so basicly just add extra to tem editing window where i could click select one of the types. idealy would be if it could also show in game apperance, but that you will prabaobly need to get few screenshots from in game.
Color part is esentialy a long digit number - what i am proposing is adding a color window (like in game you had for paiting your armor) where user could select combos of RBG and your program converts this to a single number as used by item DB (for exmaple look up numbers for Bronze BP and Fine Steel one for comparacen)
unfortunately i have no idea how RBG combo converts into that single number =)
in a worst case scenario just allow to pick like 10-15 basic colors - numbers for these can be tracked by examinign items which are well known in game for havign special tint (bronze - orange, Ivy - green, mihrtil- light blue etc)
Last edited by ChaosSlayer; 06-01-2007 at 12:41 AM..
|
 |
|
 |

06-01-2007, 02:28 AM
|
|
Sarnak
|
|
Join Date: Apr 2003
Posts: 41
|
|
For the color decimal number,
I think the RGB is in hex that you have to convert to a decimal number like $ff ff ff
where red is 00-ff green 00-ff blue 00-ff which gives you 0-255 for red 0-255 for green 0-255 for blue
so all red would be "ff 00 00" converts to decimal value 16711680
all blue would be "00 00 ff" equals decimal value 255
|

06-01-2007, 04:17 AM
|
|
Demi-God
|
|
Join Date: May 2007
Posts: 1,032
|
|
oh here is a good tool - in npc editor include an option to find and show all unused npc IDs from range X to Y
also add a search by npc ID, cuase when NPC do not belong to a spawn table, and you do not remember its name- there is no way to find it.
and mayby even find and list all npcs who do not belong to any zone spawn tables
|
 |
|
 |

06-01-2007, 04:53 AM
|
|
Discordant
|
|
Join Date: Sep 2006
Location: Subsection 185.D354 C.12
Posts: 346
|
|
^-^ For Item Tint colors, I figure I should pass along what I've figured out.
The color numbers are huge, Heres why.
I don't suggest hex at all, unless you want to hex and then dehex the number. Instead use a function to break it down.
Here's what I used (Sort of, I'm retyping it from my memory)
Code:
Public Function ItemColor(ByVal Value as Long) as Color
Dim Alfa as Byte = Value / 16777216
Dim Red as Byte = (Value - (Byte1 * 16777216)) / 65536
Dim Green as Byte = (Value - (Byte1 * 16777216) - (Byte2 * 65536)) / 256
Dim Blue as Byte = (Value - (Byte1 * 16777216) - (Byte2 * 65536)) - (Byte3 *
Color = Color.FromArgb(Alfa , Red , Green , Blue )
End Function
Then to use it in say, a Label with a right click pop-up color dialog, set it like this (I'm typing this so expect mistakes in the syntax.)
Code:
Private Sub ClickEvent(stuff that gens here) Handles label1.click
lable1.backgroundcolor = ItemColor(reader.Getstring(#))
End Sub
reader is my SQL reader, The getstring is syntax and the # is the column it pulls the data from. You could replace it with any number that is a Long or smaller. If pulling from a TextBox, don't forget the Clng(TextBox.Text) or else it'll give you a convert error.
If you'd like, I could make a function that puts them back together, though it's easer to just make a one line multiplyer.
Code:
lngValue = lable1.backgroundcolor.color.A * 16777216 + lable1.backgroundcolor.color.R * 65536 + lable1.backgroundcolor.color.G * 256 + lable1.backgroundcolor.color.B
__________________
If at first you don't succeed destroy all evidence that you ever tried.
God doesn't give second chances... Hell, he sets you up the first time.
|
 |
|
 |

06-07-2007, 03:48 PM
|
|
Forum Guide
|
|
Join Date: Sep 2003
Location: California
Posts: 1,474
|
|
Added by Request -
NPC Editor Tool ver - 6.7.07.01
-Searches by npc_id are now possible.
- You can now find a range of unused npc_id's under Tools/ Find available npc_id's from Range.
GeorgeS
Color tool is being looked at
|
| Thread Tools |
|
|
| Display Modes |
Hybrid Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -4. The time now is 06:23 PM.
|
|
 |
|
 |
|
|
|
 |
|
 |
|
 |