I state that I'm completely noob in zdoom scripting, I just started snooping around in this beautiful world and this is the very first attempt to, more than create, make standalone something that already exists but just in other complete mods,
I borrowed the torch weapon from Forgotten Realms wad of wich I thank a lot the creator.
With all these graphics improvements nowadays I just cannot use anymore the vanilla Hexen torch wich makes the whole map bright, so I would like a local dynamic light.
How far I have come here is at this Link TorchTest.pk3
I have a few problems, the first one is that the light wich is supposed to light up the place won't show up even using the original package, same was happening with BrutalHexen mod, I guess that the problem could be here in "\Decorate\Weapons\torch.txt" if I'm not mistaken:
Spoiler:I tried to get informed about these TNT things but mmh... wich code could make a beatiful but not too much bright light?
Question number two:
I saw that the first way to add a weapon to a class, is to create a new one with StartItem stuff, wich is what I've done (well, FR creator did).. I was wondering if there is an way to add it to any class of the WAD I'm currently playing, instead of replacing them.. maybe using Playerpawn could it be?
In the end my goal is to make this torch loadable universally with any mod wich most probably would already have custom classes (oh, and make it working in co-op of course), but for the moment I'd better make it lighting up something.
Thank for your time guys.