Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Custom Monster Detection for Homunculus AIs
Laenaya Offline
Where's my flyswatter?!
***

Posts: 124
Threads: 7
Joined: Jun 2010
#3
RE: Custom Monster Detection for Homunculus AIs
You might have replaced "IsMonster2" for "CustomIsMonster2" while replacing "IsMonster" for "CustomIsMonster".

If this isn't the case, you could have placed the newly created files (CustomIsMonster.lua and CustomMonsters.lua) inside "<heRO folder>/AI/USER_AI", but referenced them as if they were one level up:

require "./AI/CustomMonsters.lua"
require "./AI/CustomIsMonster.lua"

If that's the case change them to:

require "./AI/USER_AI/CustomMonsters.lua"
require "./AI/USER_AI/CustomIsMonster.lua"

A last possibility would be that you're editing the lua files in "<heRO folder>/AI/" (official AI), instead of the ones in "<heRO folder>/AI/USER_AI" (custom AI).

If anything, I can test this later and give you a copy of my mirAI with this mode, if you use/want it of course.
[Image: CWsTYo5.png]
Dem friends!
05-02-2014, 02:34 PM
Find Reply


Messages In This Thread
RE: Custom Monster Detection for Homunculus AIs - by Laenaya - 05-02-2014, 02:34 PM

Forum Jump: