You can't just leave out parts of a statement. there are only a few command that you can do that with.
Town[0] is an array, do you understand arrays?
Town[0] = get town with id 0
Town[1] = get town with id 1
Town[2] = get town with id 2
Town[3] = get town with id 3
Town[4] = get town with id 4...
I had that problem as well, has far as I know it is impossible to add walls to groups, its one of the many MANY problems with the landscape modeler. sorry I try for about 2 weeks to get wall into groups and never got it to work.
I never had the problem with the index but you may not have a good...
the commands are in
C:\Program Files\Lionhead Studios\Black & White 2\Tools\Script Language Documentation
go to the full index it has every command you will ever need.
Yes you are right on how those commands work.
To build planned building is tricky because in the .bwe file you need to...
This will detect and army made by a player
Have this running right at the beginning of the game, when the player creates an army it will detect it and TestPlatoon will not = 0 anymore and will exit loop.
TestPlatoon = 0
begin loop
TestPlatoon = get platoon of player 0 nearest {Town[0]}...
Thank you so much for that comment, I means a lot to me!
I was working on and 4 map game for B&W 2 but I lost my motivation for it and just stop working on B&W 2 lands but your comment brought all my motivation back! and I will start working on a small map similar to this one to get back into...
Could this work
Create a small building, set built % to 0 , subtract enough from its ypos to move just under ground where the player can't see it , the add resources to it?
I know that won't work because the atmosphere file type for land 2 is a ".dds" which you can not open using the lighting mod in the landscape editor. Thanks anyway.
Ha I figured it out! ".lok" are for locked areas of the landscape, like ".pat" is for paths and ".wal" is for walls!
And one more problem, how do I get the normal sky look tow the look of the sky on land 2 (B&W 2)?
Have been look for any decompilers for a while.
I have look at "Decompiling Challenge Scripts" topic
looked at the two links:
http://allboards.lionhead.com/showpost.php?p=2766286&postcount=6
and
http://rapidshare.com/files/217302169/CHLDecompiler.zip.html
these were suppose...
Everything that I said did happen I couldn't use the leash I even had to kill my creature a few times when he attacked my town. The good thing was once I won the land, I went to the next land and I had my creature back! :)
oh and one more thing, do you know how we can make our own buildings...
I was playing BoTg I was on my 5th time through. just started again. A little while through the Japanese land. I noticed my creature is gone. I go to the enemy capital, there's my creature, wait the leash isn't working? My creature is 100% evil I'm 100% good?!?!?!?!
How did the enemy guy take my...
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...
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...
Daxter I have noticed is that if build two wonders and they are both charged you can use one, exit the video but can't use the other right away. I think I found away around this. I also found a way to delete the seed in your hand and create another without the any sounds.
Here is a third script...
/* INFO PLEASE READ!!!!!!
This script is for anyone who are making new miracles. This script find the 6 spots around
the alter no matter where or what angle it is place at.
If you are wondering why I us only globals, it is because local Variables can and will change
value sometimes which...
Hi, Okay I need a some help with somethings. could you please try my newest land and tell me how well the epics work. And I have been trying to get all epics working better, but I can't fix the siren because I can't but text in my scripts, so what I was think was I try fixing it and you can test...
Willy submitted a new resource:
Epic Scripts! - This map has epic script by Kays and the team but are modified by me. It is also a sandbox map.
Read more about this resource...