Solved Launch object not recognized

Question that is answered or resolved.

mulambo

Member
I've declared the entity "knifeb" on models.txt

Code:
# Required objects. These must always be loaded 
load	Knifeb		data/chars/misc/knifeb.txt
know      Knifeb		data/chars/misc/knifeb.txt

this is the code of knifeb.txt
Code:
name	Knifeb
type	none
speed 12 
nolife 1

anim idle
	delay	8
	offset	25 50
	loop 1
	attack	4 4 40 40 15 1
        sound   data/sounds/knife.wav
	frame	data/chars/misc/knifeb0.gif
	frame	data/chars/misc/knifeb1.gif
	frame	data/chars/misc/knifeb2.gif
	frame	data/chars/misc/knifeb3.gif

and this is the launch animation on the character (the char has "load knifeb" and "know knifeb" in the header)
Code:
anim attack1
	throwframe	0  44
        range   70 200
	loop	0 
	offset	57 114  
	bbox	41 35 40 80
	delay 6
	sound data/sounds/metal.wav  
	frame	data/chars/berok/launch00.gif
	offset 31 116
	sound data/sounds/punch.wav 
	delay 20
	offset 31 116
	frame	data/chars/berok/launch01.gif
	delay 8 
	offset	57 114 
	frame	data/chars/berok/wk1.gif 
	frame	data/chars/berok/wk0.gif

but the enemy is still not launching the knife (see attachment). Any clue of anything missing?
 

Attachments

  • EMPTY - 0014.png
    EMPTY - 0014.png
    65.8 KB · Views: 7
If you don't tell OpenBOR which projectile to use, it looks for a model named "knife" by default. Your projectile is named "knifeb", so obviously OpenBOR won't find anything.

All you need to do is tell OpenBOR which projectile to throw in the animation (in your case, knifeb). To do this, use custknife in your animation.

DC
 
thanks, I figured I had to rename the "knifeb" to "machete" so the engine could properly recognize it, also adding the line "knife machete" to the char's header seemed to work (I've just look further in the manual). thanks, topic solved
 
mulambo said:

FYI, the name has nothing to do with it at all. You can use whatever name you like. You just have to tell the engine what that name is. If you don't, it will default to assuming the name is "knife".

DC
 
If you have a valid question, you can open as much topics as you want to. It's even better to have different topics for different questions instead of one topic with many questions.
 
nsw25 said:
mulambo said:
sorry, it's just that nsw25 told me that I was opening too many topics so I thought to clean up.

That's not what I said, and sorry if you are confused... I tried to say it seems you have created heaps of various topics asking questions and opinions and then it seems like you just leave them (no follow up etc), and no one knows if they have been helpful etc. like some of these topics start to feel they are created simply to create topics (maybe to increase your pressance ? or user ranking - im not sure)
well then sorry to leave such impression, but I don't think impressions are useful neither.
I think I've already kindly asked you to use PM if you want to talk about something off-topic and personality-related (such as the hypthized " pressance " ... "user ranking"... and so on), but it seems it didn't work. What else can I tell you? That's not true. I returned to the topics I left, I thanked the people helping me and I even locked the topics because I knew somebody would pop up again and again noticing "something strange" to argue about. REALLY. I don't see the problem you see here.
I post a topic whenever I need help about a certain issue. If you can't help but you can only judge or accuse , then I don't know what to tell you.

Joke suggestion: open the " I hate mulambo  >:( " topic so you and all the people which hate me can post whatever they want to vent their frustration and doubts about me.  I can tell you I would open it myself if I didn't know that flamewars are stupid. :P

Or just report me whenever you think I'm spamming.

but seriously, everytime somebody pops up and hijacks my topics. now tell me why. what is it? jealousy? snobbery ? elitism ? hazing/bullying ? feeling superior? I live by the rules, you can't expect me to respect non-written rules, like maggas did before.
Also: what's the matter in an active community where questions are made and answers given?

FYI: this is the last time I'm responding to such accusation, I think I've been more than educated in responding to any accusation politely, but from now on I'll ignore those comments which aren't related to the topic itself. If you have problems with me, report me.
 
but seriously, everytime somebody pops up and hijacks my topics. now tell me why. what is it? jealousy? snobbery ? elitism ? hazing/bullying ? feeling superior? I live by the rules, you can't expect me to respect non-written rules, like maggas did before.

Mulambo, it's the first and my last warning to you: cut this crap right now.

We are very different than Mugen foruns (thanks Odin) and, in fact, like Damon Caskey had explained before, the rules of CC were made based on some toxic and juvenile behavior we find in Mugen communities. But this boat won't float here, at all.

You are very knwon by not accepting well when someone contradicts you and this toxic behaviour made you be banned from two Mugen foruns.
While infringement on other foruns doesn't count here, they are a guide for us at the administration to know how the handle some things.

You are on a very, very thin ice right now. If you wanna stay here, you need to behave and you will be welcome. Otherwise, I have orders to shoot on sight when spotting toxic behaviours and I will do that.

Thanks.
 
Back
Top Bottom