I am making a mod and I need some help with a bug

Kee715

New member
Joined
Feb 10, 2009
Messages
60
Well I played Black & White 2 (Again) recently and I thought "In Black & White you usually start with a Norse village, so that would make you God of the Norse, but in Land 3 you start with a Celtic village, so that makes you God of the Celts, but in Creature Isle you start with a Egyptian village, so that makes you God of the Egyptians, but in Black & White 2 and Battle of the Gods you are established as the God of the Greeks" (I am assuming you are the same God reincarnated), which led me to think "Would it not make more since to be God of the Greeks ALL of the time?" So I looked into the game's script files (With not a shred of experience or knowledge with code/coding or scripts/scripting mind you) and decided to go about changing all of the starting villages and villagers to Greek ones, I started with Land 1 because of the fact that you lack a few of the things that the later Lands have. I changed the obvious "NORSE" to "GREEK" and it has worked so far, but there is one bug I have seen, sometimes the villagers will get stuck in one place and try to run but will end up going nowhere... I fixed the problem on the adults by making them disciples, but with the children it has been a bit of a challenge as they can not be made into disciples... Could someone offer a bit of assistance with this? I only know how to change the villagers' skin with the scripts, I know nothing else about coding/scripting.[br][br]Added: [time]1235016496[/time]Alright that problem is gone in Land 2. :D

But in Land 2 where Khazar tells you to build your worship site, I build it and it does not register that it is built... NOOOO!!!!

Any potential help?[br][br]Added: [time]1235018807[/time]I just realized I am horrible at creating topic titles...
 
Well, BW1 allows allot of freedom with editing and such, but, where you just arrived, is where the limit is.

Especially at land 2.


To ensure villagers get registered correctly, ensure that everything of your village number is changed, there is something about scripting here too, and the races have numbers too, you need to change that number too.

Just look around kayssplace for the scripting help, and you'll find it.


Secondly, in certain quest lines, it is checked what is being build and not, Land 2 is the perfect, and luckily the only example (I hope). So, you can't actually change the 'village' you begin with in land 2, as that would halt the entire challenge. And, if you find a fix for it, do tell! :) But sadly, I haven't found one.


All other villages on land 2 can be changed, but not your initial one. :(
 
What number are the Greeks? I found one number ( 7 ) that may me the problem...[br][br]Added: [time]1235064501[/time]I am also changing a bunch of other numbers.

I am glad I backed up the original file. :D
 
It's mostly the number near the end.

CREATE_TOWN(0, "1865.61,2641.24", "PLAYER_ONE", 7, "NORSE")

CREATE_TOWN(2, "2248.68,2240.36", "PLAYER_TWO",
6, "GREEK")


So, greek is 6! :p

And, if you are swapping 'race', Only change the number, and the word of the 'race', don't edit other numbers, unless you know what they are! ^^
 
Well that is helpful information, I accidentally removed my Temple and Village on Land 2 when I messed with the other numbers...[br][br]Added: [time]1235068665[/time]Still can not progress...
 
^^ I tried to tell you.. apperantly it isn't clear enough


Land 2 WILL require YOU to have a NORSE worshipping sight.
 
Oh, so there is no way within the laws of the universe, reality, or sanity to have ANYTHING other than a Norse worship site? So there is no way to change scripts, files, or maps to allow anything other than a Norse worship site? *Gives Lionhead the finger*
 
It might be scripted in. There's not much for the stating village in Land2.txt.

Have you tried:
Code:
CREATE_TOWN(0, "3231.53,3396.45", "PLAYER_ONE", 6, "GREEK")
 
I though as much. It probably is controlled by the script then.
 
I am quite certain of that, but the scripts are contained in a .CHL file, I downloaded an extractor thing but it just comes up with a command prompt for a fraction of a second and the disappears...
 
Well.. the CHL extractor works a bit strange.. But, yea, it's in the challenge file, so, if you edit that, you can have Greek! :)


Again, sorry for not telling you. But I myself also tried this, got quite far, then thought it wasn't worth my time, because I 'stopped' playing bw1 :p

As Kays might be able to verify, I have intervals of activity on Kayssplace! ^^;;
 
Drag the .chl file onto the .exe, or .bat.. or whatever it is.

I think.. o.o?
 
That does not work, it comes up for a fraction of a second and disappears.
 
I have worked it before. Here is what you do:

First make a folder, put the chlex.exe file and the challenge.chl file into it. Then, make a text file. Put this into it:
Code:
chlex Challenge.chl Output.txt
pause
Then save the text file and call it extractor.bat, changing the .txt. Save it in the same folder as the other two files. Then, click double click the extractor.bat file and it should be processed. Then the code that you need from challenge.chl will be put in a plain text file called Output.txt. I have attached the batch file incase you somehow get stuck.

Sorry for the zip format, it wont accept anything else. Might wanna get that fixed Kays  :upside
 
I can't wait to see it all working and like that! ^^

And, sorry for not being all to much of an help!  :laugh:
 
How did you manage to change anything? It's gibberish to me...

Oh and can i have a + rep rather than a cookie point, glorious though it may be?  :)
 
Back
Top