Garry's Mod

Garry's Mod

Amnesia Lantern Rework
284 kommentarer
zerfon4ek 14 nov @ 7:41 
[Amnesia Lantern Rework] lua/weapons/buu_lantern.lua:315: attempt to index field 'MyOwner' (a nil value)
1. unknown - lua/weapons/buu_lantern.lua:315
2. StripWeapons - [C]:-1
3. RM_UnRagDolizePlayer - lua/autorun/ragmod.lua:704
4. fn - lua/autorun/ragmod.lua:835
5. unknown - lua/ulib/shared/hook.lua:115

im use ragmod v3, when im use ragdoll lantern just dropped
Maqsud101 3 okt @ 7:02 
First time I see swep/weapon have special world hand pose. Every weapon use holding animations that gmod already have. but this one both have special c_hand and world model pose and animation wich is amazing!
♬♫~Joe Blaze~♫♬ 30 aug @ 12:21 
I would love an option to increase the light radius of this lantern.
ryandrobinson50 19 nov, 2024 @ 12:35 
how to use with vr it seems to not work
TheLurking 6 nov, 2024 @ 14:41 
Amnesia bunker flashlight
Speed Racer 21 okt, 2024 @ 5:41 
\/
Based The Librarian fan.
Dolphineer 10 okt, 2024 @ 20:35 
"Hello, everyone, and welcome back, once again, to... Garry's Mod." - The Librarian
Thatguy 6 okt, 2024 @ 17:39 
Never mind I fixed it somehow.
Thatguy 6 okt, 2024 @ 17:18 
For some of my pm's it shows them holding it, but for others it's in side of them. It works fine but it's inside of them.
Rocky the Rock 27 sep, 2024 @ 15:56 
I'm also experiencing the issue @ScarletHawk is having. Disabling all other mods except for two map mods that has a changelevel function and this mod causes the issue, while disabling this mod doesn't have the issue. You'd only see it in third person or if you looked into a mirror.

Changing player models didn't seem to fix it, but using PAC3 by doing anything will fix it.
ScarletHawk 29 aug, 2024 @ 14:23 
@Buu342 it doesn't mess the models up if i have the mod disabled so it is this mod i painstakingly disabled a mod loaded a map and used the command. and i disabled one mod at a time to figure out witch one it was. use a mod to go into third person and you will see what i mean.
Buu342  [skapare] 28 aug, 2024 @ 12:48 
@ScarletHawk I cannot replicate this issue, so this is a problem with another addon.
ScarletHawk 16 aug, 2024 @ 13:19 
i know this is likely not to happen but i will ask anyway. so for some reason whenever i have this enabled.and use the change level command it completely messes the player models and mutilates them. and changing player models doesn't fix this. if this could be updated to fix this i would really appreciate it.
gmodplayer54 7 aug, 2024 @ 0:06 
Why does the addon delete the headcrabs when subscribed?
er_serginho 25 jul, 2024 @ 10:18 
I love getting jumpscared while using this in random maps, guess The Bunker has impacted my thinking
Ballistic_Beanie 16 jun, 2024 @ 16:50 
it keeps falling out of my hand for some reason
zro 14 apr, 2024 @ 4:47 
This addon is 6 years old, i don't think the creator is gonna update or change it or read these comments.
SinnerKnight 10 mar, 2024 @ 0:30 
Can you maybe be able to use the lantern on left hand?
Xaviar.smg 1 mar, 2024 @ 11:42 
will you do the flashlight from the bunker next?
Empire BRISTIAN 18 nov, 2023 @ 11:12 
why isn't there any walking animation for the lantern anymore for me? it used to work before
Khaiø 27 sep, 2023 @ 18:43 
Found a slight bug:

[Amnesia Lantern Rework] lua/weapons/buu_lantern.lua:381: attempt to call method 'GetLantern_Holstered' (a nil value)
1. v - lua/weapons/buu_lantern.lua:381
2. unknown - lua/includes/modules/hook.lua:96
teletubby blunt party 29 aug, 2023 @ 18:46 
when i have it equipped it just looks like my hand is creating light with no lantern
Mekphen 1 aug, 2023 @ 9:46 
Also a small advice for the light position:
Currently you do
local ent = v:GetShootPos()
local pos = ent
pos = pos + v:GetForward() * 30
pos = pos + v:GetRight() * 5
pos = pos + v:GetUp() * -20

A better solution would be to do something like
local pos = v:GetBonePosition( v:LookupBone("ValveBiped.Bip01_R_Hand") )

