Knowing that spellforce 2 shadow wars has "cheat items" e.g
cheat armor
cheat weapon
cheat bow
And knowing which ID's the 3 items use namely: 25 , 75 and 87
It is a simple matter of looking for the right Lua script
in Spellforce 2 Faith In Destiny game,
to give those 3 items to the hero when you start a new game.
Step 1:
Locate: _P500_Dream.Lua
Make a backup of this file before you edit it!.
The script can be found in the script folder, which in case of
steam can be found here:
c:\Program Files (x86)\Steam\steamapps\common\Spellforce 2 - Faith in Destiny\addon2\map\Campaign\P500_Dream\script
Step2:
Open _P500_Dream.Lua in notepad or notepad++
Locate this 3 lines
FigureLootItemEquipmentAdd {Tag = "DR_DragonMaster1", DropChance = 100, ItemId = 683},
FigureLootItemEquipmentAdd {Tag = "DR_DragonMaster2", DropChance = 100, ItemId = 615},
FigureLootItemEquipmentAdd {Tag = "DR_DragonMaster2", DropChance = 100, ItemId = 326},
In notepad add a blank line.
Then copy paste this 3 "new" lines:
AvatarItemEquipmentGive {Player = "pl_Human", ItemId = 25, Amount = 8},
AvatarItemEquipmentGive {Player = "pl_Human", ItemId = 75, Amount = 8},
AvatarItemEquipmentGive {Player = "pl_Human", ItemId = 87, Amount = 8},
IT should look like this when you done editing.
FigureLootItemEquipmentAdd {Tag = "DR_DragonMaster1", DropChance = 100, ItemId = 683},
FigureLootItemEquipmentAdd {Tag = "DR_DragonMaster2", DropChance = 100, ItemId = 615},
FigureLootItemEquipmentAdd {Tag = "DR_DragonMaster2", DropChance = 100, ItemId = 326},
AvatarItemEquipmentGive {Player = "pl_Human", ItemId = 25, Amount = 8},
AvatarItemEquipmentGive {Player = "pl_Human", ItemId = 75, Amount = 8},
AvatarItemEquipmentGive {Player = "pl_Human", ItemId = 87, Amount = 8},
Step3:
Save file in notepad, be sure to doublecheck your "edits" for any syntax errors.
Step4:
Start a new game, and if all is done well you will have
8 cheat armors, 8 cheat bows, and 8 cheat sword weapons.
Happy gaming and editing.
PS:
try this ID's
1115
1116
1117
so change the "25 75 and 87" id's to 1115 1116 and 1117
[Edited by jackbig, 6/22/2012 12:07:52 AM]