Aller au contenu

Photo

ANSWERED: Use existing hero and companions in add-on campagin


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

#1
Miexelplix2009

Miexelplix2009
  • Members
  • 14 messages
For some reason everytime I search the forums the search results don't return anything, so please forgive me if this has been asked and answered. If that's the case please just post the link to the topic thread it was posted in.

I'm new to scripting using the DA Toolset and was wondering if it is possible to use the players existing hero (or highest level character) along with the oringial DAO companions in a newly built module/campaign, or are the only options: creating a new character from scratch or automatically creating one for the player to use (i.e. premade class and assigned equipment.

All of the searching I have done only shows how to create a premade character for the player or letting them create a new one.

Any help would be appreciated.


PS: I just thought of something...maybe it's not possible through scripting, but is it possible for the player to copy the charcaters into the new module for use? If so, is that common and exactly how is it done?

Modifié par Miexelplix2009, 17 mars 2010 - 02:21 .


#2
jsd313

jsd313
  • Members
  • 184 messages
If you have a module script you can  catch the below event and it will give the player the option to load a character or to create a new one. You can run into problems with character imports. Gear they are wearing from other mods usually doesn't cross over and various other things like that. Just as a head up. 


case EVENT_TYPE_MODULE_START:
        {
            PreloadCharGen();
            StartCharGen(GetHero(),0,1);
            break;
        }

#3
jsd313

jsd313
  • Members
  • 184 messages
oh and you can't import a party from a saved game, only the hero.

#4
Miexelplix2009

Miexelplix2009
  • Members
  • 14 messages
Makes perfect sense consideringthat modules usually contain unique items etc. Thanks for the help!