How to pick up spells?

raif

L1: Registered
Jun 19, 2021
8
0
I've put a spellbook in hammer, and enabled tf_spells_enable 1. I still can't pick up any spells, they just disappear.
 

Box Of Paper

L3: Member
Jul 15, 2019
111
142
You probably just haven't set up the UI, the spells are actually there and you can use them anyway.

- Place in hammer "tf_spell_pickup"
- Place in hammer "tf_logic_holliday" (NOT tf_logic_on_holliday )
Set the Holliday to Halloween.
- With a logic_auto do "onMultiNewRound tf_logic_holliday SetHalloweenUsingSpells 1"
This input enables the UI thing that shows you the spell.
( /!\ the "1" parameter must be there to work /!\)

https://developer.valvesoftware.com/wiki/Tf_logic_holiday

Also lil random tip since you seem new:
WishIKnewSooner.png
-hijack
Really good to debug stuff, with this you can run the map without having to re-open the map after every compile.
 

raif

L1: Registered
Jun 19, 2021
8
0
You probably just haven't set up the UI, the spells are actually there and you can use them anyway.

- Place in hammer "tf_spell_pickup"
- Place in hammer "tf_logic_holliday" (NOT tf_logic_on_holliday )
Set the Holliday to Halloween.
- With a logic_auto do "onMultiNewRound tf_logic_holliday SetHalloweenUsingSpells 1"
This input enables the UI thing that shows you the spell.
( /!\ the "1" parameter must be there to work /!\)

https://developer.valvesoftware.com/wiki/Tf_logic_holiday

Also lil random tip since you seem new:
WishIKnewSooner.png
-hijack
Really good to debug stuff, with this you can run the map without having to re-open the map after every compile.
Thank you so much!
 

raif

L1: Registered
Jun 19, 2021
8
0
You probably just haven't set up the UI, the spells are actually there and you can use them anyway.

- Place in hammer "tf_spell_pickup"
- Place in hammer "tf_logic_holliday" (NOT tf_logic_on_holliday )
Set the Holliday to Halloween.
- With a logic_auto do "onMultiNewRound tf_logic_holliday SetHalloweenUsingSpells 1"
This input enables the UI thing that shows you the spell.
( /!\ the "1" parameter must be there to work /!\)

https://developer.valvesoftware.com/wiki/Tf_logic_holiday

Also lil random tip since you seem new:
WishIKnewSooner.png
-hijack
Really good to debug stuff, with this you can run the map without having to re-open the map after every compile.
- With a logic_auto do "onMultiNewRound tf_logic_holliday SetHalloweenUsingSpells 1" I'm a bit stuck on this, there's nothing called sethalloweenusingspells with a 1 infront of it.



nvm i figured it out.