Weird impy thing
User Profile | Member List | F.A.Q | Privacy Policy | New Blog | Search Forums | Forums Home
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Classic Doom > Doom Editing > factions
 
Author
All times are GMT. The time now is 03:45. Post New Thread    Post A Reply
Cacowad
Member


Posts: 423
Registered: 07-12


my goal is to create a set of monsters that will attack both the player and other monsters that don't belong in theyr set.

an example: a turret that will shot either a zombie or the player, depending on who is nearer to the turret.

this is fundamental for a project of mine (a couple actually), where you can choose 1 of 3 factions or just join none of them, but i can't figure out how to code it in decorate.

i tryed several methods that unfortunatly works only if there are 2 factions, not 3 or 4 as i want it to be.

any suggestions?

Old Post Dec 31 2012 13:20 #
Cacowad is offline || Blog || PM || Post History || Add Buddy IP || Edit || Quote
kalinus
Junior Member


Posts: 129
Registered: 09-13


I would like to know this as well did you ever figure it out if not someone needs to answer it!!!

Old Post Sep 21 2013 01:50 #
kalinus is offline Twitter account || Blog || PM || Post History || Add Buddy IP || Edit || Quote
gggmork
If you can make any sense of this post, congratulations


Posts: 2856
Registered: 06-07


OP was almost a year ago but I would use acs on a doom in hexen format map. Give all monsters and player a TID so you can get their locations every tick to calculate who's closest to the turret, and check if its the desired species. Then probably thing_face (or whatever function) and just spawn a projectile to shoot from the turret.

Old Post Sep 21 2013 09:49 #
gggmork is offline || Blog || PM || Post History || Add Buddy IP || Edit || Quote
kalinus
Junior Member


Posts: 129
Registered: 09-13


Well its great to see questions answered I know it was from a year ago but I was hoping for an answer too. I'm pretty new at doom modding. Got most things in doombuilder figured out starting with wad editing now with slade.

Scripting is a must for me but at the moment I know next to nothing about it.

Thanks!

Old Post Sep 21 2013 10:40 #
kalinus is offline Twitter account || Blog || PM || Post History || Add Buddy IP || Edit || Quote
All times are GMT. The time now is 03:45. Post New Thread    Post A Reply
 
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Classic Doom > Doom Editing > factions

Show Printable Version | Email this Page | Subscribe to this Thread

 

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are OFF
[IMG] code is ON
 

< Contact Us - Doomworld >

Powered by: vBulletin Version 2.2.5
Copyright ©2000, 2001, Jelsoft Enterprises Limited.