Deadly custom particles bug
Howling
Join Date: 2002-01-26 Member: 97Members
<div class="IPBDescription">Errr.... help?</div>I hate it when clips on MTV have water sounds as samples, they make me go potty.
Anyway...
I was mapping away again today on ns_settlement when I added an env_custom_particles entity. And not wanting to risk having my PC crash and die again, I read <a href="http://www.chromeangel.fsnet.co.uk/NS/Guide/ABerzerkersGuideToMappingForNaturalSelection.htm#Appendix%20One%20-%20Env_Custom_Particles" target="_blank">ChromeAngel's Mapping Guide</a> on custom particles. So I set up my entity by the book and still I got this weeeeiiird error message dialog box thingy telling me to e-mail the bug to the NS team. Which I couldn't because my system completely hooks up when the error occurs. And I have to reboot, luckily I ran scandisk too because it found 2 errors on my Harddrive(s).
Anyway, this is the error, I wrote it down before rebooting:
<!--c1--></span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td><b>Code Sample</b> </td></tr><tr><td id="CODE"><!--ec1-->The system has failed an assertion:
Assert: "theTemplate" @
c:\projects\strathl\mod\avhparticlesystementity.cpp: 162
ASSERT TEST VERSION 1.0
stack symbol information only available when linked with COFF debug symbols.
Dumping hex trace instead: *load of HEX crap that wasn't to read because my system was locked and I couldn't scroll down*<!--c2--></td></tr></table><span id='postcolor'><!--ec2-->
The odd thing about this I think is the path in this error. Where the hell does it lead to? It's sure not on my pc, all that's on my C drive is Winblo... eh -dows. What kind of sick version of NSTR do I have???
<!--emo&:p--><img src="http://www.natural-selection.org/iB_html/non-cgi/emoticons/tounge.gif" border="0" valign="absmiddle" alt=':p'><!--endemo-->
Anyway...
I was mapping away again today on ns_settlement when I added an env_custom_particles entity. And not wanting to risk having my PC crash and die again, I read <a href="http://www.chromeangel.fsnet.co.uk/NS/Guide/ABerzerkersGuideToMappingForNaturalSelection.htm#Appendix%20One%20-%20Env_Custom_Particles" target="_blank">ChromeAngel's Mapping Guide</a> on custom particles. So I set up my entity by the book and still I got this weeeeiiird error message dialog box thingy telling me to e-mail the bug to the NS team. Which I couldn't because my system completely hooks up when the error occurs. And I have to reboot, luckily I ran scandisk too because it found 2 errors on my Harddrive(s).
Anyway, this is the error, I wrote it down before rebooting:
<!--c1--></span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td><b>Code Sample</b> </td></tr><tr><td id="CODE"><!--ec1-->The system has failed an assertion:
Assert: "theTemplate" @
c:\projects\strathl\mod\avhparticlesystementity.cpp: 162
ASSERT TEST VERSION 1.0
stack symbol information only available when linked with COFF debug symbols.
Dumping hex trace instead: *load of HEX crap that wasn't to read because my system was locked and I couldn't scroll down*<!--c2--></td></tr></table><span id='postcolor'><!--ec2-->
The odd thing about this I think is the path in this error. Where the hell does it lead to? It's sure not on my pc, all that's on my C drive is Winblo... eh -dows. What kind of sick version of NSTR do I have???
<!--emo&:p--><img src="http://www.natural-selection.org/iB_html/non-cgi/emoticons/tounge.gif" border="0" valign="absmiddle" alt=':p'><!--endemo-->
Comments
I've never heard an error like that reported. I'm pretty sure you just have a bad number or something in your entity. Double-check all your values and try again.
<!--emo&???--><img src="http://www.natural-selection.org/iB_html/non-cgi/emoticons/confused.gif" border="0" valign="absmiddle" alt='???'><!--endemo-->
Anyway, I remember getting an assertion error with a particle system, and the cause was an absolute path in the "Particle sprite" field. When I clicked "browse", located an clicked on a sprite name, the entire path appeared in the field (ie: C:\sierra\half-life\nstr\sprites\spritename.spr). I assume that since HL already knows to use the mod folder for the root of the path, it was essentially adding the above path to the root, and not finding the sprite. Simply deleting everything in the path up to "sprites" did the trick. The field should only show, for example, "sprites/spritename.spr".
I can't say for sure if this is what's causing it for you or not, but I thought I'd throw it out anyway, just in case.
So that's not the right solution.
Or am I just wrong in this? (Not that being right helps any, but...)
And i'm not.
Anyway, i'll wait for NSTR2 to come out before adding ANY custom particles again. It's lethal! But, could it be that quick compiling is a bad idea? Do I have to compile the map completely? (not that I abort halfway compiling, dunno if you WC people have quickcompile) <!--emo&:)--><img src="http://www.natural-selection.org/iB_html/non-cgi/emoticons/smile.gif" border="0" valign="absmiddle" alt=':)'><!--endemo-->
Can you post each involved entity as well as each entity's every setting/field/variable? If we knew exactly how you had things set up, maybe we could figure out what the problem could be through the process of elimination.
Btw, I'm not questioning your mapping experience at all. Some of the settings and quirks of these new entities aren't always intuitive, so sometimes it's easy to miss something. I know I have had to learn the NS entities by trial and error, and I've made plenty of mistakes along the way.
But I can add it again. Then just open the .map with a text editor? (Notepad, Textpad...)?
-Bad sprite name
-Bad velocity params
-Bad # of animation frames
If it isnt already, set the "Animation frams in sprite" to 1.
I don't know if 0 would cause a problem, but it logically doesnt make sense, and if you say there are more frames than there are, HL will get a headache and die.
And, likewise, make sure you're velocity params are 0,0,0,0,0,0,0,0. Or something. That's sure to be a valid param <!--emo&:D--><img src="http://www.natural-selection.org/iB_html/non-cgi/emoticons/biggrin.gif" border="0" valign="absmiddle" alt=':D'><!--endemo-->
I hope that helps, because particles can be really fun and rewarding, if they dont crash your system :-(
-Jacius