Search found 32 matches
- Sat Dec 14, 2024 12:47 am
- Forum: Modding help
- Topic: Is there a way to read personalized settings during the Prototype stage?
- Replies: 11
- Views: 898
Re: Is there a way to read personalized settings during the Prototype stage?
Well, as disappointing as that is, I thank you all for the responses. This has at the very least, been a learning experience.
- Fri Dec 13, 2024 10:18 pm
- Forum: Modding help
- Topic: Is there a way to read personalized settings during the Prototype stage?
- Replies: 11
- Views: 898
Re: Is there a way to read personalized settings during the Prototype stage?
I take it there's no good way to read something from the script-output folder without a simlink then? Because the goal is to minimize the digging/editing of files that the user has to do.
Because, I'm thinking of doing something along the lines of:
1. Create a user setting
2. Check this event: 'on ...
Because, I'm thinking of doing something along the lines of:
1. Create a user setting
2. Check this event: 'on ...
- Fri Dec 13, 2024 4:29 am
- Forum: Modding help
- Topic: Is there a way to read personalized settings during the Prototype stage?
- Replies: 11
- Views: 898
Re: Is there a way to read personalized settings during the Prototype stage?
This is useful information. However, I was hoping for some sort of external persistence. ie, still be able to save something from the game into an external settings/config file and read it on game start or something.
- Fri Dec 13, 2024 3:26 am
- Forum: Modding help
- Topic: String Replacement in data-updates.lua
- Replies: 4
- Views: 536
Re: String Replacement in data-updates.lua
Yup. That was it. Thank you!
- Fri Dec 13, 2024 12:53 am
- Forum: Modding help
- Topic: String Replacement in data-updates.lua
- Replies: 4
- Views: 536
Re: String Replacement in data-updates.lua
Well, good news-bad news situation now.
Good news: Adding the optional dependency on space-age allows me to find space-age entities in data.raw.
Bad news: Still cannot seem to do a substring replace on the filename for the space-age entity sprites.
For reference, I'm doing:
space_dir = "__space ...
Good news: Adding the optional dependency on space-age allows me to find space-age entities in data.raw.
Bad news: Still cannot seem to do a substring replace on the filename for the space-age entity sprites.
For reference, I'm doing:
space_dir = "__space ...
- Thu Dec 12, 2024 8:52 pm
- Forum: Modding help
- Topic: String Replacement in data-updates.lua
- Replies: 4
- Views: 536
String Replacement in data-updates.lua
I'm currently working on a mod where I need to replace sprite sheets for some of the existing entities. For vanilla entities, I was able to just grab the file names from data.raw and use filename:gsub(old_loc, new_loc) to change the base location for the sprite sheets. This is not working for the ...
- Thu Dec 12, 2024 8:46 pm
- Forum: Modding help
- Topic: Is there a way to read personalized settings during the Prototype stage?
- Replies: 11
- Views: 898
Re: Is there a way to read personalized settings during the Prototype stage?
What's the proper way to do that then? Or is there some sort of guide for how to do that you can link me to? As far as I can tell, the Lua io library is not included here, so using that seems out of the question. But, yeah, if you could point me toward how to properly do that, I'd appreciate it.
- Tue Dec 10, 2024 3:08 am
- Forum: Not a bug
- Topic: [2.0.23] Achievements not being awarded for joined players in Multiplayer game
- Replies: 3
- Views: 511
Re: [2.0.23] Achievements not being awarded for joined players in Multiplayer game
Each participant would play drastically less than the host. As the host, I would play for most of the day, mostly just cleaning things up and getting random productivity research done. But this had been happening for quite some time by the time they stopped getting achievements.
- Tue Dec 10, 2024 12:40 am
- Forum: Not a bug
- Topic: [2.0.23] Achievements not being awarded for joined players in Multiplayer game
- Replies: 3
- Views: 511
[2.0.23] Achievements not being awarded for joined players in Multiplayer game
While hosting a multiplayer game, I (the host) received achievements, however, none of my friends earned any. I'm not sure exactly when this started taking effect, because they were earning achievements earlier on in the save.
Expected: All players earn achievements for completing appropriate tasks ...
Expected: All players earn achievements for completing appropriate tasks ...
- Mon Dec 09, 2024 5:51 pm
- Forum: Modding help
- Topic: Is there a way to read personalized settings during the Prototype stage?
- Replies: 11
- Views: 898
Re: Is there a way to read personalized settings during the Prototype stage?
Yeah. I was afraid that was going to be the case. I was really hoping to avoid the file swap. I know some older mods used to have their own settings files, but I don't think that's supported any more either.
- Mon Dec 09, 2024 5:49 pm
- Forum: Modding help
- Topic: How to hide quality icon on hidden entities
- Replies: 4
- Views: 563
Re: How to hide quality icon on hidden entities
I could, but I'd like to actually support quality as well as that of whatever quality other mods may add in. Otherwise I'd just hardcode the hidden entities for each quality.
- Mon Dec 09, 2024 4:46 pm
- Forum: Modding help
- Topic: Is there a way to read personalized settings during the Prototype stage?
- Replies: 11
- Views: 898
Is there a way to read personalized settings during the Prototype stage?
Hello,
I'm currently working on a anti-phobia mod and it needs to replace sprites with ones less triggering in order to work. However, people who don't have that phobia don't necessarily need the swapped out sprites and so I wanted to have a setting to try to keep them vanilla if possible. Is there ...
I'm currently working on a anti-phobia mod and it needs to replace sprites with ones less triggering in order to work. However, people who don't have that phobia don't necessarily need the swapped out sprites and so I wanted to have a setting to try to keep them vanilla if possible. Is there ...
- Mon Dec 09, 2024 4:40 pm
- Forum: Modding help
- Topic: How to hide quality icon on hidden entities
- Replies: 4
- Views: 563
How to hide quality icon on hidden entities
Hello!
In a mod I'm working on I've got hidden entities that facilitate some logic, but the player should not really know that they are there. They're supposed to be hidden after all. Is there a way to specifically hide the quality icon on such an entity? And if so, what is the proper way of doing ...
In a mod I'm working on I've got hidden entities that facilitate some logic, but the player should not really know that they are there. They're supposed to be hidden after all. Is there a way to specifically hide the quality icon on such an entity? And if so, what is the proper way of doing ...
- Sat Dec 07, 2024 1:00 am
- Forum: Modding discussion
- Topic: How to hide quality icon on hidden entities
- Replies: 0
- Views: 361
How to hide quality icon on hidden entities
Hello!
In a mod I'm working on I've got hidden entities that facilitate some logic, but the player should not really know that they are there. They're supposed to be hidden after all. Is there a way to specifically hide the quality icon on such an entity? And if so, what is the proper way of doing ...
In a mod I'm working on I've got hidden entities that facilitate some logic, but the player should not really know that they are there. They're supposed to be hidden after all. Is there a way to specifically hide the quality icon on such an entity? And if so, what is the proper way of doing ...
- Sat Dec 07, 2024 12:55 am
- Forum: Modding help
- Topic: What is the proper way to get a list of all qualities?
- Replies: 4
- Views: 569
Re: What is the proper way to get a list of all qualities?
Awesome! That was exactly what I needed.
- Fri Dec 06, 2024 6:47 pm
- Forum: Modding help
- Topic: What is the proper way to get a list of all qualities?
- Replies: 4
- Views: 569
Re: What is the proper way to get a list of all qualities?
It seems I've forgotten a few things in my question. Mostly that data.raw cannot be accessed in the control stage. So, I need a way to obtain a list of all of the qualities that is accessible in the control stage. Not for modification purposes, but so I can create an appropriate reference list for ...
- Thu Dec 05, 2024 6:25 pm
- Forum: Modding help
- Topic: What is the proper way to get a list of all qualities?
- Replies: 4
- Views: 569
What is the proper way to get a list of all qualities?
I'm currently working on a mod where I need to get a list of all of the qualities in the game. This should account for all the qualities added in the qualities mod/expansion and/or any that are from some random mod.
I looked into using data.raw["quality"][?] but I'm not really sure what would even ...
I looked into using data.raw["quality"][?] but I'm not really sure what would even ...
- Sat Jun 22, 2024 12:15 am
- Forum: News
- Topic: Friday Facts #416 - Fluids 2.0
- Replies: 464
- Views: 140269
Re: Friday Facts #416 - Fluids 2.0
Honestly, I find this change to be a vast improvement. I mean, the old system didn't work every time anyway. Random pipe placement would change how flow worked. So, I find it to be a nice update.
- Tue May 21, 2024 5:25 am
- Forum: Duplicates
- Topic: Crash upon game exit.
- Replies: 1
- Views: 495
Crash upon game exit.
Upon exiting the game from the main menu, the game crashed.
- Wed Mar 06, 2024 1:22 am
- Forum: Modding help
- Topic: Space Exploration Ship Launch Event
- Replies: 1
- Views: 552
Re: Space Exploration Ship Launch Event
For anyone wondering the solution to this exact issue:
on_player_changed_surface is the event that you need to look for.
on_player_changed_surface is the event that you need to look for.