Custom Entities Background

Read tips and guides about teeworlds-related subjects (mapping, compiling, ..).
Post Reply
Chairn
Posts: 400
Joined: Sat Apr 11, 2015 5:05 pm
Player profile: http://ddnet.tw/players/Chairn/
Clan: QuintessenZ

Custom Entities Background

Post by Chairn »

Custom Entities Background
written by Index and Chairn

In the ddnet client versions 9.0.2+ you’re able to set a custom background for entities. It was a frequently requested feature and we would like to show you how to use it.

First of all you have to enable entities.

Code: Select all

cl_overlay_entities 100
Now there are two new commands avaiable to use.
The first one indicates the map you wish as a background (eg Kobra.map).
Note: The mapfile has to be in the maps folder.

The second one indicates if you want to render tile layers from the map.
Background maps are rendered until game layer, excluding this group.

Code: Select all

cl_background_entities NAME.map
cl_background_show_tiles_layers 0 1
Maybe you wanna play a map in entities using the map you are playing 's background. For this purpose, just write the following line. It will use the current played map background.

Code: Select all

cl_background_entities %current%
Of course you can make a special background map for your own use, just like a skin. The map doesnt have to be playable. But for safety, leave game layer at the end. Oh, and you can change all these settings in the ddnet settings menu as well. But there is a 10sec protection to avoid spamming loading each time you type a key in mapname. So you won’t see the changes immediately.
Naufrage 3 with custom background (tiles enabled)
Naufrage 3 with custom background (tiles enabled)
screenshot_2015-10-30_20-25-33.png (916.19 KiB) Viewed 3823 times
Naufrage 3 with Kobra background (tiles enabled)
Naufrage 3 with Kobra background (tiles enabled)
screenshot_2015-10-30_20-25-12.png (204.22 KiB) Viewed 3823 times
Naufrage 3 with Kobra background (tiles disabled)
Naufrage 3 with Kobra background (tiles disabled)
screenshot_2015-10-30_20-25-02.png (124.29 KiB) Viewed 3823 times
Last edited by Chairn on Fri Sep 11, 2015 2:14 pm, edited 1 time in total.
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests