r/csmapmakers•
SamXZ

Player glow, controllable turrets, custom FOV script release

https://www.youtube.com/watch?v=c_dIHIUD5PE

glow.nut: used for player model glows. Glow.Set() Glow.Disable()

fov.nut: This was something I had known for a very long time, I only recently made it into a single function that can be used anywhere on any player. How it works in engine is commented in the fov_src.nut file. SetPlayerFOV()

turret.nut: A usable turret that shoots where the player is aiming at. This is a bit more complex, and requires setup in Hammer. It's easily modifiable, and it's pretty easy to work with. Instructions are commented in the file. _TURRET_.Create() _TURRET_.Use() _TURRET_.Disable()

These were written for a map that I made in only 2 days, I had no plans for and did not really care about. This is the map's main script, this is the map file. They are a huge mess. I don't care enough to clean them up because they're not going to be used by others, unlike the library scripts.

These all require this library, and they're tested multiplayer in a dedicated server.

So yeah, enjoy.

Posted Jul 12, 2020, 1:32 PM UTC · edited

72
Haj_G•

loool I think you were on the server when I tried gale.. dident know you made it haha :D

amazing work! and so cool you share the code, im gonna try the turret if I can come up with a cool idea..

and thank you again for the chat code

1
MundaneBarber•

Recently I’ve seen so many posts by defenestration map makers. We saw rise(?)’s makes asking about water bugs and now you. It’s nice to see the people behind such a cool game mode on this sub. Now we just need t1mure to lecture us on ski slopes.

1