Profile for Grail Shadowblade

Error message

Deprecated function: implode(): Passing glue string after array is deprecated. Swap the parameters in drupal_get_feeds() (line 394 of /var/www/pied-piper.ermarian.net/includes/common.inc).

Recent posts

Pages

AuthorRecent posts
Grail's Workshop in Blades of Avernum
Warrior
Member # 7362
Profile Homepage #7
Hmm okay I've skimmed over but not really what I'm working on but might use for reference to keep my items in check.
Posts: 52 | Registered: Tuesday, August 8 2006 07:00
Dialogue Editor for Win in Blades of Avernum
Warrior
Member # 7362
Profile Homepage #4
Thanks, all the same I'll work on my idea as well so that way there might be a backup and while no doubt it will be bigger. It's still an alternative just in case, so here's to hoping we both find success in our projects.
Posts: 52 | Registered: Tuesday, August 8 2006 07:00
Dialogue Editor for Win in Blades of Avernum
Warrior
Member # 7362
Profile Homepage #2
Well I'm going to try it with a Mac emulator and then see if I can talk my dad into joining the two files together in some way but I think I can do it without the source code though.
Posts: 52 | Registered: Tuesday, August 8 2006 07:00
Grail's Workshop in Blades of Avernum
Warrior
Member # 7362
Profile Homepage #4
Imban? You mean TM? If so then I have and nearly all the problems are sorted, just making more items and adding things.

EDIT: Wanted Beta testers, duties include testing items, opinions on items and custom creatures, willing to answer questions and happy to recieve multiple updates until the scenario includes 15 items made by me. Also offering to host custom items and characters/creatures within the scenario.

[ Monday, August 14, 2006 12:00: Message edited by: Grail Shadowblade ]
Posts: 52 | Registered: Tuesday, August 8 2006 07:00
Dialogue Editor for Win in Blades of Avernum
Warrior
Member # 7362
Profile Homepage #0
Did anyone have any luck porting it?

EDIT: If not might be able to get around porting it by doing something else, I am looking into it but if it works I will let everyone know.

[ Monday, August 14, 2006 05:18: Message edited by: Grail Shadowblade ]
Posts: 52 | Registered: Tuesday, August 8 2006 07:00
Grail's Workshop in Blades of Avernum
Warrior
Member # 7362
Profile Homepage #2
The which? Hmm I don' think so.

So High Demon memory cell 3 = 4
And Machrone memory cell 3 = 6

Thanks I knew it would be something simple.
Posts: 52 | Registered: Tuesday, August 8 2006 07:00
nature lore: what is your level? in Blades of Avernum
Warrior
Member # 7362
Profile Homepage #6
Hmmm 9 for my singleton and 15 for my 4.
Posts: 52 | Registered: Tuesday, August 8 2006 07:00
Grail's Workshop in Blades of Avernum
Warrior
Member # 7362
Profile Homepage #0
Okay so I've started work on a small scenario that will contain items I make or others make (in that case send me creature info for yourself and item codes), also contains Machrone ana a friendly white demon.

But I have some problems with this, Machrone and my demon refuse to talk. The demon is a custom creature, while Machrone is a soldier or guard (not sure which). I have working scripts for them but they will not run so any help would be greatly recieved.

beginscendatascript;

// Grail
// Grail can be edited or used
// leave this header alone.
// - Grail
// grail-shadowblade@hotmail.co.uk

begindefinecreature 107;
clear;
cr_name = "Grail Shadowblade";
cr_level = 75;
cr_hp_bonus = 100;
cr_default_attitude = 4;
cr_species = 12;
cr_ap_bonus = 3;
cr_default_strategy = 10;
cr_default_courage = 75;
cr_which_sheet = 1574;
cr_icon_adjust = 34;
cr_what_stat_adjust 0 = 0;
cr_amount_stat_adjust 0 = 10;
cr_what_stat_adjust 1 = 1;
cr_amount_stat_adjust 1 = 4;
cr_what_stat_adjust 2 = 4;
cr_amount_stat_adjust 2 = 7;
cr_what_stat_adjust 3 = 9;
cr_amount_stat_adjust 3 = 8;
cr_what_stat_adjust 4 = 21;
cr_amount_stat_adjust 4 = 12;
cr_what_stat_adjust 5 = 39;
cr_amount_stat_adjust 5 = 8;
cr_start_item 0 = 278;
cr_start_item_chance 0 = 85;
cr_start_item 1 = 228;
cr_start_item_chance 1 = 100;
cr_start_item 2 = 148;
cr_start_item_chance 2 = 65;
cr_start_item 3 = 143;
cr_start_item_chance 3 = 80;
cr_start_item 4 = 62;
cr_start_item_chance 4 = 75;
cr_start_item 5 = 41;
cr_start_item_chance 5 = 50;
cr_immunities 0 = 30;
cr_immunities 1 = 10;
cr_immunities 2 = -35;
cr_immunities 3 = 5;
cr_immunities 4 = -50;
cr_immunities 5 = 15;
cr_small_or_large_template = 1;
cr_summon_class = 0;

