Garry's Mod

Garry's Mod

Team Fortress 2 Magic Spells + Mini Quest
83 条留言
CS12MA 9 月 15 日 下午 3:10 
anyway to not need to find a spell magazine and just use this as an entity?
BubbaCub14 7 月 21 日 下午 2:44 
nvm i one shot him with admin gun
BubbaCub14 7 月 20 日 下午 9:21 
can you make a one with no quest plz
F*CK THİS SERVER 2 月 13 日 上午 10:26 
NPC Suggestion: Red MvM Robots, They Friendly To RED Team But They Hostile To BLU Team And MvM Robots. You Can Do İt Rİght? RİGHT??
Froze  [作者] 2024 年 11 月 8 日 下午 5:17 
download mvm money entities requirements
Supermankid379 2024 年 11 月 8 日 下午 2:35 
[Team Fortress 2 Magic Spells + Mini Quest] lua/autorun/sh_tf2_magic_spells_entities.lua:1485: attempt to call method 'Jump' (a nil value)
1. TF2BlastDamage - lua/autorun/sh_tf2_magic_spells_entities.lua:1485
2. Explode - lua/autorun/sh_tf2_magic_spells_entities.lua:1447
3. unknown - lua/autorun/sh_tf2_magic_spells_entities.lua:1423

Timer Failed! [Simple][@lua/autorun/sh_tf2_magic_spells_entities.lua (line 1419)]
also got this error when i casted the monoculus and it hit a npc or player
Supermankid379 2024 年 11 月 8 日 下午 2:29 
about the small spell i cast it and got this error [Team Fortress 2 Magic Spells + Mini Quest] lua/autorun/sh_tf2_magic_spells_entities.lua:59: Tried to use a NULL entity! 1. GetNWBool - [C]:-1 2. unknown - lua/autorun/sh_tf2_magic_spells_entities.lua:59Timer Failed! [Simple][@lua/autorun/sh_tf2_magic_spells_entities.lua (line 58)] [Team Fortress 2 Magic Spells + Mini Quest] lua/autorun/sh_tf2_magic_spells.lua:226: attempt to call method 'GetMaxJumpLevel' (a nil value) 1. tf2_magic_spells - lua/autorun/sh_tf2_magic_spells.lua:226 2. unknown - lua/autorun/sh_tf2_magic_spells.lua:278 3. unknown - lua/includes/modules/concommand.lua:54
Supermankid379 2024 年 11 月 7 日 上午 10:34 
and also the fire ball and monoculus spell do no dmg to players or npc
Froze  [作者] 2024 年 11 月 6 日 下午 5:18 
will be looked into
Supermankid379 2024 年 11 月 6 日 上午 11:48 
how do you stop being small when you cast the small spell its not off even if i die
Supermankid379 2024 年 11 月 2 日 下午 4:37 
cool but i cant find it on mvm ghost town and also the comands dont show up fro me
Edward 2024 年 10 月 29 日 上午 8:09 
Please come to our lord and saviour Jesus Christ and please read the Bible and please do not use swear on anything or use bad words and foul words as the lord forbids it and do not believe in evolution as it is a distraction from the enemy to hide our lord and savior Jesus Christ from you and please do not celebrate pagan aspects of holidays and please ask forgiveness and repent to our lord and savior Jesus Christ
Froze  [作者] 2024 年 10 月 11 日 下午 7:27 
after clearing the quest you can pick up spellbooks
Gopnik | That Sandbox Server 2024 年 10 月 11 日 下午 5:22 
how do you use it without the miniquest
Froze  [作者] 2024 年 10 月 2 日 上午 12:48 
The stealth bug is finally fixed.
Also regarding the tf2 footprints, can i talk about it in dms?
Froze  [作者] 2024 年 9 月 29 日 下午 6:05 
true, will look ionto it
KinoDerToaster 2024 年 9 月 29 日 上午 9:27 
:o nice! The healing spell works now!
The only other bug still present is that stealth will refuse to reactivate if you attack anything while it's active, making you have to leave and rejoin for it to work again. Also it only makes the weapon you're holding invisible rather than the c_hands and weapon. I feel having the C_hands invisible too would be a great addition.
Froze  [作者] 2024 年 9 月 29 日 上午 5:49 
i've added some isvalid() checks
footprints? might be doable...but well if it ever comes out the dono button is in the desc :steamhappy: hahaha
but yea nice idea
KinoDerToaster 2024 年 9 月 28 日 下午 11:00 
Dude I would PAY you if you could somehow implement the footprints, especially headless horseshoes into gmod from tf2 just like these spells lol, that would be a dope asf but cool addition to this mod in my opinion to have player-usable footsteps and all the color options as well. Def would pay for that xd
Froze  [作者] 2024 年 9 月 27 日 下午 6:58 
sure i'll try and fix stuff for this mod
it's october so this mod needs to be paid some attention haha
KinoDerToaster 2024 年 9 月 27 日 下午 1:41 
For healing spell, it gives the error:

"[Team Fortress 2 Magic Spells + Mini Quest] lua/autorun/sh_tf2_magic_spells.lua:565: Tried to use a NULL entity!

I recommend adding a validity check to ensure that the entity you're calling GetNWString on is valid. In lua/autorun/sh_tf2_magic_spells.lua at line 565:

lua

