For the last few days TC and I have been bouncing ideas back and forth through messenger. While I could not accomplish my intended task of getting agility penalty AND cloak/shield disability working for BOTH Nebula and Blackhole, I did manage to get cloak/shield disability and the agility modifier to work with the Nebula section of the subroutine solely.Spocks-cuddly-tribble wrote: ↑Sat May 28, 2016 11:17 am 5.) Sub_474880 also lowers the tactical combat agility of ships (only) in Black Hole sectors:
OLD/OUTDATED (See more recent posts)
Code: Select all
0x73caa 90 90 Do nothing if Blackhole
0x73cf9 E9 4E 00 00 00 90 Jump to agility modification section for shiptype
0x73d1f E9 28 00 00 00 90 Jump to agility modification section for other type
0x73d5e 49 eax
0x73d64 EB 99 Jump back -103 bytes and finish flagging ships for Nebula
Instead of 1/3 (0.333333333333333) a value of 3.0 - 4.0 can be used to boost agility within nebulae, making ships harder to hit. That is until I can establish how to get ahold of Damage Control or Defense pointers to replace the ones used for Agility (for a more appealing behavior). Also now this leaves quite a few unused bytes between 47492C and 47494B, which can (maybe) be used to add other effects to Nebula, or maybe it can be fixed to run a different register for a different anomaly type with different properties (metaphasic nebula? heal your ship ???)Spocks-cuddly-tribble wrote: ↑Sat May 28, 2016 11:17 amagility multiplier (8 byte float) at asm-57B0F0 (default 1/3)
I am still on the hunt for Damage Control and Defense, any advice wrt to either is appreciated. Thanks