Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do I use this? #25

Closed
AirmanRNC opened this issue Aug 5, 2021 · 1 comment
Closed

How do I use this? #25

AirmanRNC opened this issue Aug 5, 2021 · 1 comment

Comments

@AirmanRNC
Copy link

No description provided.

@TarCV
Copy link
Owner

TarCV commented Aug 14, 2021

Hi. Sorry for the late reply.
Basically you just download the latest release and run command like botc script.botc BOTLUMP, where script.botc is a script source file and BOTLUMP is a name of output file to be created. Also botc_defs.bts containing various definitions should be in the working directory.
Example botc sources are https://wiki.zandronum.com/CRASHBOT and https://wiki.zandronum.com/HUMANBOT , they might use a bit obsolete syntax, but it should not be hard to fix.
In the worst case you can download debotc and decompile bot binaries (like CRASHBOT lump) from zandronum.pk3, after that you'll need to replace integers with booleans where appropriate (or just use botc_defs.bts from debotc repository, which doesn't use booleans in definitions at all).
This link might be useful too - https://zandronum.com/forum/viewtopic.php?f=11&t=9941&p=115780

Overall in Zandronum each bot logic consists of two files: it's compiled logic script like CRASHBOT and actual bot definition in BOTINFO lump. That bot definition links to the script with script line, see https://wiki.zandronum.com/BOTINFO

@TarCV TarCV closed this as not planned Won't fix, can't repro, duplicate, stale Apr 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants