Decorate Bot

Maps, modifications, add-ons, projects, and other releases for Zandronum. Also includes announcers.
User avatar
Bootleg Guy
 
Posts: 25
Joined: Mon Jan 11, 2016 11:18 pm
Location: Chile
Contact:

Decorate Bot

#1

Post by Bootleg Guy » Fri Apr 01, 2016 10:19 pm

Note: This thing is not very coop friendly, as in, it does not do a very good job as an ally, since it can still kill you and it doesn't do a good job at following you, and it was tested in a "deathmatch" like conditions. You can use this however you want, but if you do, please give credit.
Credits to: Lance for giving me the code so the decobots can strafe.


Decorate Bot!

It was about time I released this thing.

phpBB [media]

This is a video of an earlier version of the bot, too lazy to record a new one, since this one has all the important stuff you should need to see about these decobots

phpBB [media]

Another video of an earlier version, this one is a deathmatch (wich im not very good at) and also has a scrapped version of the decobot that spawns with different skins

What is this?

This is a bot. Made in decorate.

I want a more detailed explanation.

[spoiler]DecoBot Behaviour (Might not be very accurate, or it might be very accurate):

-They can strafe, jump, back up, and of course, go forward, altough it sounds more impressive here, its all RNG, so they might move "smartly" or stupidly

-They use different weapons at different ranges and depending on health

Healthy:

-Chaingun, Long Range

-Super Shotgun, Short Range

Low Health:

-Plasma Gun, Long Range

-Rocket Launcher, Short Range

EXTREMELY Low Health:

-Rocket Launcher spam, they wont move while doing this and have bad aiming[/spoiler]

Download Link

https://www.dropbox.com/s/7n2uzzrodh2m6 ... t.wad?dl=0
Last edited by Bootleg Guy on Sat Apr 02, 2016 7:59 pm, edited 1 time in total.

User avatar
Gustavo6046
 
Posts: 54
Joined: Thu Nov 19, 2015 7:36 pm
Location: Porto Alegre, Brazil
Contact:

Re: Decorate Bot

#2

Post by Gustavo6046 » Fri Apr 01, 2016 11:06 pm

Can I upload the WAD to GitHub? I want to do some modifications that would allow for a line-of-sight check between the bot and the target, and make the bot be able to use the Use key. :)

I still don't know how to make it stop following the player at summonfriend. :(

Other than that, nice mod! Keep up the good work :)

User avatar
Bootleg Guy
 
Posts: 25
Joined: Mon Jan 11, 2016 11:18 pm
Location: Chile
Contact:

Re: Decorate Bot

#3

Post by Bootleg Guy » Fri Apr 01, 2016 11:09 pm

Sure, you can use this however you want as long as you want, just remember to give credit :biggrin:

User avatar
Gustavo6046
 
Posts: 54
Joined: Thu Nov 19, 2015 7:36 pm
Location: Porto Alegre, Brazil
Contact:

Re: Decorate Bot

#4

Post by Gustavo6046 » Fri Apr 01, 2016 11:44 pm

O.K. Uploaded!

If you want you can just fork this to your version so your bot becomes open-source :^)

Do you know of something that makes the actor "Use" whatever is at it's front?

User avatar
Bootleg Guy
 
Posts: 25
Joined: Mon Jan 11, 2016 11:18 pm
Location: Chile
Contact:

Re: Decorate Bot

#5

Post by Bootleg Guy » Fri Apr 01, 2016 11:52 pm

Sure thing!

Also no, I don't know something that makes the actor use something it has in front :/

User avatar
Gustavo6046
 
Posts: 54
Joined: Thu Nov 19, 2015 7:36 pm
Location: Porto Alegre, Brazil
Contact:

Re: Decorate Bot

#6

Post by Gustavo6046 » Sat Apr 02, 2016 12:14 am

Ok.

Do you have some idea what the bot should do once it's target is away?

User avatar
Bootleg Guy
 
Posts: 25
Joined: Mon Jan 11, 2016 11:18 pm
Location: Chile
Contact:

Re: Decorate Bot

#7

Post by Bootleg Guy » Sat Apr 02, 2016 12:23 am

It already does something when it's target is away, it will try to chase its target like a normal doom monster, just in running player speed

User avatar
Gustavo6046
 
Posts: 54
Joined: Thu Nov 19, 2015 7:36 pm
Location: Porto Alegre, Brazil
Contact:

Re: Decorate Bot

#8

Post by Gustavo6046 » Sat Apr 02, 2016 12:24 am

Yes but, in Searching state, when it's further away, like 800 or so units.

It will go to a state, where it considers itself partially safe. Sometimes it goes to Idle state if a) there's no line of sight to monster and b) it's more than 1200 units away. So this makes it jump to Idle state.

User avatar
Bootleg Guy
 
Posts: 25
Joined: Mon Jan 11, 2016 11:18 pm
Location: Chile
Contact:

Re: Decorate Bot

#9

Post by Bootleg Guy » Sat Apr 02, 2016 12:41 am

That could work, when it can't catch its target and its the 1200 units away, it would go in the idle state as in it just stands there looking around?

