Posts
1
Respect
Forum Rank
Fresh Corpse
Primary Group
Member
Login Issues
Forgot password?Activate Issues
Account activation email not received? Wrong account activation email used?Other Problems?
Contact Support - Help Center Get help on the UGX Discord. Join it now!Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community. |
When testing multiplayer on my map I noticed if any player "died" after not being revived and then respawnned next round they would respawn without any weapon however they still have the normal amount of grenades and can move normally buy weapons/perks etc. I have also changed the starting pistol to the walther in _loadout.gsc and also changed the walthers weapon file to give it the same damage as the typical starting colt if this makes any difference. Its just sn aeshtetic choice to better fit the theme of my map and it functions properly except for this scenario.
Players initially spawn just fine with the starting pistol and I think this just comes down to a missing part of script that is supposed to give the player the starting weapon again in whatever part of the script that handles respawning in multiplayer (im guessing in _zombiemode.gsc?). Im just wondering where I would have to add a line to give the player the starting weapon on respawn and what that line would be. Aside from this small issue absolutely everything else in my map functions as intended no error messages or anything. Im trying to properly learn scripting for this game and have the very basic jist of how it works but im just a bit frustrated on this and wonder if anyone could please point me in the right direction.