begindefinecreature 108;
cr_name = "High Demon";
cr_default_script = "basicnpc";
cr_level = 48;
cr_default_attitude = 4;
cr_species = 12;
cr_default_strategy = 10;
cr_which_sheet = 1570;
cr_icon_adjust = 192;
cr_immunities 0 = 100;
cr_immunities 2 = 100;
I know this code works but it's here in case I need to edit something into it to get the demon to talk.

begintalkscript;

variables;

begintalknode 1;
state = -1;
personality = 1; nextstate = 1;
question = "Grail Shadowblade";
text1 = "On hearing your footsteps the
man looks up then smiles and puts down his
quill.";
text2 = "_Greetings adventurers, I'm
Grail Shadowblade and this is my workshop._ He
looks around. _Well almost._";
text3 = "_If you want I can identify your
stuff or buy the extra weight your carrying._ He
looks down at his at his scrolls then back at
you.";
text5 = "Grail is still here, glancing at
you as you near him.";
text6 = "_Yes?_";
action = INTRO;

begintalknode 2;
state = 1;
personality = 1; nextstate = -1;
question = "Identify my gear.";
text1 = "He smiles. _Why of course._";
action = ID 0;

begintalknode 3;
state = 1;
personality = 1; nextstate = -1;
question = "Buy my gear.";
text1 = "You finish your business.";
code =
begin_shop_mode("Grail","Considering he makes high quality items
your amazed at his offers.",66,0,1);
break;

// Great Demon

begintalknode 4;
state = -1;
personality = 2;
nextstate = 1;
question = "Great Demon";
text1 = "You blink as you look at a demon then
are amazed when it smiles at you.";
text2 = "Nevertheless you walk closer to it and
smile sheepishly, then realise it won't attack
you.";
text3 = "_Greetings human. Ask no questions about
me merely reach training from me._";
text4 = "You stare at it's claws and swallow
loudly and the demon starts laughing. _I won't
kill you._";
text5 = "_I offer mage and priest training to
your kind, so take advantage while you can._";

begintalknode 5;
state = 1;
personality = 2;
nextstate = -1;
question = "Can you teach me?";
text1 = "You finish your training.";
code =
begin_shop_mode("Demon Magic","The demon
has gathered a lot of spells but requires payment
before he'll teach you any.",1,5,-1);
break;
action = END_TALK;

// *** Machrone ***
// Because every scenario needs a Machrone.

begintalknode 6;
state = -1;
personality = 3;
nextstate = 2;
condition = 1;
question = "Machrone";
text1 = "Wandering around the workshop is
man who most adventurers have heard of. He
carries a sample notebook with him. _Ah! Yes!
Interesting._";
text2 = "He seems rather startled when
you approach him. _Who are you? Wait... You most
be here for the items._";

begintalknode 7;
state = 2;
personality = 3;
nextstate = 3;
condition = 1;
question = "Who are you?";
text1 = "_My name is Machrone. I am a
journalist, sent to report on unusual events and
strange locations._";

begintalknode 8;
state = 3;
personality = 3;
nextstate = 4;
condition = 1;
question = "What are you doing here?";
text1 = "_I happened to be on the wrong
end of a mage's dimension-warping spell. I got
transported into this workshop._";
text2 = "He gives you funny look. _But
how did YOU get here, I wonder?_";

begintalknode 9;
state = 4;
personality = 3;
nextstate = 2;
condition = 1;
question = "Uhh... I don't really know.";
text1 = "_What a strange place this is!
I will have to write a report on it when I get
back into the real universe._";

begintalknode 10;
state = 2;
personality = 3;
nextstate = 5;
condition = 1;
question = "What is this place?";
text1 = "_Well it's called Grail's
Workshop but other then that I don't know yet._
He avoids eye contact while he says that.";

begintalknode 11;
state = 5;
personality = 3;
nextstate = 2;
condition = 1;
question = "Really but it's your job?";
text1 = "He blushes _Well you see the
owner, Grail won't let me go outside to take a
look._";
text2 = "He sighes. _I would like to
explore more, seems amazing considering Grail
writes down the details of the weapons and puts
them in a machine then the item comes out the
other end._";
text3 = "He continues, _Anyway, based on
that I'm curious as to what other people here are
able to do._";

begintalknode 12;
state = 2;
personality = 3;
nextstate = 2;
condition = 1;
question = "Will you be leaving soon?";
text1 = "_Soon enough. I want to try and
get Grail to let me outside first._";
text2 = "He adds, _I'll leave soon enough
anyway._";
Complete conversations of characters from t1Workshopdlg.txt

// Shop 4 - Demon Magic
add_item_to_shop(4,2000,2);
add_item_to_shop(4,2001,2);
add_item_to_shop(4,2002,1);
add_item_to_shop(4,2003,1);
add_item_to_shop(4,2004,1);
add_item_to_shop(4,2005,1);
add_item_to_shop(4,2006,1);
add_item_to_shop(4,2007,1);
add_item_to_shop(4,3000,2);
add_item_to_shop(4,3001,2);
add_item_to_shop(4,3002,1);
add_item_to_shop(4,3003,1);
add_item_to_shop(4,3004,1);
add_item_to_shop(4,3005,1);
add_item_to_shop(4,3006,1);
add_item_to_shop(4,4002,1);
add_item_to_shop(4,4003,1);
This is the Demon's shop I am missing code for all spells trainable to 5.

So if you can help please let me know and if you want a copy of the scenario to look at the .bas then PM me or e-mail me.
Posts: 52 | Registered: Tuesday, August 8 2006 07:00
Mad Ambitions - Chika in Blades of Avernum
Warrior
Member # 7362
Profile Homepage #10
This thread is finished.
Posts: 52 | Registered: Tuesday, August 8 2006 07:00
Dialogue coding error (mine) in Blades of Avernum
Warrior
Member # 7362
Profile Homepage #13
Right now to try and get it to run this time without errors....
Posts: 52 | Registered: Tuesday, August 8 2006 07:00
Dialogue coding error (mine) in Blades of Avernum
Warrior
Member # 7362
Profile Homepage #11
so:

set_level(0,36)

Would be correct?

(Edit: wrong character number)

[ Sunday, August 13, 2006 02:59: Message edited by: Grail Shadowblade ]
Posts: 52 | Registered: Tuesday, August 8 2006 07:00
Dialogue coding error (mine) in Blades of Avernum
Warrior
Member # 7362
Profile Homepage #9
I have but I think I've messed up that script as well, this is my forst BoA scenario I'm working on although I did love playing with the BoE scenario editor, not that I could play them.

Anyway other script:

begintownscript;

body;

beginstate INIT_STATE;

set_name(0,"Dervish Rune");
set_level(36);

break;

beginstate EXIT_STATE;
break;
beginstate START_STATE;
break;
Anyway this is literally the first time I've tried coding in BoA so I'm expecting lot's of teething problems. Anyway all I've made is the outdoor terrain, and the first building in the town. If I sort out the trouble I'm having now then I think I can work easier and faster.

[ Sunday, August 13, 2006 02:59: Message edited by: Grail Shadowblade ]
Posts: 52 | Registered: Tuesday, August 8 2006 07:00
Dialogue coding error (mine) in Blades of Avernum
Warrior
Member # 7362
Profile Homepage #7
I have no idea it was in the script I used as a base, I'll probally pull it out then see what happens. Also what is the correct filename for the file? It's currently t0larnadlg.txt
Posts: 52 | Registered: Tuesday, August 8 2006 07:00
Dialogue coding error (mine) in Blades of Avernum
Warrior
Member # 7362
Profile Homepage #5
Problem, no one set and illegal header.....

// TOWN DIALOGUE SCRIPT
// Town 0: Larna

// This is the dialogue for this town.
// You can use states numbered from 1 to 99.

begintalkscript;

variables;

int i,j,k,r1,choice;


//*** Dervish Rune ***

begintalknode 1;
state = -1;
personality = 0;
nextstate = 1;
condition = 1;
text1 = "Your surprised to see a Dervish
manning a shop, still you take a look at him. You
see what can only be described as the perfect
empire view of a Dervish, he's strong and carries
himself in a way that makes you not want to start
trouble.";
text2 = "He looks up from the sword
across his lap and smiles at you. _Hello I'm
Dervish Rune, keeper of the weapon shop._";
begintalknode 2;
state = 1;
personality = 0;
nextstate = 2;
condition = 1;
question = "What is your job?";
text1 = "He looks you over then replies.
_Hmm, I run the weapon shop in Larna, as well as
I can but business is slow but always good._";

begintalknode 3;
state = 2;
personality = 0;
nextstate = 3;
condition = 1;
question = "But your a Dervish!";
text1 = "He smiles and looks around.
_Well we have two Dervishes here so I volunteered
to man the derelict weapon shop and left the
other Dervish to run the guard._";

state = 3;
personality = 0;
nextstate = 4;
condition = 1;
question = "What goods do you stock?";
text1 = "He smiles. _Well I stock
anything I can get hold of._";
Well I fixed the last error but I have new ones.... Help!

EDIT: Fixed State 3 thanks Drakefyre

[ Saturday, August 12, 2006 06:03: Message edited by: Grail Shadowblade ]
Posts: 52 | Registered: Tuesday, August 8 2006 07:00
Dialogue coding error (mine) in Blades of Avernum
Warrior
Member # 7362
Profile Homepage #4
I've done that Thuryl, I only had it like that to try and work around my mistake, it was also always coming up with an error about Hello not being a command. Now I'm going to try the fixed code and see what happens now.
Posts: 52 | Registered: Tuesday, August 8 2006 07:00
Dialogue coding error (mine) in Blades of Avernum
Warrior
Member # 7362
Profile Homepage #2
:eek: Thanks, now onwards to the next problem!
Posts: 52 | Registered: Tuesday, August 8 2006 07:00
Dialogue coding error (mine) in Blades of Avernum
Warrior
Member # 7362
Profile Homepage #0
begintalknode 1;
state = -1;
personality = 0;
nextstate = 1;
condition = 1;
text1 = "Your surprised to see a Dervish
manning a shop, still you take a look at him. You
see what can only be described as the perfect
empire view of a Dervish, he's strong and carries
himself in a way that makes you not want to start
trouble. He looks up from the sword across his
lap and smiles at you. _Hello I'm Dervish Rune,
keeper of the weapon shop._;
What have I done wrong here?

[ Saturday, August 12, 2006 05:14: Message edited by: Grail Shadowblade ]
Posts: 52 | Registered: Tuesday, August 8 2006 07:00
Mad Ambitions - Chika in Blades of Avernum
Warrior
Member # 7362
Profile Homepage #6
Unlocked door? Oh that door, I've wandered around in there while two Chika's battle each other but never thought of that.
Posts: 52 | Registered: Tuesday, August 8 2006 07:00
Mad Ambitions - Chika in Blades of Avernum
Warrior
Member # 7362
Profile Homepage #4
I'd taken him out of the scenario but hadn't used him again yet, anyway scenario completed. Actually wait I'd left the scenario last time by dying at the end but this time I won and didn't die.
Posts: 52 | Registered: Tuesday, August 8 2006 07:00
Mad Ambitions - Chika in Blades of Avernum
Warrior
Member # 7362
Profile Homepage #2
Thanks I had actually missed them.... -heads off to start that scenario yet again- So onwards to the next hurdle!
Posts: 52 | Registered: Tuesday, August 8 2006 07:00
Mad Ambitions - Chika in Blades of Avernum
Warrior
Member # 7362
Profile Homepage #0
Why won't Chika die and am I missing something important out? I'm really stuck here, I ran through to there with no problem with my lvl. 18 singleton and my god singleton but no matter which level I use I can not get around Chika.... Help please!
Posts: 52 | Registered: Tuesday, August 8 2006 07:00
Question? in Blades of Avernum
Warrior
Member # 7362
Profile Homepage #15
Fair enough, you've all been a great help and I am now going to look into this more myself and then start work.
Posts: 52 | Registered: Tuesday, August 8 2006 07:00
Question? in Blades of Avernum
Warrior
Member # 7362
Profile Homepage #13
When making a sprite in a game style it is best to use the same palette used by the company itself, you can make your own palette but it would look odd in comparison to the 'offical' palette.
Posts: 52 | Registered: Tuesday, August 8 2006 07:00
Question? in Blades of Avernum
Warrior
Member # 7362
Profile Homepage #11
Simply because I'm going to start making sprites for BoA when I have time as well as working on my scenario. Although the scenario will probally suck.
Posts: 52 | Registered: Tuesday, August 8 2006 07:00
Question? in Blades of Avernum
Warrior
Member # 7362
Profile Homepage #7
Hmm odd when I open the graphics for the actual characters and monsters their only seemed to be around 8-bit's per sprite. What I mean is on the actual sprite (sprite is the correct term for these) how many shades are used? I have checked this but I want to make sure before I start work, if no-one can help then I'll just go through and extract the different shades and then count them.
Posts: 52 | Registered: Tuesday, August 8 2006 07:00

Pages