Gothic 1 Classic

Gothic 1 Classic

104 个评价
zNoFriendlyFire - no damage on non-enemy NPCs
   
奖励
收藏
已收藏
取消收藏
Type: Addon
Category: Enhancement
标签: Union, Plugin
文件大小
发表于
更新日期
27.939 KB
2022 年 7 月 9 日 上午 8:51
2022 年 10 月 4 日 上午 6:58
3 项改动说明 ( 查看 )

订阅以下载
zNoFriendlyFire - no damage on non-enemy NPCs

描述
Plugin depending on the situation disables focus and damage on friendly or neutral NPCs.
It prevents miss-damage. For example you can't hurt a farmer if you're fighting a bandit.

The plugin recommended to use with zGamePad.

For developers:
You can add the rule that always allows or denies focus:
Makes an NPC permanently invisible to combat focus (except when the player is their current opponent) func void AI_SetNeverFocusInstance(var C_Npc npc) func void AI_SetNeverFocusInstanceName(var string instanceName) Makes the NPC permanently visible to the combat focus func void AI_SetAlwaysFocusInstance(var C_Npc npc) func void AI_SetAlwaysFocusInstanceName(var string instanceName)

Usage: place .d file with this code to the Gothic\System\Autorun directory (allowed vdf/mod volume)
func event GameInit() { AI_SetAlwaysFocusInstanceName("VLK_574_Mud"); };

Links
- Version for Gothic 2 here
- Source code in GitHub[github.com]
热门讨论 查看全部(2)
0
2022 年 7 月 9 日 上午 9:56
置顶: Bug report
Gratt.5r2
0
2022 年 7 月 9 日 上午 9:55
置顶: Questions
Gratt.5r2
2 条留言
YellouBee 2024 年 3 月 24 日 上午 9:21 
Great mod. I was wondering though... Would it be possible to add a feature that stops you from targeting dead enemies while in combat? I don't remember if this is a issue with mouse and keyboard so much, but my biggest problem fighting groups in G1 with the controller is target soft lock sticking to enemies after I already killed them. I think G2 as soon as an enemy dies the softlock switches to the nearest target alive, but in G1 I keep getting stuck whacking the dead enemy on the ground.
Penny <3 2024 年 3 月 8 日 下午 4:12 
The pic for this mod is awesome XD