I need some tutorials.

Try commenting out that line out and see if it runs with the other two scripts.

If you haven't done so, copy the bw2text.bin file from the Data/Text folder into the Tools/Compiler folder. Doing this will allow text strings to parse.
 
I have copied that file. And got the script to work.  :happytears: Now I just have to put the other stuff in that I want, redo the nav ribbon, touch up the edges of the landscape, and finish the texturing. Thanks for all your help. It's greatly appreciated.  :D
 
Glad that got you going. :)

If you do get a Microsoft error when compiling. Just ignore it. That's normal.
 
:sorry For Daxter's OGaM creature selection what all should go in between "run main script" and "end main script"? Just the stuff that get's defined at the very top?
 
Each script is seperate. You just need to run them from the main script.

What I do is to keep each of the scripts on a seperate page. So the page for the main script doesn't get too crowded. It makes for easier editing. Also the scripts are more portable so you can use select ones for another map.
 
If I use the OGaM creature selection should I take this out?
Code:
begin script NewScript

oTown = get town with id 0
oPen = get building ABODE_NUMBER_CREATURE_PEN in oTown min built 1.0
oCreature = create SCRIPT_OBJECT_TYPE_CREATURE CREATURE_TYPE_LION at {oPen}
start
	set player 0 creature to oCreature
	release oCreature

end script NewScript


Edit: Can the compiler compile multiple files into one? And if so how would I get it to do that?
 
No, that needs to stay intact like that. You also need to define it at the top of the page.

You can use multiple pages by adding each one used in the challenges.txt file. You just need to watch the order they are called in. The page with the main script gets called last.
 
No, you can leave that as is.

But if you're going to be using a number of scripts. It's best to have those in seperate pages.
 
Back
Top