Hello everyone, a question and a script!
Author | Topic: Hello everyone, a question and a script! |
---|---|
Apprentice
Member # 5234
|
written Friday, November 26 2004 01:15
Profile
Hello there; I just got Blades of Avernum, and after playing the scenarios that come with the game, I'm starting in on my own. I just had a question; has anyone put the script call documentation in a friendly online browsable format like PHP has for their language? (go http://www.php.net and click documentation). If not, then I'll probably set up documentation like that and make it publically accessible. It's just a lot easier than rifling through the massive pile of printouts I have now. :) Anyway, I made a script to keep track of the time of day. This script may be entirely stupid, there may be a way to do this already, but this is what I've come up with. I've basically assumed Avernum has a 20 hour day (5000 ticks in a day, didn't break into 24 evenly). The game starts at dawn, 5 o'clock, and it gets dark at 20 o'clock (dusk is around 19 o'clock). Night is a LOT shorter than day. It preserves the hour from save to save, and takes 5 stuff done flags. Because I was dealing with numbers over 255, I had to break 2 of the variables out into 2 seperate stuff done flags appiece. (in scenario script) [ Friday, November 26, 2004 02:00: Message edited by: Tanabi ] -------------------- Online Blades of Avernum Wiki Reference Posts: 7 | Registered: Friday, November 26 2004 08:00 |
Lifecrafter
Member # 3608
|
written Friday, November 26 2004 02:02
Profile
Homepage
Well, there kind of is.. Erik Westra's BoA Cookbook. It has the most common tasks listed there, along with some other stuff. Oh, and you also might want to post your script here . The Lyceum's Codex is pretty much the largest (and best?) script archive around, as of now. [ Friday, November 26, 2004 02:05: Message edited by: Moi, olen Mieshuora. ] -------------------- The Great Mister kommari@gmail.com[/url] Posts: 972 | Registered: Tuesday, October 28 2003 08:00 |
Apprentice
Member # 5234
|
written Friday, November 26 2004 02:18
Profile
That cookbook's really cool, but, it's not quite what I was looking for as far as call reference... So, I will probably make my own. It'll just be installing that PHP software to handle the documentation, and a bunch of cutting and pasting. :) I'll be sure to post my scripts in that place. I'll wait until I have my other time stuff done, though; there's a few components I need to make for that time stuff to be really cool. :) I have a lot of script ideas that I haven't seen done by anyone else yet, so, hopefully I can contribute some nice stuff. -------------------- Online Blades of Avernum Wiki Reference Posts: 7 | Registered: Friday, November 26 2004 08:00 |
Shock Trooper
Member # 5181
|
written Friday, November 26 2004 04:32
Profile
Homepage
Question--why not use Wiki? I'd think that's a little more standard (and certainly easier to update!). Posts: 262 | Registered: Thursday, November 11 2004 08:00 |
Lifecrafter
Member # 3608
|
written Friday, November 26 2004 04:40
Profile
Homepage
..but doesn't Wiki kind of let *anyone* to edit the pages? -------------------- The Great Mister kommari@gmail.com[/url] Posts: 972 | Registered: Tuesday, October 28 2003 08:00 |
...b10010b...
Member # 869
|
written Friday, November 26 2004 11:22
Profile
Homepage
It also keeps automatic backups so that vandalism or incorrect information can easily be reverted to what it was before. -------------------- The Empire Always Loses: This Time For Sure! Posts: 9973 | Registered: Saturday, March 30 2002 08:00 |
Shock Trooper
Member # 5181
|
written Friday, November 26 2004 12:23
Profile
Homepage
quote:Yeah. That's the point. Someone sees an error, they fix it. If they're being stupid, the page can revert very easily. Posts: 262 | Registered: Thursday, November 11 2004 08:00 |
Lifecrafter
Member # 3608
|
written Friday, November 26 2004 13:25
Profile
Homepage
I was worrying about, well, "vandalism", as Thur put it, but if it really keeps them automatic back-ups and all sorts of huahuahua can be fixed easily, then yeah, it'd prolly be the best way. -------------------- The Great Mister kommari@gmail.com[/url] Posts: 972 | Registered: Tuesday, October 28 2003 08:00 |
Shock Trooper
Member # 5181
|
written Friday, November 26 2004 15:20
Profile
Homepage
quote:I used Wiki on one of my other projects. Very quick, very easy. Posts: 262 | Registered: Thursday, November 11 2004 08:00 |
Apprentice
Member # 5234
|
written Friday, November 26 2004 19:54
Profile
Well guys; I took the suggestion and Wiki'd the documentation: Blades of Avernum Wiki I put the advanced dialog stuff with the basic dialog stuff to make it a little easier reference, otherwise it's basically the same as the documentation. The key here is the table of contents; makes it a lot easy to quickly look up functions than having to dig through the stack of paper, since each function is clickable on the contents list. I didn't spend a whole lot of time formating things -- it took me a long time to do what's already done -- but it looks okay. I may adjust it some later, but, hopefully this will be useful to more people than just me :) Thanks for the wiki suggestion! -------------------- Online Blades of Avernum Wiki Reference Posts: 7 | Registered: Friday, November 26 2004 08:00 |
Off With Their Heads
Member # 4045
|
written Friday, November 26 2004 20:50
Profile
Homepage
Hey, I like this. Nice job! -------------------- 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 |
Shock Trooper
Member # 5181
|
written Saturday, November 27 2004 04:27
Profile
Homepage
Yeah--excellent job. I wish it'd download properly so I could reference it on disk (it acts kinda weird if you DL it), but even without that I can see this being really useful. I might write something later for it, along the lines of the BoA cookbook. Posts: 262 | Registered: Thursday, November 11 2004 08:00 |
Warrior
Member # 5212
|
written Tuesday, December 7 2004 18:49
Profile
Sorry to sound stupid, but, WHAT IS WIKKI??? -------------------- The whole purpose of your life Might just be to serve as a warning to others. Build a man a Fire and he will be warm for a day, set a man on Fire and he will be warm for the rest of his life. [b]Meow! Subvert the dominant Paradigm! Meow! Meow![b] Wizard's Cat in A2 Posts: 94 | Registered: Thursday, November 18 2004 08:00 |
Apprentice
Member # 5234
|
written Tuesday, December 7 2004 19:09
Profile
It's something that allows you to make online books, reference manuals, etc. that can be viewed and modified by anyone. :) Just take a look at the link and you'll see what it is pretty quickly. -------------------- Online Blades of Avernum Wiki Reference Posts: 7 | Registered: Friday, November 26 2004 08:00 |
Warrior
Member # 4202
|
written Thursday, December 9 2004 11:08
Profile
Homepage
Nice, I just edited it to be more accurate. :) -------------------- Creator of the 3D Blades of Avernum Editor for Mac. Get it at Ingenious Isaac's Illusion, my web page. Better yet, get Battle for Wesnoth, a wonderful free TBS game. Posts: 192 | Registered: Sunday, April 4 2004 08:00 |
Apprentice
Member # 5234
|
written Thursday, December 9 2004 11:25
Profile
Cool, thanks! I've also noticed there's several functions that are in the scripts that come with the game, but aren't documented in the reference. They may be documented elsewhere in the main document, but, as far as I know they aren't. I'd be great if someone who's more knowledgable than me could add any known undocumented functions to the wiki docs. :) -------------------- Online Blades of Avernum Wiki Reference Posts: 7 | Registered: Friday, November 26 2004 08:00 |
Warrior
Member # 4202
|
written Thursday, December 9 2004 11:29
Profile
Homepage
quote:Well it would help if you gave their names so that the knowledgeable people (likely me) know what to add. -------------------- Creator of the 3D Blades of Avernum Editor for Mac. Get it at Ingenious Isaac's Illusion, my web page. Better yet, get Battle for Wesnoth, a wonderful free TBS game. Posts: 192 | Registered: Sunday, April 4 2004 08:00 |