Gothic 1 Classic

Gothic 1 Classic

84 vurderinger
zNoFriendlyFire - no damage on non-enemy NPCs
   
Pris
Føj til foretrukne
Gjort til foretrukken
Fjern som foretrukken
Type: Addon
Category: Enhancement
Tags: Union, Plugin
Filstørrelse:
Offentliggjort:
Opdateret:
27.939 KB
9. juli 2022 kl. 8:51
4. okt. 2022 kl. 6:58
3 ændringsbemærkninger ( vis )

Abonner for at downloade
zNoFriendlyFire - no damage on non-enemy NPCs

Beskrivelse
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]
Populære diskussioner Vis alle (2)
0
9. juli 2022 kl. 9:56
FASTGJORT: Bug report
Gratt.5r2
0
9. juli 2022 kl. 9:55
FASTGJORT: Questions
Gratt.5r2
2 kommentarer
YellouBee 24. mar. kl. 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 8. mar. kl. 16:12 
The pic for this mod is awesome XD