ReqRec of Weapons

03/16/2011 05:34 castor4878#1
A few numbers of weapons (all level 70) use the ReqRec fields with value in 162, 164, 167, 171 - 173
(All previously known weapons have a ReqRec settled to 0.)

Does someone know a meaning for that field and, in case, the individual effect of the listed values ?

(It's the last missing point for the weapon editor ...)
03/16/2011 09:25 shinru2004#2
im pretty sure profnerwosol has it outlined in his guide to editing item.sdata, i will try to dig it up for you
03/16/2011 10:31 [DEV]Get-R-Done#3
hi shinru how you been profnerwosol said he did not know what reqrec was for in the guide
03/16/2011 10:32 [DEV]Get-R-Done#4
castor i will look in to it for you if you want
03/16/2011 14:36 castor4878#5
Quote:
Originally Posted by modelcar1989 View Post
castor i will look in to it for you if you want
very kind of you, but I can open a PDF and even copy alll the released knowledge regarding that field

Quote:
Originally Posted by ProfNerwosol
▪ReqRec - Let's start with this one. I found only four items in my database with ReqRec above zero. Neither of which tells me what its purpose is. One of the items is Thrasherine Guard, UoF lv55 shield.
I started that thread because that "definition" was a bit short.

and btw, so far (rel 5.3) 13 items have a ReqRec above 0 so the question is about 3.25 times more important :D
03/16/2011 16:05 lilprohacker#6
Lets start with first finding what all those items have in common.
03/17/2011 09:36 shinru2004#7
when i get home i will look into it lilpro pm me on skype today i should be home around 4:00pm est
03/19/2011 17:26 ProfNerwosol#8
I don't have every EP5 item in my DB. When I was writing that I only had 4 items with ReqRec above zero. Here's what I got a min ago:

Code:
34086	Thrasherine Guard
100166	??? ??? ?Lv2
100167	??? ??? ?Lv3
100168	??? ??? ?Lv4
The only item with ReqRec above zero, well the only useful item, is a shield. I didn't see any point in searching further. One item was not that important to spend time trying to figure it out.
03/20/2011 19:00 abrasive#9
I spawned the Thasherine Guard, and I'm guessing ReqRec means it has a glow?

The shield is actually pretty cool!

[Only registered and activated users can see links. Click Here To Register...]
03/21/2011 05:44 ac1dtab#10
Quote:
Originally Posted by abrasive View Post
I spawned the Thasherine Guard, and I'm guessing ReqRec means it has a glow?

The shield is actually pretty cool!

[Only registered and activated users can see links. Click Here To Register...]
99.9% shure you are exactly corect abrasive i have
Code:
6205	Ferus Telum	162	70
6207	Gelidus Telum	163	70
6209	Ferus Telum	162	70
6210	Gelidus Telum	163	70
7214	Sol solis Pango	164	70
7216	Silva Extraho	165	70
7218	Sol solis Pango	164	70
7219	Silva Extraho	165	70
9214	Ferus Extraho	166	70
9216	Ferus Extraho	166	70
10206	Lucis Consensio	167	70
10208	Atrum Saevio	168	70
10210	Lucis Consensio	167	70
10211	Atrum Saevio	168	70
11207	Posterus Javalin	169	70
11209	Posterus Javalin	169	70
12228	Baculus of Ancients	170	70
12230	Vita Pennae Staff	171	70
12232	Baculus of Ancients	170	70
12233	Vita Pennae Staff	171	70
14203	Hades Iugum	172	70
14205	Hades Iugum	172	70
15215	Unguibus Reptant	173	70
15217	Unguibus Reptant	173	70
34086	Thrasherine Guard	161	55
thats itemid, itemname, reqrec,and reqlevel rows from my db and EVERY item dose infact have a glow effect prier to enchanting so as you sujested it is the glow on a wepon not shure what amount gives what glow as its all veary close in range but im shure a little fidaling with it we can come up with exact values for exact glows. and all excludeing the lvl 55 thrasherine guard shield are lvl 70 weps aka ep5.3 items.

EDITED:only difrence i seen for shure is my shield has some killer and i do mean killer orange glow comeing out of its eyes almost like 2 inch flames...
03/21/2011 11:49 castor4878#11
ok, Thanks Abrasive & ac1dtab.

I'm agree with you, that field defines a glow.
The different values seem not define an intensity for that glow but a color.
Edit: wrong hypothesis.

Previously, imbued weapons use a specific shape value; and when you look at .itm files they indeed contain many many records, the 9th byte is defined as -1, 0, 1, 2 or 3 and we find group of records (usually 5) where it is the sole value different from 1 record to another.
At this time I so suppose that sonov multiply (smartless) definitions to define glow, while now it is defined by the ReqRec field over an unique shape definition.
03/21/2011 11:53 ProfNerwosol#12
So those strange numbers found in ITM files before the model/texture define shape of an item and not its coordinates in respect to character?
03/21/2011 13:15 castor4878#13
it's definitively *not* some float coordinates.
the python script of ZeroSignal is wrong for these fields; it does generate some NaN reading values as float and it does not manage all present data.


coordinates related to the character are (fortunately) not required, the position of the hands and arms are already known (from the character definition), the only possibly needed "spatial information" is the orientation of weapon - but even for that I'm not sure that an info is stored into shape data -- if you equip a spear on left arm (so as a shield) it will be shown perpendicularly to the arm, as a shield.

regarding .itm file, according my understanding the format (of the 3rd block) is
Code:
	int32	index of 3DO file
	int32	index of DDS file
	int32	glow		//	or int8 glow and 3 unknown bytes
	int32	unknown		//	always 16h
	int32	format		//	0 -> 4 bytes to follow, 1 -> 20 bytes to follow
	int32	unknown		//	0x00000000 (0x00000001 in rare cases)
//	for format = 1 only
	long	unknow[4]	//	may be some float
Edit:

ok, coords may not be necessary unless they are; ZeroSignal interpretation was right - he simply miss variable-length point.

my latest understanding of the .ITM records is:

Code:
	int32	index of 3DO file
	int32	index of DDS file
	int32	glow		//	0:blue, 1:red, 2:green, 3:white [1], -1:none
	int32	unknown		//	0, 11, 12, 21, 22, 24, 26
	int32	format		//	0 -> 4 bytes to follow, 1 -> 20 bytes to follow
	int32	unknown		//	0, 1, 3, 4, 5, 6
//	for format = 1 only
	int32	rgba		//	color (true 32bits clr with alpha), may be the color of smog during hit?!
	float4	posX		//	coords of what related to what ?...
	float4	posY		//	coords of what related to what ?...
	float4	posZ		//	coords of what related to what ?...

[1] as per ProfNerwosol, Guide to Shaiya Configuration
the color field has to be investigated with higly visible color (full red ...), the checked files contain only some gray with very small differences between them; it so wasn't possible to determine what item, part of item, event, anim is colored, if any.
03/21/2011 17:49 zargon05#14
If it does indeed define Glow for a weapon then caster mentioned that all the Lv70 weapons had it but from what I remember the 70 weapons do not have inherent glow. Also the is really poor planning in part of because highers level weapons such as Legendary Immortal Pain have inherent blue glow but do not use a ReqRec value.

Small update: Setting ReqRec to 0 for Thasarine Guard has no effect on it's glow.
03/21/2011 21:03 castor4878#15
Yep, I finally merged and tested some of the lvl 70 weapons that have a ReqRec != than 0 and they doesn't have glow.

so ReqRec is ... may be an index (sonov just forgot to number the first 170 weapons), may be another thing, or may be nothing.