• How does source engine do scripting/AI?
    2 replies, posted
I'm writing my own game engine and was just wondering how other engines did it. I know that source engine is pretty stale by now, but it's one of the most heavily modded and ubiquitous engines in gaming history, so I figure there may still be some worthwhile precedent in it. I know Garry's Mod uses Lua scripts, but how were AI/Weapon Behavior/Enemy types/etc. coded? Just baked in to the C++/some kind of DLLs so you didn't have to rebuild the entire engine every time?
https://twitter.com/icculus/status/464934821131595776 VScript I don't think valve used vscripts to code AI, weapons, entities, etc. in source 1 games though
In C++ in the server.dll project (though maybe newer games make use of vscripts?). Certainly all of Half-Life 2's enemies are programmed in C++.
Sorry, you need to Log In to post a reply to this thread.