Description

You won't drop your weapon when you take damage or punches. Neutral stalkers won't try to steal your weapon when you talk to them. This is fundamentally the same as the 1.5.1 version, but updated for 1.5.2 files. Added optional files to stop burers from making you drop your weapon (testing needed).

Preview
Remove Dropping Weapons From Damage for 1.5.2
Post comment Comments
American1944
American1944 - - 13 comments

call this addon. Weapon Irongrip

Reply Good karma Bad karma+5 votes
Theisgood
Theisgood - - 563 comments

Another amazing, very useful mod.

Reply Good karma Bad karma+3 votes
deanvitohelmifahreza
deanvitohelmifahreza - - 63 comments

Ah finally, thank you

Reply Good karma Bad karma0 votes
100radsbar
100radsbar - - 126 comments

What annoys me the most is that NPC's can punch you and knock your weapon out of your hands, but you as a player do not have this option.

And if I remember correctly NPC's don't drop their weapons if they are wounded,

Reply Good karma Bad karma+5 votes
Advaris
Advaris - - 22 comments

Awesome mod!

Reply Good karma Bad karma+1 vote
Daniel_stark
Daniel_stark - - 111 comments

I wouldn't care so much about this mechanic, but a lot of the time when your weapon drops, it either flings through a wall, through the floor and/or gets immediately vacuumed up by the AI seemingly before it even hits the ground. That and it's always fun when the enemy punches you through concrete walls.

Now if there was only a definitive solution for getting stuck inside AI collision bubbles.

Anyway, thanks a lot for this. Shall give it a try.

Reply Good karma Bad karma+1 vote
Scrubalificus
Scrubalificus - - 17 comments

yay no more butterfingers

Reply Good karma Bad karma+1 vote
arcvoodal
arcvoodal - - 49 comments

Believe this mod is causing the error since it is the only one I have that uses "actor_effects.script"

I got this CTD when equiping a gun on a new game:

! [LUA] 0 : [C ] __index
! [LUA] 1 : [main] [string "txr_actor_effects.use_weapon(0)"](1) :
! [LUA] 2 : [Lua] c:/games/anomaly\gamedata\scripts\actor_effects.script(752) : Update_Animations
! [LUA] 3 : [Lua] c:/games/anomaly\gamedata\scripts\actor_effects.script(1663) : func_or_userdata
! [LUA] 4 : [Lua] c:/games/anomaly\gamedata\scripts\axr_main.script(271) : make_callback
! [LUA] 5 : [Lua] c:/games/anomaly\gamedata\scripts\_g.script(119) : SendScriptCallback
! [LUA] 6 : [Lua] c:/games/anomaly\gamedata\scripts\bind_stalker_ext.script(104) : actor_on_update
! [LUA] 7 : [Lua] c:/games/anomaly\gamedata\scripts\bind_stalker.script(310) :
! [LUA] SCRIPT RUNTIME ERROR
! [LUA] [string "txr_actor_effects.use_weapon(0)"]:1: attempt to index global 'txr_actor_effects' (a nil value)
! [SCRIPT ERROR]: [string "txr_actor_effects.use_weapon(0)"]:1: attempt to index global 'txr_actor_effects' (a nil value)

FATAL ERROR

[error]Expression : <no expression>
[error]Function : CScriptEngine::lua_pcall_failed
[error]File : ..\xrServerEntities\script_engine.cpp
[error]Line : 204
[error]Description : fatal error
[error]Arguments : LUA error: [string "txr_actor_effects.use_weapon(0)"]:1: attempt to index global 'txr_actor_effects' (a nil value)


The string "actor_effects.use_weapon" is on lines 1401 & 1413 of "actor_effects.scrip" of this mod.

Reply Good karma Bad karma+2 votes
Great_Day Author
Great_Day - - 133 comments

Hi, I don't play much Anomaly any more, so it took me a while to test this... I don't have any crash when equipping a weapon. It's been a while, but, if the problem is still there, you could write the gamemode and which weapons cause the crash, and whether you are using this mod with others, and also whether you are using the Burer files too, and if they are DLTX or normal. I have tried the mod on a clean install, and it worked right.

Reply Good karma+1 vote
RoyBatterian
RoyBatterian - - 6 comments

Fantastic mod, I dunno who would make a mechanic NPCs can do that the PC cannot do.

Reply Good karma Bad karma+1 vote
swat71
swat71 - - 3 comments

ФАТАЛЬНАЯ ОШИБКА

[ошибка]Выражение: <нет выражения>
[ошибка]Функция: CScriptEngine::lua_pcall_failed
[ошибка]Файл: ..\xrServerEntities\script_engine.cpp
[ошибка]Строка: 204
[ошибка]Описание: фатальная ошибка
[ошибка]Аргументы: LUA ошибка: [строка "txr_actor_effects.use_weapon(0)"]:1: попытка проиндексировать глобальный "txr_actor_effects" (нулевое значение

Reply Good karma Bad karma+1 vote
Guest
Guest - - 690,831 comments

This comment is currently awaiting admin approval, join now to view.

Post a comment

Your comment will be anonymous unless you join the community. Or sign in with your social account: