HELP

Willy

Administrator
Elder
Joined
Jul 27, 2011
Messages
130
     For my new 3 lands I am working on there is a code that I really need to us to make this a success. The code is

say single line "Bla Bla Bla"
My problem is any thing line of code that makes text or speech does not work.
This is what happens. When I run the compiler no error comes up, the compiler just crashes!!!!
Can you help me fix this?!
 
Hi there. You could always use the command
Code:
say "bla bla bla"
, that worked in one of my scripts. Does the compiler flash up and then close, or does it produce an error message?
 
Nope the code
say"bla bla bla" still crashes the compiler, like I can even us Daxter's siren script because the code for the siren's speech.

this is what the compiler says.

C:\Program Files\Lionhead Studios\Black & White 2\Tools\Script Compiler>"Script
Compiler" -path . -enumfile .\Enums.txt -dbfile .\bw2text.lhts -scriptpath . -in
putfile ./Lands3547/Lands37.txt .\Lands3547\Land3547.chl
-----------------------------------
Version of Mon Oct 24 13:16:03 2005
-----------------------------------
Path Set
Enum Files Set
DB File Set
Scriptpath Set
Starting Compilation
Library loaded
Compililing List
.\Lands3545/Variblesknown.txt Compilation successful: 20 instructions in VM code
: .\Lands3545/Variblesknown.txt
Compiled: Script Lands3545/Variblesknown.txt
.\Lands3547/Player1Agerss.txt
                                  [ the crash thing comes its says the compiler has stop working then I click close program then the next line shows up]
C:\Program Files\Lionhead Studios\Black & White 2\Tools\Script Compiler>pause
Press any key to continue . . .
 
Ah i get this, the compiler looks like it crashes but it does actually compile the script. If you look in the .chl file destination you'll see a recently compiled file. If it still doesn't compile properly, you need to go to C:\Program Files\Lionhead Studios\Black & White 2\Data\Text and copy bw2text.bin in to the same folder that the compiler program is in. Confusing I know but it should fix the problem.
 
THANK YOU SO MUCH!!!
it works now!!!
but the crash widow still shows up is there a way to stop that?
 
Willy said:
THANK YOU SO MUCH!!!
it works now!!!
but the crash widow still shows up is there a way to stop that?

Put a pause after everything so:
@ECHO OFF
echo Compiling
title compiler
blah blah blah
blah blah blah
pause
 
Back
Top