Register Forum Rules Recent Forum Posts View Members Advanced Search
April 3rd, 2013
#1
Did anyone ever find the texture for Kaioken? Not the flaming aura part but the part that turns your whole char a red-ish color.
April 3rd, 2013
#2
I don't think that's a texture to be honest. I think there's a literal code that changes the color of your character all together. I found the aura and changing the aura does not affect the red-ish color of your character.
April 3rd, 2013
#3
hmm maybe it is in any scr or prop pack .. u just need to know the code of the colour wich it use
April 3rd, 2013
#4
I don't think that's a texture to be honest. I think there's a literal code that changes the color of your character all together. I found the aura and changing the aura does not affect the red-ish color of your character.

I searched every line of scr0 and found nothing. If it's a line of code that does it, it's not in that file.
April 3rd, 2013
#5
That would probably be in prop0. More specifically, the "characterproperty.rdf" file in prop0.

It's not a very friendly file to read (you'll need to use a hex editor), but you can clearly see there's files referencing skills in there. I haven't done all too much to try and learn what everything means yet, but I have been able to turn children into adults (and the other way around) by making these two changes:

A_MWO_F_CH -> A_MWO_F_AD (only the first A_MWO_F_CH)
A_MWO_F_AD -> A_MWO_F_CH

Children and adults don't actually use separate models. The body of a child is just the adult body's model scaled down (children and adults do have different heads though). I don't know where this is being done, but it's obvious that it's somewhere in there, and so the code that turns your character red during Kaio-ken could be there too.



If it is, then what you're going to want to look for is a number. Most of the numbers in this file are 4 bytes long, and are written in reverse. For example:

Code:
F8 07 00 00
Should be read as "00 00 07 F8" (which is equal to 2,080).



If the 4 bytes you found start with 0s, then it's probably a number with a decimal point. For example:

Code:
00 00 80 3F
Should be read as "3F 80 00 00" (which is equal to 1.0).

Of course, you can also read "3F 80 00 00" the first way and get 1,065,353,216, but a huge number like this probably isn't going to be used. The fact that it comes out as a nicely rounded whole number (1.0) is also evidence that this is the correct way to read it.



The only other type of data I've come across in this file so far is text. Text can either have a fixed length, or a non-fixed length. If the length is fixed, you'll see a 00 at the end of it, followed by a bunch of this:

Code:
FD FD FD FD FD FD FD (or ııııııııı if you look at it in a text file)
In this case, the last FD represents where that text data ends. From that point, you can start grouping the data after that into 4 bytes and read them as numbers (although sometimes a text entry is followed by another text entry).

If the text doesn't have a fixed length, you won't see the FDs following it. Instead, you'll just see a single 00 (shows up as "NUL" in Notepad++). This 00 should be treated as the end of the text data, and the bytes after it should then be grouped into 4s and treated as numbers.

For example:

"A_MAJ_F_SKL_KAIOUKEN.ANM.ø..." (null characters show up as periods here and in other places, but not all periods are null characters) in hex is:

Code:
41 5F 4D 41 4A 5F 46 5F 53 4B 4C 5F 4B 41 49 4F 55 4B 45 4E 2E 41 4E 4D 00 F8 07 00 00
The text part of this is everything up to and including "00" (right after the M in ".ANM"). This means we should tread "F8 07 00 00" as a number, which again equals 2,080.



You're looking for a color, and so you'll need to be aware of how colors are represented as numbers: https://en.wikipedia.org/wiki/Web_colors#Hex_triplet

In addition to values for red, green, and blue, there's probably an extra one for how transparent the color is. With each one of these values being representable by a single byte (00 - FF or 0 to 255), it's possible to represent all of this data in a 4 byte-long segment.

I've never found anything in the prop0 file that I knew was a color though, so I'm not entirely sure how colors are supposed to be read.

Last edited on April 3rd, 2013 at 03:27 PM.
April 3rd, 2013
#6
translating what Cit wrote :D just too much search for not really usefull change in the game :D
April 3rd, 2013
#7
Did anyone ever find the texture for Kaioken? Not the flaming aura part but the part that turns your whole char a red-ish color.

Actually I saw it once while trying to find a way to Mark the Upgrade Cards which you can't cause all 3 cards are the same card >.>... buuuut i forgot where i saw it :/