mnm2317 Posted September 25, 2012 Share Posted September 25, 2012 Working on my first mod, so thought I'd do something simple. I'm getting pretty familiar with using the console commands for stuff I need (adding items and keeping myself alive), but every time I exit/load I have to turn toggles back on (what a hassle, right? ;)). So I thought this would be perfect for my first mod. The bones of it are: I want to put the console command of "TIM" (Toggle IMmortal) onto a ring. This way, with that ring equipped, I don't have to worry about bringing up the console for anything. I'm simply duplicating a vanilla ring, and just modifying the information so the 'script' is the only thing I need help with. I realize what I'm doing isn't THAT big of a deal or important, but it's my first mod and it will, hopefully, allow to build up for a much larger mod, that's directly related, in the future. Thanks in advance for the help! Link to comment Share on other sites More sharing options...
steve40 Posted September 27, 2012 Share Posted September 27, 2012 (edited) Well it might be a much bigger deal that you think, as many console commands cannot be set using mods. TIM is one of them afaik. Edited September 27, 2012 by steve40 Link to comment Share on other sites More sharing options...
mnm2317 Posted September 27, 2012 Author Share Posted September 27, 2012 ahh, I was afraid of that (as I seemed to find that in my searching). Ok, what about doing some 'if' statements? Like "if HP is > 10% then kneel & begin regen of HP without taking damage"? is that too much to ask? lol I have a feeling that would be a pretty long script, but I'd really like to find the elements to do it! Link to comment Share on other sites More sharing options...
IsharaMeradin Posted September 27, 2012 Share Posted September 27, 2012 I don't think you can script immortality via papyrus. There is a command in papyrus to SetEssential but whether it works on the player or not, the wiki doesn't say. If you've got specific console commands that you always enter, you might want to consider looking into batch files. Never used them myself but in essence it's a series of console commands that rather than always typing out you can just call the batch file on one line in the console. it would be slightly quicker... Link to comment Share on other sites More sharing options...
mnm2317 Posted September 28, 2012 Author Share Posted September 28, 2012 a BAT file isn't a bad idea, but getting something like that 'if' statement I mentioned before is really the beginning of a bigger mod, so I'd to get some syntax help. Even a link to some good code could work for me. Link to comment Share on other sites More sharing options...
IsharaMeradin Posted September 28, 2012 Share Posted September 28, 2012 You could start here with the papyrus section of the Creation Kit wikihttp://www.creationkit.com/Category:Papyrus Link to comment Share on other sites More sharing options...
mnm2317 Posted September 29, 2012 Author Share Posted September 29, 2012 ahh yes, thanks for that link. I'll get to work! Link to comment Share on other sites More sharing options...
Recommended Posts