Aller au contenu

Photo

Don't understand the demo module / tutorials on the wiki?


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

#1
hydra1448

hydra1448
  • Members
  • 6 messages
I am trying to walk through the tutorials and figure out what is going on with the Demo module, but I have a few issues. First, if I install the toolset fresh and then export the Demo module exactly how the tutorial says, and then I run it ingame, I have no character creation screen, and no cutscene. I walk around the swamp area and the inside of the bar and there is nothing there, no people, just the scenery and some doors.

Then as I read through the code in the demo_module.nss, I see there is the

       //start character generation.
            PreloadCharGen();
            StartCharGen(GetHero(),0);
            break;

code, which to my understanding should cause the character creation to being when I start the module. But I also don't see the
case EVENT_TYPE_AREALOAD_SPECIAL
, which, according to the tutorial, should be handled in the demo_module.nss file. The next issue I am having is that the file is marked in red at the top as Read Only.

What am I missing here? Can anyone explain to me where I should be focusing?

#2
johnbgardner

johnbgardner
  • Members
  • 185 messages
If it says it is read only, you need to "check out" the file (like a book from a library) to modify it. I haven't looked at the demo_module.nss file, but if you put those lines in the case EVENT_MODULE_START , it should create a character creation screen.

#3
hydra1448

hydra1448
  • Members
  • 6 messages
Hi thanks! I checked it out and was able to edit it and then I exported and then ran the module and the game said "Area could not be loaded". So then I messed around and did a full export and now the module runs like it sounds like it was supposed to.



So I believe the Full Export was needed at least once. Thanks