Hello Everyone,
I've created a new test module and I've gotten
everything I want to work in my little test room (I'm new at mod
building). The Character generation script works, but once I create my
character and enter my module, she/he becomes a black silhouette! I have
absolutely not even an inkling of how to fix this. (Also, when I test premade areas in game, the characters come out normal) .So far, this is my
ONLY script in the game;
#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);
}
}
And
this is a picture of what happens in game. Strangely enough, he comes
up perfectly in the character/inventory window.
http://i85.photobuck...20015341537.jpg
http://i85.photobuck...015330287-1.jpg
I
would really appreciate some help. Thank you!
Characters Coming Out Black in Module
Débuté par
Somatrasiel
, mars 21 2010 04:17





Retour en haut







