Ask a simple question, get a simple answer
Re: Ask a simple question, get a simple answer
What OS are you running? (Windows is not case sensitive, but Lua is). Make certain ~before anything else, that file path you give is absolutely accurate [and with correct letter case for each character]. The game is complaining that it cannot find the file specified by the name and/or path.
Re: Ask a simple question, get a simple answer
also that the file's permissions are correct
Grimrock 1 dungeon
Grimrock 2 resources
I no longer answer scripting questions in private messages. Please ask in a forum topic or this Discord server.
Grimrock 2 resources
I no longer answer scripting questions in private messages. Please ask in a forum topic or this Discord server.
Re: Ask a simple question, get a simple answer
like if its read only?minmay wrote:also that the file's permissions are correct
Because I still have that windows 10 thing going on.
Re: Ask a simple question, get a simple answer
doesn't need to be read only, just needs to be readable by the user you're running grimrock as
Grimrock 1 dungeon
Grimrock 2 resources
I no longer answer scripting questions in private messages. Please ask in a forum topic or this Discord server.
Grimrock 2 resources
I no longer answer scripting questions in private messages. Please ask in a forum topic or this Discord server.
Re: Ask a simple question, get a simple answer
it is as far as I know, user is Admin for everythingminmay wrote:doesn't need to be read only, just needs to be readable by the user you're running grimrock as
- Dr.Disaster
- Posts: 2876
- Joined: Wed Aug 15, 2012 11:48 am
Re: Re:file not found mod_assest_models...
Yes it is a custom model for I made. I put it in the mod_assets/models folder.
It is a .MODEL file everything seems to check out.
this is not the only thing I have had trouble with. It also will not import sounds.
I have a mono sound for an earth quake that played fine last week and now cannot even be seen by the editor let alone be imported to the game upon its exportation.
Re: Re:file not found mod_assest_models...
Well there's your problem. If it's called ceiling_cover_grate.MODEL instead of ceiling_cover_grate.model, then of course the editor won't find ceiling_cover_grate.model, because it doesn't exist.LunasC wrote:Yes it is a custom model for I made. I put it in the mod_assets/models folder.
It is a .MODEL file everything seems to check out.
Grimrock 1 dungeon
Grimrock 2 resources
I no longer answer scripting questions in private messages. Please ask in a forum topic or this Discord server.
Grimrock 2 resources
I no longer answer scripting questions in private messages. Please ask in a forum topic or this Discord server.
Re: Ask a simple question, get a simple answer
Update/correction: It seems that one can add the same connector multiple times; and thus require multiple removals. This is why the removeConnector() didn't work as I had expected.
_____________
_____________
SpoilerShow
Is removeConnector bugged when used to remove an onDrawGui connector? (Because it does not seem to actually do it.)
party.party:addConnector("onDrawGui", self.go.id, "hookedFunction") works just fine, but
party.party:removeConnector("onDrawGui", self.go.id, "hookedFunction") does not stop it from being continually called.
Is there another step to this, or a better way to remove the connector? So far the only way that seems to work is to make the hooked function nil, and that's problematic if you want to use it again. A workaround for this is a boolean condition in the function to do work or not, but it still gets called either way.
party.party:addConnector("onDrawGui", self.go.id, "hookedFunction") works just fine, but
party.party:removeConnector("onDrawGui", self.go.id, "hookedFunction") does not stop it from being continually called.
Is there another step to this, or a better way to remove the connector? So far the only way that seems to work is to make the hooked function nil, and that's problematic if you want to use it again. A workaround for this is a boolean condition in the function to do work or not, but it still gets called either way.
Last edited by Isaac on Wed Dec 16, 2015 4:13 am, edited 1 time in total.