Difference between revisions of "Talk:AddPerk"

Jump to navigation Jump to search
756 bytes added ,  17:50, 5 May 2009
→‎Codearound: No requirements for save-detector
imported>Cipscis
imported>Cipscis
(→‎Codearound: No requirements for save-detector)
 
Line 39: Line 39:
:::::Thanks, fixed the showmessages! The save-catching method sounds the best so far: a best-practice version of the code would be a great resource, especially after the release of FOSE v2. I guess ideally the code should fail back to just doing it for regular saves if FOSE isn't installed, if that could be detected.
:::::Thanks, fixed the showmessages! The save-catching method sounds the best so far: a best-practice version of the code would be a great resource, especially after the release of FOSE v2. I guess ideally the code should fail back to just doing it for regular saves if FOSE isn't installed, if that could be detected.
::::::Regular saves can only be made in specific types of [[MenuMode]], so detecting them shouldn't be difficult.  I've already created a system that detects regular saves in CASM, so that the quicksave and quickload controls will be enabled after it is uninstalled.  The fact that CASM replaces regular quicksaves has, of course, made it possible for me to detect them as well, but for players not using CASM FOSE v2 will be required.  Pending that release, if I get time I'll implement something like this in CASM and provide instructions as to how to set up a mod to use CASM for uninstallation.<br />-- [[User:Cipscis|Cipscis]] 22:21, 17 April 2009 (UTC)
::::::Regular saves can only be made in specific types of [[MenuMode]], so detecting them shouldn't be difficult.  I've already created a system that detects regular saves in CASM, so that the quicksave and quickload controls will be enabled after it is uninstalled.  The fact that CASM replaces regular quicksaves has, of course, made it possible for me to detect them as well, but for players not using CASM FOSE v2 will be required.  Pending that release, if I get time I'll implement something like this in CASM and provide instructions as to how to set up a mod to use CASM for uninstallation.<br />-- [[User:Cipscis|Cipscis]] 22:21, 17 April 2009 (UTC)
I have made a bit of progress with this idea, having realised that a save-detecting plugin can be made to make perk uninstallation easy without requiring a plugin that uses this method to have any external requirements.  It should be possible so that if FOSE and the save-detecting plugin are present, the perks can be removed from saves, but if either is not present the functionality will simply be disabled.<br />In the next few days I'll probably make a POC (proof of concept) save-detector and a dummy mod that uses it for uninstallation.  Of course, FOSE v2 will still be required for a completely unintrusive save-detector, as currently I can't create one without changing the quicksave key.<br />-- [[User:Cipscis|Cipscis]] 22:50, 5 May 2009 (UTC)


==NPC bug==
==NPC bug==
Anonymous user

Navigation menu