Garry's Mod

Garry's Mod

Nombat - Ambient/Combat Music
sound/nombat_ext_gamename.lua highlighted in red
When i try creating a custom addon so that i can start making a custom nombat. when i try to make it, the file sound/nombat_ext_gamename.lua is highlighted in red meaning it is invalid, but i didnt do anything to the file. What should i do to fix this?
< >
Zobrazeno 15 z 5 komentářů
You do need to modify the .lua in text document or some other notepad program, instructions on what to change and how are in the .lua file itself.
thanks, ill see if it works
I changed what needed to be changed, but it is still highlighted and red and says the file is invalid.
l3lackout původně napsal:
I changed what needed to be changed, but it is still highlighted and red and says the file is invalid.
Just move /template_addon/lua for now
<SLAUGH7ER>  [vývojář] 2. bře. 2016 v 17.20 
If the RED you are talking about is inside the workshoper.exe program then read below if not please explain the location of the highlighted RED your referring to?

The RED indicates a problem or blacklisted item you are trying to upload to the steam workshop
you said "sound/nombat_ext_gamename.lua" a .lua file is a script and does not belong in the "sound" folder this will cause the RED error you are getting.

move the .lua file to the .lua folder where script files should be placed to fix this problem
< >
Zobrazeno 15 z 5 komentářů
Na stránku: 1530 50