GettingStarted/FAQ

From NeoAxisWiki

Jump to: navigation, search

NOTE: Early Draft

Contents

General

To do...

Resource Editor

- Why can't I edit the resource item in resource list?

You have to double click a resource item to enter edit mode.(Or right click then select "edit"). Please note that not all resource type support edit mode.

- How to customize the 2 grey bars on top of cutscene?

Open Resource Editor, select Data\Gui\ActionHUD.gui, and edit the 2 Controls.

Map Editor

Lighting

- How can I turn off ambient light?

In the map editor, check "Map" on the hierarchy panel and set the "AmbientLight" property to "0 0 0".

Coding

Camera

- How can I change behaviour of the camera?

You can create/change any type and behaviour of the camera. It can be made in game windows. (ActionGameWindow.cs, RTSGameWindow.cs), overrided methods of GameWindow.OnGetCameraTransform()

Particle System

- How can I create a free (without using MapObjectAttachedParticle) particle system?

You can use following method:
     Map.Instance.CreateFreeParticleSystem()

Materials

- How can I access the properties of a ShaderBaseMaterial from code?

Use following code:
    ShaderBaseMaterial material = (ShaderBaseMaterial)HighLevelMaterialManager.Instance.GetMaterialByName(materialName);
Personal tools