CI Script help

Ledgo

New member
Joined
Jan 23, 2007
Messages
36
I have been EXTREMELY bored with my old maps. So, for building experiences, I backed up my old scripts, and added some towns, however, my game is crashing. I posted the script as an attachment, hopefully one of you good scripters can fix it for me?
 
SET_LAND_NUMBER(10)

Is this a skirmish map?  If so, I think it should be set to 0 (Can't check now, but I think that was it XD)

"SET_A_TOWNS_INFLUENCE_MULTIPLIER"

Try SET_TOWN_INFLUENCE_MULTIPLAYER
(Also, each town, I THINK, can have only five or six spells, any others get cut off in-game.  But several towns of the same tribe will add up at the temple)

Edit: I just looked over it quickly, and pretty much skipped everything after the second town XD There might be more, but those are two that should have crashed it, anyway.
 
I don't have CI installed, but to debug a script. Just break up the coordinates with a line break.
Code:
CREATE_TOWN(0, "1066.33
,1181.59", "NEUTRAL", 5, "EGYPTIAN")

What this does is stop the script from loading, but it doesn't crash the game. So do this somewhere around where you made the changes. if the game loades fine, then the problem is after that point. If it crashes, then it's before. Then pick another point in the script and do it again until you've narrowed it down to where the problem is. If there's more than one problem line it can get funky and frustrating.

SET_LAND_NUMBER(10) should be SET_LAND_NUMBER(0) for a skirmish map
 
Would you like me to help ith the map??

I was trying to make a skirmish map... based on the isle.

Anyway I could help if you want.

And if I must, I could add 2/3 gods to the skirmsih on the isle map.
 
Not making it a skirmish, but a new map for the game to load. The towns I have placed are far from any quest, so that cannot be the issue.
 
Back
Top