SpellForce 3 Reforced

SpellForce 3 Reforced

View Stats:
littlenewbie Dec 19, 2017 @ 8:53pm
Item IDs
Since they were kind of a pain to rip, here's a list (for modding/whatever): https://gist.github.com/olegbl/c4f177c720c7bbce993193f062b7620b
< >
Showing 1-15 of 41 comments
Farlon Dec 19, 2017 @ 9:11pm 
Nice, this will be useful in the future.
anubis.hellraider Dec 19, 2017 @ 10:50pm 
I´m either reading your table wrong or there are different versions of the itemtable out there.
I can guerante you that the healing potion is 570 and the focus potion is 571 not 710 and 625 respectivly. With version 1.14 and below it was easy to find out the itemcodes. Unfortunatly I didn´t wrote them down.
Use Cheat Engine, search 570 for Health Potion. Place Focus Potion in the same slot to swap, search 571. Rinse and repeat till you only get 3 2-Byte values. 1 is for the Item discription, 1 is for the Picture and 1 is for the actual Item. The Actual Item needs to be changed manually, the Picture can be changed manually but updates if you change the Item discription one. Problem right now is that several Items don´t got a pic so if you for example change the value to 3 the game crashes. 1.14 and below would set the the picture value to 65535 if the Discription value doesn´t have a pic to go with. Now though it simply writes the value in and doesn´t care if the game crashes.
You still can find out the item codes through trial and error right now but prepare for many, many crashes. Better to simply identify the codes of the Items you already found and then duplicate them.

Here´s the code for the extraelementaldamge Amulets.
676 Fire
677 Ice
678 White
679 Black
Last edited by anubis.hellraider; Dec 20, 2017 @ 10:44am
littlenewbie Dec 20, 2017 @ 1:46pm 
...those are line numbers of the text file as rendered by GitHub.

