Garry's Mod

Garry's Mod

[TTT] Megumin's Explosion Staff
60 kommentarer
Darth Plaegus 8. nov. kl. 15:01 
Could you add an animation in the sky that resembles the one in the show, to give players a heads up, and make it look cooler?
It would go really well with meguminstaff_throughwalls = 1.
Nimbus2O  [ophavsmand] 7. okt. kl. 17:43 
I am happy to announce that all your problems have been fixed and all your requests have been implemented! :UltimateHorse:

Fixes include:
Unragdolling (respawning) now works as expected, no more endless ragdolling
Starting a new round while ragdolled won't throw an error
Drop/Holster exploit after explosion has been fixed, you will always be ragdolled if the explosion happened

Request include:
ConVar for explosion going through walls (if you enable that consider changing the radius)
ConVar for interrupting when holstered/thrown away (default is true)

Other changes:
Changed the icon to be more in line with standard TTT traitor weapon

Thank you for your support even after 5 years without updates :LIS_pixel_heart:
Swiss_Speedster 22. sep. kl. 6:15 
Major Problem: Respawn isn't possible after the ragdoll
Muffin 21. apr. kl. 5:26 
Also, the timer for the ragdoll seems to be bugged. gives out an error:
[[TTT] Megumin's Explosion Staff] lua/weapons/weapon_megumin/shared.lua:1016: Tried to use a NULL entity!
1. EmitSound - [C]:-1
2. Ragdoll - lua/weapons/weapon_megumin/shared.lua:1016
3. unknown - lua/weapons/weapon_megumin/shared.lua:737

Timer Failed! [ragdoll][@lua/weapons/weapon_megumin/shared.lua (line 736)]
chara 30. mar. kl. 12:12 
I guess theres no way.. very unfortunate, it doing zero collision damage is making it completely useless.
chara 28. mar. kl. 15:31 
How could I make this go through cover? The radius isn't even that large to be broken. I would really love to be able to change it
planetunknown 27. dec. 2023 kl. 20:08 
⣞⢽⢪⢣⢣⢣⢫⡺⡵⣝⡮⣗⢷⢽⢽⢽⣮⡷⡽⣜⣜⢮⢺⣜⢷⢽⢝⡽⣝
⠸⡸⠜⠕⠕⠁⢁⢇⢏⢽⢺⣪⡳⡝⣎⣏⢯⢞⡿⣟⣷⣳⢯⡷⣽⢽⢯⣳⣫⠇
⠀⠀⢀⢀⢄⢬⢪⡪⡎⣆⡈⠚⠜⠕⠇⠗⠝⢕⢯⢫⣞⣯⣿⣻⡽⣏⢗⣗⠏
⠀⠪⡪⡪⣪⢪⢺⢸⢢⢓⢆⢤⢀⠀⠀⠀⠀⠈⢊⢞⡾⣿⡯⣏⢮⠷⠁
⠀⠀⠀⠈⠊⠆⡃⠕⢕⢇⢇⢇⢇⢇⢏⢎⢎⢆⢄⠀⢑⣽⣿⢝⠲⠉
⠀⠀⠀⠀⠀⡿⠂⠠⠀⡇⢇⠕⢈⣀⠀⠁⠡⠣⡣⡫⣂⣿⠯⢪⠰⠂
⠀⠀⠀⠀⡦⡙⡂⢀⢤⢣⠣⡈⣾⡃⠠⠄⠀⡄⢱⣌⣶⢏⢊⠂
⠀⠀⠀⠀⢝⡲⣜⡮⡏⢎⢌⢂⠙⠢⠐⢀⢘⢵⣽⣿⡿⠁⠁
⠀⠀⠀⠀⠨⣺⡺⡕⡕⡱⡑⡆⡕⡅⡕⡜⡼⢽⡻⠏⠀
⠀⠀⠀⠀⣼⣳⣫⣾⣵⣗⡵⡱⡡⢣⢑⢕⢜⢕⡝⠀ no maidens?
⠀⠀⠀⣴⣿⣾⣿⣿⣿⡿⡽⡑⢌⠪⡢⡣⣣⡟⠀
⠀⠀⠀⡟⡾⣿⢿⢿⢵⣽⣾⣼⣘⢸⢸⣞⡟⠀
⠀⠀⠀⠀⠁⠇⠡⠩⡫⢿⣝⡻⡮⣒⢽⠋
reoxova 16. juni 2023 kl. 4:09 
EXPLOSION!!!!!!!!!!
CruelNaoko 22. dec. 2022 kl. 15:16 
What is the skin?
Gray Scale 24. nov. 2022 kl. 18:39 
is that a stick
Ales 8. juli 2021 kl. 16:06 
the mod still has bugs :steamsad:
󠀡󠀡󠀡 24. okt. 2020 kl. 17:32 
I think there are some major issues. for example, if you drop the staff right after "shooting", you won't get ragdolled. it would be nice if the player is forced to hold the left mousebutton until the spell is fully casted and the soundfile stops. so the player has to hold the staff in his hands until the explosion comes and he will get ragdolled.
JustMitch 16. juni 2020 kl. 22:38 
can you make this weapon for sandbox?
LocDowN 10. maj 2020 kl. 14:59 
Please make go through cover :steamhappy:
Krystalhydralisk 10. maj 2020 kl. 6:11 
@Nimbus20, alright, i was just curious, since last night me and my pals where playing some TTT and that that staff landed maybe 20-10, hammers from me, and i lived cause of a small wooden fence i crouched behind.
Nimbus2O  [ophavsmand] 10. maj 2020 kl. 4:35 
@Keystalhydralisk The staff does not go through cover but I don't think I'll change that since the staff would be way to powerfull then.
Krystalhydralisk 9. maj 2020 kl. 18:25 
Does the staff work through cover? cause when we tested it, it didn't go through any cover at all.
LocDowN 9. maj 2020 kl. 18:14 
A suggestion : Maybe add circles to preview where the explosion will be
Nimbus2O  [ophavsmand] 17. apr. 2020 kl. 4:14 
@Octoboi We've actually fixed every problem you mentioned by now.
Game Vault 16. apr. 2020 kl. 19:02 
@Nimbus and @Monochrome I removed the ragdoll bcs you ragdoll and loose all your traitor points cuz its not giving them back. Secondly people can spam buy this and then spam use it i disabled that completly by makeing it non dropable and only buyable once per person.
Nimbus2O  [ophavsmand] 16. apr. 2020 kl. 17:33 
@Jackie Chong Sorry, it should be fixed now.
Vuchainz 15. apr. 2020 kl. 21:31 
for some reason when i use the staff i can see the explosion? but no one else can? and the explosion fires stay the entire map
Monochrome  [ophavsmand] 10. apr. 2020 kl. 6:53 
Hey @Octoboi.glua I helped with the Lua on this addon.
First of all there's no reason to be so rude about this. You could have just asked us to fix some things and we probably would have done it. (This was one of my first GMod addons so I know the code is not perfect)
However looking at your "fixed" version I can't really see any improvements other than the sounds. (which you could have just told us to do)
And for some reason you removed all the ConVars that were there so people could change the balancing if they didn't like the defaults. (this includes turning off the ragdoll which you deleted entirely)
Game Vault 9. apr. 2020 kl. 21:14 
Nice trash Lua there Nimbus....
-
Fixed it so the Staff cant be dropped / cant be bought multiple times from the same person.
Fixed it so it doesnt kill noone or everyone in sight at random.
Fixed it so it doesnt blasts your ears away when someone is using it.
-
Check my TTT Megumin's Explosion Staff [Fixed] if you want a usable version.
Nimbus2O  [ophavsmand] 1. apr. 2020 kl. 6:25 
@TornsAidsO There seems to be nothing wrong with the addon but if you want you can accept my friend request so I can try to help you out.
Pizza 31. mar. 2020 kl. 20:15 
Item not showing in traitor menu for me either, trying to use it in my own server. I'm not exactly sure how to do the solution you posted below http://prntscr.com/rqjz0o
Irish Dragon 12. dec. 2019 kl. 14:44 
@nimbus after some further testin it seems to be workin this time around, not quite sure why its working now but not previuosly but thanks a bunch for hte help ^^
Nimbus2O  [ophavsmand] 12. dec. 2019 kl. 13:24 
@Irish Dragon You basically just have to use the "meguminstaff_radius" convar then, for example "meguminstaff_radius 1800".
The number is measured in Hammer units, one unit is about one inch.
If this won't work out for you feel free to send me a friend request so I can help you better and faster.
Irish Dragon 10. dec. 2019 kl. 6:38 
the radius of the damage, it feels a bit big being cable of killin everyone on the map ocationally, so we wanted to tune it down a smidge
Nimbus2O  [ophavsmand] 10. dec. 2019 kl. 5:57 
@Irish Dragon Wait a second, do you mean the size of the viewable explosion or do you mean the radius in wich damage is dealt?
Irish Dragon 9. dec. 2019 kl. 14:16 
@Nimbus20 any example of how? i spent a while trying to change it but it never really worked correctly for me^^ whould heavily appriciate if you chould put it into the form so i can copy paste to retry when i get the chance, but even with the size i love the weapon, had a really funny moment where we got the inventory swap randomat and just 2 of us were alive and we kept triggering the staff but it swaped before it chould explode so the 10 second dialouge happened with no boom
Nimbus2O  [ophavsmand] 9. dec. 2019 kl. 12:08 
@Irish Dragon It works for me, you may need to change the map for the convar to work though and make sure to think in Hammer units.
Irish Dragon 7. dec. 2019 kl. 16:15 
cant seem to change the explosion size
Ignorance is bliss 26. aug. 2019 kl. 8:47 
Hey ne Frage kannst du mich vl adden oder so ? Ich möchte dich was fragen bezüglich dem Staff
Gem 29. juli 2019 kl. 12:11 
Would it be possible to add a convar to make it so you can't move while casting?
Nimbus2O  [ophavsmand] 19. juni 2019 kl. 9:34 
You should try creating a workshop.lua wich contains "resource.AddWorkshop( '1516424210' ) -- [TTT] Megumin's Explosion Staff" and put that file under garrysmod\lua\autorun\server\.
You can do that for every addon wich doesn't work by the way you just have to change the ID.
Doomlord7 18. juni 2019 kl. 16:51 
@Nimbus2O Using a Lan Server with hamachi, most ttt stuff I have downloaded works. Not sure what in particular could cause this.
Nimbus2O  [ophavsmand] 18. juni 2019 kl. 6:56 
@Doomlord7 Are you hosting the server on your computer or are you using something like Nitrado?
Doomlord7 17. juni 2019 kl. 23:49 
It doesn't seem to show up in the traitor menu
Sauce 25. apr. 2019 kl. 12:47 
It doesn't show up in my T menu..?
bali shq 16. apr. 2019 kl. 8:18 
Any way i can modify the addon to cancel the explosion, if the player unequips the staff?
Also can i get it to cast the explosion at the users focalpoint after the 10 second delay, rather than the initially clicked point?
Thanks for the port :)
Ricco131 24. feb. 2019 kl. 13:07 
Our group loves the weapon! Everything works perfectly except the meguminstaff_onetimeuse :(
I tried my best to look at it but I cant get it to work in any shape way or form... But other than that kudos to you and thanks from everyone in my group playing TTT :D:
memz 7. feb. 2019 kl. 8:36 
i love it
Nimbus2O  [ophavsmand] 12. jan. 2019 kl. 15:12 
@wy_j It should be there, if you're playing on a server you have to make sure to include the addon in the workshop.lua file.
dalalie² 12. jan. 2019 kl. 9:34 
I don't have the physical staff but it still works, was the physical staff removed or is it a bug?
Nimbus2O  [ophavsmand] 7. jan. 2019 kl. 8:16 
@JenixFire, its not a bug, its a feature.
No seriously I have no idea how to fix that, I've had several issues with the ragdoll mechanics but since they are copied from ULX, and I haven't made them myself, I can't change anything about those issues.
JenixFire 6. jan. 2019 kl. 12:47 
there is a glitch if you are in ragdoll after casting and the round is over, you keep all items in the next round.
Sorrowful 6. jan. 2019 kl. 5:28 
Niceeeeee!)
Tunnelblick 21. nov. 2018 kl. 8:54 
@Setur Rex, i noticed this as well later realised the explosion dmg wont go through walls