Page 1 of 1
Map has been Crashed
Posted: Thu Jul 15, 2010 5:47 am
by Noobi-Wan
I need your help very urgently.
Its my first Map.
I have bin insert a new weapon. All things work.
and now in the Bfront2.log this Error Message would be come:
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\Weapon.cpp(1604)
Weapon base class "" not found
I need Your help and I now, that my English is horrible.
Re: Map has been Crashed
Posted: Thu Jul 15, 2010 8:29 am
by SW_elite
Thats pretty self explainitry, but dont worry because this sounds like its a first attempt and everyone is like this when they start off (trust me, I was a shocker). It basicly means that you dont have a base class for your weapon. I can't go into deatail much but I know plenty of others can. Plus I'm a bit tired right now... 10:27 PM here at the moment
So dont worry, someone will help you soon.
And welcome to GameToast!
Re: Map has been Crashed
Posted: Thu Jul 15, 2010 12:01 pm
by Culvar
Could be two things:
1. You messed around with the ODF of a weapon and forgot to give it something to base off of.
2. You either didn't munge or copy the common side.
Re: Map has been Crashed
Posted: Thu Jul 15, 2010 12:59 pm
by SAMofBIA
i believe it is #1 culvar. he forgot to make a base weapon for his weapon (ex: the rep_weap_inf_rifle (blaster rifle) has a base weapon of com_weap_inf_rifle) you forgot to either
A. make a base weapon for your weapon
B. say in your weapon's odf what its base weapon is
or C. forgot both.
Re: Map has been Crashed
Posted: Thu Jul 15, 2010 1:00 pm
by Noobi-Wan
Weapon ODF:
I know that there is no ClassParent but I have give the Weapon all Features that the ClassParent has and Pinguin/Aman say that this must work.
When this the mistake was please tell me what can I do that this weapon is'nt bound at these ClassParent.
Re: Map has been Crashed
Posted: Thu Jul 15, 2010 1:11 pm
by SAMofBIA
hmmm, try changing this weapon odf to com_weap_inf_T21 and then make a new odf that is named rep_weap_inf_T21 that says classparent com_weap_inf_T21 and see if it helps, because the only weapon i know of that dont have a base weapon, is the ewok spear.
Re: Map has been Crashed
Posted: Thu Jul 15, 2010 1:13 pm
by Culvar
Just add this anyways to test it. It goes under weapon class:
Code: Select all
ClassParent = "com_weap_inf_rifle"
Your stuff will overwrite it, but it'll at least be searching for a base.
Re: Map has been Crashed
Posted: Thu Jul 15, 2010 1:15 pm
by SAMofBIA
good idea. probobly simpler than mine.
Re: Map has been Crashed
Posted: Thu Jul 15, 2010 1:15 pm
by Noobi-Wan
Thanks for the new Opportunity.