pickleplayer Posted September 7, 2015 Share Posted September 7, 2015 Okay, so I have configuration settings in my mod that require me to export the mod environment, which is done with the line;local modenv = require "mymodfoldername.modenv"Where "mymodfoldername" is, well, the name of the top folder that the mod is stored in. And it currently works fine that way. BUT, Aren't folder names changed when uploaded to the steam workshop? People who download it will have their folders named "workshop_382961" with a bunch of random numbers and stuff like that, and it'll be impossible for me to import the folder. Right? How do people get around this? is there another way to import the mod environment? or can I maybe just import specific files, because all I need is the modinfo.lua (I think) Thanks in advance for any help! Link to comment https://forums.kleientertainment.com/forums/topic/57709-exorting-mod-environment-for-workshop-uploads/ Share on other sites More sharing options...
Mobbstar Posted September 7, 2015 Share Posted September 7, 2015 Yes, when downloaded by steam, mod folders get renamed like that. Sadly I am too stumpid unsure what you are trying to do. You shouldn't do anything other than setting variables in modinfo. Maybe take a look at the mod "Feats of the world". Link to comment https://forums.kleientertainment.com/forums/topic/57709-exorting-mod-environment-for-workshop-uploads/#findComment-670420 Share on other sites More sharing options...
pickleplayer Posted September 7, 2015 Author Share Posted September 7, 2015 Yes, when downloaded by steam, mod folders get renamed like that. Sadly I am too stumpid unsure what you are trying to do. You shouldn't do anything other than setting variables in modinfo. Maybe take a look at the mod "Feats of the world". Ah, I took a look through the Feats of the World mod, and it turns out it actually doesn't have to be the folder name at all. I can call it anything I want. Huh, I was told it had to be the folder name.Problem solved, Thanks! dang, I might actually finish this thing today. Link to comment https://forums.kleientertainment.com/forums/topic/57709-exorting-mod-environment-for-workshop-uploads/#findComment-670433 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now