BOTSCRIPT?

Discuss all aspects related to modding Zandronum here.
Post Reply
Lollipop
Zandrone
Posts: 1124
Joined: Tue Jul 24, 2012 10:34 am
Location: Denmark

BOTSCRIPT?

#1

Post by Lollipop » Thu Jan 09, 2014 5:40 pm

Greetings.

I am just like someone else searching on information regarding botscripts, but the only information I happened to find was, that carnevil lost the sourcecode for the botscript compiler after he changed the way botscripts are compiled.

So do anyone have information on this, or do I have to learn C and read the sourcecode of zandronum to find out how it works? And then be forced to make my own compiler to make botscripts?

Any reply that stays on this topic is appreciated.
Combinebobnt wrote:i can see the forum league is taking off much better than the ctf ones
GalactusToday at 1:07 PM
are you getting uncomfortable jap
feeling something happen down there

User avatar
Guardsoul
Forum Regular
Posts: 495
Joined: Wed Jun 06, 2012 6:09 pm
Location: Creating the world

RE: BOTSCRIPT?

#2

Post by Guardsoul » Thu Jan 09, 2014 5:50 pm

I remember that someone (I think it was Dusk) developed a program to code Botscript but the download link is down. IDK if someone else has that program but it would be very helpful.
I dont care about how bad your maps are. Everything can be improved.
Banned for cheating at DoomBuilder.

User avatar
-Jes-
Frequent Poster Miles card holder
Posts: 975
Joined: Fri Aug 03, 2012 9:55 am
Location: Void Zone

RE: BOTSCRIPT?

#3

Post by -Jes- » Thu Jan 09, 2014 5:51 pm

Dusk was working on a compiler (BotC), but iirc he stopped development after finding that botscripts are far less useful than previously thought.
Last edited by -Jes- on Thu Jan 09, 2014 5:51 pm, edited 1 time in total.

Lollipop
Zandrone
Posts: 1124
Joined: Tue Jul 24, 2012 10:34 am
Location: Denmark

RE: BOTSCRIPT?

#4

Post by Lollipop » Fri Jan 10, 2014 12:22 pm

That is damned sad, I think that it is very important to be able to make these scripts. I kind of wanted to learn about this, as it can be more or less required for bots that use something else than normal doom weapons, which the curent botscripts, most likely, is made to handle for the most part.

Just to state an example: Guardsoul could have immense use of this for his ZDW bots, as he could be able to make them used varied weapons and maybe give them strategy. (I do not know how much you can or can not do with these scripts)
Combinebobnt wrote:i can see the forum league is taking off much better than the ctf ones
GalactusToday at 1:07 PM
are you getting uncomfortable jap
feeling something happen down there

User avatar
Dusk
Developer
Posts: 581
Joined: Thu May 24, 2012 9:59 pm
Location: Turku

RE: BOTSCRIPT?

#5

Post by Dusk » Fri Jan 10, 2014 1:56 pm

I'd have to refactor the compiler anyway since I've learned a lot since I coded the incomplete botc.. anyway what you could do with it would be to essentially make scripted bots that would do... I dunno, stuff. Bots cannot target anything but players so don't even think about co-op bots.

I think the list of bot commands here is a pretty good overview what could be done. Imagine it as ACS except with this loadout instead of the ACS functions and action specials.

If there still is interest in this I guess could continue the compiler someday.
EDIT: updated the link but there still are no downloads there. :P

EDIT 2: holy shit what have I written here... *refactoring intensifies*
Last edited by Dusk on Fri Jan 10, 2014 2:34 pm, edited 1 time in total.

Lollipop
Zandrone
Posts: 1124
Joined: Tue Jul 24, 2012 10:34 am
Location: Denmark

RE: BOTSCRIPT?

#6

Post by Lollipop » Fri Jan 10, 2014 5:00 pm

How can I use those commands without a compiler?
Also, if you make that compiler, I will play around with it and see if I can figure it out, and I might even make a tutorial if I can ;)
Combinebobnt wrote:i can see the forum league is taking off much better than the ctf ones
GalactusToday at 1:07 PM
are you getting uncomfortable jap
feeling something happen down there

User avatar
Torr Samaho
Lead Developer
Posts: 1543
Joined: Fri May 25, 2012 6:03 pm
Location: Germany

RE: BOTSCRIPT?

#7

Post by Torr Samaho » Fri Jan 10, 2014 6:50 pm

Dusk wrote: I'd have to refactor the compiler anyway since I've learned a lot since I coded the incomplete botc.. anyway what you could do with it would be to essentially make scripted bots that would do... I dunno, stuff. Bots cannot target anything but players so don't even think about co-op bots.
If we actually had a working BOTSCRIPT compiler, I'd consider extending the bot code so that they can attack monsters.

