Project Zomboid

Project Zomboid

评价数不足
AutoAttack
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
130.606 KB
2022 年 7 月 19 日 下午 1:20
2022 年 7 月 20 日 下午 1:06
2 项改动说明 ( 查看 )

订阅以下载
AutoAttack

描述
Toggle Auto Attack On & Off.

How To
  • Activate the mod
  • Go to Main Menu > OPTIONS > Key Bindings > Combat > set a key for "Auto Attack Toggle" option (NONE by default)
  • Enter a game with this mod active (can be added / removed anytime)
  • Use the key to Toggle On / Off auto attack

Tips & Tricks
  • With Aiming mod NOT activated your character cannot move while attacking.
  • While your target is on ground your character cannot move while attacking.
  • Works only with melee weapons.
  • Requires ModOptions

Is this cheating ? Maybe but it's like keeping attack button down.
Will this help you ? Maybe but it is more likely to kill you if you use it in combat.
You're warned.

Credits where it is due: original idea by Drizzt.

Ask for permission[theindiestone.com]
This mod can only be added to and extended with the express permission from the original creator. Having received permission, credit must be given to the original creator, both within the files of the mod and wherever the mod roams online.

If no permission is received you may not alter the mod.

Workshop ID: 2837527039
Mod ID: AutoAttack
13 条留言
:v 2023 年 11 月 6 日 下午 10:57 
this works perfectly as an AFK calories burning autotool :> I suggest creating a real CaloriesAutoBurn Mod which includes auto attack and auto walk
Tchernobill  [作者] 2023 年 1 月 8 日 上午 11:59 
@linepilegaard please share your errors and the procedures that led to them.
linepilegaard 2023 年 1 月 8 日 上午 11:57 
@Tchernobill I tested it with no other mods on (as I do when I test if a mod works)
Tchernobill  [作者] 2022 年 12 月 13 日 下午 12:20 
@linepilegaard I just tested it with that version it does not. There may be a conflict with one of your other mods.
linepilegaard 2022 年 12 月 13 日 上午 11:01 
Throws Errors in 41.78.16
Drizzt 2022 年 7 月 21 日 下午 1:16 
that's perfectly cool my friend - and i totally understand and appreciate the effort you have already put in :-)

i shall use your confidence in the possibility as inspiration for me to go poking around into mods and see if i can work it out :-)

i'm guessing it probably needs some kind of delay before each attack instruction or something like that - or maybe not lol - i shall start with some baby steps - but i have many awesome mods like yours to study to try and learn how these things work

many thanks again :-)
Tchernobill  [作者] 2022 年 7 月 21 日 下午 1:05 
@Drizzt I'm confident it is possible, but I do not know how and I'm not confident it is worth the time.
Drizzt 2022 年 7 月 20 日 下午 1:45 
thanks for the update - should i assume it's not possible or way too much hassle to have it work with sound for ranged weapons? (coz it worked, just without the gunfire sound - was kind of surreal just hearing the sound of brass hitting the ground lol)
Drizzt 2022 年 7 月 20 日 上午 4:05 
no rush my friend - as mentioned it's not the intended use case - and the sound works fine for normal attacks with guns

just wanted to let you know - and i may even take the opportunity of having a look into the code to see how you work all of that magic :-)

Thanks again :-)
Tchernobill  [作者] 2022 年 7 月 20 日 上午 12:12 
@Drizzt Thx ffor report. I'll have a look at guns soon.