Help with learning

Is there reference list of engine's native function/command or "borscript". Apologies not certain how to describe but assume terms already is understood by the engine/compiler. Also trying to understand numbers that sometimes follow

Terms as these
"com"
"@cmd shoot"
"@cmd target"
"@cmd dash"
"ANI_FOLLOW2"
"ANI_FOLLOW3"
sometimes numbers come after words. How can I understand they mean?
@cmd target 2 2 200 0 1 0
"ANI_FOLLOW2" (why 2?)

attack 10 10 30 30 15 0 0 1 sometimes numbers follow attack?

Sorry novice question I've noticing in the games .text files
 
those numbers are values that some cripts based on .c files use to give more controls that usually involve coordinates, what i do is i make a tool using excel or calc to these types of commands so i dont have to remember stuff from the manual by heart
some of these @cmd scripts can be created by you and are usually more efficient than using "inline" scripts

read the whole manual at least once, the find function on the browser is a great tool, take a module and try to study it, ask questions and if need be ask again for answers in simpler language.

the nightslashers 21c module has a bunch of notes, mostly on the models.txt file itself, notes on how some levels work on the level text files themselves, don't know if there are any other modules or templates out there with at least such level of (attempted) detailed explanations.

if you are able, try and see if you can get some of the script/code masters to give out some detailed hands-on instructions or teachings and make sure to compensate them -

take advantage of tools like @Piccolo 's editor
 
Last edited by a moderator:
Is there reference list of engine's native function/command or "borscript". Apologies not certain how to describe but assume terms already is understood by the engine/compiler. Also trying to understand numbers that sometimes follow

Terms as these
"com"
"@cmd shoot"
"@cmd target"
"@cmd dash"
"ANI_FOLLOW2"
"ANI_FOLLOW3"
sometimes numbers come after words. How can I understand they mean?
@cmd target 2 2 200 0 1 0
"ANI_FOLLOW2" (why 2?)

attack 10 10 30 30 15 0 0 1 sometimes numbers follow attack?

Sorry novice question I've noticing in the games .text files

Those are custom functions written using the engine's C based script support. There's no practical way to do what you're asking, since the whole point is people are able to write whatever they need for their own games. The best thing to do is tag the individuals (I believe some of those are @Bloodbane's) and ask for advice.

DC
 
Is there reference list of engine's native function/command or "borscript".

The easiest way to distinguish script functions and commands is functions are usually called with @cmd . If you see @cmd target, @cmd shoot, @cmd dash etc, they have to be script functions.
If you don't see @cmd, such as com, attack, bbox, offset and drawmethod, they are commands and you could find them in OpenBoR Manual.
 
The easiest way to distinguish script functions and commands is functions are usually called with @cmd . If you see @cmd target, @cmd shoot, @cmd dash etc, they have to be script functions.
If you don't see @cmd, such as com, attack, bbox, offset and drawmethod, they are commands and you could find them in OpenBoR Manual.
How about making Dr. Doom attack spin, revolve in circle or torndo effect? I love Dr. Doom game idea. Make him choke Spiderman -haha-
 
Those are custom functions written using the engine's C based script support. There's no practical way to do what you're asking, since the whole point is people are able to write whatever they need for their own games. The best thing to do is tag the individuals (I believe some of those are @Bloodbane's) and ask for advice.

DC
So if I learn C that would help me greatly?
 
Interested in other genres also
That is cool, but to break from the basics you first need to learn the basics. That is what we are trying to explain :)

You can download a basic package by @Bloodbane here, with both 2D and default styled games

Open it, study it, get familiar with the engine. Then you can start doing things outside the box ;)
 
Back
Top Bottom