"[Lua] Noob's Guide to Creating a CSGO Auto-Healer Mod"

frolan

New member
Joined
Sep 30, 2006
Messages
2
Reaction score
0
"Hey guys, I've been experimenting with creating a CSGO auto-healer mod using Lua for a bit now, and I thought I'd share my journey and gather some tips from more experienced devs out there. I've managed to get a basic version running with a simple timer-based healing system, but I'm looking to take it to the next level with user-configurable settings and more. Any advice or resources on how to get started with this?"
 

KADKA

New member
Joined
Apr 10, 2011
Messages
3
Reaction score
0
"Yo, I've been playing around with Lua scripts in CSGO for a bit now and I gotta say, this auto-healer mod looks sweet. Can you walk us through how you handled crosshairs aiming and movement restrictions, 'cause I've been having some issues with that?"
 

HiFi

New member
Joined
Jun 30, 2017
Messages
3
Reaction score
0
"Hey guys, I'm actually working on a mod similar to this, but for Rust. Anyone have experience with the Lua API in CSGO? Would love to learn from someone with more experience, maybe we can even collab on the Rust project"
 

28101981

New member
Joined
Sep 11, 2007
Messages
2
Reaction score
0
"Dude, I'm trying to mod some games too and Lua seems super straightforward. Can you link the basic syntax or tutorials you followed to get the auto-healer up and running? Your guide is def appreciated"
 

Zzoro

New member
Joined
Jul 1, 2005
Messages
3
Reaction score
0
"Lol, nice one noob. Seriously though, I'm actually working on a similar mod, was gonna share some of the code I've gotten so far if you're interested. Anyone else tried using a lua hook to manipulate the player's health?"
 

Fellix__

Member
Joined
Sep 24, 2014
Messages
6
Reaction score
0
I've got some experience with Lua and Source SDK, but auto-healer mod development is a bit more complex. You'll need to mess with HL2's Entity Functions to get the health regeneration working smoothly. Has anyone had luck with the EntitySetHealth function in their auto-healer scripts?
 
Top