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

I looked for the obvious...

I am a relatively quick learner, Almost none of it made sense to me, but when I saw "NorseTotem" I thought "Well that is a bit obvious", I will be trying to recompile it now.
 
Sorry for the zip format, it wont accept anything else. Might wanna get that fixed Kays

It ain't broke. It will accept .txt files. :)

There's a number a switches which can be used to change the output. If you create a folder and call it "output" Then use the following in the .bat file and it will create individual .txt files in that folder
Code:
chlex challenge.chl /a output
 
What do I need to name the compiler file? (chasm)[br][br]Added: [time]1235090624[/time]I can not compile it :(

I guess that Land 2 will have to be skipped...[br][br]Added: [time]1235093486[/time]I seriously need some help, does ANYONE know how to recompile the .chl file?
 
Let's back up a bit here.

After you chamged the Land2.txt file, did you start a new game to test it. Once the land is started, all values from that file are set. You can cheat and alter the map.txt file to point at Land2 instead of Land1. You do need a profile with a creature and just restart the game.
 
Yes I started a new game, I have done so multiple times.

And if I do not want to start a new game I have a save right before starting Land 2.
 
LOL.. :p

When you start Land 2 Khazar gives you several scafolds to get started. These are taken from his village which is Norse. Hence the buildings will remain Norse until you start producing your own scafolds. Maybe, since your workshop will probably be Norse.

Anyways, when I made the changes and started land 2 and this is what my villagers looked like. Sure don't look Norse to me. :)

 
The buildings turn out Greek, they are Greek as soon as they are placed,  where the scaffolds are from only make a difference when making wonders.

I just need to figure out how to re-compile the .chl file so that you can progress in the game.
 
OK, so what's the problem then? ???

I thought that you were looking to change your civilisation fom Norse to Greek.

 
Yes, I am, but as I have stated (As well as Sylcai) when you build your worship site on Land 2 it does not register that you have built it, you usually need a Norse worship site, but if you change the civilization to Greek, then you build a Greek worship site, but you need a Norse one.

I edited the Script file so that you can use a Greek worship site, but I can not re-compile it back into a .chl file, which is what needs to be done so that one can progress in the game whilst playing as the Greeks.
 
No problem, I miss a lot of things as well...

Do you know how to re-compile the .txt file back into a .chl file? I downloaded chlex and chasm so that I could do this but so far I have not figured out how to use chasm...
 
I did have a look at the documentaion. But I couldn't make any sense of it.
 
Ok, i have sense of it. I will work on it when i get home from chool which will be at 3 (I have this stupid revision day in the middle of my break.) So when i get home i will take a more in-depth look.
 
Nope. That one has got me, i cannot work it out im afraid. I have followed the readme and the compiler just comes up with loads of undecipherable errors.
Sorry everyone  :(
 
The same thing happened when I tried to use it.[br][br]Added: [time]1235173732[/time]Is there any way to re-compile the .txt back into the .chl?

Or some other way to edit the .chl?[br][br]Added: [time]1235175327[/time] :angry  :angry  :angry  :angry  :angry  :angry  :angry
NOOOOOOO!!!!!

Now the game crashes on start-up...
 
I hope that you backed up the .chl file first.

In looking at the compiler again I think that you need to reformat everything  back into a format which the compiler will handle. As in the example files included.

Code:
function LandControlAll
locals
	animal
	Sheep2Pos
endl
begin
	blk	lbl7F7

// fade in immediately (if this isn't here, screen stays black on game start
// for some people)

	pshf	0.0
	sys	0xF2

// create the sheep's coordinates

	pshi	0x1
	pshi	0x0
	pshf	1649.016968
	crd	
	pshf	17.420000
	crd	
	pshf	2619.968018
	crd	
	sys	0x1B
	popf	Sheep2Pos
 
I did not change the format in the file, all I did was change "NorseTotem" to "GreekTotem", nothing else. It is the same as it was otherwise.

I also tried opening the .chl file in Notepad, found that same line, changed it, and that is what caused my game to start crashing...
 
I didn't think it'll open in Notepad. It's too big a file.

Is this the last line? Sorry, the boss got the cheat removed Already done
 
You need to open it with a hexadecimal editor. That will preserve the encoding and prevent the chl file from being corrupted when you edit it, as with notepad. You can download loads of different types on the internet for free, and the majority are very small.
Nonetheless, i think changing NorseTotem to GreekTotem won't do a thing, as thats just the name of the script, and probably will prevent it running at all. Edit it at your own risk :)
 
Back
Top