Author Topic: 2013/03/11 - Blockland r1853  (Read 92531 times)

Bots have always had this problem, because vehicles have specific controls but the bots follow the normal controls. Basically, it is impossible for normal bots to drive vehicles. they would need to know the control scheme for the vehicle the are getting into and adjust for it. Badspot having access to the source code, he could code such things in a non-hacky way, but it'd still be difficult to get right.

Point being the bot tries to move and look normally, but the vehicle doesn't control like that. There's no strafing and left to right movement - direction is controlled by look. In theory, you'd think it looking around would work, but since it tries to move left to right it can't figure out what's going on.

inb4someoneRagesAboutNazis

Bots have always had this problem, because vehicles have specific controls but the bots follow the normal controls. Basically, it is impossible for normal bots to drive vehicles. they would need to know the control scheme for the vehicle the are getting into and adjust for it. Badspot having access to the source code, he could code such things in a non-hacky way, but it'd still be difficult to get right.

Point being the bot tries to move and look normally, but the vehicle doesn't control like that. There's no strafing and left to right movement - direction is controlled by look. In theory, you'd think it looking around would work, but since it tries to move left to right it can't figure out what's going on.
figures. Its not a big deal, it'd just be nice to have. The fact that they can actually drive vehicles to the general vicinity of the waypoints is a big improvement anyways lol

Quote
%mask = $TypeMasks::TerrainObjectType;// no more interiors :( // $TypeMasks::InteriorObjectType;
Dang, how long has this been in progress?

To reiterate a bug I posted in the last topic, the default minigame's setting for fall damage overrides that of the server, so if you leave the minigame that has fall damage on to fix a bug in your build or something, even if you have the normal fall damage pref off, you'll still take fall damage. Just tested this on the pirate DM.

Point being the bot tries to move and look normally, but the vehicle doesn't control like that. There's no strafing and left to right movement - direction is controlled by look. In theory, you'd think it looking around would work, but since it tries to move left to right it can't figure out what's going on.
From what I could tell, the bots aren't properly able to determine their own orientation when in a vehicle, causing confusion when they try to steer it in the right direction.

I've been trying to make a highway with bots driving down it, and they refuse to drive in a straight line between two perfectly aligned points, they always just kinda float off to one side :s

Make a few more waypoints closer together. When in a vehicle bots think of waypoints as more of a general guideline.

I was able to get bots to navigate the hydro plant speedkart map as a test, so a straight line should be possible.

So me and my friend Core were messing wish shark bots and they can have sunglasses (and a beard) like the skeletons.



awesome

edit: every time I hit a shark with the kart on that new map the screen goes white with a red tint and blockland freezes up.  then i have to restart the game.  happening to anyone else?
this happens to me too

this new track is loving amazing

Badspot saves the day again

 :cookieMonster:

So me and my friend Core were messing wish shark bots and they can have sunglasses (and a beard) like the skeletons.

-snip-

It seems that Badspot and Rotondo really like sunglasses.

EDIT: I crash whenever i touch a shark. I guess getting "eaten" deletes you trough console or something?
« Last Edit: March 12, 2013, 12:51:10 AM by Tonkka˛ »

Make a few more waypoints closer together. When in a vehicle bots think of waypoints as more of a general guideline.

I was able to get bots to navigate the hydro plant speedkart map as a test, so a straight line should be possible.

Would it be possible to have hard-coded vehicle control support for default vehicles? Or would that be more work than it is worth.

I'd like to be able to trigger a bots functions from a seperate brick, rather than having to place them through the use of onBotTouch on the spawn brick, and seteventenabled on the trigger brick.

On Activate > NAMED BRICK > Bot_PlayGesture
                           bot hole

Using input events IS possible, but many times more tedious, depending on the scale of the function you want the bot to do.

AWESOME NO NEED FOR STUPID GAMEMODE ZOMBIE AND BOT EVENTS


official zombies

this is a good update