#Tarnished Enemy AI Editing

26 messages · Page 1 of 1 (latest)

young topaz
#

just need some general direction on where to start with this one.

true chasm
#

Do u wanna edit the IA itself from a tarnished or select an IA from an existing tarnished npc? i dont know if this is good info for you but dolores has different paterns to fight compared to other summon IA based on tarnished

young topaz
#

combat AI

#

the logic and battle goal

#

dunno where those files are though

gleaming dragon
#

it's "029999"

young topaz
#

and where do i find it?

#

cause i wanna do some things like using these attack id in certain range, or using the AOW when in x% health

gleaming dragon
#

#tools-and-resources message

young topaz
young topaz
#

Okay, I was able to modify 029999. I renamed everything to 029001 and changed the NPCThinkParam battlegoalID to 029001, but it doesn't work; the NPC just stays put.

zenith arrow
young topaz
#

do i only need to input GOAL_CommonNPCTest29001_Battle = 29001 under GOAL_CommonNPCTest29999_Battle = 29999?

zenith arrow
#

you dont have to, but for me i like to do things in order, just to maintain a level of consistency

young topaz
#

so i can just put like this?
GOAL_CommonNPCTest29999_Battle = {29999, 29001}
or like this?
GOAL_CommonNPCTest29999_Battle = 29999
GOAL_CommonNPCTest29001_Battle = 29001

#

wait why is there another 29999 in aicommon-luabnd-dcx

young topaz
#

It works now, here's what i did

  • Created a copy of 29999 and renamed it to 601000.
  • Updated the RegisterTableGoal and REGISTER_GOAL_NO_SUB_GOAL in the 601000 Lua file.
  • Grabbed the aicommon_dlc01.luabnd.dcx file and added the RegisterTableGoal of 601000 to the goal list inside the aicommon_dlc01.luabnd.dcx.
  • Repacked the files.
zenith arrow
#

cool

zenith arrow
young topaz
#

NPC_ATK_R2- Heavy attack right
NPC_ATK_R1 - Light attack right
NPC_ATK_L2 - AOW
NPC_ATK_L1 - Block/ - Light attack left

It is what i think it is right?

#

attackType = NPC_ATK_R#