Profile for spyderbytes
Field | Value |
---|---|
Displayed name | spyderbytes |
Member number | 4180 |
Title | Shock Trooper |
Postcount | 200 |
Homepage | |
Registered | Wednesday, March 31 2004 08:00 |
Recent posts
Pages
Author | Recent posts |
---|---|
Room Decoration in Blades of Avernum Editor | |
Shock Trooper
Member # 4180
|
written Tuesday, July 20 2004 13:12
Profile
If you're desperate enough, I suppose you could make your own custom terrain graphic that combines the wall with whatever it is you need to be there. Not a solution I'd recommend for the faint of heart; still, it ought to work if you just HAVE to have a terrain abutt a wall it couldn't otherwise. -------------------- -spyderbytes Posts: 200 | Registered: Wednesday, March 31 2004 08:00 |
Room Decoration in Blades of Avernum | |
Shock Trooper
Member # 4180
|
written Tuesday, July 20 2004 13:12
Profile
If you're desperate enough, I suppose you could make your own custom terrain graphic that combines the wall with whatever it is you need to be there. Not a solution I'd recommend for the faint of heart; still, it ought to work if you just HAVE to have a terrain abutt a wall it couldn't otherwise. -------------------- -spyderbytes Posts: 200 | Registered: Wednesday, March 31 2004 08:00 |
Rounding Numbers / Damage Dealing in Blades of Avernum Editor | |
Shock Trooper
Member # 4180
|
written Tuesday, July 20 2004 11:44
Profile
Not sure why that would be easier. :) The pseudo-code I came up with once I finally pulled my head out of the dark cavity it was in has the advantage of being able to round up regardless of the divisor (and yes, the original post did mention "like dividing by 2", but bulletproof is always better :) ). Also, seems to me that if all you're trying to determine is what's even and what's odd, it would be easier to just: Guess I just missed the point of multiplying by 10 then dividing by 2 and checking for a 5 remainder modulo 10... but it's pre-coffee time for me again. :D -------------------- -spyderbytes Posts: 200 | Registered: Wednesday, March 31 2004 08:00 |
Rounding Numbers / Damage Dealing in Blades of Avernum | |
Shock Trooper
Member # 4180
|
written Tuesday, July 20 2004 11:44
Profile
Not sure why that would be easier. :) The pseudo-code I came up with once I finally pulled my head out of the dark cavity it was in has the advantage of being able to round up regardless of the divisor (and yes, the original post did mention "like dividing by 2", but bulletproof is always better :) ). Also, seems to me that if all you're trying to determine is what's even and what's odd, it would be easier to just: Guess I just missed the point of multiplying by 10 then dividing by 2 and checking for a 5 remainder modulo 10... but it's pre-coffee time for me again. :D -------------------- -spyderbytes Posts: 200 | Registered: Wednesday, March 31 2004 08:00 |
Rounding Numbers / Damage Dealing in Blades of Avernum Editor | |
Shock Trooper
Member # 4180
|
written Monday, July 19 2004 12:15
Profile
quote:Right. That's why if the remainder (x modulo y returns the remainder from integer division) is more than 5 (which means more than .5), you can just do the integer div and add 1 to "round up". :) EDIT: That's what I get for posting before my "morning" coffee (I keep odd hours :) ). The pseudo-code should be: Obviously, the remainder won't always be greater than '5', but instead half or more of the divisor. :D [ Monday, July 19, 2004 12:28: Message edited by: spyderbytes ] -------------------- -spyderbytes Posts: 200 | Registered: Wednesday, March 31 2004 08:00 |
Rounding Numbers / Damage Dealing in Blades of Avernum | |
Shock Trooper
Member # 4180
|
written Monday, July 19 2004 12:15
Profile
quote:Right. That's why if the remainder (x modulo y returns the remainder from integer division) is more than 5 (which means more than .5), you can just do the integer div and add 1 to "round up". :) EDIT: That's what I get for posting before my "morning" coffee (I keep odd hours :) ). The pseudo-code should be: Obviously, the remainder won't always be greater than '5', but instead half or more of the divisor. :D [ Monday, July 19, 2004 12:28: Message edited by: spyderbytes ] -------------------- -spyderbytes Posts: 200 | Registered: Wednesday, March 31 2004 08:00 |
Rounding Numbers / Damage Dealing in Blades of Avernum Editor | |
Shock Trooper
Member # 4180
|
written Monday, July 19 2004 11:10
Profile
(untested pseudo-code) -------------------- -spyderbytes Posts: 200 | Registered: Wednesday, March 31 2004 08:00 |
Rounding Numbers / Damage Dealing in Blades of Avernum | |
Shock Trooper
Member # 4180
|
written Monday, July 19 2004 11:10
Profile
(untested pseudo-code) -------------------- -spyderbytes Posts: 200 | Registered: Wednesday, March 31 2004 08:00 |
State not ended properley on line 1, yet... in Blades of Avernum Editor | |
Shock Trooper
Member # 4180
|
written Friday, July 9 2004 11:12
Profile
Don't know if this is the problem, but you're getting a NEW random number for each check, and it's probable that none of them would succeed. What you want to do is: -------------------- -spyderbytes Posts: 200 | Registered: Wednesday, March 31 2004 08:00 |
State not ended properley on line 1, yet... in Blades of Avernum | |
Shock Trooper
Member # 4180
|
written Friday, July 9 2004 11:12
Profile
Don't know if this is the problem, but you're getting a NEW random number for each check, and it's probable that none of them would succeed. What you want to do is: -------------------- -spyderbytes Posts: 200 | Registered: Wednesday, March 31 2004 08:00 |
NPCS joining party, not working for me. in Blades of Avernum Editor | |
Shock Trooper
Member # 4180
|
written Tuesday, July 6 2004 19:23
Profile
quote:Then I would suggest replacing the text, when you post here on the boards, with something like "some dialog here". The common assumption on posting code for comments/questions is that it's "fair game" for constructive criticism of any sort. Heck, I LOVE it when someone points out ANY mistake in my code, even if it's just spelling/grammar. That's one less gremlin I need to track down myself. :D -------------------- -spyderbytes Posts: 200 | Registered: Wednesday, March 31 2004 08:00 |
NPCS joining party, not working for me. in Blades of Avernum | |
Shock Trooper
Member # 4180
|
written Tuesday, July 6 2004 19:23
Profile
quote:Then I would suggest replacing the text, when you post here on the boards, with something like "some dialog here". The common assumption on posting code for comments/questions is that it's "fair game" for constructive criticism of any sort. Heck, I LOVE it when someone points out ANY mistake in my code, even if it's just spelling/grammar. That's one less gremlin I need to track down myself. :D -------------------- -spyderbytes Posts: 200 | Registered: Wednesday, March 31 2004 08:00 |
Whats a Procedure error and why is my script have it? in Blades of Avernum Editor | |
Shock Trooper
Member # 4180
|
written Tuesday, July 6 2004 19:15
Profile
char_loc_x() and char_loc_y() both need an argument to know which char's location you're trying to get. -------------------- -spyderbytes Posts: 200 | Registered: Wednesday, March 31 2004 08:00 |
Whats a Procedure error and why is my script have it? in Blades of Avernum | |
Shock Trooper
Member # 4180
|
written Tuesday, July 6 2004 19:15
Profile
char_loc_x() and char_loc_y() both need an argument to know which char's location you're trying to get. -------------------- -spyderbytes Posts: 200 | Registered: Wednesday, March 31 2004 08:00 |
Ideas for security mechanisms. in Blades of Avernum Editor | |
Shock Trooper
Member # 4180
|
written Monday, June 28 2004 13:20
Profile
quote:Actually, that's A Good Thing(TM), IMO. There are players who get very frustrated with hard-to-solve puzzles. Having a builtin way to bypass the frustration (reloading) helps those players. That's one reason riddles tend to be a popular mechanism for sorta-kinda impeding player progress. They're multiple choice, and by process of elimination, you're guaranteed to get it right in a limited number of tries. :) That is, if you're blocking progress to a required area. If it's part of an optional quest, make it a hard puzzle and let the people who don't care to puzzle it out just miss out on the fun. :) Standard disclaimer: That's all just my own opinion, of course... -------------------- -spyderbytes Posts: 200 | Registered: Wednesday, March 31 2004 08:00 |
Ideas for security mechanisms. in Blades of Avernum | |
Shock Trooper
Member # 4180
|
written Monday, June 28 2004 13:20
Profile
quote:Actually, that's A Good Thing(TM), IMO. There are players who get very frustrated with hard-to-solve puzzles. Having a builtin way to bypass the frustration (reloading) helps those players. That's one reason riddles tend to be a popular mechanism for sorta-kinda impeding player progress. They're multiple choice, and by process of elimination, you're guaranteed to get it right in a limited number of tries. :) That is, if you're blocking progress to a required area. If it's part of an optional quest, make it a hard puzzle and let the people who don't care to puzzle it out just miss out on the fun. :) Standard disclaimer: That's all just my own opinion, of course... -------------------- -spyderbytes Posts: 200 | Registered: Wednesday, March 31 2004 08:00 |
String Length in Dialogue in Blades of Avernum Editor | |
Shock Trooper
Member # 4180
|
written Sunday, June 27 2004 23:56
Profile
quote:255 characters (spaces, punctuation, etc. count). Listen to real conversations... people don't go for long at a time without pausing and giving the other party a chance to jump in. More importantly, players grow bleary-eyed at long, unbroken blocks of text, often skipping them altogether. Do your players a favor and edit those long blocks of text down to something more digestable. :) -------------------- -spyderbytes Posts: 200 | Registered: Wednesday, March 31 2004 08:00 |
String Length in Dialogue in Blades of Avernum | |
Shock Trooper
Member # 4180
|
written Sunday, June 27 2004 23:56
Profile
quote:255 characters (spaces, punctuation, etc. count). Listen to real conversations... people don't go for long at a time without pausing and giving the other party a chance to jump in. More importantly, players grow bleary-eyed at long, unbroken blocks of text, often skipping them altogether. Do your players a favor and edit those long blocks of text down to something more digestable. :) -------------------- -spyderbytes Posts: 200 | Registered: Wednesday, March 31 2004 08:00 |
2 Questions/Problems in Blades of Avernum Editor | |
Shock Trooper
Member # 4180
|
written Saturday, June 26 2004 20:44
Profile
I've never done any BOE programming, so I don't understand what you're saying, Imban. Nor do I intend to, so you don't have to explain, as long as most here understand you. :) IF the dialog is called from a terrain script at the entry to the area, you can skip the SDF part. Just check the dialog choice and either block_entry(0) or block_entry(1) as appropriate. The original post didn't specify the conditions for calling the dialog, though, so I gave an implementation that should work (albeit with possibly more work than necessary) regardless. Prolly shoulda gone into more detail, but I've been rather rushed of late... :) EDIT: Just realized I didn't address the "coming back later" part. You can still do that with the solution I gave. Just have the dialog clear the flag (set to 0) if "I want in" is selected, or set it (set to 1) if "I wanna high-tail it outta here" is selected. Then the terrain script would just block_entry(get_flag(x,y)), where x and y are the coordinates of the flag you're using. [ Saturday, June 26, 2004 20:48: Message edited by: spyderbytes ] -------------------- -spyderbytes Posts: 200 | Registered: Wednesday, March 31 2004 08:00 |
2 Questions/Problems in Blades of Avernum | |
Shock Trooper
Member # 4180
|
written Saturday, June 26 2004 20:44
Profile
I've never done any BOE programming, so I don't understand what you're saying, Imban. Nor do I intend to, so you don't have to explain, as long as most here understand you. :) IF the dialog is called from a terrain script at the entry to the area, you can skip the SDF part. Just check the dialog choice and either block_entry(0) or block_entry(1) as appropriate. The original post didn't specify the conditions for calling the dialog, though, so I gave an implementation that should work (albeit with possibly more work than necessary) regardless. Prolly shoulda gone into more detail, but I've been rather rushed of late... :) EDIT: Just realized I didn't address the "coming back later" part. You can still do that with the solution I gave. Just have the dialog clear the flag (set to 0) if "I want in" is selected, or set it (set to 1) if "I wanna high-tail it outta here" is selected. Then the terrain script would just block_entry(get_flag(x,y)), where x and y are the coordinates of the flag you're using. [ Saturday, June 26, 2004 20:48: Message edited by: spyderbytes ] -------------------- -spyderbytes Posts: 200 | Registered: Wednesday, March 31 2004 08:00 |
2 Questions/Problems in Blades of Avernum Editor | |
Shock Trooper
Member # 4180
|
written Saturday, June 26 2004 12:05
Profile
1.) RTFM. :) Specifically, the call add_item_to_shop() on page 30 of the Appendix. Tells you exactly how to do it. 2.) Set an SDF if they say 'no'. Then have a terrain script on the square block entry if that flag is set. -------------------- -spyderbytes Posts: 200 | Registered: Wednesday, March 31 2004 08:00 |
2 Questions/Problems in Blades of Avernum | |
Shock Trooper
Member # 4180
|
written Saturday, June 26 2004 12:05
Profile
1.) RTFM. :) Specifically, the call add_item_to_shop() on page 30 of the Appendix. Tells you exactly how to do it. 2.) Set an SDF if they say 'no'. Then have a terrain script on the square block entry if that flag is set. -------------------- -spyderbytes Posts: 200 | Registered: Wednesday, March 31 2004 08:00 |
Playing Sounds - idea in Blades of Avernum Editor | |
Shock Trooper
Member # 4180
|
written Saturday, June 26 2004 11:55
Profile
Put a minus sign in front of the sound number in the call to play it. -------------------- -spyderbytes Posts: 200 | Registered: Wednesday, March 31 2004 08:00 |
Playing Sounds - idea in Blades of Avernum | |
Shock Trooper
Member # 4180
|
written Saturday, June 26 2004 11:55
Profile
Put a minus sign in front of the sound number in the call to play it. -------------------- -spyderbytes Posts: 200 | Registered: Wednesday, March 31 2004 08:00 |
Custom items and Item Lore in Blades of Avernum Editor | |
Shock Trooper
Member # 4180
|
written Friday, June 25 2004 20:39
Profile
I don't know, really, but I'd bet it's the value. That seems the most reasonable way of determining it. More valuable == rarer == harder to identify. -------------------- -spyderbytes Posts: 200 | Registered: Wednesday, March 31 2004 08:00 |