Details 
Title: v21 Bot Holes System
Summary: Finally, v21 Bots now work in v20!!
Author: Rotondo, Kenko
Submitted By: Kenko
Date Submitted: Mon Mar 11, 2013 8:42 pm
Description: Ever since B4v21 began we have had no way to use the newer v21 bots in v20, instead having to resort to the old "Bot Events" system which is rather buggy and restrictive. After putting a bunch of time debugging and trying to figure out why the newer bots wont work (due to changes within v21 itself) the v21 bot holes kinda live!

This isn't a perfect fix, as there are still many engine-level functions missing and deeper changes made for bots, but this gets us most of the way there. The missing functions are:

  • AIPlayer::setHeadAngle
  • AIPlayer::setHeadAngleSpeed
  • AIPlayer::setMoveTolerance
  • AIPlayer::getMoveTolerance
  • AIPlayer::setJetting
  • AIPlayer::isJetting
  • AIPlayer::setAimVector
  • AIPlayer::setMoveSlowdown
  • AIPlayer::setEngageDistance
If anyone can replicate these functions, please let us know! We can update this add-on to be more functional. Also I noticed that bots can't drive vehicles in v20 as well as they can in v21, and I've no idea what to do about that. There are also probably other differences that I haven't noticed or have forgotten to mention here.

WARNING!! The latest version of the B4v21 v20 game is required for these bot holes to function - make sure you have updated to at least v3.15.
Also, the bots only function properly in Slayer minigames and not regular minigames, so be sure to install Slayer too.
You need to also install various Bot_ add-ons to actually have bot bricks to place - you can find those on this addon repo. (or use the "v21 Bots" pack to download them all at once!)

Events

Input Events

  • onBotDeath
  • onBotActivated - when the player clicks on the bot
  • onBotSpawn
  • onBotReachBrick - when the bot reaches its "goToBrick" brick (see output events below)

Brick Output Events

  • respawnBot
  • setBotPowered [bool]
  • setBotType [list]

Bot Output Events

  • LookAtPlayer [Clear, Activator, Closest, Reset]
  • LookAtBrick [string brick name] - look at the given named brick
  • GoToBrick [string brick name] - go to the given named brick
  • PlayGesture [list]
  • DropItem [item data]
  • SetBotPowered [Off, On, Reset]
  • SetRunSpeed [float 1.0-0.05]
  • SetActivateDirection [Both, Front, Back] - Sets what side of the bot responds to clicking. Ex: if set to front, the onBotActivated event will only trigger if you click the bot in the front
  • SetSearchRadius [Type of search; range]
  • SetIdleBehavior [list]
  • SetWanderDistance [Type of wandering; range]
  • SetWeapon [itemData]
  • SetBotName [string]
  • SetTeam [Enemy, Neutral, Friendly, Mercenary, Owner, Custom; Custom Name]
  • SetMeleeDamage [int 0-1024] - how much damage the bots do when they touch you
  • SetRandomAppearance [City, Space]
  • SetAppearance [Blockhead, Caveman, Cop, Criminal, Astronaut, Zombie, Custom] - The "Custom" value automatically copies your current avatar by translating it into a nightmare string the text field
 

Screenshots 
 

File Information 
Supported Games: Blockland v20
Version: v1
Filesize: 47.60 kB
Filename: Bot_Hole.zip
Total Downloads: 288
Ratings:
Rating: 5 (1 rating submitted)Rating: 5 (1 rating submitted)Rating: 5 (1 rating submitted)Rating: 5 (1 rating submitted)Rating: 5 (1 rating submitted)  1 Rating
 

Requirements 
 File  Submitted By  Rating  Downloads  Options 
Slayer v20
Fight on your own or in teams, with many different gamemodes to choose from!
» By Greek2me
Kenko
Rating: 4 (3 ratings submitted)Rating: 4 (3 ratings submitted)Rating: 4 (3 ratings submitted)Rating: 4 (3 ratings submitted)Rating: 4 (3 ratings submitted)
277Download Slayer v20
 

 
This file has been approved by our moderators.
This means it appears to be safe to use.
Download v21 Bot Holes System
 



Comments 
 Author  Message 

Comments: 16
Blockland ID: 49749
 Posted: Sun Mar 19, 2023 3:16 pm

are the events in the description after the warning also supposed to be red

Profile

Comments: 2
Blockland ID: 23897
 Posted: Tue Feb 28, 2023 9:31 pm

do you think rotondo called them holes on purpose?

Profile

Comments: 30
Blockland ID: 15144
 Posted: Tue Feb 28, 2023 8:58 am

getting very holey in here

Profile
 


Service revived by the B4v21 Team.
Designed by Vjacheslav Trushkin and modified by RTB.