Brought to you by PCGamingWiki

Level editor

From Gunpoint Wiki
Jump to: navigation, search

Video overview of the level editor.

Discussion about level editor is taking place on the forum.

With the current limitations of the level editor (such as limited height/width, inability to place tiles far left, and missing assets), it makes sense to document the process of what the lvl files are made up of.

At present, investigation suggests that the value of the first line is always 1 (if you change it, and load it into the editor, it gets changed back to 1), which means that we're stuck with the level dimensions we've got for now.

After the first line, subsequent lines are grouped into 3:

Entity Id
X-Position
Y-Position

This pattern repeats for every entity, so

1
489
0
960
489
256
960
489
512
960
489
768
960
489
1024
960
489
1280
960
489
1536
960
489
1792
960

gives you the header of 1 followed by a row of 8 ground tiles (reference 489) at (0,960), (256,960), (512,960), (768,960), (1024,960), (1280,960), (1536,960), (1792,960)

The following Entity ID values were discovered by creating a map in the editor containing all entities available in the editor, and crossreferencing the entities against the order that they were added to the map.

Tile/Entity References
Entity ID Description Dimensions (if known) Additional info
6 Normal guard facing right available in editor
30 short wall section
32 elevator available in editor
53 closed door available in editor
54 hand scanner available in editor
55 open door available in editor
56 light switch available in editor
69 light 1 available in editor
70 wall available in editor
71 intermediate floor section
72 objective computer available in editor
76 normal guard facing left available in editor
104 blue circuit mask available in editor
106 red circuit box non functional
107 blue circuit box available in editor
110 green circuit box available in editor
111 yellow circuit box available in editor
112 yellow circuit mask available in editor
113 green circuit mask available in editor
114 right facing camera available in editor
116 alarm available in editor
119 right facing window available in editor
120 right facing window frame available in editor
123 left facing window available in editor
124 left facing window frame available in editor
131 power socket available in editor
132 timed door available in editor
136 normal floor available in editor
150 left facing camera available in editor
166 pro facing right available in editor
167 pro facing left available in editor
169 enforcer facing right available in editor
173 laptop available in editor
211 glass ceiling available in editor
214 door frame available in editor
215 subway entrance available in editor
216 beige back wall small tile available in editor
224 rain
228 rain splashing on the ground
230 waste bin available in editor
232 decor stack of boxes
233 desk 1 available in editor
234 desk 2 available in editor
235 decor computer cubicle right facing
237 boardroom table and chairs
238 server bank available in editor
241 wall fan available in editor
243 beige back wall window available in editor
244 rain
248 couch available in editor
250 tree available in editor
252 beige back wall small tile with buttress available in editor
253 street lamp cannot move in editor
254 beige wall section with caution tape at bottom
257 wide floor available in editor
260 roof air conditioning unit available in editor
261 solar panel available in editor
262 decor roof antenna
266 decor water cooler
267 decor right angle duct work
268 decor security checkpoint/boom gate
269 bookshelf available in editor
270 shrub available in editor
271 decor photo copier
272 filing cabinet available in editor
273 decor medium plant
274 decor artwork
277 roof conduit available in editor
281 glass ceiling frame available in editor
282 narrow floor available in editor
283 pink circuit box available in editor
284 pink circuit mask available in editor
290 enforcer facing left available in editor
294 motion detector available in editor
356 patrol marker available in editor
363 blue back wall available in editor
372 blue back wall with window available in editor
374 light 2 available in editor
412 trap door available in editor
489 ground available in editor
490 brick back wall available in editor
493 big square back wall available in editor
495 brick back wall with duct available in editor
497 brick back wall with window available in editor
513 battery available in editor
606 player start point available in editor
608 elevator doors available in editor
610 stairs available in editor
612 crosslink available in editor
613 wirejack available in editor
614 gun available in editor
615 indoor zone available in editor
616 dark indoor zone available in editor
617 wide indoor zone available in editor
618 dark wide indoor zone available in editor
620 beige back wall long tile available in editor
Tile/Entity References by Category
Player Related
Entity ID Description Dimensions (if known) Additional Info
72 objective computer available in editor
173 laptop available in editor
215 subway entrance available in editor
513 battery available in editor
606 player start point available in editor
612 crosslink available in editor
613 wirejack available in editor
614 gun available in editor
Enemy Unit Related
Entity ID Description Dimensions (if known) Additional Info
6 Normal guard facing right available in editor
76 normal guard facing left available in editor
166 pro facing right available in editor
167 pro facing left available in editor
169 enforcer facing right available in editor
290 enforcer facing left available in editor
356 patrol marker available in editor
615 indoor zone available in editor
616 dark indoor zone available in editor
617 wide indoor zone available in editor
618 dark wide indoor zone available in editor
Floors/Walls
Entity ID Description Dimensions (if known) Additional Info
30 short wall section
70 wall available in editor
71 intermediate floor section
136 normal floor available in editor
257 wide floor available in editor
282 narrow floor available in editor
489 ground available in editor
Glass surfaces/Doors/Elevators/Stairs
Entity ID Description Dimensions (if known) Additional Info
32 elevator available in editor
53 closed door available in editor
55 open door available in editor
119 right facing window available in editor
120 right facing window frame available in editor
123 left facing window available in editor
124 left facing window frame available in editor
132 timed door available in editor
211 glass ceiling available in editor
214 door frame available in editor
281 glass ceiling frame available in editor
412 trap door available in editor
608 elevator doors available in editor
610 stairs available in editor
Electronics
Entity ID Description Dimensions (if known) Additional Info
54 hand scanner available in editor
56 light switch available in editor
69 light 1 available in editor
104 blue circuit mask available in editor
106 red circuit box dysfunctional
107 blue circuit box available in editor
110 green circuit box available in editor
111 yellow circuit box available in editor
112 yellow circuit mask available in editor
113 green circuit mask available in editor
114 right facing camera available in editor
116 alarm available in editor
131 power socket available in editor
150 left facing camera available in editor
283 pink circuit box available in editor
284 pink circuit mask available in editor
294 motion detector available in editor
374 light 2 available in editor
483 sound detector
Indoor Decor
Entity ID Description Dimensions (if known) Additional Info
230 waste bin available in editor
232 decor stack of boxes
233 desk 1 available in editor
234 desk 2 available in editor
235 decor computer cubicle right facing
237 boardroom table and chairs
238 server bank available in editor
241 wall fan available in editor
248 couch available in editor
250 tree available in editor
266 decor water cooler
267 decor right angle duct work
268 decor security checkpoint/boom gate
269 bookshelf available in editor
270 shrub available in editor
271 decor photo copier
272 filing cabinet available in editor
273 decor medium plant
274 decor artwork
Outdoor Decor
Entity ID Description Dimensions (if known) Additional Info
253 street lamp cannot move in editor
260 roof air conditioning unit available in editor
261 solar panel available in editor
262 decor roof antenna
277 roof conduit available in editor
Backwalls
Entity ID Description Dimensions (if known) Additional Info
216 beige back wall small tile available in editor
243 beige back wall window available in editor
252 beige back wall small tile with buttress available in editor
254 beige wall section with caution tape at bottom
363 blue back wall available in editor
372 blue back wall with window available in editor
490 brick back wall available in editor
493 big square back wall available in editor
495 brick back wall with duct available in editor
497 brick back wall with window available in editor
620 beige back wall long tile available in editor
Ambiance/Weather
Entity ID Description Dimensions (if known) Additional Info
224 rain
228 rain splashing on the ground
244 rain

This list is not exhaustive, as invalid values cause the editor to crash.

622 is a nice easter egg - it's the initial animation of Conway testing his bullfrog trousers :))

If Mr. Francis could provide us with a complete list of entity ids and their dimensions (if relevant) it would be terribly helpful :)