PDA

View Full Version : Scheme offsets


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. ;)

CyberShadow
17 Jul 2006, 17:16
wBazooka = 0;
wHomingMissile = 1;
wMortar = 2;
wGrenade = 3;
wClusterBomb = 4;
wSkunk = 5;
wPetrolBomb = 6;
wBananaBomb = 7;
wHandgun = 8;
wShotgun = 9;
wUzi = 10;
wMinigun = 11;
wLongbow = 12;
wAirstrike = 13;
wNapalmStrike = 14;
wMine = 15;
wFirePunch = 16;
wDragonball = 17;
wKamikaze = 18;
wProd = 19;
wAxe = 20;
wBlowtorch = 21;
wDrill = 22;
wGirder = 23;
wNinjaRope = 24;
wParachute = 25;
wBungeeRope = 26;
wTeleport = 27;
wDynamite = 28;
wSheep = 29;
wBaseballBat = 30;
wFlameThrower = 31;
wHomingPigeon = 32;
wMadCow = 33;
wHolyHandGrenade = 34;
wOldWoman = 35;
wSheepLauncher = 36;
wSuperSheep = 37;
wMoleBomb = 38;
wJetPack = 39;
wLowGravity = 40;
wLaserSight = 41;
wFastWalk = 42;
wInvisibility = 43;
wAquaSheep = 44;
wEarthquake = 45;
wSuicideBomber = 46;
wMailStrike = 47;
wMineStrike = 48;
wMoleSquadron = 49;
wGirderPack = 50;
wScalesOfJustice = 51;
wSuperBananaBomb = 52;
wSalvationArmy = 53;
wMBBomb = 54;
wMingVase = 55;
wSheepStrike = 56;
wCarpetBomb = 57;
wConcreteDonkey = 58;
wIndianNuclearTest = 59;
wArmageddon = 60;
wSelectWorm = 61;
wFreeze = 62;
wMagicBullet = 63;

// stuff below not stored in schemes
wDoubleDamage = 64;
wCrateSpy = 65;
wDoubleTurnTime = 66;
wCrateShower = 67;
Use this wisely.

Now also available here: http://wiki.thecybershadow.net/Game_scheme_file

evilworm2
18 Jul 2006, 01:38
wow. this helps a lot. i appreciate it.

Lex
18 Jul 2006, 02:19
Hehe. Maybe you should become part of the Worms Knowledge Base project, evilworm2.