Content · 4
Hundreds of AI ships now passively sail the ocean, persist in the world when the player is absent, and path-find to destinations.
ai shipPlayers can add their own ships to the AI system by following an external guide video.
custom ships added to ai systemThe AI ships feature, previously on the experimental branch, is now in the main version of the game.
ai ships feature moved from experimental to main versionA new "AI Type" property was added to seats, letting players set the AI type used by NPCs on that seat; currently only ship piloting exists.
seat ai type property
System · 20
A new server.setCharacterData API function sets character HP, interactability and AI status.
setcharacterdata apiA new server.getVehicleSimulating API function returns whether the vehicle is simulating.
getvehiclesimulating apiA new server.setVehicleTransponder API function sets whether the transponder is active.
setvehicletransponder apiA new server.getCharacterData API function returns character HP, incapacitation, death, interactability and AI status.
getcharacterdata apiA new server.setAIState(object_id, AI_STATE) API function sets an object's AI state.
setaistate apiOnly NPCs whose AI has been activated via scripts can use seats with AI.
npc seat ai activation via scriptNew Lua functions allow enabling and disabling NPC AI capability and setting an AI action such as piloting to a destination.
lua ai state control functionA new server.getVehicleFireCount API function returns the vehicle's fire count.
getvehiclefirecount apiA new server.setAITarget(object_id, matrix_destination) API function sets an AI destination.
setaitarget apiA new server.setVehicleKeypad(vehicle_id, keypad_name) API function was added.
setvehiclekeypad apiManual saving now runs on a background thread like autosaves, and exiting during saving is not recommended.
manual saving background threadA new server.pathfindOcean(start_matrix, end_matrix) API returns a list of world positions.
pathfindocean apiA new server.getVehicleBattery API function returns a battery's value and success flag.
getvehiclebattery apiA new server.getVehicleDial API function returns a dial value and success flag.
getvehicledial apiA new server.setVehicleBattery API function sets a battery's amount.
setvehiclebattery apiA new server.getVehicleButton API function returns button state and success flag.
getvehiclebutton apiA new server.setVehicleEditable API function sets whether a vehicle is editable.
setvehicleeditable apiA new server.getVehicleTooltip API function was added.
getvehicletooltip apiA new server.setVehicleTank API function sets a tank's amount and fluid type.
setvehicletank apiA new server.getVehicleTank API function returns a tank's value and success flag.
getvehicletank api
Fix · 5
An onVehicleDespawn callback was added for explosions.
onvehicledespawn callback for explosionEditor selection hitboxes for Large Rotors now update correctly.
large rotors editor selection hitboxRiver boats are no longer treated as land vehicles for towing missions.
river boats treated as land vehicles for towing missionEditor selection hitboxes for doors now update correctly.
door editor selection hitboxNPC characters taking damage has been fixed.
npc characters taking damage
Also in this patch1
The developers hope to add AI helicopters and planes in the future.
ai helicopters and plane


