Cloaking Device Flags Question

So I've got a cloaking device oütf which I want to have as Visible on Radar (0x02), Disabled on Damage (0x08) and drains 2 units of fuel (0x20). So I need to set the flag to 2A, right? Because 10 = A in hexadecimal, right?

I'm using NovaTools, and whenever I set that flag to 2A and then look at the oütf later it instead reads as 21.

What am I doing wrong? What have I missed? Is it impossible to set it as both Visible on Radar and Disabled on Damage?

------------------

Quote

Originally posted by UncleTwitchy:
**So I've got a cloaking device oütf which I want to have as Visible on Radar (0x02), Disabled on Damage (0x08) and drains 2 units of fuel (0x20). So I need to set the flag to 2A, right? Because 10 = A in hexadecimal, right?

I'm using NovaTools, and whenever I set that flag to 2A and then look at the oütf later it instead reads as 21.

What am I doing wrong? What have I missed? Is it impossible to set it as both Visible on Radar and Disabled on Damage?

**

Try setting it to 0x30. Dunno if that'll work, I don't use flags very much.

------------------
Parenthesis: Useful for having notes within notes. (Always remember to keep these short and to the point, not long winded lectures, otherwise the reader will not know what you are saying. (Also note that parenthesis within parenthesis are sometimes confusing (when they end at the same time)) You must always close parenthesis (with a ) symbol) because otherwise it will confuse the reader even more.

I posted a chart of how to do hexadecimal numbers in the modtype fields (not what they are normally used to) a while back, a search might find it.

Basically you have to convert them first to decimal then enter them like a normal number. 0x0001 = 1 and so on. When you add them together (the decimal numbers) you add them like regular decimal numbers.

------------------
Moderator- (url="http://"http://www.AmbrosiaSW.com/cgi-bin/ubb/forumdisplay.cgi?action=topics&number;=9&SUBMIT;=Go")EV Developer's Corner(/url)
All the good ways of saying I love pipeline were already taken...
(url="http://"http://www.ambrosiasw.com/cgi-bin/vftp/dl-redirect.pl/TheChallenge101.sea.bin?path=evn/plugins&file;=TheChallenge101.sea.bin")The Challenge(/url): A deadly test of skill and power (new version 1.0.2 coming soon)
(url="http://"http://homepage.mac.com/mrxak/Haikus/haikus.html")The Haiku Archive(/url): Collected Works of the Rabid Haiku Generator

(url="http://"http://www.AmbrosiaSW.com/webboard/Forum9/HTML/002773.html")Ta-Da!(/url)

------------------
Moderator- (url="http://"http://www.AmbrosiaSW.com/cgi-bin/ubb/forumdisplay.cgi?action=topics&number;=9&SUBMIT;=Go")EV Developer's Corner(/url)
All the good ways of saying I love pipeline were already taken...
(url="http://"http://www.ambrosiasw.com/cgi-bin/vftp/dl-redirect.pl/TheChallenge101.sea.bin?path=evn/plugins&file;=TheChallenge101.sea.bin")The Challenge(/url): A deadly test of skill and power (new version 1.0.2 coming soon)
(url="http://"http://homepage.mac.com/mrxak/Haikus/haikus.html")The Haiku Archive(/url): Collected Works of the Rabid Haiku Generator

Quote

Originally posted by mrxak:
**I posted a chart of how to do hexadecimal numbers in the modtype fields (not what they are normally used to) a while back, a search might find it.

**

Well, I've searched and searched ("modtype", "flags", "fields", "hexadecimal," and can't find this chart.

But it's moot, because this:

Quote

Originally posted by mrxak:
**Basically you have to convert them first to decimal then enter them like a normal number. 0x0001 = 1 and so on. When you add them together (the decimal numbers) you add them like regular decimal numbers.

**

....explained it nicely. Thanks.

------------------

(This message has been edited by UncleTwitchy (edited 06-07-2002).)

...Wait a minute.

Wouldn't setting it to 30 mean it would drain 3 units of fuel instead?

------------------

Quote

Originally posted by mrxak:
**Ta-Da!

**

I searched for you, so you didn't need to anyway.

------------------
Moderator- (url="http://"http://www.AmbrosiaSW.com/cgi-bin/ubb/forumdisplay.cgi?action=topics&number;=9&SUBMIT;=Go")EV Developer's Corner(/url)
All the good ways of saying I love pipeline were already taken...
(url="http://"http://www.ambrosiasw.com/cgi-bin/vftp/dl-redirect.pl/TheChallenge101.sea.bin?path=evn/plugins&file;=TheChallenge101.sea.bin")The Challenge(/url): A deadly test of skill and power (new version 1.0.2 coming soon)
(url="http://"http://homepage.mac.com/mrxak/Haikus/haikus.html")The Haiku Archive(/url): Collected Works of the Rabid Haiku Generator

Quote

Originally posted by mrxak:
**I searched for you, so you didn't need to anyway.

**

Must've missed the link before. Thanks!

------------------