OpenBor Crash when add script line in a character header

dantedevil

Well-known member
Hello!
I download Crime Buster v2.5 slam tutorial draft to learn how make a custom slam script.
First i copy he script file of Crime Busters containing the commands for the slam to my script folder.
After that rename script.c to grabscript.c.
Finally add ion the player txt:
animationscript data/script/grabscript.c

Before start to edit moves of the player with script y test the mod.

First start ok, until the select screen. When i move pad right to see every character, when the player with the line script added in the header must be showed the openbor closes. In the log not errors founds.
If the line "animationscript data/script/grabscript.c" is deleted for the player txt the game runs fine again.

Wath is the problem?

Thanks.
 
Ah, that's because if you declared an animationscript, OpenBoR requires the character to have at least one @cmd using a function from that script.

So to solve this, either disable animationscript temporarily with # or just set this in IDLE:

@cmd    clearL

to prevent this crash
This script won't do anything right now but will be essential later after you set some slam scripts.
 
Thanks!

Now i see the script log!

Like you see in my log report (Help custom throw, slam) my mod have a lot of enemies.
All enemies are done. They have a lot of pain and fall animations.

In the Crime Buster v2.5 slam tutorial draft shows how make an script slam with the FALL7.
Wath lines have to change in grabscript.c to make script slam to the pain or fall animation i want to choose?
And, how lines need to be duplicated to create other script slam with differents pain or fall animation?

Thanks.
 
Why do you need different PAIN and FALL animation for slams?

Single set of grabbed frames is enough for multiple kinds of slams and throws
 
You refering using script?
I create all my characters without any script.
And the only way for me to create a lot of differents slams is using Ej:

Attack10 = pain10  fall10

The move i need script have Attack 13.

In the tutorial Crime Buster Slam script talk about making the animation with the attack7.
I need change the grabscript.c i guess?
 
Ah so you're using pseudo slam trick. You can use Crime Busterv2.5 scripts for it but I highly don't recommend it.

The scripts simply use single FALL animation (any animation will do) as holder for all held poses. Then slam script will control which frame to use and where opponent would be held.
 
Back
Top Bottom