Thread: Wishlist The Modder's Wishlist
View Single Post
  #165  
Old August 2nd, 2007, 07:12 PM
DrPraetorious's Avatar

DrPraetorious DrPraetorious is offline
Major General
 
Join Date: Feb 2005
Location: Lake of Hali, Aldebaran, OH
Posts: 2,474
Thanks: 51
Thanked 67 Times in 27 Posts
DrPraetorious is on a distinguished road
Default Re: The Modder\'s Wishlist

How about a mod command to directly modify the records as binaries?

Something like:
#selectsite 212
#hexdump 30 0x000100030004
#end

Which would just do a raw bitwise replace of bytes 30-35 of the record for the site.

So if we can figure out how something is handled in the binary, we can do it ourselves - this could apply to sites, magic items (although I've never found those by hex diving), spells, units, armor and weapons. It'd also allow us to clear any powers we didn't want, presumably by masking the relevant bytes to 0, unless the power is hardcoded somewhere outside of the unit record.

Of course, if you change the data structures this would become useless, and if any of my prof's ever find out I suggested this they'll retroactively withdraw my degree (I wrote my thesis on robust and maintainable coding practices.)

OTOH, this way you wouldn't have to code up every obscure power anyone wanted to mod.
__________________
If you read his speech at Rice, all his arguments for going to the moon work equally well as arguments for blowing up the moon, sending cloned dinosaurs into space, or constructing a towering *****-shaped obelisk on Mars. --Randall Munroe
Reply With Quote