Citizens can't kill animals

Modding, Map Editor, IES Scripting and Other Questions
User avatar
Gonzalo
Posts: 336
Joined: 24 Aug 2018, 08:56
Been thanked: 3 times

Citizens can't kill animals

Post 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!

User avatar
Dr.MonaLisa
High Representative
Posts: 8697
Joined: 17 Jun 2010, 11:21
Location: Poland
Has thanked: 49 times
Been thanked: 108 times

Re: Citizens can't kill animals

Post by Dr.MonaLisa »

Is this the same problem? viewtopic.php?t=5073
Best regards,
Dr.MonaLisa
Ministry of Game Affairs
Department of Control and Complains
User avatar
Gonzalo
Posts: 336
Joined: 24 Aug 2018, 08:56
Been thanked: 3 times

Re: Citizens can't kill animals

Post 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.
User avatar
Gonzalo
Posts: 336
Joined: 24 Aug 2018, 08:56
Been thanked: 3 times

Re: Citizens can't kill animals

Post 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.
User avatar
Gonzalo
Posts: 336
Joined: 24 Aug 2018, 08:56
Been thanked: 3 times

Re: Citizens can't kill animals

Post 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.
User avatar
Dr.MonaLisa
High Representative
Posts: 8697
Joined: 17 Jun 2010, 11:21
Location: Poland
Has thanked: 49 times
Been thanked: 108 times

Re: Citizens can't kill animals

Post 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.
Best regards,
Dr.MonaLisa
Ministry of Game Affairs
Department of Control and Complains
User avatar
Gonzalo
Posts: 336
Joined: 24 Aug 2018, 08:56
Been thanked: 3 times

Re: Citizens can't kill animals

Post by Gonzalo »

Thanks for reply.
User avatar
Gonzalo
Posts: 336
Joined: 24 Aug 2018, 08:56
Been thanked: 3 times

Re: Citizens can't kill animals

Post 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... :/
User avatar
Dr.MonaLisa
High Representative
Posts: 8697
Joined: 17 Jun 2010, 11:21
Location: Poland
Has thanked: 49 times
Been thanked: 108 times

Re: Citizens can't kill animals

Post 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.
Best regards,
Dr.MonaLisa
Ministry of Game Affairs
Department of Control and Complains
User avatar
Gonzalo
Posts: 336
Joined: 24 Aug 2018, 08:56
Been thanked: 3 times

Re: Citizens can't kill animals

Post 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!
Post Reply

Return to “Questions”