Help - Search - Members - Calendar
Full Version: NS Devs: Armories in combat?
Unknown Worlds Forums > Natural Selection > Natural Selection Creation > NS Customization
TheLazy1
Sorry if this is the wrong forum but I think it's close enough.
I was wondering how you handle destroyed buildings such as armories in combat mode.

I logged the armory's entvars and private data changes before and after destruction and it looks like
you set the EF_NODRAW bit in the effects and change it's pfnThink and pfnUse functions as well as a few other things.

What I wanted to do was write a plugin to respawn armories in combat after a certain point in time, using my data I was
able to re-enable the armory except for one problem.

Once the re-enabled armory is destroyed it is actually destroyed/removed instead of being made just invisible.
This confuses the hell out of me, even more confusing is that the armory is back again on the next round.

I completely understand if you don't want to give out such information but any help/information would be
greatly appreciated smile-fix.gif
Drfuzzy
Try the new decoda forum since its aimed for coding, this ones pretty much dead and those who still visit here are 3d artists tounge.gif
Darkns
It's still the most applicable forum for this type of question.
Besides, if it's dead, no one will care anyways, will they? tounge.gif
Drfuzzy
QUOTE(Darkns @ Sep 8 2007, 04:14 AM) *
It's still the most applicable forum for this type of question.
Besides, if it's dead, no one will care anyways, will they? tounge.gif

Just pointing him somewhere where he might get some answers tounge.gif

besides, this isn't really the wrong forum to post it in, theres just no coders here
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.