(and from that position you can move it a bit if needed).
The Shooting pos does not move with the player correctly
Mekphen 1 aug, 2023 @ 7:53 
I don't think you need to pay attention to players hitboxes when just manipulating finger bones.
Also i did performance test and already with 5 players this was the hook which took most calculation time. A *single* think hook is *one* think hook to much, since there is almost never a valid reason for a think hook, especially not in this case as you use it.
There is no downside in putting this clientside, but i just wanted to mention it for other users, i have edited it on my server files so we don't have that performance impact.
Buu342  [skapare] 1 aug, 2023 @ 7:26 
@Mekphen
1) If the manipulation is done clientside only, it won't affect the player hitboxes.
2) A *single* think hook that loops through all players once is not going to cause a significant impact in performance, especially since it will only be called once per server tick.
3) Said loop also tries its best to filter out anyone who is not affected by the bone manipulations (which are a heavy operation), so it won't really be an issue even in a large server, unless literally everyone is using the lantern (and even then, players are likely to be GPU bound because dynamic lights in GMod are ♥♥♥♥♥♥ ♥♥♥♥ ♥♥♥♥).
Mekphen 1 aug, 2023 @ 4:57 
There is an bad practice Think Hook which is serverside and can cost performance when you are getting to more players.
You could just make the Think Hook only clientside, it will work just as fine and won't consume any serverside performance.
Jaxntar 9 jul, 2023 @ 6:17 
i agree with MONSTERDROID, the idea of brightness / radius and colors would be awesome!

(for some reason there AREN'T many other lantern mods. i wonder why.)
I IDENTIFY AS TOAST™ 7 jun, 2023 @ 19:20 
very nice
MONSTERDROID 24 maj, 2023 @ 8:12 
If this mod is still maintained an option for adjusting the brightness / radius of effect would be nice. options for different colors would also be cool.
MONSTERDROID 24 maj, 2023 @ 8:11 
@Krypto your workshop isn't visible & I couldn't find your brighter version from the search if you still had it?
kashy 19 mar, 2023 @ 10:48 
Librarian.
Speed Racer 28 jan, 2023 @ 6:47 
The Librarian, anyone?
D4KiR 8 jan, 2023 @ 22:19 
after dropping the lantern per code
D4KiR 8 jan, 2023 @ 22:19 
[Amnesia Lantern Rework] lua/weapons/buu_lantern.lua:315: attempt to index field 'MyOwner' (a nil value)
1. unknown - lua/weapons/buu_lantern.lua:315
2. StripWeapon - [C]:-1
krypto 27 dec, 2022 @ 22:44 
Hey y'all, I uploaded a brighter version of this mod for use with night maps and StormFox, if anybody is looking for a brighter light.
LeLiock 15 okt, 2022 @ 14:10 
Oh, that's quite a good addon that we've got right here. Indeed, besides the face that it might appear as quite simple, it's efficient, required, seeked. Well done sir. :lunar2019coolpig:
levkoshelevlev 16 aug, 2022 @ 2:35 
этот мод ГОВНО!
HEX : GF STEALER 27 jul, 2022 @ 10:16 
Is the ammount of lux adjustable ?
Fizzie 15 jul, 2022 @ 15:01 
Do you think you can add a setting that allows the player to adjust how quickly the oil runs out?
Scene Queen 13 jul, 2022 @ 22:22 
if possable you should make a vr version (for vrmod)
rixzuuPH 4 jul, 2022 @ 0:23 
There are some shadow issues when riding any vehicle in 3rd person, actually the shadow becomes bugging out for a long time but if i try to switch to 1st person, the vehicle shadow looks fine. There might be issues with dynamic lighting?
N0xRL 1 jul, 2022 @ 8:59 
this map is so good
nibster 30 maj, 2022 @ 11:51 
The model is an error for me, not sure why.
Cap'n Greg 10 maj, 2022 @ 0:03 
Why guts inside castle brennenburg???
Kirya 1 maj, 2022 @ 16:46 
why don't I have Amnesia Lantern Rework and I have tzar vodka? error?
Uhhhwhat497689 13 dec, 2021 @ 16:24 
its just an error for me
NFL Youngboy 16 okt, 2021 @ 23:16 
"My Name is PEEEEWDIEEPIE" - Famous Words
Copper Boltwire 6 okt, 2021 @ 2:01 
Any way to make the lantern cast the light for 50-100% longer distance, but still as low/dim near the player just so it can better compete with the flashlight?
Mama Runha 10 sep, 2021 @ 17:30 
can someone make a machine for pig's lantern? i'd like to see that too!
miii / ミイ 21 jun, 2021 @ 16:52 
like gm_construct