Page 1 of 1

Faulty detpack [Solved]

Posted: Thu Nov 06, 2008 2:40 pm
by wishihadaname
this is really wierd i am for some reason having problems with the detpacks, i changed soem of the values of the detpacks to make them more anti-vehicle and less anti-unit but once i munge and try to play it crashes and gives me this error
Message Severity: 3
.\Source\Explosion.cpp(171)
Explosion base class "com_weap_inf_detpack_dispenser_exp" not found

its normally a really easy fix just find the file and fix/rename it but that file doesn't exist! not in common folder of my map, not in the assets and not in any of the other maps i've made and there i never had that problem. is there some workarround or am i missing something obvius? plz help

Re: faulty detpack

Posted: Thu Nov 06, 2008 3:15 pm
by Maveritchell
That's because you renamed something and got yourself confused. There are four basic files for a detpack (a dispenser-type weapon): The base .odf (which is the dispenser), the _ord.odf (which is the actual detpack), the _exp.odf (which is the explosion for when the detpack just gets too old), and the _destroyed_exp.odf (which is the explosion when you detonate the detpack). It looks like you renamed the exp it tried to call for from com_weap_inf_detpack_destroyed_exp to com_weap_inf_detpack_dispenser_exp.

Note: Don't rename things arbitrarily unless you're going to remember what they're for.

Re: faulty detpack

Posted: Thu Nov 06, 2008 3:27 pm
by wishihadaname
ok thanks i looked through and found that i had given then a "rep_weap_inf_detpack_despenser" instead of a "rep_weap_inf_detpack" once i changed that it worked fine i forgot you didn't use the despenser version thanks for your help