In SpellForce 3, item IDs are strings, not numbers. This has absolutely nothing to do with Cheat Engine and is meant to be used when modding ( http://forum.spellforce.com/showthread.php?t=72983 ) not when trying to manipulate the game's memory at run-time.

e.g.
m_Reference.GetHeroParty(m_iPlayerFaction).AddItems("RingOfLife_Q4", 1);
Last edited by littlenewbie; Dec 20, 2017 @ 5:07pm
anubis.hellraider Dec 20, 2017 @ 3:46pm 
so how do you use them ingame? Haven´t found a console button yet
anubis.hellraider Dec 27, 2017 @ 1:35pm 
Go to the inventory screen.
Put your health potion in the top left slot (actual slot doesn´t matter but you need a fixed location). Search 570 (2-Bytes).
Put Focus Potion in same slot
Search 571 (2-Bytes).
Repeat till you only got 3 adresses.
Put something you don´t mind loosing in the slot (Or an Item you only want the ID of).
Change the 3 values to the ID of the Item you want.
Here are some of the ID´s I got sofar either by finding them or searching the narby IDs (Item Names for legendarys in German).

Staff black Purple 1373 AOE Persist
Staff Fire Purple 1375 AOE Persist
Staff Ice Purple 1377 AOE Persist
Staff White Purple 1379 AOE Persist

Staff black Blue 1118 AOE
Staff Fire Blue 1119 AOE
Staff Ice Blue 1120 AOE
Staff White Blue 1121 AOE

Staff black Green 406
Staff Fire Green 408
Staff Ice Green 409
Staff White Green 410
---------------------------------------------------------------------------------
Robes Red Purple 1394
Robes Black Purple 1393
Robes White Purple 1395
Robes Green Purple

Robes Red Blue 1434
Robes Black Blue 1432
Robes White Blue 1435
Robes Green Blue 1433

Robes Red Green 1145
Robes Black Green 501
Robes White Green 502
Robes Green Green 198

Robes Red Grey
Robes Black Grey 1144
Robes White Grey 1146
Robes Green Grey 741
---------------------------------------------------------------------------------
Cowl Red Purple 1474
Cowl Black Purple 1421
Cowl White Purple 1422
Cowl Green Purple 1470

Cowl Red Blue 1473
Cowl Black Blue 1407
Cowl White Blue 1408
Cowl Green Blue 1469

Cowl Red Green 1472
Cowl Black Green 623
Cowl White Green 624
Cowl Green Green 1468

Cowl Red Grey 1471
Cowl Black Grey 440
Cowl White Grey 1147
Cowl Green Grey 1467
---------------------------------------------------------------------------------
1478 Potion Attribute
1476 Potion Skill
1489 Potion Rebirth
615 Goblinfleisch
1477 Potion Ressurection
---------------------------------------------------------------------------------
729 Daves Buttermesser 2-H Schwert
1173 Axt der Berge 1-H Axt
1174 Meister von Leben und Tod 1-H Schwert
1175 Großaxt des Hauptlings 2-H Axt
1176 Macht der Risen 2-H Hammer
1177 Klinge des Henkers 2-H Schwert
1178 Hammer des Schmieds 1-H Hammer
1179 Schwer der Abtrünnigen 1-H Schwert
1180 Drachenbeinschild Schild
1181 Herz des Golems Schild
1182 Schild der Weihe Schild
1183 Schild der Reinigung Schild
1184 Schild des Phönix Schild
1185 Schild der tödlichen Verlockung Schild
1186 Seelenräuber 2-H Speer
1187 Drakonide Axt 1-H Axt
1188 Drakonider Bogen 2-H Bogen
1189 Drakonide Armbrust 2-H Armbrust
1190 Drakonide Großaxt 2-H Axt
1191 Drakonider Großhammer 2-H Hammer
1192 Drakonide Großkeule 2-H Streitkolben
1193 Drakonide Großschwert 2-H Schwert
1194 Drakonide Hellebarde 2-H Speer
1195 Drakonider Hammer 1-H Hammer
1196 Drakonide Keule 1-H Streitkolben
1197 Drakonider Speer 1-H Speer
1198 Drakonide Schwert 1-H Schwert
1199 Klagelied des Traumflechters 1-H Schwert
1200 Des Schänders Fluch 2-H Armbrust
1201 Van Karewa 2-H Bogen
1202 Abendstern 1-H Streitkolben
1203 Auge der Welt 2-H Stab
1204 König Ayeliths Eid 2-H Streitkolben
1205 Der Wächter Gunst Rüstung
1206 Undurchdringlicher Schutz Rüstung
1207 Rüstung des Magiers Rüstung
1208 Berserkerrüstung Rüstung
1209 Drachenschuppenrüstung Rüstung
1210 Nortanders Stolz Rüstung
1211 Geschenk der Riesen Rüstung
1212 Drachenschuppenhelm Helm
1213 Ruf des Waldes Helm
1214 Amulett des Göttlichen Gebräus Amulett
1215 Fluchschutz Amulett
1216 Norias Command Amulett
1217 Amulet der Toten Amulett
1218 Ring der Lebenskraft Ring
1219 Ring des Mystikers Ring
1220 Duellantenring Ring
1221 Ring des Heiligen Rituals Ring

Paraleo Dec 27, 2017 @ 3:11pm 
a crafting option would have been nice for the amulets. To merge more into one. As a game feature I mean.
Chroniver Dec 27, 2017 @ 4:00pm 
Interesting to see there are many ID's that I really didn't find in the game at all.
Darth Revan Dec 27, 2017 @ 4:14pm 
@anubis.hellraider

EDIT: forget it, i just recognized that the id changes automatically when i put a new item in the slot.

Again, Thank you very much. :) this is awesome. :)


awesome, thank you! thats what i am searching for. :) can you say how it works to find out the item ids? i am very new to this kind of things and i really want to start the game with the equipement which looks the best for me amd mone of the items are in your list so far. :)

