evilworm2
17 Jul 2006, 14:06
As suggested here (http://forum.team17.co.uk/showpost.php?p=514038&postcount=21), i am working on a weapon spy.
I currently reverse-engineer the *.wsc file format and i want to know, if there is an official list of the offsets.
This are the offsets i already have:
private final static String[] weaponOffsets = {
/*UTL*/ "C5;na;C7;na", "C9;na;CB;na", "D1;na;D3;na", "", "",
/*F1*/ "29;2A;2B;2C", "2D;2E;2F;30", "", "", "",
/*F2*/ "35;36;37;38", "39;3A;3B;3C", "45;46;47;48", "79;7A;7B;7C", "",
/*F3*/ "4D;4E;4F;50", "49;4A;4B;4C", "51;52;53;54", "", "",
/*F4*/ "", "", "", "", "",
/*F5*/ "99;9A;9B;9C", "65;66;67;68", "9D;9E;9F;A0", "", "",
/*F6*/ "", "", "", "", "",
/*F7*/ "", "", "", "", "",
/*F8*/ "89;8A;8B;8C", "91;na;93;94", "8D;na;8F;90", "95;na;97;98", "F1;F2;F3;F4",
/*F9*/ "", "", "", "", "",
/*F10*/ "", "", "", "", "",
/*F11*/ "AD;AE;AF;B0", "B5;B6;B7;B8", "", "", "",
/*F12*/ "", "", "",
};
order is: ammo;power;turn delay;crate frequency
'na' means there is no such offset.
As you can see this is a long way to go and i want a cane. ;)
I currently reverse-engineer the *.wsc file format and i want to know, if there is an official list of the offsets.
This are the offsets i already have:
private final static String[] weaponOffsets = {
/*UTL*/ "C5;na;C7;na", "C9;na;CB;na", "D1;na;D3;na", "", "",
/*F1*/ "29;2A;2B;2C", "2D;2E;2F;30", "", "", "",
/*F2*/ "35;36;37;38", "39;3A;3B;3C", "45;46;47;48", "79;7A;7B;7C", "",
/*F3*/ "4D;4E;4F;50", "49;4A;4B;4C", "51;52;53;54", "", "",
/*F4*/ "", "", "", "", "",
/*F5*/ "99;9A;9B;9C", "65;66;67;68", "9D;9E;9F;A0", "", "",
/*F6*/ "", "", "", "", "",
/*F7*/ "", "", "", "", "",
/*F8*/ "89;8A;8B;8C", "91;na;93;94", "8D;na;8F;90", "95;na;97;98", "F1;F2;F3;F4",
/*F9*/ "", "", "", "", "",
/*F10*/ "", "", "", "", "",
/*F11*/ "AD;AE;AF;B0", "B5;B6;B7;B8", "", "", "",
/*F12*/ "", "", "",
};
order is: ammo;power;turn delay;crate frequency
'na' means there is no such offset.
As you can see this is a long way to go and i want a cane. ;)