Aller au contenu

Photo

Journal Not Giving Experience Points On completion


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

#1
Tiggers.no.tail

Tiggers.no.tail
  • Members
  • 41 messages
 I started up a completely new mod. made one NPC, once conversation, one journal topic with two entries set to give me 250 xp when the 2 part is completed. I ran it and the quest journal is not giving me XP upon completion. Did I miss something here?

Modifié par Tiggers.no.tail, 20 juin 2011 - 12:51 .


#2
CID-78

CID-78
  • Members
  • 1 124 messages
Yes the script that fetch the XP value and grant it to the player. It's not done automatically like you might think.

#3
Tiggers.no.tail

Tiggers.no.tail
  • Members
  • 41 messages
Thats... completely asinine. Do they give a reason for it behaving like that?

#4
Mudeye

Mudeye
  • Members
  • 126 messages
The Journal isn't a script it's just a storage place for string data and a couple of flag values like the XP. That is why you have to update the journal of the user from a script (AddJournalQuestEntry). You also have to assign XP or any other quest reward that you like using a script. The function for giving the XP listed in the Journal to a PC is "RewardXP".

If you want to give XP that isn't specified in a journal entry you can use "GiveXPToCreature".

#5
Lightfoot8

Lightfoot8
  • Members
  • 2 535 messages

Tiggers.no.tail wrote...

Thats... completely asinine. Do they give a reason for it behaving like that?



To me it would be a lot more asinine if they did it the other way around. The way it currently is allows the scripter to control when the XP is given out.  Just think of what would happen when you loged into a server that had a persystant quest system in place.  Every time the server reset you would be getting full xp for every quest you previously did in the world.    

Or if you wanted to script a system where the Main PC who compleated the quest got full xp and other party members who joinded the quest late got particial XP.   If the boiware engine did the XP automaticly there would be fewer option on how to custommize things, without simply ingnoring the journal xp field all together and scripting you own system that did not use it.    

Modifié par Lightfoot8, 20 juin 2011 - 08:47 .


#6
Tiggers.no.tail

Tiggers.no.tail
  • Members
  • 41 messages
You know, I never considered the multiplayer implications. I've always wrote single player campaigns.