Slot trouble

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).
AuthorTopic: Slot trouble
Warrior
Member # 5274
Profile #0
Howdy,

I was wondering if anyone could tell me the call to add charcters to slots 2,3, and 4 as for whetever reason I can't see it in the documentation.

Normally I'd just cherrypick this from someones elses script but everyone seems to have jumped on the slot 5/6 bandwagon which is just silly.

--------------------
I assume my reputation for arrogant presumption precedes me
Posts: 107 | Registered: Thursday, December 9 2004 08:00
Infiltrator
Member # 5576
Profile Homepage #1
This is because slots 5 and 6 (which are slots 4 and 5 in the internal counting system) are the only slots that npcs can be put into. using only these slots is not silly because there are some of us who like to have a four character party.

--------------------
Überraschung des Dosenöffners!
"On guard, you musty sofa!"
Posts: 627 | Registered: Monday, March 7 2005 08:00
Shaper
Member # 3442
Profile Homepage #2
Just to make things clear - even if you add the charcter to slot 4, say, it will appear next to the player;s character regardless of their number.

Okay, might sound a bit confusing, but for example, say I had a singleton. If I then went into a scenario and had someone join me, they would go into slot 4 or 5. In the game, they would then be directly behind my singleton, not three spaces away. The slot number doesn't actually matter, it's just for internal calculations and such.

[ Monday, September 12, 2005 06:22: Message edited by: SupaNik ]

--------------------
And when you want to Live
How do you start?
Where do you go?
Who do you need to know?

Posts: 2864 | Registered: Monday, September 8 2003 07:00
Warrior
Member # 5274
Profile #3
Fair enough it isn't silly after all,

Still is there a call to add an actual character (with portrait, character screen ect.) into a party as opposed to putting in an NPC which you don't have direct control over.
This was used several times in Avernum 1 and 2 but I don't recall seeing it in the editor documentation for blades. I thought the call function might have been discontinued and replaced with the two NPC slots.

This isn'tcrucial just helpful for plot purposes.

[ Tuesday, September 13, 2005 00:08: Message edited by: Poit ]

--------------------
I assume my reputation for arrogant presumption precedes me
Posts: 107 | Registered: Thursday, December 9 2004 08:00
Triad Mage
Member # 7
Profile Homepage #4
You're correct - it was removed and replaced with the other two slots.

--------------------
"At times discretion should be thrown aside, and with the foolish we should play the fool." - Menander
====
Drakefyre's Demesne - Happy Happy Joy Joy
Encyclopedia Ermariana - Trapped in the Closet
====
You can take my Mac when you pry my cold, dead fingers off the mouse!
Posts: 9436 | Registered: Wednesday, September 19 2001 07:00
Warrior
Member # 5274
Profile #5
Thanks for that Drakefyre,

Its a pity its gone, still, back to work.

[ Tuesday, September 13, 2005 02:14: Message edited by: Poit ]

--------------------
I assume my reputation for arrogant presumption precedes me
Posts: 107 | Registered: Thursday, December 9 2004 08:00
Shaper
Member # 3442
Profile Homepage #6
quote:
Originally written by Poit:

Thanks for that Drakefyre,

Its a pity its gone, still, back to work.

As a maybe slightly complicated work-around to give the NPC an inventory and experince, you could use calls and special abilites.

So, suppose you want to give the NPC an inventory. Just make a special ability which calls up a shop window, filled with the items you want them to have. That way, the party can take things from them, or give them things. You'd have to make sure to give the gold back afterwards, or make items with very little value (maybe 1gp?).

To give experience, why not increase the level of the joining NPC to keep in line with the parties. So, in the scenario's START_STATE, have a call that records the parties level every 20 or so ticks, and updates the NPC's as necessary. It's not perfect, but...

--------------------
And when you want to Live
How do you start?
Where do you go?
Who do you need to know?

Posts: 2864 | Registered: Monday, September 8 2003 07:00
Warrior
Member # 5274
Profile #7
Its an interesting solution but i think I'm probably going to take the easier route and just write one character out of the story. (Maybe not that much easier)

--------------------
I assume my reputation for arrogant presumption precedes me
Posts: 107 | Registered: Thursday, December 9 2004 08:00