Dying Light

Dying Light

YOUR DYING LIGHT WORKBENCH
Discover mods that allow you to alter and customize your Dying Light experience. Browse the Workbench to find various game modifications, take up brand-new challenges, and explore custom maps to play
Learn More
 This topic has been pinned, so it's probably important
Rafał Polito Apr 17, 2015 @ 12:03am
FAQ
Where I can find Dying Light Developer Tools?

Library -> Tools -> Dying Light Developer Tools

Where I can find tools to create terrain?

We are working on that.

Why not all assets have previews?

Because assets in editor are from game content, and game content doesn't include previews. We generate previews for only few assets, to reduce Developer Tools size and save your time while downloading them.

You can generate yourself preview double clicking on mesh in meshes section in Objects window. Mesh will be placed on map and after that you can set camera for preview and use button with camera to make preview. Previews are generated per project so it's good to move previews from C:\Program Files (x86)\Steam\steamapps\common\Dying Light\DevTools\workshop\[PROJECT NAME]\meshes to C:\Program Files (x86)\Steam\steamapps\common\Dying Light Dev Tools\DW\Data\Previews. After moving - previews will be visible for all projects.

Good practice - hide all other objects or delete them before making preview if you want previews without background.

Tutorial

How to upload to workshop?

In Developer Tools Window go to Document menu, and use Share.

How do I select an individual object of a group?

You must duplicate .eds file. Go to Objects window (button with crates on toolbar), click RMB on selected group and click Duplicate .eds File. After that you can open and edit using RMB and context menu.

Why zombies are in place and do not move?

Enemies need nav mesh. Open "Save and Build All" window by clicking button with bricks on toolbar. After that make sure that Build flag is selected in NavMesh section. Now use Save button and after using Play buton from toolbar, nav meshh will be build and enemies should react.

Tutorial

Why shadows are so dark?

Because probably you don't have any envprobe on map. Place at least one global envprobe. Go to Assets -> object types, find "Envprobe", place them on map, select this envprobe, open Attributes window by double clicking on envprobe, go to Dyn Lights tab, in section Envprobe parameters check Global envprobe. Envprobe now it's ready to generate. To generate envprobe go to Validate and Build menu on top of editor window, select Generate Envprobes and in new opened window click Generate.

Tutorial

How to spawn some items?

Place Item Spawner from object types in Objects window. Next, open Attributes, select placed item (if it is not selected) and in Fields tab in ID combo list you can choose what to spawn.

How to make portal to other map?

Place Map Portal from object types in Objects window, open Attributes window, select placed Map Portal (if it is deselected), choose target map in m_Map field, enter SpawnPoint name from other map in m_SpawnPoint field.

Default all maps have SpawnPoint with name MapStart. You can also place your own from object types just like Map Portal.

How to add some water?

You can find Water in Assets window in object types section, at very bottom of list.

How can I set the loot and skills already unlocked in my character?

Copy the default_player_setup.scr from the example map data into one of new maps data. Open this file with and text editor.

To change player levels, change values for:

LevelFighter(24);
LevelRunner(24);
LevelStatus(6);

To add items, place Item Spawner on the map and go to Attributes window. In the ID list you can copy name of the weapons and stuff and paste it to script. For example:

Item("Special_Hook", 1); which is grappling hook
CraftedItem("White", "Melee_Expcalibur", ""); which is EXPcalibur

With any item like grappling hook or firecrackers, etc, you can change the number from 1 to any other number to have more quantity of it in your inventory.

If you want certain skills to be unlocked at the start while others are locked, just delete in file the skills you don't want to and change the level to lower than 25-24.

Why enemies are flickering?

Because you placed them too much. Reduce the amount of normal spawners. To spawn a lot of biters use Crowd spawners.

I have few maps in project, how to decide which is default

Edit campaign_custom_workshop.scr file in project and define wich map is the first map to auto play after launching project from Player. Frist map on top, it's the default map.

Where I can find project files
Local or installed projects:
C:\Program Files (x86)\Steam\steamapps\common\Dying Light\DevTools\workshop\[PROJECT_NAME]\data

Subscribed items:
C:\Program Files (x86)\Steam\steamapps\workshop\content\239140

How to make waves?

Place Spawner from object types in Assets window, select placed Spanwer, open Attributes window by doube clicking on Spawner (or click button on toolbar) and change Class from AISpawnBoxNumber to AISpawnBoxWaves.

To change object class click on button with dots on top of Attributes window. In the middle of Fields tab you can find m_NumberOfWaves and set how many waves you want from this spawner.

More about waves you can read in this topic.

How to edit .eds groups?
If you want to open groups from our example collections, first open Objects window press right mouse button on group and choose Duplicate .eds file.

Next, right click on your Parent Group in Objects window, select "Open Parent Groups".

Ho to shift time in game?
By pressing SHIFT + . and SHIFT + ,

How to frezze time in game?
Use in quest script file phases:

,enable_time_freeze _

and

,disable_time_freeze _

How to change shortcuts?

You can change shortcuts in menu Tools -> Shorcuts. Rember, the less you change, the more we can help you because we don't now your own shortcuts.

How to place interactive loot crrates?

Use Container from object types in Assets window.

How to rename (migrate to other) map?

You can not rename map. You must move your objects from current to other. To do that:

1. Select all items on your current map
2. Create group using CTRL + G
3. Open Objects window
4. Click RMB on created group and choose Edit Pivot
5. Go to Attributes window to Matrix tab and click Reset
6. Go back to Objects window, click RMB on yout group and choose Save And Close
7. Now create new map and paste your group from Assets window from data section
8. After placing group on map go to Attributes window, again to Matrix tab and click Reset
9. Your new map should look like the old one

