| The Black Wyrm's Lair Terms of Use |
Help
Search
Members
Calendar
|
Apr 19 2008, 12:04 AM
Post
#1
|
|
|
Retired team member Posts: 490 Joined: 8-April 08 From: U.S.A |
Alright, here's my problem:
I have written out the dialogue file for an NPC following the instructions of a tutorial. Everything (to me anyway) looks like it's in place, but WeiDU keeps stopping the install when it runs into commands such as "DO" and "EXIT". If I remove the first one, it will get a little further and stop at the next. I have no idea why this happens (as I'm a total newbie to this). I'd post my code into a PM for someone who wants to see it (and help, not just see it!!!) Thanks, Carnifex -------------------- "Once the game is over, the king and the pawn go back into the same box." - Italian Proverb
"I like criticism, but it must be my way." - Mark Twain "A positive attitude may not solve all your problems, but it will annoy enough people to make it worth the effort." - Herm Albright |
|
|
|
![]() |
Apr 20 2008, 12:12 AM
Post
#2
|
|
|
Retired team member Posts: 490 Joined: 8-April 08 From: U.S.A |
Well, I predicted having more problems. Here's the next one.
My character works perfectly when I create him using the CLUA console, but I can't get him to appear in the section he is supposed to be in. For testing purposes, I just copied the area script file provided by a tutorial (Ghreyfain's, I believe) and changed the names. Supposedly he should appear somewhere in the government district, but he doesn't. So far I have not tried to enter the district in a normal manner. I just teleported straight from Chateau Irenicus to the government. Does the cut-scene upon leaving the dungeon somehow activate scripts elsewhere, or do I just have something typed incorrectly? CODE IF Global("CXHalboExists","AR01000",0) THEN RESPONSE #100 SetGlobal("CXHalboExists","AR1000",1) CreateCreature("CXHalbo",[1137.2046],3) END Also, could someone explain how the coordinates work? I've looked at the minimap in Infinity Explorer and the X/Y coordinates will not go as far as 1137 or 2046. Thanks, Carnifex -------------------- "Once the game is over, the king and the pawn go back into the same box." - Italian Proverb
"I like criticism, but it must be my way." - Mark Twain "A positive attitude may not solve all your problems, but it will annoy enough people to make it worth the effort." - Herm Albright |
|
|
|
Apr 20 2008, 09:05 AM
Post
#3
|
|
|
The Tactician ![]() Distinguished Developer Posts: 7794 Joined: 1-December 05 |
CODE IF Global("CXHalboExists","AR01000",0) THEN RESPONSE #100 SetGlobal("CXHalboExists","AR1000",1) CreateCreature("CXHalbo",[1137.2046],3) END Fix the typo. The area codes don't match with each other. There is an extra "0" in the code in the trigger line, which you should remove. Have you extended the bottom of AR1000.bcs properly in your tp2? This post has been edited by Sikret: Apr 20 2008, 09:06 AM -------------------- Improved Anvil
![]() Cheating is not confined to using external software or the console commands. Abusing the flaws and limitations of the game engine to do something that a human Dungeon Master would not accept or allow is cheating. |
|
|
|
Sir_Carnifex Dialogue File/WeiDU compilation problems Apr 19 2008, 12:04 AM
Valiant Post a file here. Somebody will take a look on it ... Apr 19 2008, 06:55 AM
Sir_Carnifex Very well. I shall post the code here with all te... Apr 19 2008, 06:39 PM
Razfallow EXIT and DO actions can not be used within the SAY... Apr 19 2008, 07:13 PM
Sir_Carnifex Thanks a lot for the help. WeiDU compiled it succ... Apr 19 2008, 07:56 PM
Razfallow Have you checked that area script in game? Make su... Apr 20 2008, 08:39 AM
Valiant Extending the top of the file and use the Continue... Apr 20 2008, 11:31 AM
Sir_Carnifex Thanks for all the help! The NPC is now showi... Apr 20 2008, 08:31 PM![]() ![]() |
|
Lo-Fi Version | Time is now: 3rd November 2025 - 04:19 AM |