source code question
Author | Topic: source code question |
---|---|
Shock Trooper
Member # 4557
|
written Thursday, June 17 2004 11:04
Profile
in the source code i've noticed that there are several limits, such as string length and number of boats/horses. when a scenario is loaded in Blades of Avernum, are all these limits implemented? thanks for any and all help. Posts: 264 | Registered: Wednesday, June 16 2004 07:00 |
Off With Their Heads
Member # 4045
|
written Thursday, June 17 2004 22:26
Profile
Homepage
I'm pretty sure string lenth is, because I've gotten errors on virtually every kind of string for having it be too long. These numbers are pretty well-documented in the editor docs, too. -------------------- 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 # 4557
|
written Friday, June 18 2004 03:11
Profile
i mean when a scenario is loaded in BoA and not in the editor, although you're still probably right. in the comments vogel claims some of the code to be resused. if so the lengths may not be implemented in the game. it's important i know this about the token length in the script editor since , if i get it to compile on VC++, i'll put in an object oriented version of the scripitng engine. (which is pretty easy with MFC) Posts: 264 | Registered: Wednesday, June 16 2004 07:00 |
Warrior
Member # 20
|
written Friday, June 18 2004 13:53
Profile
I would not change the editor in any way that would change how scenarios actually end up, only how easily they get there. Even if for whatever reason some change you make to the final product seems to work, there's no guarantee that it will always work in every possible way.. and even on the assumption that you could somehow know that it will always work, there is absolutely no way to know that a future patch to the game won't make it impossible. And if that happened, any scenario made with your editor would suddenly require fixing.. and while this might be fine if you only use the tool yourself, if you distribute the modified editor to any extent, people are probably going to be miffed in your general direction. Posts: 191 | Registered: Monday, October 1 2001 07:00 |
Off With Their Heads
Member # 4045
|
written Friday, June 18 2004 21:32
Profile
Homepage
I also meant when the scenario is loaded in BoA, not in the editor. The only string length problem I've had in the editor is the length of script names, which I'm pretty sure is a limit in the app, too. I meant that when I playtest the scenario, the app gives me an error if strings are too long (like text bubble strings, dialog strings, etc). Since these are in the scripts themselves, the editor doesn't check for them at all (nor does it check for the number of boats or horses). The app is the only thing that will give an error related to them. -------------------- 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 # 4557
|
written Monday, June 21 2004 02:49
Profile
quote:This is exactly what i plan to do, although so far i've had to completely remake the program. thankfully the provided source code isn't to hard to follow, and its very easy to see how the scenarios are saved. unfortunately recreating this process is the easy part, since i still have to figure out when and in what context the data is modified. also, if anyone has any suggestions for features on a new editor please tell me. Posts: 264 | Registered: Wednesday, June 16 2004 07:00 |
Off With Their Heads
Member # 4045
|
written Monday, June 21 2004 09:15
Profile
Homepage
Being able to edit the size and shape of the outdoors after the scenario is first created. That's the first thing that comes to mind. -------------------- 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 # 4557
|
written Monday, June 21 2004 10:07
Profile
quote:if you mean changing the overall dimensions of the outdoors after the scenario is created, then that should be pretty easy. any other suggestions are welcome Posts: 264 | Registered: Wednesday, June 16 2004 07:00 |