ThomasCovenant Posted December 29, 2007 Share Posted December 29, 2007 Look I'm don't want to make things bad for Skycaptain...I found a piece of his(?) script for the spell "combustive convulsion."Because I was looking for it. Admin/Moderators: if I'm not supposed to write someone else's script here, can you hide it and answer my question? I found the area in the script that causes the spell to disappear after one successful use. player.removespell skycatainenemiesexplodeset skycaptainsflipconditions.dayspassed to gamedayspassedset skycaptainsflipconditions.hhour to gamehourset skycaptainsflipconditions.init to 1 in the above sections of the script what should be typed in the script to change it from 1 successful use in 24gamehours to continuous use orspell comes back in seconds rather that a full gameday? or if it just trashes the script can the console command player.addspell be used to bring it the spell back? Link to comment Share on other sites More sharing options...
Vagrant0 Posted December 29, 2007 Share Posted December 29, 2007 Look I'm don't want to make things bad for Skycaptain...I found a piece of his(?) script for the spell "combustive convulsion."Because I was looking for it. Admin/Moderators: if I'm not supposed to write someone else's script here, can you hide it and answer my question? I found the area in the script that causes the spell to disappear after one successful use. player.removespell skycatainenemiesexplodeset skycaptainsflipconditions.dayspassed to gamedayspassedset skycaptainsflipconditions.hhour to gamehourset skycaptainsflipconditions.init to 1 in the above sections of the script what should be typed in the script to change it from 1 successful use in 24gamehours to continuous use orspell comes back in seconds rather that a full gameday? or if it just trashes the script can the console command player.addspell be used to bring it the spell back?You probably shouldn't be editing peoples scripts without their permission if you plan to upload it to anyone. As for making it so that the script doesn't remove the spell after usage, it'd probably be easier to just comment out the part where the spell is removed and the variables set. Although since I don't know how any of this is being affected by the rest of the script, that may create some problems. Re-adding the spell through console would work, but the spell would be removed again after usage and any timers related to the spell would be reset. Another option would be if you just tagged in "player.addspell skycaptainenemiesexplode" after "set skycaptainsflipconditions.init to 1" so that once used, the spell is removed, the timers are set, then the spell is added. Which isn't as good as commenting out those lines, but will save you from having to use console all the time. However without knowing more of the script, and how all those variables are being used, you may still have problems no matter what. I would imagine that he would have some specific reason for limiting it through those means rather than just setting it as a major power. This could be as simple as just making it so that merchants will sell it, or it could be due to something within the spell scripting, or what the spell does which could be very bad if it is used too often. By limiting it to 1 time a day, the damage that spell may do to your game can be lessened. This is usually true with spells that create activators or entities that cannot be removed after they are used as those things don't ever go away and can increase your save game data, or cause memory problems. Link to comment Share on other sites More sharing options...
ThomasCovenant Posted December 29, 2007 Author Share Posted December 29, 2007 Look I'm don't want to make things bad for Skycaptain...I found a piece of his(?) script for the spell "combustive convulsion."Because I was looking for it. Admin/Moderators: if I'm not supposed to write someone else's script here, can you hide it and answer my question? I found the area in the script that causes the spell to disappear after one successful use. player.removespell skycatainenemiesexplodeset skycaptainsflipconditions.dayspassed to gamedayspassedset skycaptainsflipconditions.hhour to gamehourset skycaptainsflipconditions.init to 1 in the above sections of the script what should be typed in the script to change it from 1 successful use in 24gamehours to continuous use orspell comes back in seconds rather that a full gameday? or if it just trashes the script can the console command player.addspell be used to bring it the spell back?You probably shouldn't be editing peoples scripts without their permission if you plan to upload it to anyone. As for making it so that the script doesn't remove the spell after usage, it'd probably be easier to just comment out the part where the spell is removed and the variables set. Although since I don't know how any of this is being affected by the rest of the script, that may create some problems. Re-adding the spell through console would work, but the spell would be removed again after usage and any timers related to the spell would be reset. Another option would be if you just tagged in "player.addspell skycaptainenemiesexplode" after "set skycaptainsflipconditions.init to 1" so that once used, the spell is removed, the timers are set, then the spell is added. Which isn't as good as commenting out those lines, but will save you from having to use console all the time. However without knowing more of the script, and how all those variables are being used, you may still have problems no matter what. I would imagine that he would have some specific reason for limiting it through those means rather than just setting it as a major power. This could be as simple as just making it so that merchants will sell it, or it could be due to something within the spell scripting, or what the spell does which could be very bad if it is used too often. By limiting it to 1 time a day, the damage that spell may do to your game can be lessened. This is usually true with spells that create activators or entities that cannot be removed after they are used as those things don't ever go away and can increase your save game data, or cause memory problems.I have no intention of uploading the script changed or not.This was just something for me and not really to share at all, but thanks for the info. TC Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.