Garry's Mod

Garry's Mod

View Stats:
roboticred Aug 4, 2015 @ 4:41am
Converting .txt files to .lua files in Windows 10
when i try to change me .txt documents in windows 10 they only change the name not the type of document. any advice?
< >
Showing 1-6 of 6 comments
Potisman146 Mar 13, 2017 @ 2:48am 
hm ineresting
Mailer Mar 13, 2017 @ 3:22am 
Here's how you do it:

Open notepad and make a project, you don't need to type out anything.

Once you have it, save it as... And this is really important, name it whatever you want but make sure that the name ends with ".lua", otherwise it won't convert upon saving. You also need to make sure that you are saving it as "All files " and not just as a .txt which is default. All of this is done in the window that appears once you choose to save.
Last edited by Mailer; Mar 13, 2017 @ 3:23am
Mailer Mar 13, 2017 @ 3:24am 
Edit: The name needs to end with .lua , My mistake
roboticred Mar 13, 2017 @ 9:37am 
I completely forgot i made this discussion but thanks for commenting
Legendmir Nov 30, 2018 @ 2:58am 
Originally posted by Mailer:
Here's how you do it:

Open notepad and make a project, you don't need to type out anything.

Once you have it, save it as... And this is really important, name it whatever you want but make sure that the name ends with ".lua", otherwise it won't convert upon saving. You also need to make sure that you are saving it as "All files " and not just as a .txt which is default. All of this is done in the window that appears once you choose to save.

thank you for helping people out. i had the same issue for a unity game i was working on. helped allot thanks.
zombieDragon709 Aug 19, 2023 @ 11:25am 
i can finnaly mod factorio thabnks
< >
Showing 1-6 of 6 comments
Per page: 1530 50

Date Posted: Aug 4, 2015 @ 4:41am
Posts: 6