Bugzilla – Bug 4530
Alien Swarm support
Last modified: 2010-10-17 17:15:36 PDT
Created attachment 2247 [details] [review] Build changes This patch does not include any of the game data stuff. Psychonic has a patch for that though which he'll probably post.
Created attachment 2256 [details] [review] gamedata, kinda... Gamedata attached. While it's correct, many of the sdktools functions are near-useless in their current state. From the Valve Wiki: "Unlike most Source engine games, the player in Alien Swarm is an invisible commander entity. It does not move. If the player is currently controlling a marine, then calling the GetMarine() method on the player will return it." Any functions that affect the player, affect the the commander unit, typically doing nothing as all (or in the case of CommitSuicide, tossing a ragdoll onto the screen out of nowhere). The actual controlled character, a CASW_Marine, is a CBaseNPC derivative. Also of note, neither ShowMenu nor 'Valve menus' work.
Is there new stuff other than GetMarine that we might want to expose to SP?
*** Bug 4541 has been marked as a duplicate of this bug. ***
(In reply to comment #3) It's hard to guess what people might want to do. They might not even know until there's a public build of SM with at least the base support. In addition to methods on CASW_Marine, there are some interesting things in CASW_Marine_Profile (it controls the character profile/skills/stats) and CASW_WeaponInfo (for ease of changing weapon properties on the fly).
Comment on attachment 2247 [details] [review] Build changes Sorry, I thought I r+'d this last night but I did so as my cable modem died.
Pushed changeset: http://hg.alliedmods.net/sourcemod-central/rev/1b7bf8509625 Changelog: Added support for Alien Swarm (bug 4530, r=dvander).
Created attachment 2272 [details] [review] patch for 1.3 branch
Created attachment 2273 [details] [review] patch for 1.3 branch v1.1 Bleh and bleh.
Created attachment 2274 [details] [review] patch for 1.3 branch v1.1.1 Sigh, I didn't qref before the last attachment.
Pushed changeset: http://hg.alliedmods.net/releases/sourcemod-1.3/rev/2696462effe3 Changelog: Added support for Alien Swarm (bug 4530, r=dvander).
Created attachment 2284 [details] [review] sample ext updates
So what do we want to do with the gamedata? I'm thinking we should push what we've got as-is for now so we can at least get _some_ SDKTools support in there. We can always make extra changes later if we want.
Created attachment 2287 [details] [review] limited gamedata (In reply to comment #13) It might make more sense to at least pare it down a bit to remove things known to not be working correctly. Updated the gamedata patch to remove data for functions that are used specifically on players, rather than any ent, and do not work as expected.
Created attachment 2288 [details] [review] gamedata w/ typofix So that patch matches commit (and to add more bugspam for great justice)... Noticed before committing that patch had "engine" "swarm" in one spot instead of "engine" "alienswarm".
Pushed changeset: http://hg.alliedmods.net/sourcemod-central/rev/698b70d20532 Changelog: Added initial gamedata for Alien Swarm (bug 4530, r=ds).
Pushed changeset: http://hg.alliedmods.net/releases/sourcemod-1.3/rev/b9961142fa9c Changelog: Added initial gamedata for Alien Swarm (bug 4530, r=ds).
Comment on attachment 2284 [details] [review] sample ext updates Makefiles need a HL2SDK_SWARM define and checks for ENGINE=swarm to set HL2SDK/LIB_* stuff. I dunno about the MSVC projects, I don't currently have the ability to test them.
Alien Swarm no Linux support yet (and who knows if it ever will) so those aren't needed.
Pushed changeset: http://hg.alliedmods.net/sourcemod-central/rev/b4bd765050e4 Changelog: Added Alien Swarm build config for sample extension (bug 4530, r=psychonic).
Pushed changeset: http://hg.alliedmods.net/releases/sourcemod-1.3/rev/316a27614fb9 Changelog: Added Alien Swarm build config for sample extension (bug 4530, r+a13=psychonic).