Elementalic
Member
so im new to srb2 modding
when i load in the game the lua that I made even doing any thingDefine “work”.
Are you trying to say that the Lua doesn't work?when i load in the game the lua that I made even doing any thing
Why? You can put it correctly if you try.no not that
I don't know how to put it in correctly
Why? You can put it correctly if you try.
Then send or show your Lua file again.not like that
It is impossible to give you an answer when you are super vague on what do you mean with this.how to make lua files work
.lua
, or you save it inside a .pk3
mod, whereupon the mod should have a folder named Lua
inside for the script to go into..lua
script, or the mod containing the script.How do I do that with a .wadIt is impossible to give you an answer when you are super vague on what do you mean with this.
It helps us a lot if you elaborate what exactly are you doing or what are you attempting to do, how are you getting there, and what do you expect for it to do.
To have a Lua script to work, the which I assume is one you made on your own, first you make sure it is written correctly.
Then you either save it as a file ending with.lua
, or you save it inside a.pk3
mod, whereupon the mod should have a folder namedLua
inside for the script to go into.
Then you load the.lua
script, or the mod containing the script.
If everything goes correctly, the console won't spit warnings and your script will do what it is supposed to do.
Wdym "import everything"? Because if your saying if you should import stuff from your PK3 to the WAD, it's hard to understand what you mean by that.do i import everything
WADs don't use folders, just put the Lua script at the top.How do I do that with a .wad
What do you mean by everything?do i import everything