View Single Post
Old 04-16-11, 07:12 AM   #14
reaper7
sim2reality
 
Join Date: Jun 2007
Location: AM 82
Posts: 2,280
Downloads: 258
Uploads: 30
Default

Quote:
Originally Posted by Hitman View Post
But why not simply make a clone copy of the existing bearing dial??
Not sure how you clone an object, can it have the same ID ??

For example the compass in the Attack scope has an ID of: 0x26000004
Its graphic is bearing.dds in data/menu/gui (1024x16) but displays only a portion of that (88x16). So when you rotate the scope the graphic scrolls thru that 88x16 window.
There is no entry for the Compass in the dials.cfg so the ID 0x26000004 is being rotated by Hardcode.

If I make a copy of the compass it will get a new ID which will not be touched by the hardcode, so in turn will not rotate it.

Can one fool the game into having 2 same ID's (Clone as you mention) or will that cause CTD.
I haven't tried to have the same ID for both items as SH5's Menu Editor does not allow for 2 same ID's, but I could edit the attack_scope.ini file to make them the same if cloning works


EDIT: Nope giving them the same ID didn't work - both the original and clone didn't rotate

Last edited by reaper7; 04-16-11 at 07:38 AM.
reaper7 is offline   Reply With Quote