Editor (EM4)

Information: The EMERGENCY community board is completely free and is financed by advertisement. Please deactivate adblocker if you use this site. Thank you!
  • You can create and edit modifications with the EMERGENCY 4 Editor.

    1 The editor

    After the start the editor shows the viewport and two menus - one in the upper part of the screen and one in the lower part. In the lower left corner you can find the daytime of the virtual environment in the editor.
    If you change the time, the light atmosphere of the game also changes. In the lower right corner you can find the compass, which shows the direction of the camera. d Game, Tools, Map, Edit, Scripts, Modifications and ?.

    The lower menu shows the options Hide/Show, Delete, Copy, Paste, Properties, Lights, Reset Angles, Undo and Redo. You can even change the settings Map/Cam bounds, Snap Angles, Auto Save andLoop Particles.

    1.1 Game

    1.1.1 Quit

    With this option you can close the editor. If changes were made to the map, the editor will ask you to save the work before quitting.

    1.1.2 Video setup

    Here you can change the video setup of the editor.

    1.2 Tools

    1.2.1 Show Console

    1.2.2 Show Dialog Editor

    1.2.3 Show Particle Editor

    1.3 Map

    Map are the different levels. Objects can be placed on them in order to create the missions and the freeplay mode.

    1.3.1 New Map

    With this option you can create new maps. The editor creates a new floor grid and you can load a texture on it. The next step is to place objects on it.

    1.3.2 Load Map

    With this option you can load an existing map in order to work on it again or change something.

    1.3.3 Save Map

    With 'Save Map' you can save a map in order to edit it later.

    1.4 Edit

    With the option Edit you'll have several opportunities to change the map. Here you'll find the options for terrain modelling, placing objects on the map and other cool stuff.

    1.4.1 Undo, Redo, Show undo history

    The option Undo recalls the last change. The option Redo executes your last change again. The function Show undo history lists all executed steps in order to jump to a certain point in the undo history.

    1.4.2 Copy & Paste

    With the function Copy you can copy objects into your cache. The function Paste pastes the copied objects onto the map.

    1.4.3 Scene

    With the option Scene you can choose all objects in the editor sorted by Objects, Vehicles, Persons and Houses.

    1.4.4 Terrain

    Here you can find more about the topic: Terrain editing (EM4).

    1.4.5 Triggers

    Here you can find more about the topic: Trigger (EM4).

    1.4.6 Waiting Points

    Here you can find more about the topic: Waiting point (EM4).

    1.4.7 Liquids

    Here you can find more about the topic: Liquids (EM4).

    ==== Detail Polygons ====
    Here you can find more about the topic: Detal Polygons (EM4).

    ==== Virtual Objects ====
    Here you can find more about the topic: Virtual Objects (EM4).

    1.4.8 Ambient Polygons

    With Ambient Polygons you can set sound effects for certain areas.

    1.4.9 Burning Objects

    With Burning Objects you can place addtional fire objects on the map.

    1.4.10 Bridge Install Points

    Here you can find more about the topic: Bridge Install Points (EM4).

    1.4.11 Paths und Streets

    Here you can find more about the topic: Path and streets (EM4).

    1.4.12 Decals (EM4)

    Here you can find more about the topic: Decals (EM4).

    1.4.13 Stopping Points

    Here you can find more about the topic: Stopping Points (EM4).

    1.4.14 Spawn Points

    Here you can find more about the topic: Spawn Points (EM4).

    1.4.15 Map Properties

    Here you can find more about the topic: Map Properties (EM4).

    1.4.16 Edit Animation Set


    1.4.17 Mission Conditions

    With the option Edit -> Mission conditions you can change the success and fail conditions of missions.

    Name (script / editor)Description
    PersonsAll Persons
    Squad VehiclesSquad Vehicles
    Burning HousesBurning Houses
    Burnt HousesBurnt Houses
    Burning ObjectsBurning Objects
    Burnt ObjectsBurnt Objects
    Burnt VehiclesBurnt Vehicles
    Injured CivilsInjured Civils
    Injured SquadsInjured Squads
    Injured GangstersInjured Gangsters
    Injured PersonsInjured Persons
    Dead CivilsDead Civils
    Dead SquadsDead Squads
    Dead GangstersDead Gangsters
    Dead AnimalsDead Animals
    Deads PersonsDeads Persons
    Contaminated CivilsContaminated Civils
    Contaminated SquadsContaminated Squads
    Contaminated AnimalsContaminated Animals
    Contaminated GangstersContaminated Gangsters
    Contaminated PersonsContaminated Persons
    Squad deathsSquad deaths
    Civil deathsCivil deaths
    Animal deathsAnimal deaths
    Gangsters deathsGangsters deaths
    Person deathsPerson deaths
    Squad injuriesSquad injuries
    Civil injuriesCivil injuries
    Animal injuriesAnimal injuries
    Gangsters injuriesGangsters injuries
    Person injuriesPerson injuries

    1.4.18 Materials

    With the option Edit -> Materials you can change the material settings of each material / objects. If a object should be able to burn, you'll have to add a material to it.

    You can change the following parameter:

    • Name: Name of the material
    • Combustion: Value for the combustion level of the object. If you increase the value, the object will combust later.
    • BurnTime: Average burn time in seconds. The burn time can vary, whether the object was shooted with water or not.
    • MaxTemp: The highest temperature the object can reach.
    • ChargeTime: Time in seconds until a burning object reaches it's maximum temperature.
    • Cooling: Objects with a cooling value highter than zero, cool down if they get no more external burning energy.
      Example: A building is place beneath a bush. The bush is burning, but the energy is to low in order to get the building burning - the combustion value is too low. But the bush transfers energy to the building. If the bush doesn't burn any more, the building doesn't get any energy. The building cools down, if the material was editied and the cooling value was highter than zero.
      A object with the cooling value of zero, doen'st cool down automatically. It 'saves' the energy.
    • Resistance: Energy resistence. If you have a object with a resistence value of 100 and a burning object with a energy value of 90, the burning object doens't have any effects on the other object, because it's resistence is too high.
    • BlastForce: Blast force. If the value is higher than zero, the object creates a force on explosion events. Usual values are 30 for normal objects and 10000 for bomb explosions.
    • BlastRadius: Blast radius. If the value is highter than zero, the object has a explosion radius (in map units). The value decreases exponentially with the distance of the center. The value should be between 250 for small explosions and 2500 for big explosions.
    • Explode: If this checkbox is active, the object can explode. The object explodes if the combustion value is reached. If the checkbox is deactivated, the object just starts to burn at the combustion value.

    1.4.19 Messages


    1.4.20 Center Camera

    With the option Center Camera you can center the camera to the middle of the editor map.

    1.4.21 Show Navigator



    1.4.22 Show Heighmap

    With the option Show Heighmap you can show a grayscale-view of the map. You can edit the terain levels with this option. Dark parts are holes and light parks are hills on the map.

    1.4.23 Reset Traits


    1.4.24 Object Overview

    With the Object Overview you'll get an overview with all objects on the current map. The list shows objects, persons, vehicles, buildings and open houses. You also can check the memory usage of models and textures.

    EMERGENCY 4 only can process about 15.000 - 16.000 objects on the map. If you are above the limits, performance issues can occure and the game can crash.

    1.5 Scripts

    1.5.1 Terrain


    1.5.2 Tools


    1.6 Modifications

    With this function you can load installed modifications into the editor and edit them. You also can create new modifications. The editor automatically creates the folder structure in the directory EMERGENCY 4/Mods/....