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. 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 Turning Up Completely blank/black in Module
Débuté par
Somatrasiel
, mars 20 2010 09:04
#1
Posté 20 mars 2010 - 09:04
#2
Posté 20 mars 2010 - 02:02
Did you add ambient baked lighting to your level? Regardless, you'll probably get your answer faster in the Level and Area Creation forums.





Retour en haut







