*Complicated Custom Script Question

drakenx9

New member
Joined
Aug 17, 2007
Messages
150
I've been trying to compile the script (through the mod tools script compiler) that makes it so you get everything from the tribute menu on my Witch King Isle map...
But i dont know what to compile it as... or anything like that.

Do i comile it as a .pat file or what? :S Im wayyyy confused. :(

And yes i will like to add this map to kayssplace.com downloads =D

Anyways... How do i compile it though? =/
 
There's a couple of tutorials in the BW@ Modding Wiki which explain the ins and outs of compiling. Start there to get the basics of how it's done and what's required before using 00din's tool.

There are two scripts in the Script Library which will enable all items in the tribute menu.

http://www.bwfiles.com/scripts/index.php?action=file&id=21
http://www.bwfiles.com/scripts/index.php?action=file&id=31
 
Wow Scripting is confusing  :laugh2
Well, i'll go back into wiki and try to understand it more i guess...  :(
 
:S I think i already know that though.

Im just wondering because i already compiled my map script but i cant build much,
so how am i suspose to compile the "all items from tribute menu" script? :S

...I already went through the Wiki thing including the basics and adding extra stuff.

Im just wondering what do i compile the extra scripts into??? A CHL File, .PAT file. :S

I have no idea how to compile it with my map. =(
 
The scripts start as .txt files and get compiled into a .chl file. That's automatic. The .pat files are the path files for the map and have nothing to do with this..

You either add that script as a seperate .txt file and then just add the name to the challenges.txt file. Or add it to your script. Don't forget to define it at the top of that page.
 
Probably the best idea is to find a map that released its code with it, and see how it works.

I didn't actually think of that so it took me a while to figure out how to get the compiler and everything working.  But if you can't, yeah, the wiki and script library would probably be the next best step.
 
That is a good idea. A lot of the maps do have the scripts included and most of them do use that script. Then you can also see how other people put their scripts together.
 
Back
Top