ShootersForever.com Forum Index

GoldenEye 007 Nintendo 64 Community, GoldenEye X, Nintendo 64 Games Discussion
GoldenEye Cheats, GoldenEye X Codes, Tips, Help, Nintendo 64 Gaming Community


How is "Size (Hex)" in the 21990 calculated?

 
Post new topic   Reply to topic    ShootersForever.com Forum Index -> Q-Lab Hacking Department
View previous topic :: View next topic  
Tigerpaw28
Agent
Agent


Joined: 28 Jan 2008
Posts: 16

 PostPosted: Sat Feb 09, 2008 11:01 pm    Post subject: How is "Size (Hex)" in the 21990 calculated? Reply with quote Back to top

I've been doing some editing of the 21990 file in the Goldeneye Setup Editor and ran into a minor problem. I'd like to edit the multiplayer weapons sets to put in some of the weapons not normally found in multiplayer (primarily the Phantom).

But I don't know what the "Size (Hex)" value should be set to. Or, what it represents for that matter. My guess is that it refers to the size of the gun polygon when seen on the ground. I'm thinking I could use the value from a similarly sized weapon (D5K) and have it work, but that's not going to be guaranteed unless they're actually the same size.

-Tigerpaw28
 
View user's profile Send private message
SubDrag
Administrator
Administrator


Joined: 16 Aug 2006
Posts: 6178

 PostPosted: Sun Feb 10, 2008 6:03 pm    Post subject: Reply with quote Back to top

I believe that's the size of the gun. I think 0100 was full size, so you can make it bigger or smaller.
 
View user's profile Send private message
zoinkity
007
007


Joined: 24 Nov 2005
Posts: 1733

 PostPosted: Sun Feb 10, 2008 9:05 pm    Post subject: Reply with quote Back to top

0100 is normal size, or 100%.

It's the hex version of a percentage. If you're using windows calculator (type CALC into the Run box - use winkey+R) you can make a hex percent from a normal one like so:

Say you want to make something 150% its normal size. Usually you see handguns a little larger like this.

1) Type 150 into the box in DEC mode
2) Multiply by 256
3) Divide by 100
4) Press the HEX button to change it itno the hex equivalent.

You should get 180. Type 0180 into the editor to set it to the new size.

--
Any chance these percentage types can be set as just normal percentages in future versions of the editor? I know there's conversion needed then on output, but it would really be helpful for those not as aquainted with hex math.
_________________
(\_/) Beware
(O.o) ze
(> <) Hoppentruppen!
 
View user's profile Send private message Send e-mail
Tigerpaw28
Agent
Agent


Joined: 28 Jan 2008
Posts: 16

 PostPosted: Sun Feb 10, 2008 9:43 pm    Post subject: Reply with quote Back to top

Thanks for the help guys.

I was really getting thrown by the fact that the hex values, in the editor, looked like decimal values. Now I just wish I understood why the GE programmers picked the values they did. It seems somewhat arbitrary.

I went made a chart of the values, just to see if I could find some type of pattern. And I happened upon two oddities:

Remote Mines
PP7 Special Issue 3.000000
ZMG (9mm) 1.500000
AR33* 1.500000
Remote Mines 1.500000

* Weapon box has AR33 selected but Weapon Image box has KF7 selected

Timed Mines
PP7 Special Issue 3.000000
ZMG (9mm) 1.500000
AR33* 1.500000
Timed Mines 1.500000

* Weapon box has AR33 selected but Weapon Image box has KF7 selected

Is that the way code actually reads or a problem with the setup editor?

-Tigerpaw28
 
View user's profile Send private message
SubDrag
Administrator
Administrator


Joined: 16 Aug 2006
Posts: 6178

 PostPosted: Mon Feb 11, 2008 5:07 am    Post subject: Reply with quote Back to top

Wait, he's right! The editor uses floating point. Heh, I think I did the division for you. So 1.0 = 0100. 2.0 = 0200.

I think the actual ground pickup looks like an KF7 but you pick up an AR33, if I remember, didn't Rare mess up here?
 
View user's profile Send private message
Wreck
Administrator
Administrator


Joined: 14 Dec 2005
Posts: 7254
Location: Ontario, Canada

 PostPosted: Mon Feb 11, 2008 9:40 am    Post subject: Reply with quote Back to top

Yeah, they (Rare) made a mistake with the pick-up images. I have it listed as one of the things that require fixing. If you're curious to see what we've got included in that list so far, check out the following link. There's quite likely more things found, and possibly dealt with, since last updating.

Correcting Mistakes
_________________

YOUTUBE | TWITTER/X | FACEBOOK | VAULT | MOD DB | RHDN
 
View user's profile Send private message Visit poster's website
Dragonsbrethren
Hacker
Hacker


Joined: 23 Mar 2007
Posts: 3058

 PostPosted: Mon Feb 11, 2008 10:15 am    Post subject: Reply with quote Back to top

I was just looking at that topic a few days ago. I'm going to bump it with a few things I've noticed.
 
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    ShootersForever.com Forum Index -> Q-Lab Hacking Department All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Cobalt 2.0 BB theme/template by Jakob Persson.
Copyright © 2002-2004 Jakob Persson


Powered by BB © 01, 02 BB Group

 


Please Visit My Other Sites: GoldenEyeForever.com | GrandTheftAutoForever.com

Got kids? Check out my Dora The Explorer site with games and coloring pages!

Our forums feature Nintendo 64 games, GoldenEye 007 N64 New Maps and Missions, GoldenEye Cheats, N64 Emulator, Gameshark, GoldenEye Multiplayer and more!

[ Privacy Policy ]