Page 1 of 2

Function Research

Posted: Thu Jan 17, 2008 7:10 am
by JacksonCougar
Active Shaders Function Research
MBMBMB...
Active Shaders Colour Research
If you want to help me with this either IM me right away, or wait until I post some more info.

Info: Shader Effects Reflexive Breakdown
Image
1:: Each one of these can affect something else. Basically each is a separate "effect".
2:: The SID that the effect responds to.
3:: Not sure yet
4:: Time it takes to "loop" through the effect.
5:: These are where the magic happens; I will call these "bytes" in my posts.
6:: The value stored in the "byte". This could be an BGR (Halo RGB) value, or something else.


Stage One: Gather Raw Data

For this part of the research I will be gathering some information on the "Shader Effects" reflexive of the shader tag. Only some shaders will have this reflexive.

Signs of Success:
http://forums.remnantmods.com/gallery/i ... ?pic_id=13
http://forums.remnantmods.com/gallery/i ... ?pic_id=14
http://forums.remnantmods.com/gallery/i ... ?pic_id=15
http://forums.remnantmods.com/gallery/i ... ?pic_id=16
http://forums.remnantmods.com/gallery/i ... ?pic_id=17

Data Table Template:
189_BYTES_TEMPLATE.txt
(1.5 KiB) Downloaded 321 times
HUD Colour
Coming in a bit; just need to refresh myself on the finding method. Simple hint: its the same as Shader Effects Colour, and IS a shader effect <_<... Read these posts and apply the knowledge and you'll get it.

Finished Tables:

Active Shaders Colour Research

Posted: Thu Jan 17, 2008 7:27 pm
by Grimdoomer
Nice! ill try to test some out later this week.

Active Shaders Colour Research

Posted: Thu Jan 17, 2008 10:16 pm
by DarkShallFall
I see no thanks for helpin >_> <_<

Active Shaders Colour Research

Posted: Thu Jan 17, 2008 10:40 pm
by JacksonCougar
THANK YOU FOR HELPING TELLING ME WHAT ORDER THE COLOURS WOULD BE IN AND WUTNOT; ALSO THANKS TO DEMONIC FOR SIMILAR HELP!

k, k?

Active Shaders Colour Research

Posted: Thu Jan 17, 2008 11:47 pm
by Supermodder911
Pretty cool.

Active Shaders Colour Research

Posted: Fri Jan 18, 2008 12:10 am
by DemonicSandwich
JacksonCougar wrote:ALSO THANKS TO DEMONIC FOR SIMILAR HELP!

k, k?
lul, for telling you where everything is... :lol:
The reflexive words somewhat like the color reflexive in the effect tag.

Code: Select all

1 --- 32 ---- ?
Most likely determined weather or not the shader changes.
Like the [effe] tag, 32= changes 16= doesn't change.

Function Research

Posted: Fri Jan 18, 2008 6:06 am
by JacksonCougar
DemonicSandwich wrote:
JacksonCougar wrote:ALSO THANKS TO DEMONIC FOR SIMILAR HELP!

k, k?
lul, for telling you where everything is... :lol:
The reflexive words somewhat like the color reflexive in the effect tag.

Code: Select all

1 --- 32 ---- ?
Most likely determined weather or not the shader changes.
Like the [effe] tag, 32= changes 16= doesn't change.
What do you mean "if the shader changes"? It's worth noting that the "32" byte seems to appear on the chunks with colour bytes...

Majority of colour is on bytes 4,5,6 and 16,17,18. Some may be on other bytes as well; still early in my research.

Function Research

Posted: Fri Jan 18, 2008 11:37 pm
by DemonicSandwich
Look into the color reflexive of [effe] tag, its "color" reflexive appears to work very closely to the "Shader Effects" in color-based shaders.

Function Research

Posted: Sat Jan 19, 2008 12:23 am
by DarkShallFall
DemonicSandwich wrote:Look into the color reflexive of [effe] tag, its "color" reflexive appears to work very closely to the "Shader Effects" in color-based shaders.
Theres 2 color reflexes in an effect the other don't have relfexs so they appear the color that the bitmap of the prt3 uses.

Function Research

Posted: Sat Jan 19, 2008 3:24 am
by ((N8))
Jackson, why doesn't the sword look the same in the game...or did you change it? Cuz the one you posted on here looks kooler, and I sure don't like the pink...

Function Research

Posted: Sat Jan 19, 2008 3:42 am
by JacksonCougar
Because the picture here only shows a change to two of the swords illumination colours; the one I showed you had all four changed; it also had too much illumination in the inner part of the sword so it drowned out the cooler outer illumination.

Function Research

