[ 3 / biz / cgl / ck / diy / fa / ic / jp / lit / sci / vr / vt ] [ index / top / reports ] [ become a patron ] [ status ]
2023-11: Warosu is now out of extended maintenance.

/vr/ - Retro Games

Search:


View post   

>> No.720134 [View]
File: 270 KB, 1440x900, Screenshot_Doom_20130525_181521.png [View same] [iqdb] [saucenao] [google]
720134

To the coding-savvy 'round here - Is there any way to get a weapon to change what projectile it fires based on the type of game mode that's selected, preferably without ACS hijinks? Specifically, I want to make a landmine thrower that spawns a different mine depending on if the game is singleplayer/co-op (where mines are never triggered by players) or deathmatch (where mines are never triggered by the player who threw them, but are by other players). I've poked around in Samsara's code, but all I can tell so far is that there's a special "item" that's somehow given to players depending on the gamemode, but I can't tell where that's happening - currently assuming it's somewhere in the ACS.

Navigation
View posts[+24][+48][+96]