Using Plot Scripts
Moderator: Admin
- origen
- Dark Sidhe Lord
- Posts: 903
- Joined: Thu Feb 10, 2005 5:54 pm
- Location: Secret League of Nirulat Headquarters
- Contact:
Using Plot Scripts
I created a Wineskin, which can be used to get a drink while in a dungeon, refreshing Bard Points. Well, it is supposed to refresh the Bard Points, but the current game engine does not work for that command yet.
Anyway, I set the item up to use Plot 52, with 10 charges. I then set my script as 052_wineskin.py
If I just place the script in a location in town, it works fine. But, if I use the item, nothing happens.
Did I miss something?
Anyway, I set the item up to use Plot 52, with 10 charges. I then set my script as 052_wineskin.py
If I just place the script in a location in town, it works fine. But, if I use the item, nothing happens.
Did I miss something?
I reject your reality, and substitute my own.
- Rickstavern
- Black Claw
- Posts: 109
- Joined: Tue Feb 22, 2005 11:34 am
- Contact:
Cool idea, O-man!
That one wino addition compels me to try a Bard for a charge..I mean, a change.
But ye must be kicking yerself all over town about now.. ..
That one wino addition compels me to try a Bard for a charge..I mean, a change.
But ye must be kicking yerself all over town about now.. ..
No Contraries : No Progression.
Opposition is true friendship, unless one is opposed to true friendship or (try) Resisting here http://www.cafepress.com/notheresistor
Opposition is true friendship, unless one is opposed to true friendship or (try) Resisting here http://www.cafepress.com/notheresistor
- origen
- Dark Sidhe Lord
- Posts: 903
- Joined: Thu Feb 10, 2005 5:54 pm
- Location: Secret League of Nirulat Headquarters
- Contact:
Wow, that was pretty careless on my part. Once I read your post, I remembered about the item scripts.
Well, that should make the wineskins work now, as well as the Harmonic Gems. Although, it may be diffiuult to find a Harmonic Gem in a BT1 mod.
Difficult, but not impossible.
Well, that should make the wineskins work now, as well as the Harmonic Gems. Although, it may be diffiuult to find a Harmonic Gem in a BT1 mod.
Difficult, but not impossible.
I reject your reality, and substitute my own.
- origen
- Dark Sidhe Lord
- Posts: 903
- Joined: Thu Feb 10, 2005 5:54 pm
- Location: Secret League of Nirulat Headquarters
- Contact:
Okay. By using the correct script name, I am able to use the wineskin. Of course, whenever you take a drink from it, it does not decrease the number of uses, despite being set up with only 10 uses.
These seem to be "Magic Wineskins", because no matter how much you drink, you never run out.
I thought about setting up flags, but that would only allow you to use any wineskin a certain number of times, since the flag would be in the script, and the item will use the same script for every instance of that item.
Any thoughts?
These seem to be "Magic Wineskins", because no matter how much you drink, you never run out.
I thought about setting up flags, but that would only allow you to use any wineskin a certain number of times, since the flag would be in the script, and the item will use the same script for every instance of that item.
Any thoughts?
I reject your reality, and substitute my own.
Go with 'Magic' Wineskins?
btw, the Fire Horn sounds (rim-shot) cool (rim-shot duo)
Any other enticing tidbits?
btw, the Fire Horn sounds (rim-shot) cool (rim-shot duo)
Any other enticing tidbits?
No Contraries : No Progression.
Opposition is true friendship, unless one is opposed to true friendship or (try) Resisting here http://www.cafepress.com/notheresistor
Opposition is true friendship, unless one is opposed to true friendship or (try) Resisting here http://www.cafepress.com/notheresistor
Magic whine
If you give us magic wineskins, I think (well, I pretend to think) that it might be good if they showed up after encountering some action. I dunno--maybe killing some really heavy-duty monster, but before goin' even deeper into deep doo-doo?
If they're too common, heck--that's one of the things that can weaken a game. It's like the Elder Scrolls games, where after a while everyone can have a first-class magical [fill in the blank], rather than what seems to be rare magical items being, well, rare.
But then what do I know? (No, don't answer.)
If they're too common, heck--that's one of the things that can weaken a game. It's like the Elder Scrolls games, where after a while everyone can have a first-class magical [fill in the blank], rather than what seems to be rare magical items being, well, rare.
But then what do I know? (No, don't answer.)
Nuwa wadar-ma ekkatani. Nuwa sinda-on ezzatani.
- ShadoKnight
- Nomad
- Posts: 28
- Joined: Mon Mar 21, 2005 2:05 pm
Thinking about it... there probably isn't a way to do charges in a scripted item as the engine stands (there's nothing directly applicable, and I can't off-hand figure a creative method that would work well). It shouldn't be hard, however, for the developers to add accessor methods to twiddle the 'charge' count that the item maintains (so you can first check if any charges remain, then if they do, do your thing and reduce the count).
SK
SK