Posted: Tue Jan 22, 2008 10:31 pm
by Click16
i still am working on changing the HUD color but i dont know what color value it is...

Any1 want to help??

Function Research

Posted: Tue Feb 05, 2008 2:18 am
by Click16
The color values are (this is an example)
_________________________________

Function
0:
SID hud_elite input
SID input?
Float 1 function looping time (seconds)

_______________________________
Function Values

0: (color blue)
1: (color green)
2: (color red)
byte 0 Data (1-255)
_________________________________

is that the color order (B,G,R)

Function Research

Posted: Tue Feb 05, 2008 2:35 am
by Grimdoomer
Click16 wrote:The color values are (this is an example)
Function Values

0: (color blue)
1: (color green)
2: (color red)
byte 0 Data (1-255)
_________________________________

is that the color order (B,G,R)
No that would Be R, G, B, Alpha

Function Research

Posted: Tue Feb 05, 2008 2:38 am
by JacksonCougar
Colours are in B,G,R

Function Research

Posted: Tue Feb 05, 2008 2:38 am
by Aumaan Anubis
XD

Pwned, Grimdoomer.

Function Research

Posted: Tue Feb 05, 2008 2:54 am
by Click16
thanx!

i have a function table almost filled out i will give it to you when its done but the layout of mine is different the one you posted i don't understand! here is mine its not done it is the widgit_gradient_flash.

well... here you go





Click16

Function Research

Posted: Tue Feb 05, 2008 3:03 am
by Click16
JacksonCougar wrote:Colours are in B,G,R
is there an alpha???

because it fits perfectly b,g,r,a (4x5=20) 19+0=20 so thats where the 20 came from!

when you go Blue Green Red you get a remainder of 2???

am i an idiot for not taking notice of the alpha or there isnt an alpha idk anyone want to experiment???!!! :mrgreen:

Function Research

Posted: Tue Feb 05, 2008 3:05 am
by JacksonCougar
No alpha as far as I could tell...

Lower numbers make "clearer" colours...

Function Research

Posted: Tue Feb 05, 2008 3:15 am
by DemonicSandwich
Jackson and I found some interesting things while investigating the conveyor shaders...

If any of you want to see something funny, get a copy of Colossus or Elongation.
Goto the maps respective conveyor belt shader.
scenarios\shaders\multi\colossus\conveyor_belt_pro in Colossus
scenarios\shaders\multi\elongation\elongation_conveyor_pro in Elongation


Goto the Shader Effects reflexive like that in the top post, change the Effect Duration to a smaller number.
Turns out that not only do [sbsp] use moving collision mesh but the shader applied to the conveyors location controls the velocity of the moving mesh.
That way the moving mesh stays in sync with its bitmap.

Function Research

Posted: Tue Feb 05, 2008 11:58 pm
by Click16
i figured out HUD!!!!!!!

Believe it or not i figured it out!!!

want proof click on the halomods link! (my download attachment wasn't correct i will fix it!)

here is the link:http://forums.halomods.com/viewtopic.ph ... 038#754038

at the bottom of the function values for the wigit_gradient_flash there are these numbers: 16(blue),17(green),18(red),19(alpha)

that is the elite the masterchief is somewhere in the middle of the list i didn't look into the MC yet!

i will have a function table for you soon Jackson Cougar!

(unless you want to do it yourself!)


Click16

Function Research

Posted: Wed Feb 06, 2008 12:01 am
by JacksonCougar
Thats nice; I found this a while ago... In fact wasn't it you who I told how to do this?

Anyways... cool I guess.

Function Research

Posted: Wed Feb 06, 2008 12:07 am
by Click16
JacksonCougar wrote:Thats nice; I found this a while ago... In fact wasn't it you who I told how to do this?

Anyways... cool I guess.
couldn't have done it without you cougar!!! you told me the basics but i figured out the rest!

Thanks for the positive comments!!!

Click16 (i like the Mr.green smilie: :mrgreen: ! LOL!)

Function Research

Posted: Wed Feb 06, 2008 12:45 am
by NotZachary82
Click16 wrote:
JacksonCougar wrote:Thats nice; I found this a while ago... In fact wasn't it you who I told how to do this?

Anyways... cool I guess.
couldn't have done it without you cougar!!! you told me the basics but i figured out the rest!

Thanks for the positive comments!!!

Click16 (i like the Mr.green smilie: :mrgreen: ! LOL!)
you like exclamation points, dont you.

and i thought this was figured out already.
EDIT: DeToX says so too, so i suppose i could be right.

Function Research

Posted: Wed Feb 06, 2008 12:49 am
by Click16
completed widget gradient flash table! here you go!