- Quick Links -


Jedi Knight modifying site

Visitor No.72282
Since July 1999

Theme :

Massassi Temple MILLENNIUM
LucasArts Entertainment Company

- Random Picture -

Boss Key

Boss Key

Forum Projects Documents Features Extra Links
Tells in what format the JK flags are written in

DOWNLOAD


1

In this tutorial I'm going to explain the hex format used in Jedi Knight flag systems.


2

You should've seen "0x1" type of numbers during editing. This is just in hexadecimal(16) format, while what we usually use is the decimal(10) format.

The "0x" in front of it is to just tell the engine that it's in (16) format. I'll tell how to add and subtract those formatted numbers, so you can modify the flag in any way.


3

While (10) format uses numbers 0-9 to display all numbers, (16) format uses 0-9 and a-f to display all the numbers needed.

A little conversion here. Corresponds at the same lines.

DecimalHexadecimal
0 to 90 to 9
10a
11b
12c
13d
14e
15f
1610
1711
1812
2519
261a
271b
281c
291d
301e

4

Addition and subtraction are easy. Just like in decimal format, just above 10 are in letters and into new digit after 16. The point is to just add each digits from the lower ones. If the addition goes over 16 just add 1 to the next digit as in decimal format.

Examples :

0x1 + 0x4 = 0x5

0x5 + 0x6 = 0xb

0xa + 0x6 = 0x10

0x1a0 + 0xabc = 0xc5c

0xdf8 - 0x9c9 = 0x42f


5

Note : The quickest way of calculating this without a hassle is to get out your windows calculator, go to "view" and change the calculator into scientific mode. Press "Hex" on top and type in what you want and do calculations. (Don't type in "0x" =) )A - F are located just below the numbers.

The flags are just hexadecimal integers.


Forum Projects Documents Features Extra Links

Top - Home - Back

PHP Apache Valid XHTML 1.0! Valid CSS!

This site is developed using PHP under Apache server
with XHTML, JavaScript, CSS and Cookie technology.

Certain parts of this site require Cookie support.

This site is best viewed with Internet Explorer 5.5, Netscape 6.0, Opera 6.0 or Mozilla 1.0 and above
at resolution 800 * 600 and higher.

Nothing on this site is made, distributed, or supported by LEC.
Please use and download all materials at your own risk.

© 1999-2004 Hideki.

This page was last modified on Sat, 30 Jul 2011 17:28:41 +0000.