Craft The World

Craft The World

View Stats:
Lord Kazzak Apr 24, 2019 @ 7:34am
Force attack even till death
What is required to force this little angry beards to fight till they breath out there life?
I don't care if they die, as long as they obey my order to attack the enemy i selected and kill it, i don't select them without an reason, im sure they can take it down and mostly its important to kill that specific enemy (weakening the group by taking out heavy damaged ones or focus the attack on specific enemys)

Controlling them is not the way to go because its impossible to force attack by controlling multiple at once.
Originally posted by Sapador:
Hi, Lord Kazzak.

Devs will most likely never do any changes like these, as they do not fit the style of the game. The style is that you control a group of dwarfs, and not U.S. Marines that obey to your orders no matter what. This is why they eat and sleep whenever they feel like, and you do not tell them to shut up.

But you can try to post a suggestion at the Mods Forum, and hope someone creates a mod with "no fear" dwarfs.

Or, much faster, you can easily change 2 lines in your game code by opening the file "creatures.xml", that on Windows is:
C:\Program Files\Steam\steamapps\common\CraftTheWorld\data\creatures.xml
And on Windows x64 is:
C:\Program Files (x86)\Steam\steamapps\common\CraftTheWorld\data\creatures.xml
Open it with the Notepad (or any other simple text editor).

Before doing any edition, make a copy of the original file for safety.

Then you open the original file and find the lines containing:
<escape_alone_healt value="0.25"/>
and
<escape_most_healt value="0.15"/>
and change the values to "0.00". These are the health values for the male dwarfs to escape from battle.

Some of the code lines are between comment tags:
<!-- Any code here -->

Any code inside these tags are innactive, and changing them will make no effect to your game. You must find the lines that are outside these type of tags.

If you have the Sister in Arms DLC, you look for these lines:
<escape_alone_healt value="0.29"/>
and
<escape_most_healt value="0.19"/>
and also change the values to "0.00". These are the health values for the female dwarfs to escape from battle.

If the game does not accept a value equal to zero, try "0.01" that is practically the same thing.

I've done dozens of tweaks like this and they work fine. But as a more formal advise, only do this if you understand what you are doing. You also do it on your own responsibility, so devs can not answer for any odd behavior on your game, after you have modified it.
< >
Showing 1-8 of 8 comments
SlowBobTnT Apr 24, 2019 @ 12:31pm 
Jesus! wy
Lord Kazzak Apr 26, 2019 @ 6:21am 
Because i don't see any reason for them to run away from an halve hearth monster with a little over 1 hearth left. Or not attacking as an group of 6 an singly heavy damaged mosnter, that makes no sense at all.
Qiox Apr 27, 2019 @ 1:01pm 
Dwarf abuse is wrong
The author of this thread has indicated that this post answers the original topic.
Sapador Apr 27, 2019 @ 6:32pm 
Hi, Lord Kazzak.

Devs will most likely never do any changes like these, as they do not fit the style of the game. The style is that you control a group of dwarfs, and not U.S. Marines that obey to your orders no matter what. This is why they eat and sleep whenever they feel like, and you do not tell them to shut up.

But you can try to post a suggestion at the Mods Forum, and hope someone creates a mod with "no fear" dwarfs.

Or, much faster, you can easily change 2 lines in your game code by opening the file "creatures.xml", that on Windows is:
C:\Program Files\Steam\steamapps\common\CraftTheWorld\data\creatures.xml
And on Windows x64 is:
C:\Program Files (x86)\Steam\steamapps\common\CraftTheWorld\data\creatures.xml
Open it with the Notepad (or any other simple text editor).

Before doing any edition, make a copy of the original file for safety.

Then you open the original file and find the lines containing:
<escape_alone_healt value="0.25"/>
and
<escape_most_healt value="0.15"/>
and change the values to "0.00". These are the health values for the male dwarfs to escape from battle.

Some of the code lines are between comment tags:
<!-- Any code here -->

Any code inside these tags are innactive, and changing them will make no effect to your game. You must find the lines that are outside these type of tags.

If you have the Sister in Arms DLC, you look for these lines:
<escape_alone_healt value="0.29"/>
and
<escape_most_healt value="0.19"/>
and also change the values to "0.00". These are the health values for the female dwarfs to escape from battle.

If the game does not accept a value equal to zero, try "0.01" that is practically the same thing.

I've done dozens of tweaks like this and they work fine. But as a more formal advise, only do this if you understand what you are doing. You also do it on your own responsibility, so devs can not answer for any odd behavior on your game, after you have modified it.
Lord Kazzak Apr 29, 2019 @ 9:42am 
Thank you very much for your support, i changed it at the end of an invasion where i have the most problems and they imidialy stormed the last 4 monsters (which where heavy damaged) and whiped the floor with them. Knowing there are this values i just turned them down to 0.05 to test it a bit and to see if they get killed or if they continue there attacks till there hp are realy low.
I just found this, very grateful. Why the devs couldn't have added a slider to let the players choose how hurt the dwarves get before running is beyond me but I have said before this dev might be the most worthless when it comes to AI, player choices etc that I have ever seen.
Sapador Jul 23, 2023 @ 3:18pm 
Glad it could help you as well 🍺
Macdallan Jul 28, 2023 @ 8:00am 
Manually applying healing items or making the dwarves eat food that gives health back will quickly get them back into the fight.
< >
Showing 1-8 of 8 comments
Per page: 1530 50

Date Posted: Apr 24, 2019 @ 7:34am
Posts: 8