It seems that you're using an outdated browser. Some things may not work as they should (or don't work at all).
We suggest you upgrade newer and better browser like: Chrome, Firefox, Internet Explorer or Opera

×
Hello guys !

In the far past of windows 95, it was possible to use cheatcodes.
Now, it's not.

Do you know if we can find a way to cheat and change the units stats ?
prbs a little late, but it is easy enough to edit most things in the game, you need to load a save file in the game, any save file will do, then once the caravan loads in, you windows key out to the desktop, the changes you make will only take effect after loading in while in the caravan, so if you change your file, then check in the game on the units for example, you have to save and reload in to change the file again, anyway head to the gog install folder for the game ; GOG Games/warhammer/shadowofhehornedrat/warfb/temp/ and then you want to use notepad to edit the ARMY file, once its open you will get the general idea of how the game works the units out, i think so far the only thing i cant do is change the price of certain units or add gold, i think its in the save file and requires a hex editor, however there is a good work around, there are a bunch of units you can dump in that have zero unit cost, you can also add in as many magic items as you like, increase stats to god levels, increase unit size, example

the standard grudebringer cavalry layout is like this

; unit 1 (this is the unit order in your army file)
addunit:Grudgebringer<Cavalry (name of unit)
hidden:
set:whoami=2
set:hired=1 (set 0 for not hired or 1 for hired)
troopsprites:BorderHorse,0
banner:BannerMrcCmdr,0
addmagicitem:ItemGrudgeBringer (you can add magic items under the banner line here)
addmagicitem:ItemDragonBlade (for example the dragon blade)
addmagicitem:ItemDreadBanner (or this for example)
setstats:s_side=2,12,12,3 (spare men, active men, max men, wounded men)
setstats:s_move=4,3,3,3,3,1,3,1,7 (these are the units stats, they are ordered as per the stats
setstats:s_mount=1,11,3,16,13,0 page, 9 is god mode)
setstats:s_weap=3
setstats:S_BalWeap=0
setstats:s_pntval=13
setstats:s_cmdr=0,0,4,0
setstats:s_armname=0,4
set:s_calualties=0 (these represent active changes to the roster because of previous battles
set:s_routed=0 it changes and then resets at the end and start of each battle or move,
set:s_kills=0 calualties means casualties but it is like this in every example)
set:s_Exp=0 (Unit experience, xp will be pushed through at the end of the next battle)
;S_RACE is Human Cavalry...are you sure this is right?
addleader:Cmdr._Bernhardt (leader name)
leaderportrait:Commander,0
troopsprites:MercCaptain,0
setstats:s_move=4,4,5,4,4,2,4,2,9 (leader stats, again 9 is god mode)
setstats:s_armr=11
setstats:s_weap=3
setstats:S_BalWeap=0
setstats:s_armname=0,4
endleader:

set:dir=0
set:x=1097
set:y=645
set:script=PLAYER_SCRIPT
endunit:

not exactly sure how accurate i am with all of it and im prbs missing stuff, but it does work for me, i finished the game a few times over then dabbled with it and thats my result after a few hours of fiddling, a few notes, you can change a units leaders, just cut and paste the entire section and make sure your spacing is correct, it just needs to line up, the max size of any given unit is 32 soldiers, if you simply change the active men and max men to 32 that will be the units new max size, keep in mind though increasing the units size will increase the cost per match, even if you dont use them it still has a retainer cost which can really add up when doing smaller paying mission, if its in (brackets) its my comment not the games code but you will see it soon enough anyway, if you want more examples just let me know, and dont mess with the save files in the same way, it corrupts them right away lol, dont change anything without saving the originals first in a safe spot, the game will delete your work so save your perfect little setups seperately so you can load them in with a cut and paste instead of editing every single time, sorry for the wall of text
[MERCARMY]

