Version 2 Build Beta 1 (0.4.0)
- added camera app controls like zoom, target, rotate
- snapshots can be deleted in game. (the actual files will only be deleted at the next program start, because it has to check if they are in use by any mission)
- app titles (like the name of a messenger chat) scale down to prevent overflow
New Features:
- new snapshot object to take a snapshot by script
- new gallery object to select snapshots
- can add snapshots to a messenger chat
- can customize the icon for a messenger chat
- functions to change the player appearance (like what you do at the closet)
- function to change futanari status
- new string functions
Other Changes:
- changed the name of the "Screenshots" folder (in BepInEx\plugins\SFM_custom_mission_v2) to "Snapshots", because they aren't really images of the screen when you can take them from every position. Move your old images to the new folder if you need them.
I haven't done much in the later half of the last month and the camera and chat functions were pretty work intensive for a niche feature.
The "SetPlayerData" function to change the players appearance uses the games internal names, because it is much easier/shorter to program for me that way. I've added a list of all the value names to the documentation. For the other things like actions/items and skills as well (didn't do the cosplay names yet though). I just copied the complete lists from the game, so there are some values in there that shouldn't be uses and you have to test it yourself to find out which is which. Better make a backup before you experiment with "SetPlayerData", so you can change it back quickly.
I've also made slight performance improvements to the _state variable. Because it contained the long list of missions it got pretty slow. Although it is shared by all scripts, building it anew each frame took like 5ms on my PC. I've changed it to only update the missions when they change and brought that down to under 2ms. Have to look into what is best practice for dictionaries in C# or maybe I'll have to create a specialized class that doesn't use a dictionary internally but can be accessed like now.
For the new messenger features I've also included an example.
I'll also add the version 2 to the first post and elevate it to beta status, because there are quite a lot of projects for it already.
Next on my list is:
- improving the mission settings menu to allow localized names and customizable settings for your missions
- add a config so you can change the smartphone colors and titles
I'll also still have to look into NPC stuff.
I've tried removing the collider and doors in your home, because someone said that there is a bath behind it, which did work. So I can probably also add things in. All that might help in creating new levels in the future, but making routes for NPCs and such is the biggest concern right now and without NPCs creating new levels is useless.
PS: I'm still using the 1.1.1 version of the game. If there are any problems that occur because of the newer 1.1.3 version let me know.
- added camera app controls like zoom, target, rotate
- snapshots can be deleted in game. (the actual files will only be deleted at the next program start, because it has to check if they are in use by any mission)
- app titles (like the name of a messenger chat) scale down to prevent overflow
New Features:
- new snapshot object to take a snapshot by script
- new gallery object to select snapshots
- can add snapshots to a messenger chat
- can customize the icon for a messenger chat
- functions to change the player appearance (like what you do at the closet)
- function to change futanari status
- new string functions
Other Changes:
- changed the name of the "Screenshots" folder (in BepInEx\plugins\SFM_custom_mission_v2) to "Snapshots", because they aren't really images of the screen when you can take them from every position. Move your old images to the new folder if you need them.
I haven't done much in the later half of the last month and the camera and chat functions were pretty work intensive for a niche feature.
The "SetPlayerData" function to change the players appearance uses the games internal names, because it is much easier/shorter to program for me that way. I've added a list of all the value names to the documentation. For the other things like actions/items and skills as well (didn't do the cosplay names yet though). I just copied the complete lists from the game, so there are some values in there that shouldn't be uses and you have to test it yourself to find out which is which. Better make a backup before you experiment with "SetPlayerData", so you can change it back quickly.
I've also made slight performance improvements to the _state variable. Because it contained the long list of missions it got pretty slow. Although it is shared by all scripts, building it anew each frame took like 5ms on my PC. I've changed it to only update the missions when they change and brought that down to under 2ms. Have to look into what is best practice for dictionaries in C# or maybe I'll have to create a specialized class that doesn't use a dictionary internally but can be accessed like now.
For the new messenger features I've also included an example.
I'll also add the version 2 to the first post and elevate it to beta status, because there are quite a lot of projects for it already.
Next on my list is:
- improving the mission settings menu to allow localized names and customizable settings for your missions
- add a config so you can change the smartphone colors and titles
I'll also still have to look into NPC stuff.
I've tried removing the collider and doors in your home, because someone said that there is a bath behind it, which did work. So I can probably also add things in. All that might help in creating new levels in the future, but making routes for NPCs and such is the biggest concern right now and without NPCs creating new levels is useless.
PS: I'm still using the 1.1.1 version of the game. If there are any problems that occur because of the newer 1.1.3 version let me know.