Skip to content

Rewards

Rewards are given to the player when they complete an objective or fulfill an infrastucture request. To set up a reward, choose a type of reward in the dropdown menu next to the Reward property:

For objectives, a reward consists of an Action reward and a material reward. For requests, there is only a material reward.

Action Rewards

Action rewards can be given to the player at the start of the objective or when the player completes an objective. To add a new action reward, click + next to the Action Rewards property, select the type of reward and click Apply:

Each type of action reward has its own settings:

Change Player Money

  • Amount Of Money — how much money to add to or remove from the player's balance.
  • Change Money State — defines whether to add money to the players balance or remove them.

Spawn Truck

  • Unlock Truck — if selected, the truck will spawn already unlocked.
  • Owner Objective — the objective that requires the player to use this truck (for example, Reach Location). Trucks are typically rewarded to the players so they could use them in other objectives. Using this parameter you can link the truck to any objective (not necessary the next one on the list) so that a corresponding objective marker could be displayed in the game.
  • Use Marker— defines whether to show a marker above the truck or not.
  • Truck Name — the type of the truck to spawn.
  • Truck Tag — truck tag; useful if you plan on using this particular truck in other tasks.
  • Truck Recovery Locked — if enabled, the player will only be able to use the recovery point specified in the Locator property when using this truck. Other recovery will be locked.
  • Cargo — type of cargo the truck is loaded with.
  • Locator — object in the scene that shows where the truck will be spawned, also doubles as a recovery point. Always use an instance of the recovery_locator_private prefab for the locator. If Truck Recovery Locked option is disabled, player will still be able to use any recovery point.

Unlock Bridge

Unlock a number of bridges of a single type for the player to build. 

  • Bridge Name — the type of bridge.
  • Amount To Unlock — the number of bridges of this type that the player could build.

Unlock Truck Input

Unlock the use of some stationary vehicle, for example, a crane.

Unlock Object Logic

Switch the Enable Disable property of an object to true.

Material Rewards

Material rewards can either be an XP and money or resources:

  • Is Resource Reward — defines whether the player gets resource or XP and money. If the option is selected, a new Resource Enum property appears:

    Click next to the property name, select SingleResourceRewardDesc in the dropdown menu and click Apply:

    Choose the type of the resource (only the types that end in _RESOURCE) and the amount:

  • Xp — the number of XP recieved by the player.

  • Additional Reward Type — money/fuel coins.
  • Money/Fuel Coins — an amount of additional reward recieved by the player.