• Guides
  • Getting Started
  • Project Setting
  • Game Rules

Game Rules

During the development of a complex project, many seemingly easy functions may require a lot of code to implement. The CliCli Editor has embedded many commonly-used classic designs in Game Rules for direct usage and modification. If your creative plan involves the relationship between damage and armor or how compound attributes affect specific attributes of a role (for example, the strength value of a game role also affects its melee damage and upper limit of life), click Details - Game Rules in the CliCli Editor menu bar to develop your project easily and efficiently.

General

You can perform basic settings for elements in a project in General.

You can set the Item Collision Range.

[Term] Item Collision Range: invisible distance between items.

P14

You can perform some interesting settings for objects under attack. For example, you can adjust the flash effect of a unit under attack through options such as Duration when Attacked and Color when Attacked.

P15

You can set which unit will change color after being attacked.

P16

You can set whether the picked-up items enter the Inventory or Bag Slot.

P17

Camera Control

You can adjust the camera's Movement Speed (Mouse/Keyboard) in the project you are developing. If you are a veteran player of FPS games, you surely understand the importance of the camera’s movement speed.

P18

ATK/DEF

The CliCli Editor provides a preset attack/defense system for combat games. You can define the ATK/DEF in a project and decide whether to enable the Attack Type or Defense Type. When enabled, Puncture, Slash, Light Armor, and Heavy Armor interact with each other. For example, the puncture damage has only 0.8 times the effect on the light armor defender while 1.2 times the effect on heavy armor in default data. You can modify the values freely.

P19

You can also click “+” to add a new Attack Type or Defense Type.

P20

Damage Formulae

The CliCli Editor provides preset damage formulae in the attack/defense system. You can click the pen button to modify the specific value of Damage Formulae or click the reset button to restore the default value.

P21

Compound Attributes

Click common_checkbox_slc_v2 to enable Compound Attributes. You can set and add compound attributes. You can also set additional rewards of Main Attribute.

[Term] Main Attribute: The attribute with the highest initial score of a role is its main attribute. For example, by default, the main attributes of soldiers, hunters, and mages are Strength, Agility, and Intelligence respectively. A role will receive additional rewards when its main attribute increases.

⚠️

Note: After the compound attribute of a unit is enabled, you can set the initial score of the compound attribute in Object Editor - Units - Unit Attributes **to determine the main attribute of the unit.

P22

EXP

You can set the content related to Experience(EXP) as follows.

  • Share EXP: If you select this option, a game role can gain experience within the whole map of the project.

  • EXP Range: the radius of the circle where a game role can gain experience points.

  • Max Level: the highest level of a game role.

  • Formula: the experience points required for each leveling-up. Click f(x) to set the experience points through a complex formula.

  • EXP List: the EXP Required indicates the experience points required for upgrading to the current level from the previous level.

P23

Archive Slot

RPGs need to save data such as the player's equipment and level, and RTS games need to save data such as level. In the CliCli Editor, click “+” in the Archive Slot tab to set parameters, so as to create the archive structure of a project. You can also upload archived data to the cloud server of the CliCli Platform by writing a trigger and then configure archive in Creator's Dashboard.

p24

Each row of data includes Slot, Type, Name, and Initial Value. You can double-click the editable area of Name and Type to modify them and add value in the Initial Value area.

p25

Game Mode

The CliCli Editor supports setting multiple game modes in a game. You can set the name of the Game Mode here, and write the specific game mode regulation through ECA or LUA. For example, you can add the “Easy Mode” or “Hard Mode” tag for a project in Game Mode and then set how to select a game mode and actual functions in the Trigger.

P26

In-game Hotkeys

Here you can customize hotkeys inside the game you are developing.

Note: If you want to customize hotkeys for project development, you can do it in Hotkeys.

P27

P28

Minimap Settings

You can mark the factions of creatures and heroes with different colors on the minimap.

P29

The colors indicating factions can be customized and stored for quick selection in the future.

P30

Fog of War

The CliCli Editor presets two Fog of War modes, namely Classic Mode and Simple Mode. If these two modes cannot meet your requirement, Custom Mode is for you to set the details of occlusion. The lens distance in the running status can also be modified through Model Rendoer Distance.

  • Classic Mode
    P31

  • Simple Mode
    P32

  • In Custom Mode, click the pen button to set details.
    P33

Event Tracking

In Event Tracking, you can set up to 10 Buried-point Data and record the number of times when the data is triggered, for future operation and maintenance.

P34