Teleglitch: Die More Edition

Teleglitch: Die More Edition

Not enough ratings
Unlocking the editor + full level selector
By ^6amorbts
There's a very handy guide on this site for using the editor. Unfortunately, patch 9 has rendered the unlocking part of it obsolete. Let's fix that!
   
Award
Favorite
Favorited
Unfavorite
Adding the editor
You're gonna need a text editor for this one. Head over to the "...\Steam\steamapps\common\TeleglitchDME\lua" folder and click on the "menu.lua" file.
Once opened, scroll down to
--GENERAL OPTIONS
Copy the following line after the scanlines one, as shown in the picture:

table.insert(optionlist,generaloptionspage:AddOptionElement(200,127,"Enable Editor Mode","editorenabled"))



Copying and pasting from here is ok. Now, scroll down to the bottom of the file, and add this:

--Editor -------------------------------------------------------------------------------- if settings.editorenabled then local playpathtest =mainmenu:AddButton(122,194,"Level Editor","",function() level.Clear() PlaceModule(0,0,0,"pathfinderi_test_tyhi") CreateMonsters(30,0) local pl=CreatePlayer(0,0) menu.SetState("game") end) end

Like so
(forget about those battery items)

Save your file, and you're done! Launch the game, enable the editor from Options -> General then relaunch the game (exit and re-open). If you did everything correctly, you should see a new button on the main menu that reads "Level Editor". Easy as pie!

Thanks to the developers for this great game, the modders for helping keep things fresh, and you for being here. Now let's enjoy this fine game together.
Adding the level selector
I've also added a level selector. This will allow you to play every level in the game.
You should add this at the bottom of menu.lua as well.
--------------------------------------------------------------------------------- if settings.editorenabled then local leveltester =mainmenu:AddButton(150,220,"Level Tester","",function() menu.SetPage("leveltester") end) end local leveltestselect=menu.AddPage("leveltester","mainmenu") leveltestselect:AddBackground("gfx/menubg.bmp") leveltestselect:AddButton(43,74,"Level 1","Outdoor training ground",function() level.StartFrom("level1",0) menu.SetState("game",true) end) leveltestselect:AddButton(43,97,"Level 2","Military biology sector",function() level.StartFrom("level2",0) menu.SetState("game",true) end) leveltestselect:AddButton(43,120,"Level 2b","Abandoned plankton farm",function() level.StartFrom("level2b",0) menu.SetState("game",true) end) leveltestselect:AddButton(43,143,"Level 3","Facility support systems",function() level.StartFrom("level3",0) menu.SetState("game",true) end) leveltestselect:AddButton(43,166,"Level 3b","Robotic hardware assembly",function() level.StartFrom("level3b",0) menu.SetState("game",true) end) leveltestselect:AddButton(133,74,"Level 4","Necrotic tissue research",function() level.StartFrom("level4",0) menu.SetState("game",true) end) leveltestselect:AddButton(133,97,"Level 4b","Unstable product reconfiguration",function() level.StartFrom("level4b",0) menu.SetState("game",true) end) leveltestselect:AddButton(133,120,"Level 5","Necrotic tissue engineering",function() level.StartFrom("level5",0) menu.SetState("game",true) end) leveltestselect:AddButton(133,143,"Level 6","Advanced combatants testing",function() level.StartFrom("level6",0) menu.SetState("game",true) end) leveltestselect:AddButton(133,166,"Level 6b","Damage statistics department",function() level.StartFrom("level6b",0) menu.SetState("game",true) end) leveltestselect:AddButton(223,74,"Level 7","Robotic hardware research",function() level.StartFrom("level7",0) menu.SetState("game",true) end) leveltestselect:AddButton(223,97,"Level 8","Military software sector",function() level.StartFrom("level8",0) menu.SetState("game",true) end) leveltestselect:AddButton(223,120,"Level 8b","Central reactor cooling",function() level.StartFrom("level8b",0) menu.SetState("game",true) end) leveltestselect:AddButton(223,143,"Level 9","Advanced weapons research",function() level.StartFrom("level9",0) menu.SetState("game",true) end) leveltestselect:AddButton(223,166,"Level 10","Teleportation research",function() level.StartFrom("level10",0) menu.SetState("game",true) end)

You're done. Save your changes and launch the game.
27 Comments
Tesseract 15 Sep, 2022 @ 1:21pm 
:cranium:
Minecraftslave 3 Dec, 2020 @ 11:51pm 
Thanks! It worked for me just fine!
Kogi_Kaishakunin 21 Jul, 2020 @ 9:07pm 
Yep.
^6amorbts  [author] 21 Jul, 2020 @ 9:05pm 
Don't let me stop you from trying again. If you ever need help, just ask. And if you ever make a solid window which you can't shoot through, then let me know also.
Kogi_Kaishakunin 21 Jul, 2020 @ 9:04pm 
Uh ok, I don't know what that has to do with the price of tea in China but, whatever.
^6amorbts  [author] 21 Jul, 2020 @ 9:02pm 
No my cat is genuinely outside and the darkness seems to suck light, which most likely means there's also fog. Now my window is open, because there's a better chance I'll hear him this way. Also I am smoking heavily.
"Sorry I wasted everyone's time", I guess ( ͡° ͜ʖ ͡°)
Kogi_Kaishakunin 21 Jul, 2020 @ 9:00pm 
Lyra, that is all right. An, because, I thought it would be cool to mess around with some of the stuff. Some of my other favorite games have editors(Starcraft 2 and Hammerwatch), so I thought I would try and see if I could play around with stuff in this one as well.
Lyra 21 Jul, 2020 @ 8:52pm 
sorry it didn't help, gil. also, @an, what? is the cat thing an analogy or what?
^6amorbts  [author] 21 Jul, 2020 @ 8:49pm 
Why are you interested in the editor? It's very clunky. I've been thinking about messing with it, but last time it creeped up on me, and I got stuck trying to add new images into the tileset.
Kogi_Kaishakunin 21 Jul, 2020 @ 8:47pm 
???