Drugs are Hard, Mmmkay...
Author | Topic: Drugs are Hard, Mmmkay... |
---|---|
Warrior
Member # 5086
|
written Wednesday, October 20 2004 18:30
Profile
Homepage
Wow. I have been working on making a script for an item that is a drug (like scribbane herb for example). It is a lot harder to do then I expected. I got the script down, the only problem is I realized that I have to make a state for the drug inside the scenario state, and make a state for the drug timer (how long it's been since the drug was last taken (but only if addicted)) in the Start State. I am almost done, but it's too much to handle in one night, my brain feels like it's going to explode. If anyone has any better suggestions on how to do a drug timer let me know. Also if anyone wants the script when it's done, let me know that too (with E-Mail adress). -------------------- I love stupid people acting smart... Posts: 53 | Registered: Wednesday, October 13 2004 07:00 |
Off With Their Heads
Member # 4045
|
written Wednesday, October 20 2004 20:07
Profile
Homepage
If you think it could be applied generally, you can always post it in the Codex. It seems like it wouldn't be too bad. Have the item use trigger a special that increments an SDF... after a certain value of that SDF, set another SDF... in the scen START_STATE, if the second SDF is set, increment a third SDF that acts as a timer and then do effects based on that timer.... -------------------- Arancaytar: Every time you ask people to compare TM and Kel, you endanger the poor, fluffy kittens. Smoo: Get ready to face the walls! Ephesos: In conclusion, yarr. Kelandon's Pink and Pretty Page!!: the authorized location for all things by me The Archive of all released BoE scenarios ever Posts: 7968 | Registered: Saturday, February 28 2004 08:00 |
Warrior
Member # 3610
|
written Thursday, October 21 2004 13:29
Profile
Alternatively, you could have two SDF's. [Call them (0,0) and (0,1). (0,0) is your timer, while (0,1) is your addiction counter.] When you first take the drug, (0,1) get set to 3. Then (0,0) goes up 1 every step. When (0,0) == 15 (for example), you get warned about a drug craving, and when it reaches 20, (0,1) goes down by one (to 2), (0,0) gets reset to 0, and you get damaged, say, 5 points. If you take the drug, then you gain, say, 3 addiction points on (0,1). When (0,1) finnally gets down to 0, you are no longer addicted. Posts: 129 | Registered: Tuesday, October 28 2003 08:00 |
Warrior
Member # 5086
|
written Thursday, October 21 2004 15:10
Profile
Homepage
YAY!! I got mail, YAY!!! Well, I finished it. Anyone interested in it just let me know, I refuse to put it up on a website though, because then anyone can get. I'd rather distribute it myself, that way people who I don't like have to make their own, or get it from someone else... YAY!! I got mail, YAY!!! EDIT: Oh and Kelandon, that involves way too many SDF's I would rather just set 1 variable for the timer, 1 variable for the drug counter, and 1 variable for whether or not your addicted. [ Thursday, October 21, 2004 15:13: Message edited by: Rabid Pigs Eating A Wolf ] -------------------- I love stupid people acting smart... Posts: 53 | Registered: Wednesday, October 13 2004 07:00 |
Infiltrator
Member # 4256
|
written Thursday, October 21 2004 16:42
Profile
hmmm... Why? The codex is kinda above the petty bickerings that we all have, it is an effort to make all the scenarios made better as a resource. If its not readily available then it hurts the community as a whole. Anyways it is your choice obviously. And I doubt that anyone will post it w/o your permission. -------------------- "Let's just say that if complete and utter chaos was lightning, he'd be the sort to stand on a hilltop in a thunderstorm wearing wet copper armour and shouting 'All gods are false'." Posts: 564 | Registered: Wednesday, April 14 2004 07:00 |
Warrior
Member # 5086
|
written Thursday, October 21 2004 16:46
Profile
Homepage
Eh, I'm really not too worried about it, it will be on my website when I get it finished, along with all my other scripts, but I can always pretend to be an a**hole for now... -------------------- I love stupid people acting smart... Posts: 53 | Registered: Wednesday, October 13 2004 07:00 |
Infiltrator
Member # 4256
|
written Thursday, October 21 2004 17:10
Profile
good 'nuff for me -------------------- "Let's just say that if complete and utter chaos was lightning, he'd be the sort to stand on a hilltop in a thunderstorm wearing wet copper armour and shouting 'All gods are false'." Posts: 564 | Registered: Wednesday, April 14 2004 07:00 |