I've just started with the toolset (I'm not very handy regarding scripting). I'm using this script to load the character creation at the beginning of my standalone module:
#include "global_objects_h"
void main()
{
// keep track of whether the event has been handled
int nEventHandled = FALSE;
event ev = GetCurrentEvent();
switch(GetEventType(ev))
{
case EVENT_TYPE_MODULE_START:
{
// preloads resources needed for character generation
PreloadCharGen();
// initiates character generation
StartCharGen(GetHero(),0);
break;
}
}
// if this event wasn't handled by this script fall through to the core script
if(!nEventHandled)
{
HandleEvent(ev, RESOURCE_SCRIPT_MODULE_CORE);
}
}
It works fine, but the thing is that in the character creation screen, the character appears completely black. The portrait looks ok. If I "blindly" design the character, in the module he/she appears perfectly fine.
In my normal Origins or DLCs games, the char creation works just fine.
Help, anyone?
Modifié par Belhene, 13 septembre 2010 - 08:27 .





Retour en haut






