Archetype::Ship struct partial reversal
-
I just reversed most of the Archetype::Ship struct (in common.h).
Enjoy!struct IMPORT Ship { uint iDunno1[2]; uint iShipArchID; uint iDunno2; uint iType; uint iIDSName; uint iIDSInfo; float fHitPts; float fMass; uint iDunno3[2]; float fRotationIntertia[3]; uint iDunno4[45]; uint iIDSInfo1; uint iIDSInfo2; uint iIDSInfo3; uint iShipClass; uint iNumExhaustNozzles; float fHoldSize; float fLinearDrag; float fAngularDrag[3]; float fSteeringTorque[3]; float fNudgeForce; float fStrafeForce; uint iDunno5[6]; uint iMaxNanobots; uint iMaxShieldBats; };
-
Nice one M0tah, thanks for sharing even though iām unlikely to delve into the fl hook code myself at the moment!! ;D Nice to see you found out some more from the elusive fl codeā¦
I guess it can be put to good use in someway or another. Possibly cheat detection ??
Maybe it wont be long till FLAC is susperceded at this rateā¦ ĆĀ ::)
see you have some labelled as ādunnoā, any guesses at what they may be?
-
I guess it can be put to good use in someway or another. Possibly cheat detection ??
I needed the hold size of a ship for making some improvements to the method that adds cargo to a character (HkAddCargo), so I figured that Iād try to figure out as much of the struct as I could - itāll probably come in useful later.
see you have some labelled as ādunnoā, any guesses at what they may be?
They probably correspond to other entries in the ShipArch definitions (the struct seems to be a representation of a ShipArch entry).