User avatar
Ænima
Addicted to Zandronum
Posts: 3583
Joined: Tue Jun 05, 2012 6:12 pm

RE: BOTSCRIPT?

#8

Post by Ænima » Fri Jan 10, 2014 7:32 pm

Torr Samaho wrote:
Dusk wrote: I'd have to refactor the compiler anyway since I've learned a lot since I coded the incomplete botc.. anyway what you could do with it would be to essentially make scripted bots that would do... I dunno, stuff. Bots cannot target anything but players so don't even think about co-op bots.
If we actually had a working BOTSCRIPT compiler, I'd consider extending the bot code so that they can attack monsters.
Image


You all heard the man. Get to work if you want to finally have bots that are useful for more than just PvP target practice!
Reinforcements: midgame Survival joining/respawning
Doom64: Unabsolved: Doom64 + Diablo II
ZandroSkins: a pack made by our community
AeniPuffs: 3D blood and bullet puff effects, free to use for your own mods
Squad Radio: a WASD-based radio chat menu, add your own custom sounds!
Mercenaries (on hold)
Image

User avatar
-Jes-
Frequent Poster Miles card holder
Posts: 975
Joined: Fri Aug 03, 2012 9:55 am
Location: Void Zone

RE: BOTSCRIPT?

#9

Post by -Jes- » Fri Jan 10, 2014 8:04 pm

Looks like BotC is back in development then.

User avatar
Dusk
Developer
Posts: 581
Joined: Thu May 24, 2012 9:59 pm
Location: Turku

RE: BOTSCRIPT?

#10

Post by Dusk » Fri Jan 10, 2014 8:33 pm

the gauntlet sure has been thrown

Lollipop
Zandrone
Posts: 1124
Joined: Tue Jul 24, 2012 10:34 am
Location: Denmark

RE: BOTSCRIPT?

#11

Post by Lollipop » Sat Jan 11, 2014 1:03 pm

I just wonder now, can there possibly be a way to use this to make AI for monsters in any way? I find the idea interesting, what do you people think? (besides from the load of work it will be)
Combinebobnt wrote:i can see the forum league is taking off much better than the ctf ones
GalactusToday at 1:07 PM
are you getting uncomfortable jap
feeling something happen down there

bazzoka
Forum Regular
Posts: 147
Joined: Mon Jun 04, 2012 10:49 am
Location: Lithuania

RE: BOTSCRIPT?

#12

Post by bazzoka » Sat Jan 11, 2014 1:48 pm

Lollipop wrote: I just wonder now, can there possibly be a way to use this to make AI for monsters in any way? I find the idea interesting, what do you people think? (besides from the load of work it will be)
I second this.

But, if you want just one monster have a different AI (ex. monster.AI "AI_name")
Last edited by bazzoka on Sat Jan 11, 2014 1:56 pm, edited 1 time in total.
You can say good bye to your thread. Cause i am killing it.

Lollipop
Zandrone
Posts: 1124
Joined: Tue Jul 24, 2012 10:34 am
Location: Denmark

RE: BOTSCRIPT?

#13

Post by Lollipop » Sat Jan 11, 2014 1:53 pm

I do not quite understand the way you have written your last sentence bazzoka, are you proposing that it can be a monster property, just like health? If that is the case, then I agree, if it is not, then I have no idea what you are trying to say :\
Combinebobnt wrote:i can see the forum league is taking off much better than the ctf ones
GalactusToday at 1:07 PM
are you getting uncomfortable jap
feeling something happen down there

bazzoka
Forum Regular
Posts: 147
Joined: Mon Jun 04, 2012 10:49 am
Location: Lithuania

RE: BOTSCRIPT?

#14

Post by bazzoka » Sat Jan 11, 2014 1:59 pm

Yea it is like an Actor property.
You can say good bye to your thread. Cause i am killing it.

Catastrophe
Retired Staff / Community Team Member
Posts: 2571
Joined: Sat Jun 02, 2012 2:44 am

RE: BOTSCRIPT?

#15

Post by Catastrophe » Sat Jan 11, 2014 7:03 pm

If this does work, I'm definitely making bot-controlled bosses for superdemon. (Hopefully this new botscript will allow bots to fight each other in survival)

bazzoka
Forum Regular
Posts: 147
Joined: Mon Jun 04, 2012 10:49 am
Location: Lithuania

RE: BOTSCRIPT?

#16

Post by bazzoka » Sat Jan 11, 2014 7:59 pm

Catastrophe wrote: Hopefully this new botscript will allow bots to fight each other in survival
Well right now bots can identify on what team they are on, i see no problem whit grouping who's faction is 'Friendly' and who's not.
You can say good bye to your thread. Cause i am killing it.

Post Reply