Aller au contenu

Photo

Srange Lighting error with Character Creator


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

#1
smjones23

smjones23
  • Members
  • 42 messages
www.facebook.com/photo.php


Here is the script I used to initiate the character creator. I used multiple ones and they all had the lighting error.

#include "global_objects_h"
void main(){
    event ev = GetCurrentEvent();
    int nEvent = GetEventType(ev); //extract event type from current event
    int nEventHandled = FALSE; //keep track of whether the event has been handled
    switch(nEvent){
        case EVENT_TYPE_MODULE_START:{
            // -----------------------------------------------------------------
            // Initiate character generation.
            // -----------------------------------------------------------------
            PreloadCharGen(); //preloads resources for character generation
            StartCharGen(GetHero(),0,TRUE); //initiates character generation
            break;
        }
    }
    if (!nEventHandled) { //If this event wasn't handled by this script, let the core script try
        HandleEvent(ev, RESOURCE_SCRIPT_MODULE_CORE);
    }
}

Modifié par smjones23, 15 juillet 2010 - 03:32 .


#2
smjones23

smjones23
  • Members
  • 42 messages
Also, the mod that this error occured was following a tutorial video provided by SilentCid.



The rest of the mod works perfectly and the lighting is also perfect for the rest.

#3
Fen Tabris

Fen Tabris
  • Members
  • 40 messages
Not sure which tutorial you're referring to, can you link please? Usually when I get that problem, what's happened is that char_stage is overridden somewhere. You can see how there's no environment in that shot. I'd check and make sure that your char_stage area is correct, or if you aren't using it, make sure that it doesn't exist in any override folders. SilentCid is out and about on the forums too, he may also have ideas.

#4
smjones23

smjones23
  • Members
  • 42 messages
It was definitely a problem with char_stage. Got it fixed. Thanks for pointing me in the right direction!