Left 4 Dead 2

Left 4 Dead 2

Custom Weapon Base
丢帧的罗 26 Oct, 2020 @ 10:21pm
A problem
Hello, the weapons didn't fire properly. Character only do the action and nothing happen. I didn't use any other Vscript mods, and there is no conflict warning. The controller says the index "Takedamage" don't exist. What can I do to fix that?
< >
Showing 1-4 of 4 comments
Rectus  [developer] 27 Oct, 2020 @ 12:32am 
Could you post the entire output of the error message?
丢帧的罗 27 Oct, 2020 @ 3:13am 
yea
] give flamethrower
Late precache of models/weapons/melee/w_flamethrower_debris.mdl
New flamethrower on ent: ([249] weapon_melee)
SCRIPT PERF WARNING --- "__RunGameEventCallbacks" ran long at 6.921707ms
SCRIPT PERF WARNING --- "<lambda or free run script>" ran long at 1.810175ms
SCRIPT PERF WARNING --- "<lambda or free run script>" ran long at 1.552487ms

AN ERROR HAS OCCURED [the index 'TakeDamage' does not exist]


CALLSTACK
*FUNCTION [ProjectFlames()] e:/games/left 4 dead 2/left4dead2/scripts/vscripts/custom_flamethrower.nut line [266]
*FUNCTION [OnFireTick()] e:/games/left 4 dead 2/left4dead2/scripts/vscripts/custom_flamethrower.nut line [142]
*FUNCTION [FixedThink()] e:/games/left 4 dead 2/left4dead2/scripts/vscripts/custom_weapon_controller.nut line [504]
*FUNCTION [unknown()] e:/games/left 4 dead 2/left4dead2/scripts/vscripts/custom_weapon_controller.nut line [68]
Rectus  [developer] 27 Oct, 2020 @ 3:20am 
Thanks. Does that happen every time you try to fire? And are you running the most up-to-date version of the game?
丢帧的罗 27 Oct, 2020 @ 8:00am 
I thought my game's script is broken but it's actually version problem lol . Thanks for helping me.
< >
Showing 1-4 of 4 comments
Per page: 1530 50