[UNITS]
; Mercenary Army (Marching Orders)
set:count=5
; unit 1
addunit:Grudgebringer<Cavalry
hidden:
set:whoami=2
set:hired=1
troopsprites:BorderHorse,0
banner:BannerMrcCmdr,0
addmagicitem:ItemArmourOfMeteoricIron
addmagicitem:ItemDragonBlade
addmagicitem:ItemSwordOfMight
addmagicitem:ItemTalismanOfObsidian
addmagicitem:ItemBannerOfMight
setstats:s_side=2,12,12,3
setstats:s_move=9,9,9,9,9,9,9,9,9
setstats:s_mount=1,11,3,16,34,0
setstats:s_weap=3
setstats:S_BalWeap=0
setstats:s_pntval=34
setstats:s_cmdr=0,0,4,0
setstats:s_armname=0,4
set:s_calualties=0
set:s_routed=0
set:s_kills=0
set:s_Exp=13961
;S_RACE is Human Cavalry...are you sure this is right?
addleader:Cmdr._Bernhardt
leaderportrait:Commander,0
troopsprites:MercCaptain,0
setstats:s_move=9,9,9,9,9,9,9,9,9
setstats:s_armr=11
setstats:s_weap=3
setstats:S_BalWeap=0
setstats:s_armname=0,4
endleader:

set:dir=0
set:x=1097
set:y=645
set:script=PLAYER_SCRIPT
endunit:

; unit 2
addunit:Reiksguard_Knights
hidden:
set:whoami=6
set:hired=1
troopsprites:MountedReiks,0
banner:BannerEmp2,0
addmagicitem:ItemSwordOfMight
addmagicitem:ItemDragonBlade
addmagicitem:ItemArmourOfMeteoricIron
addmagicitem:ItemTalismanOfObsidian
addmagicitem:ItemBannerOfMight
setstats:s_side=2,32,32,4
setstats:s_move=9,9,9,9,9,9,9,9,9
setstats:s_mount=1,13,3,16,46,0
setstats:s_weap=3
setstats:S_BalWeap=0
setstats:s_pntval=46
setstats:s_cmdr=0,0,17,0
setstats:s_armname=0,17
set:s_calualties=0
set:s_routed=0
set:s_kills=0
set:s_Exp=13672
;S_RACE is Human Cavalry...are you sure this is right?
addleader:Cpt._Todbringer
leaderportrait:Reiks,0
troopsprites:MountedReiks,0
setstats:s_move=9,9,9,9,9,9,9,9,9
setstats:s_armr=13
setstats:s_weap=3
setstats:S_BalWeap=0
setstats:s_armname=0,17
endleader:

set:dir=0
set:x=1377
set:y=614
set:script=PLAYER_SCRIPT
endunit:

; unit 3
addunit:Leitdorf_9th<Crossbows
hidden:
set:whoami=7
set:hired=1
troopsprites:Leitdorf9th,0
banner:BannerEmp6,0
addmagicitem:ItemArmourOfMeteoricIron
addmagicitem:ItemShieldOfPtolos
addmagicitem:ItemTalismanOfObsidian
addmagicitem:ItemDragonBlade
addmagicitem:ItemParryingBlade
setstats:s_side=3,32,32,4
setstats:s_move=9,10,9,9,9,9,9,9,9
setstats:s_mount=0,2,3,24,20,2
setstats:s_weap=3
setstats:S_BalWeap=2
setstats:s_pntval=20
setstats:s_cmdr=0,0,15,0
setstats:s_armname=0,15
set:s_calualties=0
set:s_routed=0
set:s_kills=0
set:s_Exp=2048
;S_RACE is Human Archers...are you sure this is right?
addleader:Cpt._Holger
leaderportrait:Holger,0
troopsprites:Leitdorf9th,0
setstats:s_move=9,10,9,9,9,9,9,9,9
setstats:s_armr=2
setstats:s_weap=3
setstats:S_BalWeap=2
setstats:s_armname=0,15
endleader:

set:dir=0
set:x=1465
set:y=608
set:script=PLAYER_SCRIPT
endunit:

; unit 4
addunit:Wood_Elf_Archers
hidden:
set:whoami=8
set:hired=1
troopsprites:WoodElves,0
banner:BannerElf1,0
addmagicitem:ItemArmourOfMeteoricIron
addmagicitem:ItemShieldOfPtolos
addmagicitem:ItemTalismanOfObsidian
addmagicitem:ItemDragonBlade
addmagicitem:ItemParryingBlade
setstats:s_side=6,32,32,8
setstats:s_move=9,10,9,10,9,9,9,9,9
setstats:s_mount=0,1,3,25,34,9
setstats:s_weap=3
setstats:S_BalWeap=9
setstats:s_pntval=34
setstats:s_cmdr=0,0,26,0
setstats:s_armname=0,26
set:s_calualties=0
set:s_routed=0
set:s_kills=0
set:s_Exp=4883
;S_RACE is Elven Archers...are you sure this is right?
set:psy_status=FearToGobs
addleader:Galed
leaderportrait:Elf1,0
troopsprites:WoodElves,0
setstats:s_move=9,10,9,10,9,9,9,9,9
setstats:s_armr=1
setstats:s_weap=3
setstats:S_BalWeap=9
setstats:s_armname=0,26
endleader:

set:dir=0
set:x=1567
set:y=612
set:script=PLAYER_SCRIPT
endunit:

; unit 5
addunit:Dwarf_Crossbowmen
hidden:
set:whoami=30
set:hired=1
troopsprites:DwarfXbow,0
banner:BannerDwarf5,0
addmagicitem:ItemArmourOfMeteoricIron
addmagicitem:ItemShieldOfPtolos
addmagicitem:ItemTalismanOfObsidian
addmagicitem:ItemDragonBlade
addmagicitem:ItemParryingBlade
setstats:s_side=5,32,32,8
setstats:s_move=9,9,9,9,9,9,9,9,9
setstats:s_mount=0,1,3,26,13,2
setstats:s_weap=3
setstats:S_BalWeap=2
setstats:s_pntval=13
setstats:s_cmdr=0,0,15,0
setstats:s_armname=0,15
set:s_calualties=0
set:s_routed=0
set:s_kills=0
set:s_Exp=1589
;S_RACE is Dwarven Archers...are you sure this is right?
set:psy_status=HateGreens
addleader:Gromdal_Orcbane
leaderportrait:Dwarf3,0
troopsprites:DwarfXbow,0
setstats:s_move=9,9,9,9,9,9,9,9,9
setstats:s_armr=1
setstats:s_weap=3
setstats:S_BalWeap=2
setstats:s_armname=0,15
endleader:

set:dir=0
set:x=1055
set:y=367
set:script=PLAYER_SCRIPT
endunit:

[END] ; end of UNITS

[END] ; end of BATTLESCRIPT
Post edited May 06, 2019 by kaisersoze89
If thats to much to figure out right away, just cut and paste that script into your ARMY.mrc file using notepad, make sure to delete everything else in there, then save and exit, jump back into the game and then check your troop roster and if happy with the changes, save your game and proceed, this can be done as often or as little as you want/need throughout the game, the only troop you pay for in this is the grudebringers, so dont increase them to 32 unless your happy with a 1000 dollar price tag minimum every battle, they are the cheapest cavalry though after the Reiksguard Knights who are free, all those archer units are free, if your keen have a dable, its a very loose structure and it looks like you can add new maps and battles, new characters banners and pictures, if you have the time it could be very easily modded
Post edited May 06, 2019 by kaisersoze89
Or get creative



addunit:Ceridan
hidden:
set:whoami=29
set:hired=1
troopsprites:VoidType,0
banner:BannerCerid,0
addmagicitem:ItemSwordOfElior
addmagicitem:ItemDragonBlade
addmagicitem:ItemSwordOfMight
addmagicitem:ItemTalismanOfObsidian
addmagicitem:ItemDreadBanner
setstats:s_side=6,32,32,1
setstats:s_move=9,9,9,9,9,9,9,9,9
setstats:s_mount=0,0,3,9,29,0
setstats:s_weap=3
setstats:S_BalWeap=0
setstats:s_pntval=29
setstats:s_cmdr=0,0,4,0
setstats:s_armname=0,4
set:s_calualties=0
set:s_routed=0
set:s_kills=0
set:s_Exp=0
;S_RACE is Elven Infantry...are you sure this is right?
set:psy_status=FearToGobs
addleader:Gnarl_Fist
leaderportrait:Treeman,0
troopsprites:TreeMan,0
setstats:s_move=9,9,9,9,9,9,9,9,9
setstats:s_armr=2
setstats:s_weap=4
setstats:S_BalWeap=0
setstats:s_armname=0,27
endleader:

set:dir=0
set:x=983
set:y=359
set:script=PLAYER_SCRIPT
endunit:
Now we just need to add models and a better interface. It'll be a way better, or at least replayable game.
avatar
Commander_Grizzk: Now we just need to add models and a better interface. It'll be a way better, or at least replayable game.
Better interface yes, models over sprites no.
I was saying it generalically. I'm not a computer nerd.
avatar
Commander_Grizzk: I was saying it generalically. I'm not a computer nerd.
lol, unfortunately the written word does not always capture my playful manner. Welcome to the internet!
Hi guys. SO after playing around with the game and its eiding files i found you can make your army units into any of the NPCs if you want to and have been experimenting with the profiles

