Aller au contenu

Photo

Characters Coming Out Black in Module


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

#1
Somatrasiel

Somatrasiel
  • Members
  • 25 messages
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!

#2
gordonbrown82

gordonbrown82
  • Members
  • 544 messages
http://social.biowar...74/index/312367



it's all there baby

#3
Proleric

Proleric
  • Members
  • 2 354 messages
Your level needs lights. In the light properties, there is a switch which must be turned on to illuminate creatures (including the player).