Steam Avatar
You aren't signed in
We do not have a copy of this add-on's file for download at this time.

Vehicle Control Events

0 KB, 14 years ago, submitted by Duchess

Want to make Virtual Reality or an Obstacle Course or a race track all with bots and vehicles? Now you can! Just a few events and you're controlling a bot or vehicle. Fully customizable, as you can make something happen when a player starts controlling and stops controlling a vehicle/bot. Also adds usual restrictions, such as stopping someone from become a bot/vehicle while it's already being controlled.

Outputs
setVehicleAsPlayerControl - Only works on spawns. Set what the player is controlling. Also activates the onVehicleStartControl input.
exitVehicleControl - Only works on spawns. Stops the player from controlling that vehicle. Also activates the onVehicleExitControl input.

Inputs
onVehicleStartControl - Only works on spawns. Happens when a vehicle gets controlled.
onVehicleExitControl - Only works in spawns. Happens when a vehicle stops getting controlled. Doesn't work if a bot is killed.

Warning
Vehicles cannot die or click a button. Unless you have vehicle events, do NOT use this with vehicles. Also, when a bot is respawned, your screen gets glitched up. This might be fixed in v3.

Lugnut1206
/Mouthdrop

EPIC!
This would be awesome with like.. a tdm, with bots on your side, when you die, you go to a room that
shows you all the bots still alive, and when you press a glowing(?) button, you control that bot.
Therefore, continueing the fight.
Unfortuneately, this takes all the hard work out of naming a brick grid, and then pressing buttons from inside your
base to move your bot to that point on the grid.
Duchess
A current bug I know is when a bot gets killed, the controller gets glitched and has to rejoin the server.

When you do stuff like onBotKilled, onBotDeath, or onBotRespawn with bot events, it only does the event to the person who made the spawn.

The example I showed had a start button and an exit button, it also set the bot's health to 100 every time the bot got damaged.
Lugnut1206
I was just about to report that bug.
I had a onBotKilled > self > exitcontrolbot or whatever,
and Blockland Crashed.
:/
Sucks, But if you don't mind, make it so that when the bot dies, it automatically FORCES control back to the player.
Please.
Duchess
I don't have that good of a scripting skill, but I could make a command that forces you back.
Lugnut1206
Not the greatest, But it certainly gets the job done.
5/5
Peppered with bugs. Fix them. I dont want something crashing BL.
Zloff
Very useful! 10/10!
doonlord13
nice 5
Guardian Angel
This is nice. :D
The Titanium
Okay, I am definitely making Blocko World again thanks to this. Yay, Rollercoasters.
Weirdo
Mariokart Server.

On Topic: Win. A Huge Win. :D
Could you make a Force mod? Where you can lift and choke zombies and players and bots, and where you can lift bricks to you and weapons into your hand. Comes with a Darth Vader hat.
Supernovi
I thought this was for vehicles....

not DLing
Kyle95
no...
mattbru77
supernovi, way to be a genious.

it IS for vehicles! bot = vehicle, car = vehicle.

you put the event on the spawn of that vehicle, in order to target it (car spawn or bot spawn.)
_ Jake _
May glitch up? Well my screen froze up like my client was deleted from a server. May want to fix that.
Lugnut1206
Keybind = ExitVehicleContorl
Please. Keybind Please...
Aber Purchai
@weirdo:

Good idea. A force mod would pwn.

On topic:

why don't people list the features the addon has when they update it? It's so hard to find what the update did to the addon on RTB -_-
Corbiere
'Unless you have vehicle events'
They auto failed by CRC :(
Mr.slayzer
I enjoy this, but there are many bugs in this.
Mr.slayzer
Jesus christ, i never had a mod crash this much
GeneralAwesome
Is there any resson I'm not getting the Input events?
GeneralAwesome
Edit: OnVehicleStartControl, OnVehicleExitControl and exitVehicleControl show up, but setVehiclePlayerControl doesen't show up.
RU55IAN R3B3L
lol newb walls on bot battle
Duchess
Quote:
Edit: OnVehicleStartControl, OnVehicleExitControl and exitVehicleControl show up, but setVehiclePlayerControl doesen't show up.


setVehicleAsPlayerControl shows up in events for a br
Gurcharn Rehill
i know why screen gets glitched up. when respawned the vehicle gets deleted and spawns again. this means you get deleted. but try pressing the drop player at camera button to fix this.
RobinBloc
Ok what Gurcharn said...all people who decided to USE THIS ADD-ON and MAKING A BOT BATTLE need to make everyone admin or thier server phails ass
dasapples
are we able to see where were driving the vehicle/bot or it it sorta blind like when your using the rc controller?
camo3912
i downloaded it, and i installed it like all my other mods, but.....its not there...where is it?
camo3912
i downloaded it, and i installed it like all my other mods, but.....its not there...where is it?
A Twig
This will have to be re-made..people are saying way to many bugs about this..and it makes you have to leave the game if you suicide in the bot. If it works in vehicles this May Be Abused..That and i don't say noobs abuse, they do but admins have the control of the Ban Hammer..This for the most part is nice and is worth downloading---4/5
Soundwaver7
When a bot dies It crashes
Ryan4022
You can shoot, Like weapons and stuff!! EPICNESS
Senior blah
skill. I cant wait for v3
SilverIronMan
I LOVE THIS EVENT!!!
Although I have run into some problems...
Whats wrong with this
"On Relay" "Self" "Vce_ifValue" "<var:pl:currentitem>" == "Hammer" "(Whatever event thing)"
"OnVarTrue" "Player" "AddVelocity" "5"
or
"On Relay" "Self" "Vce_ifValue" "<var:pl:printcount>" == "1" "(Whatever event thing)"
"OnVarTrue" "Player&
joekirk
Spawn bot. Control bot with this event. ??? crash.
francishateslouis
does it allow you to change vehicle slots?
Blockblast
Joekirk,Unless you exit the vehicle with the events...I cant get onvehicletouch...Make sure nobody deletes,Respawns,or changes the vehicle...I've had 3 "Crash Clones" of friends...You dont need to quit...Make a minigame to fix it....
Blockblast
DITTO FOR YOU TWIG!
Blockblast
I agree with you Wierdo,if a force mod was made,I could make a nice Star Wars Galaxies server....
SWAT Four
This will be great for controlling turrets on top of cruisers from remote stations inside!
Zloff
I made like 8 clones of myself using this events' glitch; I found a way around the crashing part :3
Evilmatt555
Plz fix because this is plain retarded if you die and you crash plz fix this problem (Not downloading!) 1/5
adam savidege
know what this needs, ON VEHICLE TOUCH
Greek2me
Just an FYI for those crashing when the vehicle dies:

Press the ~ key to open console
type this in: findClientByName("Your name here").instantRespawn();
Press enter
Press ~ again to close the console
knightguy12
how soon until v3 im hoping respawn without useing the console thing
knightguy12
hoping to respawn without using console, my bad bad
knightguy12
grr so many typing errors
Xanderian
cloning urself with the glitch is fun :) i just start a minigame to get outa glitch cuz it spawns u
mitterdoo
VCE?
Block_cop
Two stars only because of the crash thing. sorry dl yet
General Amros
ok its cool but it crashes so pls fix and then 5 stars offtopic can someone help me install v4 for rtb i have tried seting it to read only and download manually it wont install
Alxetora
...this crashes every time i use it.

Fix that. Otherwise I can see a major DL plummet.
forrest6
PLEASE PLEASE PLEASE PLEASE FIX FIX FIX FIX
Catman221
It doesn't work? NOOOOOOOOOOO
Catman221
@Alxetora "Otherwise, welm, myukmyukeeeeeaaaaahhh, I can offer you a battle you have no chance of WINNING...rather an anti-climax after what you've survived."
catzoo
It works.. I just going to say the bugs,
when you are controlin the vehicle and someone delet the spawn, You crash..

So it works just fix it where when you delet the spawn it only let you go.. not crash
forrest6
This is too glitchy.
the stitch
#inewb4 avatar
blockbuilder
Personally, I think this should be cr'ced considering how easy it is to crash players and cause serious problems with this mod
batman
vce