When i understand how it works i would be able to find the ids myselfe. :)
Last edited by Darth Revan; Dec 27, 2017 @ 4:18pm
anubis.hellraider Dec 27, 2017 @ 6:02pm 
Item IDs for Items you don´t have? Trial and error. A couple of versions ago they linked the Item (Only Description) to the pictures. Before that you could simply start with ID 1 and then add 1 with hotkeys till you found the item you liked. Now if you got an invalid picture your game will crash. Example ID 1 is a common sword. ID 2 is a namelss common mace. ID 3 is a crash. Some Items like the legendarys are nearly completly in a row. Most blueprints are listed in segments of three and in a row (Elven, Human, Orc). You can for example get nearly all Unit upgrades with only a dozend Crashes but the building blueprints are all over the place. (Blueprints are consumables so in additon to the 3 ID Codes you also need the two 2-Byte [999 is max for health/focus potion]) Adresses for Item Amount.

@littlenewbie still waiting for the explaination for the console
Last edited by anubis.hellraider; Dec 27, 2017 @ 6:04pm
Darth Revan Dec 27, 2017 @ 6:34pm 
@anubis.hellraider

thank you very much, i already found out the ids of the armors and helmets i wanted, i just have to figure out the ids of 2 shields i currently have to be able to find the shield slot so i can see the ids of the shields i equip, the same goes for weapons. :)
Last edited by Darth Revan; Dec 27, 2017 @ 6:40pm
jerkyboy7256 Dec 31, 2017 @ 11:51am 
Originally posted by anubis.hellraider:
Item IDs for Items you don´t have? Trial and error. A couple of versions ago they linked the Item (Only Description) to the pictures. Before that you could simply start with ID 1 and then add 1 with hotkeys till you found the item you liked. Now if you got an invalid picture your game will crash. Example ID 1 is a common sword. ID 2 is a namelss common mace. ID 3 is a crash. Some Items like the legendarys are nearly completly in a row. Most blueprints are listed in segments of three and in a row (Elven, Human, Orc). You can for example get nearly all Unit upgrades with only a dozend Crashes but the building blueprints are all over the place. (Blueprints are consumables so in additon to the 3 ID Codes you also need the two 2-Byte [999 is max for health/focus potion]) Adresses for Item Amount.

@littlenewbie still waiting for the explaination for the console

Aye thank you for your cheat engine tutorial anubis.hellraider. I found some additional item IDs that might be useful to some people.

1973 Orcish token
1967 Elf token
1972 Leonidar Insignia Ring

Thx to this cheat I succedded in interacting with King Ayelith's statue found in Green Coast map. The reward I got was rather disappointing to say the least. I got King Ayelith's Oath 2h mace which I can just as easily obtain by helping out certain reptile creature ingame. What a waste.......

In the Old Monastery submap of Old Haalayash, you can interact with Leonidar family tomb with that Leonidar Insignia Ring to obtain an artefact Armor of the Mage.
Last edited by jerkyboy7256; Dec 31, 2017 @ 1:29pm
littlenewbie Jan 1, 2018 @ 11:25pm 
You don't need the console (though as far as I can tell, there is indeed one if you toggle on the debug var.) Just mod whatever you need into the game's scripts.

e.g. How to add any arbitrary item to your inventory:

1. Open up \Steam\steamapps\common\SpellForce 3\bin_win32\configs\levels\basicScripts\levelBase.as

2. At the end of OnCreated(), add m_Reference.GetHeroParty(m_iPlayerFaction).AddItems("RingOfLife_Q4", 1);
(or whatever item you want)

3. Quick save and quick load.

4. See new item in inventory.

