Uploaded June 2024 | Updated September 2026, 1 hour ago
I've made a good bit of progress in discovering how to use more of the AI's features. Here are some new mod updates:
=== Lock-On ===
- Added a new "Lock-On Button" that when pressed automatically turns the player towards their target.
=== Auto-Target ===
- Added a new Lua script that enables the use of Auto-Target.
- Utilizes pnach scripts as well.
- Player's target (the enemy that troops will attack/lock onto) is chosen when the player walks up to an enemy or group of enemies.
=== Code Troops Follow ===
- I FINALLY figured out how to get the troops to ACTUALLY work like they should with the player. It turns out that you need Auto-Target for them to work. I haven't made a Lua script for it yet, but I will eventually.
- It's way too much fun to play around with.
I've made a good bit of progress in discovering how to use more of the AI's features. Here are some new mod updates:
=== Lock-On ===
- Added a new "Lock-On Button" that when pressed automatically turns the player towards their target.
=== Auto-Target ===
- Added a new Lua script that enables the use of Auto-Target.
- Utilizes pnach scripts as well.
- Player's target (the enemy that troops will attack/lock onto) is chosen when the player walks up to an enemy or group of enemies.
=== Code Troops Follow ===
- I FINALLY figured out how to get the troops to ACTUALLY work like they should with the player. It turns out that you need Auto-Target for them to work. I haven't made a Lua script for it yet, but I will eventually.
- It's way too much fun to play around with.

![[Dynasty Warriors 4] - Steam Deck Gameplay with Mods
I wanted to show that they work on Steam Deck (dont ask for mods please). [Dynasty Warriors 4] - Steam Deck Gameplay with Mods](https://i.ytimg.com/vi/tDC8G7XQWzU/mqdefault.jpg)



![[DW4 Mod Showcase] Yuan Shu at Si Shui Gate with some AI features
I didnt showcase all of the AI features in the video, but here are all the things I can do so far:
- Lock-on (improved)
- Auto-target
- Spawn on generic horse
- Charge-up
- Walk through gates
- AI voice
- Fixed generic movesets (now has orbs and all attacks with higher level weapons)
- Code troops follow
- Random full musou
- Does not bow to threats [DW4 Mod Showcase] Yuan Shu at Si Shui Gate with some AI features](https://i.ytimg.com/vi/v5pDkjDoiks/mqdefault.jpg)

![[Dynasty Warriors 4: Xtreme Legends] - Xtreme Mode Part 1: Xing Daorong Establishes his Kingdom
Xing Daorong amasses an army and establishes his kingdom in Han Zhong. [Dynasty Warriors 4: Xtreme Legends] - Xtreme Mode Part 1: Xing Daorong Establishes his Kingdom](https://i.ytimg.com/vi/vdeluHF__Do/mqdefault.jpg)

![[Elden Ring] First Time Beating Malenia
The hours it took me to beat this boss passed like minutes.
I dont feel bad about using the Blasphemous Blade either. [Elden Ring] First Time Beating Malenia](https://i.ytimg.com/vi/wXLOWrXLJhE/mqdefault.jpg)
![[DW4XL LUA MOD]: Lu Bu Infinite C3 Combo
Very easy to make, but I thought it was hilarious. Ill do this for other characters too. [DW4XL LUA MOD]: Lu Bu Infinite C3 Combo](https://i.ytimg.com/vi/xONEYtAsrik/mqdefault.jpg)