Aller au contenu

Photo

Added party member is not getting xp and cannot use items


  • Veuillez vous connecter pour répondre
18 réponses à ce sujet

#1
dracos9000

dracos9000
  • Members
  • 15 messages
I used a script to add a party member but its not getting xp or able to use any items. Is there a common problem or should I add the member a different way?

#2
DLAN_Immortality

DLAN_Immortality
  • Members
  • 481 messages
Yeah that happened to me too, but I *think* it's solved.

Modify this to your convenience:

#include "sys_autoscale_h"

int StartingConditional()
{
object gilmore = GetObjectByTag("ser_gilmore");
SetFollowerState(gilmore, FOLLOWER_STATE_ACTIVE);
Chargen_InitializeCharacter(gilmore);
// Chargen_SelectRace(gilmore, RACE_HUMAN);
// Chargen_SelectBackground(gilmore, BACKGROUND_NOBLE);

Chargen_SelectCoreclass(gilmore, class_WARRIOR);

AS_InitCreature(gilmore,5,TRUE);

return TRUE;
}


Notes:
It says the initial level is 5, but this is only for me to test. I'll be using the autoscale later.
Race and Bg are commented out, I don't really need those, but left them there as a reminder for whatever.

Modifié par DLAN_Immortality, 29 novembre 2009 - 12:07 .


#3
dracos9000

dracos9000
  • Members
  • 15 messages
So this would replace the core creature script?

#4
dracos9000

dracos9000
  • Members
  • 15 messages
double posted, sorry

Modifié par dracos9000, 29 novembre 2009 - 07:26 .


#5
DLAN_Immortality

DLAN_Immortality
  • Members
  • 481 messages
This is an action script from a dialog (when you tell him "join me" and he says "yes").

#6
dracos9000

dracos9000
  • Members
  • 15 messages
Ok I'll give it a try, thanks for the info.

#7
Suikoden

Suikoden
  • Members
  • 158 messages
That totally works. Thanks - I was having issues with this as well.

#8
dracos9000

dracos9000
  • Members
  • 15 messages
Chargen_SelectCoreclass(gilmore, class_WARRIOR);

Im getting an error when using this line says undefined identifier. Any ideas?

#9
Suikoden

Suikoden
  • Members
  • 158 messages
class needs to be capitalized so it reads (yourcharacter, class_WARRIOR);

#10
Suikoden

Suikoden
  • Members
  • 158 messages
weird..i had it capitalized and it lowercased on posting -- you need to capitalize the word "class"

#11
dracos9000

dracos9000
  • Members
  • 15 messages
I did that its still says same error.

#12
dracos9000

dracos9000
  • Members
  • 15 messages
can you give me a list of all your includes I might not have the one it needs.

#13
Suikoden

Suikoden
  • Members
  • 158 messages
#include "sys_autoscale_h"



int StartingConditional()

{

object gilmore = GetObjectByTag("ser_gilmore");

SetFollowerState(gilmore, FOLLOWER_STATE_ACTIVE);

Chargen_InitializeCharacter(gilmore);

Chargen_SelectRace(gilmore, RACE_HUMAN);

Chargen_SelectBackground(gilmore, BACKGROUND_NOBLE);



Chargen_SelectCoreclass(gilmore, class_WARRIOR);



AS_InitCreature(gilmore,5,TRUE);



return TRUE;

}




#14
Suikoden

Suikoden
  • Members
  • 158 messages
not sure why but some words are being made lower case when i post - but capitalize class before warrior and capitalize the "c" for class on SelectCoreclass

#15
dracos9000

dracos9000
  • Members
  • 15 messages
nevermind it worked it was the c in core class.

Modifié par dracos9000, 30 novembre 2009 - 02:53 .


#16
dracos9000

dracos9000
  • Members
  • 15 messages
Well the leveling works but still items and skills do not show up or work.

#17
DLAN_Immortality

DLAN_Immortality
  • Members
  • 481 messages
Yeah, strange, for some reason it goes to lower case automatically :-/



Glad it was all solved in the end and yeah, sorry "gilmore" and "ser_gilmore" are my creature identifiers! replace with the name of your follower :-)

#18
dracos9000

dracos9000
  • Members
  • 15 messages
My creature can use some items it can use poison or attack items but hp healing item or mana healing items do not work, and still no skills are showing up. Any idea why this is happening?

#19
tkyu

tkyu
  • Members
  • 6 messages

beutelmarkus wrote...

#include "sys_autoscale_h"

int StartingConditional()
{
object gilmore = GetObjectByTag("ser_gilmore");
SetFollowerState(gilmore, FOLLOWER_STATE_ACTIVE);
Chargen_InitializeCharacter(gilmore);
Chargen_SelectRace(gilmore, RACE_HUMAN);
Chargen_SelectBackground(gilmore, BACKGROUND_NOBLE);

Chargen_SelectCoreclass(gilmore, class_WARRIOR);

AS_InitCreature(gilmore,5,TRUE);

return TRUE;
}


excellnet!! i have been searching for this !!  Image IPB

although i've seen "SetCanLevelup" in wiki, i can't make sense how to deal with this...