function tf2_magic_spells_get_team(entity)
if not IsValid(entity) then
return nil -- or a default value like TEAM_UNASSIGNED
end
return entity:GetNWString("Team")
end

Additionally, in the loop or function at line 584, you could check that each entity is valid before processing it. For example:

lua

for _, ent in pairs(ents.FindInSphere(pos, radius)) do
if IsValid(ent) and ent:IsPlayer() then
local team = tf2_magic_spells_get_team(ent)
-- Proceed with healing or other logic
end
end
KinoDerToaster 2024 年 9 月 27 日 下午 1:40 
Hi again!! thanks for your speedy reply, Yes I discovered you can bind keys to launch specific spells like i.e: bind h "tf2_magic_spells_debug_cast projectile teleport", I tested the mod some more and found some bugs worth noting.

For the stealth spell, it works fantastic in third person, however it only makes handheld weapons invisible in first person, and I feel it would be much better if it made the c_hands invisible as well. The only error I found with this ability was when you attacked an enemy, the invisibility would turn off and could not be activated again, only fixing itself when you made a new game.

I recommend ensuring that the stealth state variables are properly reset after an attack. It's possible that a flag preventing reactivation isn't being cleared.
Froze  [作者] 2024 年 9 月 26 日 下午 10:37 
so you want to have the spells able to be manually chosen?
KinoDerToaster 2024 年 9 月 26 日 下午 9:14 
Question: can we have it so these spells can be independently casted regardless of map? I think it'd be neat to have each as a bindable key.
KinoDerToaster 2024 年 9 月 26 日 下午 7:56 
This is so cool! I had a feeling the tf2 halloween spells could've been ported but I didn't know it would be this seamless! You did a great job and should pat yourself on the back right now.
Neveren 2024 年 5 月 11 日 上午 4:29 
In general, I'll figure it out myself
Neveren 2024 年 5 月 11 日 上午 4:27 
So I did not understand how it works, for some reason the task on my map did not work correctly
Froze  [作者] 2024 年 5 月 11 日 上午 4:23 
i mean after doing the quest you can use spells anywhere
Neveren 2024 年 5 月 11 日 上午 4:21 
I wish I could use magic anywhere without a quest. I would remove this restriction.
jku43w 2024 年 2 月 16 日 上午 8:08 
how to use?
Froze  [作者] 2024 年 1 月 12 日 下午 5:11 
yes
redboi 2024 年 1 月 12 日 下午 4:49 
does this require all of the requirements
?
Partnerbot 2023 年 4 月 17 日 下午 7:11 
hey can we get more game mode items like a control point or a bomb spawner and hatch for mvm as well as maybe a map tool to help set up certain points of interest for the bots like having engies relize the importance of certain spots or having them not just go through sewers to get to the intel room on two fort or even giving engis the ability to build teloporters out side of spawn designated areas i know its a lot to ask but atleast try to do the mvm game mod
ᛉ RVNIK DETH ᛉ 2023 年 4 月 1 日 上午 11:14 
also @defjamasusal i think the magazine is in the robot u have to kill in ghost town
ᛉ RVNIK DETH ᛉ 2023 年 4 月 1 日 上午 11:13 
do i have to kill the boss again if i disable the mod?
Defjamasusual 2023 年 3 月 5 日 下午 2:20 
where the heck is the spell magazine?
meadpilled scurvycel 2023 年 2 月 16 日 上午 2:25 
please make it so you can use spells in other maps, this seems SO FUN
Lynx 2023 年 2 月 2 日 上午 7:27 
im stuck on spell that makes me small i cant pick other
braindamaged 2023 年 1 月 28 日 上午 9:20 
why does the addon need the tf2 navmesh pack?
CMBD 2023 年 1 月 7 日 下午 12:34 
Are you considering making the power-ups from TF2 next? Like plague, vampire, regen, etc.
Froze  [作者] 2022 年 12 月 29 日 下午 9:54 
how? any errors?
if it doesnt work enable the shortcut command
and read description thoroughly
Kris Deltarune 2022 年 12 月 29 日 下午 7:50 
it dident work
Froze  [作者] 2022 年 12 月 28 日 下午 6:45 
bind h tms_cast_chosen
Kris Deltarune 2022 年 12 月 28 日 下午 6:29 
um i forgor how to bind stuff and i wana bind it to H
Froze  [作者] 2022 年 12 月 19 日 下午 4:17 
yes
Leon Trotsky 2022 年 12 月 19 日 下午 4:14 
thank you. can i copy and paste all of that?
Froze  [作者] 2022 年 12 月 19 日 下午 2:46 
type this in console:
lua_run Entity(1):SetPData("tf2_magic_spells_has_magazine", true);lua_run Entity(1):SetNWBool("tf2_magic_spells_has_magazine", true)
Leon Trotsky 2022 年 12 月 19 日 上午 11:36 
can i just skip the mini quest and have spell book to the entitles menu? please, this a good addon is just that my computer can't handle loading in 2 maps.
Cynthia! 2022 年 11 月 10 日 下午 4:58 
when im playing on flatgrass it will give a message saying to get to mvm_ghost_town is there a way to have it not there while on other maps? thanks!
Froze  [作者] 2022 年 11 月 5 日 下午 4:19 
if youre talking about the spell pickup message telling you to go to mvm_ghost_town then obviously go to mvm_ghost_town and get the magazine to get rid of the message

but what message are you talking about?