
09-Feb-2006 19:20
Hey, if you can map out the memory locations and stuff, I can design some C++ functions like SetJKMemProp(thingNum,memNAME,value);
And i'll make a list of valid memNAMEs that go along with their accosiated memory locations (or memory location algorythums if nessessary) like...
headPitch = 0x3412EA34;
attachedFace = 0x76 + (0x732BA34 + (thingNum*0x4353B));
userData = 0x21 + (0x732BA34 + (thingNum*0x4353B));
sectorSound = 0x64 + (0x4562BE + (sectorNum*0x3B35));
So, in theory, to set a certian thing's head pitch from .dll portion of your new cog function, you could use SetJKMemPro(0,headPitch,90);
I could also write some C++ functions that do things simluar to what GetThingPlayerNum() does in cog, but do it simply by reading a memory location you map out, cuz all this info SHOULD be held in the thing array i'm guessing.