[ 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.3247481 [View]
File: 267 KB, 1366x768, Screenshot_Doom_20160527_121209.png [View same] [iqdb] [saucenao] [google]
3247481

>>3246965 >>3246970 >>3246983
>>3246996 >>3247001 >>3247034
>>3247104 >>3247069 >>3247118
>>3247168 >>3247172

Got home finally, threw this together.

All zombiemen, shotgunners, and imps are now Team A, Team B, and Team C. respectively. All monsters on a team hate monsters that are on a team that isn't their team.

Will attack first member of enemy team they see, will attack player if player hits them, and will go back to being normal monsters that also look for enemy team members if they kill the enemy they attacked.

Very very basic at the moment, will add more behavior and distance checks and target saving and prioritization later, also gotta add array management so as of right now if there are more than 1000 monsters on a team shit will break but sleepy now.

Change args sent to all scripts in monster decorate to change their faction.

Factions start at 0, go up to 2 right now. Have to add more factions in acs, just increase array size and set index location.

Anybody feel free to use code for anything.

https://drive.google.com/file/d/0BxbbtKR5bll_bHU5OHhMcy1zS1E/view?usp=sharing

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