NS Devs: Armories in combat?
TheLazy1
Join Date: 2007-09-07 Member: 62198Members
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 <img src="style_emoticons/<#EMO_DIR#>/smile-fix.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile-fix.gif" />
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 <img src="style_emoticons/<#EMO_DIR#>/smile-fix.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile-fix.gif" />
Comments
Besides, if it's dead, no one will care anyways, will they? <img src="style_emoticons/<#EMO_DIR#>/tounge.gif" style="vertical-align:middle" emoid=":p" border="0" alt="tounge.gif" />
Besides, if it's dead, no one will care anyways, will they? <img src="style_emoticons/<#EMO_DIR#>/tounge.gif" style="vertical-align:middle" emoid=":p" border="0" alt="tounge.gif" /><!--QuoteEnd--></div><!--QuoteEEnd-->
Just pointing him somewhere where he might get some answers <img src="style_emoticons/<#EMO_DIR#>/tounge.gif" style="vertical-align:middle" emoid=":p" border="0" alt="tounge.gif" />
besides, this isn't really the wrong forum to post it in, theres just no coders here