Garry's Mod

Garry's Mod

Amnesia Lantern Rework
281 kommentarer
ryandrobinson50 19. nov. 2024 kl. 12:35 
how to use with vr it seems to not work
TheLurking 6. nov. 2024 kl. 14:41 
Amnesia bunker flashlight
Speed Racer 21. okt. 2024 kl. 5:41 
\/
Based The Librarian fan.
Dolphineer 10. okt. 2024 kl. 20:35 
"Hello, everyone, and welcome back, once again, to... Garry's Mod." - The Librarian
Cypriotitus 6. okt. 2024 kl. 17:39 
Never mind I fixed it somehow.
Cypriotitus 6. okt. 2024 kl. 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 kl. 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 kl. 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  [ophavsmand] 28. aug. 2024 kl. 12:48 
@ScarletHawk I cannot replicate this issue, so this is a problem with another addon.
ScarletHawk 16. aug. 2024 kl. 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 kl. 0:06 
Why does the addon delete the headcrabs when subscribed?
er_serginho 25. juli 2024 kl. 10:18 
I love getting jumpscared while using this in random maps, guess The Bunker has impacted my thinking
ballistic_beanie 16. juni 2024 kl. 16:50 
it keeps falling out of my hand for some reason
zro 14. apr. 2024 kl. 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 kl. 0:30 
Can you maybe be able to use the lantern on left hand?
Xaviar.smg 1. mar. 2024 kl. 11:42 
will you do the flashlight from the bunker next?
The Empire of BRISTIAN 18. nov. 2023 kl. 11:12 
why isn't there any walking animation for the lantern anymore for me? it used to work before
Khaiø 27. sep. 2023 kl. 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
Dr. Perky 29. aug. 2023 kl. 18:46 
when i have it equipped it just looks like my hand is creating light with no lantern
Mekphen 1. aug. 2023 kl. 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 kl. 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  [ophavsmand] 1. aug. 2023 kl. 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 shitty shit shit).
Mekphen 1. aug. 2023 kl. 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. juli 2023 kl. 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. juni 2023 kl. 19:20 
very nice
MONSTERDROID 24. maj 2023 kl. 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 kl. 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 kl. 10:48 
Librarian.
Speed Racer 28. jan. 2023 kl. 6:47 
The Librarian, anyone?
D4KiR 8. jan. 2023 kl. 22:19 
after dropping the lantern per code
D4KiR 8. jan. 2023 kl. 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 (Stayin' Positive) 27. dec. 2022 kl. 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 kl. 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 kl. 2:35 
этот мод ГОВНО!
Pyke 27. juli 2022 kl. 10:16 
Is the ammount of lux adjustable ?
Fizzie 15. juli 2022 kl. 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. juli 2022 kl. 22:22 
if possable you should make a vr version (for vrmod)
rixzuuPH 4. juli 2022 kl. 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. juli 2022 kl. 8:59 
this map is so good
nibster 30. maj 2022 kl. 11:51 
The model is an error for me, not sure why.
Cap'n Greg 10. maj 2022 kl. 0:03 
Why guts inside castle brennenburg???
Kirya 1. maj 2022 kl. 16:46 
why don't I have Amnesia Lantern Rework and I have tzar vodka? error?
reeeeee kid boi 13. dec. 2021 kl. 16:24 
its just an error for me
NFL Youngboy 16. okt. 2021 kl. 23:16 
"My Name is PEEEEWDIEEPIE" - Famous Words
Copper Boltwire 6. okt. 2021 kl. 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?
Lova 10. sep. 2021 kl. 17:30 
can someone make a machine for pig's lantern? i'd like to see that too!
vathikan 21. juni 2021 kl. 16:52 
like gm_construct
Jaypod 12. maj 2021 kl. 13:14 
This is great for gmod horror maps
Poky 24. apr. 2021 kl. 0:12 
Lua Errors
Lua/weapons/buu_lantern.lua:315: attempt to index field 'MyOwner' (a nil value)
1. unkown - lua/weapons/buu_lantern.lua:315
The addon "Amnesia Lantern Rework" is creating Lua errors
----------------------------------------------------------------------------------------------------------
How to fix, please tell me!
Buu342  [ophavsmand] 22. apr. 2021 kl. 4:01 
@blueshorts38 I never said such thing.