5. Undo your changes from #3.
Last edited by littlenewbie; Jan 1, 2018 @ 11:25pm
WarStalkeR Jan 8, 2018 @ 7:40am 
Originally posted by littlenewbie:
You don't need the console (though as far as I can tell, there is indeed one if you toggle on the debug var.) Just mod whatever you need into the game's scripts.
not OnCreated, but OnLoaded:
1) Without closing game, open file \Steam\steamapps\common\SpellForce 3\bin_win32\configs\levels\basicScripts\levelBase.as 2) At the end of void OnLoaded ( const uint _uVersion ) add: m_Reference.GetHeroParty(m_iPlayerFaction).AddItems("AP_IsgrimmQ2_Metal", 1); m_Reference.GetHeroParty(m_iPlayerFaction).AddItems("AP_IsgrimmQ2_ShoulderPad", 1); m_Reference.GetHeroParty(m_iPlayerFaction).AddItems("AP_IsgrimmQ3_PlateMailPieces", 1); m_Reference.GetHeroParty(m_iPlayerFaction).AddItems("AP_IsgrimmQ3_ReinforcedMetal", 1); m_Reference.GetHeroParty(m_iPlayerFaction).AddItems("AP_IsgrimmQ3_ReinforcedShoulderPad", 1); m_Reference.GetHeroParty(m_iPlayerFaction).AddItems("AP_IsgrimmQ4_EpicHelmPieces", 1); m_Reference.GetHeroParty(m_iPlayerFaction).AddItems("AP_IsgrimmQ4_EpicMetal", 1); m_Reference.GetHeroParty(m_iPlayerFaction).AddItems("AP_IsgrimmQ4_EpicPlatePieces", 1); m_Reference.GetHeroParty(m_iPlayerFaction).AddItems("AP_IsgrimmQ4_EpicShoulderPad", 1); m_Reference.GetHeroParty(m_iPlayerFaction).AddItems("AmuletOfDebuffImmunity_Q4", 15); m_Reference.GetHeroParty(m_iPlayerFaction).AddItems("GK3_NiethalfsTrinket", 15); m_Reference.GetHeroParty(m_iPlayerFaction).AddItems("RingOfTheArchmage_Q4", 30); m_Reference.GetHeroParty(m_iPlayerFaction).AddItems("DragonScaleArmor_Q4", 15); m_Reference.GetHeroParty(m_iPlayerFaction).AddItems("DragonScaleHelmet_Q4", 15); m_Reference.GetHeroParty(m_iPlayerFaction).AddItems("DragonBoneSword_Q4", 6); m_Reference.GetHeroParty(m_iPlayerFaction).AddItems("DragonBoneSpear_Q4", 6); m_Reference.GetHeroParty(m_iPlayerFaction).AddItems("DragonBoneMace_Q4", 6); m_Reference.GetHeroParty(m_iPlayerFaction).AddItems("DragonBoneHammer_Q4", 6); m_Reference.GetHeroParty(m_iPlayerFaction).AddItems("DragonBoneAxe_Q4", 6); m_Reference.GetHeroParty(m_iPlayerFaction).AddItems("DragonBoneShield_Q4", 3); m_Reference.GetHeroParty(m_iPlayerFaction).AddItems("DragonBoneHalberd_Q4", 3); m_Reference.GetHeroParty(m_iPlayerFaction).AddItems("DragonBoneGreatsword_Q4", 3); m_Reference.GetHeroParty(m_iPlayerFaction).AddItems("DragonBoneGreatmace_Q4", 3); m_Reference.GetHeroParty(m_iPlayerFaction).AddItems("DragonBoneGreathammer_Q4", 3); m_Reference.GetHeroParty(m_iPlayerFaction).AddItems("DragonBoneGreataxe_Q4", 3); m_Reference.GetHeroParty(m_iPlayerFaction).AddItems("DragonBoneCrossbow_Q4", 3); m_Reference.GetHeroParty(m_iPlayerFaction).AddItems("DragonBoneBow_Q4", 3); m_Reference.GetHeroParty(m_iPlayerFaction).AddItems("ArchmageStaff_Q4", 3); 3) If you lack ability and/or attribute points, you also can add this: m_Reference.GetHeroParty(m_iPlayerFaction).AddItems("PotionOfAbilities", 400); m_Reference.GetHeroParty(m_iPlayerFaction).AddItems("PotionOfAttributes", 200); 4) Quick Save & Quick Load. 5) Remove/Comment out added lines of code (if you won't do it - these items will be added again and again to your inventory on each load). 6) Congratulation! Now every your character is awesome as much as Duke Nukem himself. Enjoy :D
Last edited by WarStalkeR; Jan 8, 2018 @ 12:06pm
𝓚𝓾𝓻𝓽 Jan 13, 2018 @ 4:19am 
please help, make all to the instructions and game was crashed
𝓚𝓾𝓻𝓽 Jan 13, 2018 @ 5:31am 
give me pls screenshoot a finished file or a link to a file sharing service with it
< >
Showing 1-15 of 41 comments
Per page: 1530 50