Function Research

Discuss your Halo 2 mod project here.
User avatar
JacksonCougar
Huurcat
Posts: 2460
Joined: Thu Dec 06, 2007 11:30 pm
Location: Somewhere in Canada

Function Research

Post 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 244 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:
Attachments
SHADER_EFFECTS_TEMP.png
(1.92 KiB) Downloaded 341 times
plasma_blade_bottom.txt
(7.9 KiB) Downloaded 251 times
warthog_speedo.txt
(613 Bytes) Downloaded 220 times
warthog_scanner.txt
(991 Bytes) Downloaded 220 times
edlite_honor_armour.txt
(458 Bytes) Downloaded 231 times
User avatar
Grimdoomer
Admin
Posts: 1835
Joined: Sun Dec 09, 2007 9:09 pm

Active Shaders Colour Research

Post by Grimdoomer »

Nice! ill try to test some out later this week.
Don't snort the magic, we need it for the network.
DarkShallFall
Posts: 710
Joined: Thu Jan 03, 2008 5:29 pm

Active Shaders Colour Research

Post by DarkShallFall »

I see no thanks for helpin >_> <_<
User avatar
JacksonCougar
Huurcat
Posts: 2460
Joined: Thu Dec 06, 2007 11:30 pm
Location: Somewhere in Canada

Active Shaders Colour Research

Post 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?
Supermodder911
Posts: 409
Joined: Sat Jan 12, 2008 11:42 pm
Location: Michigan
Contact:

Active Shaders Colour Research

Post by Supermodder911 »

Pretty cool.
Image
Chad Warden is Ballin'. No jk.
User avatar
DemonicSandwich
Trollwich
Posts: 1620
Joined: Sat Dec 08, 2007 9:47 pm
Location: I...huh...I don't really know. x.x

Active Shaders Colour Research

Post 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.
Model Customization Pt.01|Model Customization Pt.02|Bipd Attachments|True Marker Rotations
"I'm the h4x man! Skibby Dibby Dib YoDahDubDub, YoDahDubDub"
User avatar
JacksonCougar
Huurcat
Posts: 2460
Joined: Thu Dec 06, 2007 11:30 pm
Location: Somewhere in Canada

Function Research

Post 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.
User avatar
DemonicSandwich
Trollwich
Posts: 1620
Joined: Sat Dec 08, 2007 9:47 pm
Location: I...huh...I don't really know. x.x

Function Research

Post 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.
Model Customization Pt.01|Model Customization Pt.02|Bipd Attachments|True Marker Rotations
"I'm the h4x man! Skibby Dibby Dib YoDahDubDub, YoDahDubDub"
DarkShallFall
Posts: 710
Joined: Thu Jan 03, 2008 5:29 pm

Function Research

Post 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.
User avatar
((N8))
Posts: 169
Joined: Sat Jan 19, 2008 12:55 am
Location: Calgary
Contact:

Function Research

Post 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...
Image
JacksonCougar wrote:Sheep.
...how could you just go and change a quote like that? lol...
User avatar
JacksonCougar
Huurcat
Posts: 2460
Joined: Thu Dec 06, 2007 11:30 pm
Location: Somewhere in Canada

Function Research

Post 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.
User avatar
Click16
Posts: 1941
Joined: Mon Dec 31, 2007 4:36 am
Location: United States

Function Research

Post by Click16 »

i still am working on changing the HUD color but i dont know what color value it is...

Any1 want to help??
Image
User avatar
Click16
Posts: 1941
Joined: Mon Dec 31, 2007 4:36 am
Location: United States

Function Research

Post 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)
Image
User avatar
Grimdoomer
Admin
Posts: 1835
Joined: Sun Dec 09, 2007 9:09 pm

Function Research

Post 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
Don't snort the magic, we need it for the network.
User avatar
JacksonCougar
Huurcat
Posts: 2460
Joined: Thu Dec 06, 2007 11:30 pm
Location: Somewhere in Canada

Function Research

Post by JacksonCougar »

Colours are in B,G,R
User avatar
Aumaan Anubis
Staff
Posts: 1812
Joined: Thu Dec 13, 2007 12:18 am
Contact:

Function Research

Post by Aumaan Anubis »

XD

Pwned, Grimdoomer.
User avatar
Click16
Posts: 1941
Joined: Mon Dec 31, 2007 4:36 am
Location: United States

Function Research

Post 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
Attachments
wiget_gradient_flash.txt
my layout is different you can make it the layout of the downloads if you want then post it! thanx!
(887 Bytes) Downloaded 225 times
Image
User avatar
Click16
Posts: 1941
Joined: Mon Dec 31, 2007 4:36 am
Location: United States

Function Research

Post 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:
Image
User avatar
JacksonCougar
Huurcat
Posts: 2460
Joined: Thu Dec 06, 2007 11:30 pm
Location: Somewhere in Canada

Function Research

Post by JacksonCougar »

No alpha as far as I could tell...

Lower numbers make "clearer" colours...
User avatar
DemonicSandwich
Trollwich
Posts: 1620
Joined: Sat Dec 08, 2007 9:47 pm
Location: I...huh...I don't really know. x.x

Function Research

Post 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.
Model Customization Pt.01|Model Customization Pt.02|Bipd Attachments|True Marker Rotations
"I'm the h4x man! Skibby Dibby Dib YoDahDubDub, YoDahDubDub"
User avatar
Click16
Posts: 1941
Joined: Mon Dec 31, 2007 4:36 am
Location: United States

Function Research

Post 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
Image
User avatar
JacksonCougar
Huurcat
Posts: 2460
Joined: Thu Dec 06, 2007 11:30 pm
Location: Somewhere in Canada

Function Research

Post 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.
User avatar
Click16
Posts: 1941
Joined: Mon Dec 31, 2007 4:36 am
Location: United States

Function Research

Post 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!)
Image
User avatar
NotZachary82
Posts: 1846
Joined: Thu Dec 20, 2007 8:39 pm

Function Research

Post 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.
User avatar
Click16
Posts: 1941
Joined: Mon Dec 31, 2007 4:36 am
Location: United States

Function Research

Post by Click16 »

completed widget gradient flash table! here you go!
Attachments
widget_gradient_flash.txt
The HUD colors!
(1.84 KiB) Downloaded 248 times
Image
Post Reply