Page 1 of 2

Citizens can't kill animals

Posted: 24 Jun 2022, 17:42
by Gonzalo
Hi, I am modding EE2 from scratch. I have added all my animals but citizens can't kill them. I thought the cause was lack of verbose tool tips code, but after adding it, still my animals work fine but can't die. Help please!

Re: Citizens can't kill animals

Posted: 24 Jun 2022, 21:02
by Dr.MonaLisa
Is this the same problem? viewtopic.php?t=5073

Re: Citizens can't kill animals

Posted: 24 Jun 2022, 21:36
by Gonzalo
Nope, not the same problem. Anyway I solved, just duplicated files dbanima5.ddf in simulation folder and animals.ddf in units in EE2 and EE2X. Some incoherences remain, but I will solve later. Thanks for help.

Re: Citizens can't kill animals

Posted: 06 Jul 2022, 13:29
by Gonzalo
I got my pc crashed last week and I haven't a backup of my mod. I have tried the same, to add animal code at db_155.zip, but it didn't work. Then I have added in zip but still doesn't work. Thanks in advance.

Re: Citizens can't kill animals

Posted: 06 Jul 2022, 20:35
by Gonzalo
More info: what I want is to add my animals to vanilla EE2 (on EE2X no problem). So I have added unitypes and unitmodels at db/units/animals.ddf, names and verbose tooltips on db/text unittypenames.ddf and unittypetips.ddf and herd stuff at simulation/dbanimal.ddf. But the names of the animals which appear on object placement at map editor are the original from the game and 1.5 units, Crocodile, bear etc. I just want any hint, thank you.

Re: Citizens can't kill animals

Posted: 06 Jul 2022, 23:36
by Dr.MonaLisa
The normal version of UP1.5 does not use simulation/dbanimal.ddf. It's dbanima5.ddf file.
If you are incapable to learn the changed files structure, I would recommend you to mod using the Developers Version of 1.5.

Re: Citizens can't kill animals

Posted: 07 Jul 2022, 02:49
by Gonzalo
Thanks for reply.

Re: Citizens can't kill animals

Posted: 07 Jul 2022, 08:46
by Gonzalo
OK, I have added herd code for my animals on dbanima5.ddf, and thought that it didn't work by the verbose tips being in English (my mod is in Spanish). But I tested by writing rabbit's verbose tip in Spanish and it still didn't work... :/

Re: Citizens can't kill animals

Posted: 07 Jul 2022, 10:04
by Dr.MonaLisa
Which files you edited?

If you want to get help, then ask your questions properly, including attaching edited code.

For me it still looks like you're editing files from the old files structure.

Re: Citizens can't kill animals

Posted: 07 Jul 2022, 10:21
by Gonzalo
I have edited dbanima5.ddf in db_155.zip as I said, but names and verbose tips are in db/text. OK I'll try to imitate the original animals code. Thanks!