User avatar
Gustavo6046
 
Posts: 54
Joined: Thu Nov 19, 2015 7:36 pm
Location: Porto Alegre, Brazil
Contact:

Re: Decorate Bot

#10

Post by Gustavo6046 » Sat Apr 02, 2016 12:53 am

Yep, basically that.

However, right now the bot is often crashing when alerted by sounds and when I resurrect.

User avatar
Bootleg Guy
 
Posts: 25
Joined: Mon Jan 11, 2016 11:18 pm
Location: Chile
Contact:

Re: Decorate Bot

#11

Post by Bootleg Guy » Sat Apr 02, 2016 1:03 am

Crashing as in crashing the game or crashing into walls?

User avatar
Gustavo6046
 
Posts: 54
Joined: Thu Nov 19, 2015 7:36 pm
Location: Porto Alegre, Brazil
Contact:

Re: Decorate Bot

#12

Post by Gustavo6046 » Sat Apr 02, 2016 1:08 am

Bootleg Guy wrote:Crashing as in crashing the game or crashing into walls?
Crashing the game. It gets into a window and Windows says it stopped working. Ugh, I really dislike when stuff crashes the game. I'm sure you do too. So let's work in the GitHub repo I shown.

User avatar
Bootleg Guy
 
Posts: 25
Joined: Mon Jan 11, 2016 11:18 pm
Location: Chile
Contact:

Re: Decorate Bot

#13

Post by Bootleg Guy » Sat Apr 02, 2016 1:12 am

mmh, it never crashed the game for me when I playtested it, so I don't know what might be causing the crashes :/

User avatar
Gustavo6046
 
Posts: 54
Joined: Thu Nov 19, 2015 7:36 pm
Location: Porto Alegre, Brazil
Contact:

Re: Decorate Bot

#14

Post by Gustavo6046 » Sat Apr 02, 2016 1:15 am

You probably should take a look at the repository I linked. I just updated it. All you have to do is to package the folder into a WAD or PK3 and run it.

User avatar
Bootleg Guy
 
Posts: 25
Joined: Mon Jan 11, 2016 11:18 pm
Location: Chile
Contact:

Re: Decorate Bot

#15

Post by Bootleg Guy » Sat Apr 02, 2016 1:41 am

I think the crash might be caused by this

Code: Select all

SeeSound "misc/w_pkup"
There isn't any sound info lump or sound file in the wad

EDIT: It seem it isn't caused by it. Gonna look into it right now

EDIT 2: Removed this from the code

Code: Select all

TNT1 A 0 A_CheckSight("Searching")
It seems it caused the crash, since putting // or removing it makes the decobot not crash the game

User avatar
Gustavo6046
 
Posts: 54
Joined: Thu Nov 19, 2015 7:36 pm
Location: Porto Alegre, Brazil
Contact:

Re: Decorate Bot

#16

Post by Gustavo6046 » Sat Apr 02, 2016 1:10 pm

Ok, I don't know why it would cause the crash, but I'll try to fix it ASAP.

Btw, great bot! :D

User avatar
Monsterovich
Forum Regular
Posts: 343
Joined: Sun Jun 17, 2012 5:46 pm

Re: Decorate Bot

#17

Post by Monsterovich » Sat Apr 02, 2016 1:30 pm

Great idea, let's fix/replace these crappy skulltag bots.

and you have to support simple waypoints in the future.

Is that agh's track in the video?

User avatar
Bootleg Guy
 
Posts: 25
Joined: Mon Jan 11, 2016 11:18 pm
Location: Chile
Contact:

Re: Decorate Bot

#18

Post by Bootleg Guy » Sat Apr 02, 2016 3:49 pm

Monsterovich wrote:Is that agh's track in the video?
It's Exquisite by TSEC

User avatar
Gustavo6046
 
Posts: 54
Joined: Thu Nov 19, 2015 7:36 pm
Location: Porto Alegre, Brazil
Contact:

Re: Decorate Bot

#19

Post by Gustavo6046 » Sun Apr 03, 2016 10:07 pm

Do you know if the bot could roam by itself, independent of the player, somehow? I have yet to implement this. Sadly I don't master it.

User avatar
Bootleg Guy
 
Posts: 25
Joined: Mon Jan 11, 2016 11:18 pm
Location: Chile
Contact:

Re: Decorate Bot

#20

Post by Bootleg Guy » Sun Apr 03, 2016 10:31 pm

I think replacing its spawn state with something like this could work

Code: Select all

	PLAY AAAA 1 A_Recoil(-2)
	TNT1 A 0 A_Look
	TNT1 AAAAAAAA 0 A_Wander
	PLAY BBBB 1 A_Recoil(-2)
	TNT1 A 0 A_Look
	TNT1 AAAAAAAA 0 A_Wander
	PLAY CCCC 1 A_Recoil(-2)
	TNT1 A 0 A_Look
	TNT1 AAAAAAAA 0 A_Wander
	PLAY DDDD 1 A_Recoil(-2)
	TNT1 A 0 A_Look
	TNT1 AAAAAAAA 0 A_Wander

Post Reply