Custom Maps & Logic
  • Custom Map Tutorial
    • Custom Map Introduction
    • Your first map
    • Map Navigation
    • Object Selection
    • Object Positioning
    • Object Attributes
    • Shortcuts and Macros
    • Editor Settings
    • Built-in Components Common Errors
    • Map Performance
    • Custom Assets
      • Your first Asset Bundle
      • Asset Bundles in Map Editor
      • Asset Bundles in Game
      • Adding to Asset Bundles
      • Asset Bundle naming
  • Custom Logic Tutorial
    • Custom Logic Introduction
    • Your first script
    • Variables
    • Types
    • Variable Inspector
    • Expressions
    • Conditionals
    • Loops
    • Functions
    • Coroutines
    • Classes
    • Static Classes
    • Components
    • Extensions
    • Cutscenes
    • Static Objects
    • Networking
    • Commenting
  • Reference
    • Static Classes
      • Game
      • Network
      • Map
      • UI
      • Time
      • Convert
      • String
      • Input
      • Math
      • Random
      • Cutscene
      • Camera
      • RoomData
      • PersistentData
      • Json
      • Physics
    • Objects
      • Component
      • Object
      • Character
      • Human
      • Titan
      • Shifter
      • MapObject
      • Transform
      • Player
      • NetworkView
      • Color
      • Vector3
      • Quaternion
      • Dict
      • List
      • Range
      • LineCastHitResult
      • MapTargetable
      • Random
    • Callbacks
      • Main
      • Components
  • Examples
    • Gamemodes
      • Survive
      • Waves
      • Endless
      • Racing
      • Blade PVP
      • Thunderspear PVP
      • Titan Explode
      • Cranked
      • More Examples
    • Components
      • SupplyStation
      • Daylight
      • PointLight
      • Rigidbody
      • NavMeshObstacle
      • Cannon
      • Dummy
      • Wagon
      • Tag
      • KillRegion
      • DamageRegion
      • MovePingPong
      • RacingCheckpointRegion
      • RacingFinishRegion
      • TeleportRegion
      • Animal
      • SignalMover
      • SignalSender
      • More Examples
Powered by GitBook
On this page
  1. Custom Map Tutorial
  2. Custom Assets

Asset Bundles in Game

Once the asset bundle has been added to the map editor, you can place custom objects throughout the map. However, some steps need to be taken to make sure that other players can load these custom objects.

There are two options for allowing other players to load custom assets: sharing the asset bundle beforehand and instructing them to place it in their Documents/Aottg2/CustomAssets folder, or uploading the asset bundle to a remote file host and adding that link in the map editor.

To have players load the asset bundle locally, you must share the asset bundle file with them and have them move it to Documents/Aottg2/CustomAssets folder. After that they will be able to load the map as usual.

To have players load the asset bundle remotely, you must upload the asset bundle file to a web host, and then paste the URL to that file in the map editor. To do this, navigate to the map editor, and select Options -> Custom Assets to open the custom assets window. Then, paste the URL into the field next to the asset bundle name. Players will now be able to download the asset bundle when joining the room and loading the map for the first time.

Note: The file name must be kept exactly the same as in the CustomAssets folder when uploading it to a web host, with no extensions. The URL must also be a direct download and not have any additional characters after the file name: for example, https://dropbox.com/user/example would be a valid URL as long as opening that will immediately download the file, while https://dropbox.com/user/example?dl=1 would not be. The URL must also directly download the asset bundle file, NOT a .zip or any other extensions.

PreviousAsset Bundles in Map EditorNextAdding to Asset Bundles

Last updated 8 months ago