Infinite map loading

Probably map is not builded. To do that, open your map in editor and use Build or Play button on toolbar.

Why I cannot select water and horizon?

Becasue you have active filters for selecting water and horizon. Press funnel icon on toolbar and toggle gray arrow to black for Water and Horizon.

Can I toggle camera to TPP?

Yes by using Scroll Lock on keyboard.

Why my quets is invisible in quest log in game?

Probably have missed objectives in you phases in quest or you placed quest files in wrong folder. Quest files should be in data/quests/[MAP_NAME]

I have few maps in project, but i can always play only the first one in player

Edit campaign_custom_workshop.scr to set order. The first map in this file is the default map to play using player.

How to create custom weapon and items?
Look at scripts in [PROJECT_NAME]\data\scripts\inventory folder. You can add new items and change params. Currently you cannot import custom meshes, but we are working on it.

How to import FBX?
In Assets window use RMB on one of the folder in data tree, and choose Import Assets.
Last edited by Rafał Polito; Jun 26, 2015 @ 2:32am
< >
Showing 1-15 of 127 comments
Morbegus Apr 17, 2015 @ 1:31am 
Sériously, very good FAQ ! Answer most part of the question to make a mini dying light game !
As beginner, i found it's very well explain ! thx
Rafał Polito Apr 17, 2015 @ 1:47am 
Thank you!
Morbegus Apr 17, 2015 @ 2:56am 
no probleme !
Planning a FAQ about movie editor ?
Steves161 Apr 17, 2015 @ 2:57am 
With the loot and skills, there are also the other 2 skill types to change level. LevelStatus is the survivor rank only but not the agility or combat skill tree.

With any item like grappling hook or firecrackers, etc, you can change the number from 1 to any other number to have more quantity of it in your inventory.
Rafał Polito Apr 17, 2015 @ 3:02am 
About movie editor - we'll see what we can do.

Originally posted by TheLazyCoder:
With the loot and skills, there are also the other 2 skill types to change level. LevelStatus is the survivor rank only but not the agility or combat skill tree.

With any item like grappling hook or firecrackers, etc, you can change the number from 1 to any other number to have more quantity of it in your inventory.

FAQ updated.
Last edited by Rafał Polito; Apr 17, 2015 @ 3:03am
Morbegus Apr 17, 2015 @ 3:23am 
Originally posted by Rafał Polito:
About movie editor - we'll see what we can do.

^^
Vengeance 5 Apr 17, 2015 @ 5:49am 
How do I turn off the auto snap objects? so I can just move them freely on the terrain grid.

Also how can I make it completely dark on one place and normal light at other places?
Last edited by Vengeance; Apr 17, 2015 @ 5:52am
Rafał Polito Apr 17, 2015 @ 5:58am 
Originally posted by Vengeance:
How do I turn off the auto snap objects? so I can just move them freely on the terrain grid.

As we said in tutorials - use 4 keyboard button to toggle object move snap.

Originally posted by Vengeance:
Also how can I make it completely dark on one place and normal light at other places?

We are preparing tutorial about lights. What exactly you want to achieve?
Vengeance 5 Apr 17, 2015 @ 6:07am 
Originally posted by Rafał Polito:
We are preparing tutorial about lights. What exactly you want to achieve?

I'm working on a tunnel, I want it to be really dark in there but outside it before you enter it shouldn't be dark.

clethby 2 Apr 17, 2015 @ 7:10am 
hello, i placed an npc and changed him to a trader but its like hes not "activated" he just stands there, is this something still in development? thx
Rafał Polito Apr 17, 2015 @ 7:49am 
Originally posted by Vengeance:
Originally posted by Rafał Polito:
We are preparing tutorial about lights. What exactly you want to achieve?

I'm working on a tunnel, I want it to be really dark in there but outside it before you enter it shouldn't be dark.

Add Envprobe to the tunnel. Place one global envprobe on map like I describe in FAQ, and place second in tunel. Resize Envprobe in tunnel to size of whole tunel.
Last edited by Rafał Polito; Apr 17, 2015 @ 7:54am
tomas.laracuente Apr 17, 2015 @ 3:28pm 
Hi Rafal Polito, I'm trying to make enemies respawn, How can i do that?
woots Apr 17, 2015 @ 6:53pm 
thanks for the FAQ, good to know you are working on the terrain editor ! cant wait !
I hope we are also going to be able to choice the map size, to at least be able to have the same size as the DL one :) ( or why not bigger :p )

-Also, when i open.. for exemple the inventory.scr file. At the bottom its written
"//This script is generated from Inventory.xlsm. Don't modify it!!!"
How can we put hand on thoses "xlsm" work on them to generate correct modded files ? :)

-Is there plan to have tutorial - plugin to import custom asset / weapons / animations. etc ?

Thanks again for your FAQ, Your work, and your support to the modding community ( pretty rare nowday, i can only applaud that :) )!
Last edited by woots; Apr 17, 2015 @ 6:56pm
Morbegus Apr 17, 2015 @ 9:26pm 
Originally posted by woots:

Thanks again for your FAQ, Your work, and your support to the modding community ( pretty rare nowday, i can only applaud that :) )!


Indeed !

clethby 2 Apr 18, 2015 @ 3:25am 
hello again, when i click on default_player_setup.scr it says it is not a valid win32 application, im running windows 64 though so im very confused right now lol, thx
< >
Showing 1-15 of 127 comments
Per page: 15 30 50