Here is a bit of a guid on what is what in the unit listing

Format
hidden:
set:whoami= Roster profile and cost by 1
set:hired=1
troopsprites:BoarBoyz,0
banner:BannerOrc6,0
setstats:s_side=Placing in script for battle5,Rienfroecments availavle 12,unit size12,1
setstats:s_move=M4,MS4,BS3,S3,T4,W1,I2,A1,LD8
setstats:s_mount=3,Armour9,3,Voice and race 10,22,0
setstats:s_weap=3
setstats:S_BalWeap=0
setstats:s_pntval=22
setstats:s_cmdr=0,0,24,0
setstats:s_armname=0,Weapon name 24
set:s_calualties=0
set:s_routed=0
set:s_kills=0
set:s_Exp=0
;S_RACE is Orc Cavalry...are you sure this is right?
addleader:Snagrod_Skullkrumpa
leaderportrait:Orc3,0
troopsprites:BoarBoyz,0
setstats:s_move=4,6,6,4,5,2,5,2,9
setstats:s_armr=3
setstats:s_weap=3
setstats:S_BalWeap=0
setstats:s_armname=0,weapon name24
endleader:

set:dir=0
set:x=1097
set:y=645
set:script=PLAYER_SCRIPT
endunit:

Weapon name
1 is spear
24 war axe
2 Mace

Voice and race
Elf 1
10 dwarf
9 Goblin
20 orcs

In order to find the spirtes and states look into the C:\Program Files (x86)\GOG Galaxy\Games\Warhammer - Shadow of the Horned Rat\WARFB\FILE\SCRIPT adn in the BF BTS missions files, youll find a listing of sprites and other things also

By the look of things you might be able to edit missions to, so that would be pretty slick. Means the game is very modifiable
Post edited November 02, 2019 by unearth122
If you're struggling with enough magic hold 'CTRL' while clicking on the wizard's Magic button and instead of the normal winds of magic cycle one magic point will be added each second. A pop-up will tell you that the magic cycle is being changed.

Enjoy!
Post edited February 21, 2020 by jeffster
I can't get any of these to work on GOG.

Editing the Army.mrc - saving doesn't amend what is within the game
avatar
w57uyw5u3: I can't get any of these to work on GOG.

Editing the Army.mrc - saving doesn't amend what is within the game
Does not work for me too.

No changes are used ingame, i even tried to copy the files, change them, copy and overwrite but it does not work.
I wanted it mainly for swapping who is wearing a magic item but tried different stuff too.
make the temp file read only after making ur changes - i dont know if this will break save / log feature. i messed around with the saved ones n didnt make a back up oops
There are several commandline options, but it is unknown what they do.
Also the game checks for the control or shift key in a surprising number of places.

Passing "k#df1g7ue!" (without quotes) on the commandline enables some cheats/devmode,
such as, instantly kill any clicked unit while holding down the numpad's subtract key.
"k#df1g7ue! cash=9000" starting cash for a new game will be set to 9000 instead of 500.
"testbook" unhides all magic item descriptions in the "Book of Magic".

Starting a new game just grabs units from the text file SCRIPT\STRTARMY.MSC
but not all "sprites/effects/whatever" are loaded into each mission.
Example, using Luther FlameStrike in the first mission will crash if you use the "piercing bolts" spell
but will work fine with "fireball" because the fireball effect is already loaded for the Grudgebringer sword.
Post edited October 07, 2021 by aqrit
Simply cannot get any of these ARMY file modifications to work. Every time I check out the army roster after I've modified the file, nothing at all, has changed. NOTHING!

If any of you have an edited ARMY.MRC for the TEMP folder, it would be a help because I am utterly stumped.

Just to be clear.

I start a new campaign.
Save the game in say - the first save slot.
Abort campaign
Load Save

Whilst in the caravan screen, I open up the ARMY.MRC and modify the script data in that file. After every modification, I can just click back to the Shadow of the Horned Rat app and check on the effects in the Army Roster?

You see, currently when I do that, nothing whatsoever has changed.

Any help would be welcome. Even a video would be good