# Smash4Command "Hex" Values

## A Tutorial for Super Smash Bros. (WiiU)

You know those obscure values in some lines of code in Smash4command? The ones toward the middle of some weird lines that look like "unknown=0x3F800000"? (Edit: They are called "Floating-Point Values")

EFFECT_FOLLOW_COLOR(unknown=0x1000008, unknown=0x1A, unknown=0x0, unknown=0x0, unknown=0x0, unknown=0x42B45000, unknown=0x0, unknown=0x0, unknown=0x40190000, unknown=0x1, unknown=0x43209000, unknown=0x1, unknown=0x473A0000)

Well, using an old and new version of the software as well as the hitbox from Marth and Lucina's final smash I have compiled a list of values (and a few estimates I haven't confirmed) that should help when using such lines, as well as how to make values negative. I've noticed a few trends, but those of you who have better math minds than me should be able to use these data points to figure out other values, or at least estimate them well enough.

0x3A83126F = 0.001

0x3F000000 = 0.5                     0xBF000000 = -0.5

0x3F800000 = 1                       0xBF800000 = -1

0x40000000 = 2                       0xC0000000 = -2

0x40100000 = 2.25?

0x40500000 = 3.3333?

0x40800000 = 4

0x40A00000 = 5                       0xC0A00000 = -5

0x40C00000 = 6

0x40E00000 = 7

0x41000000 = 8

0x41090000 = 8.5?

0x41200000 = 10                      0xC1200000 = -10

0x41500000 = 13

0x41600000 = 14

0x41900000 = 18

0x41A00000 = 20

0x41C00000 = 24

0x42000000 = 32

0x42340000 = 45

0x42700000 = 60

0x42B40000 = 90

0x43000000 = 128

0x43340000 = 180

0x43700000 = 240

0x43870000 = 270

Not atutorial really, but I didn't know where else to put it, and I haven't seen anything like this on the site yet so I thought I might as well. Happy modding!
• 2mo
These are all floating-point values. You can use a converter (there are plenty online).

SALT (used for Sm4shCommand and FITX) has most unknown parameters as hex integers, and so if the command doesn't get updated in the command list, that's how they stay. It's likely that more recent builds of the program will have some more command parameters with accurate types, but I think there are still a lot of unknowns. Even parameters that are obviously floats may not necessarily be marked as such, as it still requires someone to make the change.
Baking Mods
URL to post:
• 2mo
I can confirm the following values, based on what data I've gathered while playing with Brawl's size changing codes.

0x3FC00000 = 1.5
0x3FD00000 = 1.625
0x3FE00000 = 1.75
0x3FF00000 = 1.875
0x40000000 = 2
0x40100000 = 2.25
0x40200000 = 2.5
0x40300000 = 2.75
0x40400000 = 3
0x40500000 = 3.25
0x40600000 = 3.5
0x40700000 = 3.75

However, it's not always possible to get exact values. For an example, you can't get exactly 1.7, as shown below.

0x3FD9999A = 1.7000000476837158203125

On a side note, 45's hex value is incorrect; it's actually 0x42340000.

0x42000000 = 32
0x42100000 = 36
0x42200000 = 40
0x42300000 = 44
0x42340000 = 45
0x42380000 = 46
0x423C0000 = 47
0x42400000 = 48
0x42800000 = 64
Texture & Moveset Editor
URL to post:

### Embed

Image URL
HTML embed code
BB embed code
Markdown embed code

Key Authors

kingboo983
Creator

Difficulty Level
Intermediate

### Share

• Today's Pick Nov 10 2018
• 510 Views
• 4 Posts
• 2moSubmitted
• 2moModified

### Scores

• Not yet rated