[ 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.8315976 [View]
File: 169 KB, 1024x1008, doom__cyberdemon_by_deimos_remus_dbcioud-fullview.jpg [View same] [iqdb] [saucenao] [google]
8315976

just had a breakthrough on the friendlymarines mod
managed to make them follow the player without constant flag switching of FRIENDLY and SHOOTABLE and references to TargetIsAMarine and TargetIsPlayer items, with use of A_CheckProximity and Thing_SetGoal.
They are a bit fiddlier than before, but on the positive side they will follow the player now even if you're out of their LOS, and will maintain enemy aggro instead of swapping between shootable and unshootable all the time, which made monsters default to targetting the player.

I also changed their teleporting behavior. Previously they would, by ways I don't understand fully, despawn and spawn by the player's side if they couldn't reach you, now they teleport by using A_Warp instead, which lets them keep their health and inventory (armor, ammo, bandages etc). In the original BrutalFriends this wouldn't work everytime and sometimes they would simply sit there stuck for some reason. This is still the case and I'm not sure why.

Also, if anyone knows a way for a specific monster attack to be made only if the target is outdoors (not under a ceiling), please tell me.

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