Vehicle Control Events
0 KB, 14 years ago, submitted by
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.
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.
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.
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.
5/5
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.
not DLing
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.)
Please. Keybind Please...
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 -_-
They auto failed by CRC :(
setVehicleAsPlayerControl shows up in events for a br
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&
Press the ~ key to open console
type this in: findClientByName("Your name here").instantRespawn();
Press enter
Press ~ again to close the console
Fix that. Otherwise I can see a major DL plummet.
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