need help in editing a map

matan55

New member
Elder
Joined
Jan 27, 2004
Messages
67
got a little problem by editing a map that i want i use Black and White Express Map Editor 2.0 but i cant success to make a new village with villagers and buildings every time  i try it noting happen maybe someone know how i do that ?
 
Why don't you post the script so that we can see what you're doing.

The best way to make a village is with the BW Town Creator. then just copy and paste that into the map. There is one problem with the "Create Town" line so delete it and use BW Editor for that instead..
 
ok if i will have a problem i will ask again and show the script
 
i use the bw town creator but when i put it in my map when i try to open my map it strat to load and then get out of the game so maybe someone know what i do worng
Code:
CREATE_TOWN(0, "3287.39","3349.02", "PLAYER_ONE", 0, "NORSE")
CREATE_TOWN_BELIEF(0, "PLAYER_ONE", 1.0)
CREATE_TOWN_BELIEF_CAP(0, "PLAYER_TWO", 1.0)
CREATE_TOWN_BELIEF_CAP(0, "PLAYER_THREE", 1.0)
CREATE_ABODE(0, "3287.39,3349.02", "NORSE_ABODE_TOWN_CENTRE", 1000, 1000, 0)
CREATE_ABODE(0, "3305.47,3390.35", "NORSE_ABODE_STORAGE_PIT", 1000, 1000, 3000, 3000)
CREATE_ABODE(0, "3284.81,3320.61", "NORSE_ABODE_WORKSHOP", 1000, 1000, 1, 1000)
CREATE_ABODE(0, "3266.73,3364.52", "NORSE_ABODE_CRECHE", 1000, 1000, 200, 200)
CREATE_ABODE(0, "3269.31,3325.77", "NORSE_ABODE_GRAVEYARD", 1000, 1000, 100, 100)
CREATE_ABODE(0, "3297.72,3320.61", "NORSE_ABODE_A", 1000, 1000, 0, 0)
CREATE_VILLAGER_POS("3300.23,3322.22", "3287.39,3349.02", "NORSE_HOUSEWIFE", 18)
CREATE_VILLAGER_POS("3300.23,3322.22", "3287.39,3349.02", "NORSE_FORESTER", 18)
CREATE_VILLAGER_POS("3300.23,3322.22", "3287.39,3349.02", "NORSE_FARMER", 18)
CREATE_ABODE(0, "0,0", "NORSE_ABODE_B", 1000, 1000, 0, 0)
CREATE_VILLAGER_POS("3.37,2.17", "3287.39,3349.02", "NORSE_SHEPHERD", 18)
CREATE_VILLAGER_POS("3.37,2.17", "3287.39,3349.02", "NORSE_FARMER", 18)
CREATE_VILLAGER_POS("3.37,2.17", "3287.39,3349.02", "NORSE_HOUSEWIFE", 18)
CREATE_ABODE(0, "3323.55,3346.44", "NORSE_ABODE_C", 1000, 1000, 0, 0)
CREATE_VILLAGER_POS("3330.15,3350.67", "3287.39,3349.02", "NORSE_HOUSEWIFE", 18)
CREATE_VILLAGER_POS("3330.15,3350.67", "3287.39,3349.02", "NORSE_HOUSEWIFE", 18)
CREATE_VILLAGER_POS("3330.15,3350.67", "3287.39,3349.02", "NORSE_FORESTER", 18)
CREATE_VILLAGER_POS("3330.15,3350.67", "3287.39,3349.02", "NORSE_FARMER", 18)
CREATE_VILLAGER_POS("3330.15,3350.67", "3287.39,3349.02", "NORSE_SHEPHERD", 18)
CREATE_ABODE(0, "3256.39,3328.36", "NORSE_ABODE_E", 1000, 1000, 0, 0)
CREATE_VILLAGER_POS("3266.39,3334.78", "3287.39,3349.02", "NORSE_FORESTER", 18)
CREATE_VILLAGER_POS("3266.39,3334.78", "3287.39,3349.02", "NORSE_HOUSEWIFE", 18)
CREATE_VILLAGER_POS("3266.39,3334.78", "3287.39,3349.02", "NORSE_FORESTER", 18)
CREATE_VILLAGER_POS("3266.39,3334.78", "3287.39,3349.02", "NORSE_SHEPHERD", 18)
CREATE_VILLAGER_POS("3266.39,3334.78", "3287.39,3349.02", "NORSE_HOUSEWIFE", 18)
CREATE_NEW_TOWN_SPELL(0, "WATER")
CREATE_NEW_TOWN_SPELL(0, "TELEPORT")
CREATE_NEW_TOWN_SPELL(0, "WOOD")
CREATE_NEW_TOWN_SPELL(0, "FOOD")
CREATE_NEW_TOWN_SPELL(0, "HEAL")
CREATE_NEW_TOWN_FIELD(0, "3308.05", "3429.10", 0, 5)
CREATE_NEW_TOWN_FIELD(0, "3320.97", "3377.44", 0, 5)
CREATE_NEW_TOWN_FIELD(0, "3269.31", "3292.19", 0, 5)
CREATE_NEW_TOWN_FIELD(0, "3279.64", "3266.36", 0, 5)

here is what i worte there
 
where you have put this:

Code:
CREATE_TOWN(0, "3287.39","3349.02", "PLAYER_ONE", 0, "NORSE")
CREATE_TOWN_BELIEF(0, "PLAYER_ONE", 1.0)
CREATE_TOWN_BELIEF_CAP(0, "PLAYER_TWO", 1.0)
CREATE_TOWN_BELIEF_CAP(0, "PLAYER_THREE", 1.0)


it needs to be this:

Code:
CREATE_TOWN(0, "3287.39","3349.02", "PLAYER_ONE", 0, "NORSE")
SET_TOWN_BELIEF(0, "PLAYER_ONE", 1.0)
SET_TOWN_BELIEF_CAP(0, "PLAYER_TWO", 1.0)
SET_TOWN_BELIEF_CAP(0, "PLAYER_THREE", 1.0)
</font>



 
Nice try Phreek, but you need to change
Code:
[CREATE_TOWN(0, "3287.39","3349.02", "PLAYER_ONE", 0, "NORSE")

to
Code:
[CREATE_TOWN(0, "3287.39, 3349.02", "PLAYER_ONE", 7, "NORSE")


The coordinates have to be in a single set of quotes.
 
thanks kays it working now finally i know how to make villages
 
Glad that did it :)

The game is a bit funky and it doesn't take much to crash it. However, if you make a error in the syntax on the coordinates it just stops loading. I use this to trouble shoot when it's crashing on me. I choose a point 1/2 way through the script and i'll break a line into two at the coordinates. If the game still crashes then I know the problem is before that point. If it loads then the problem is after that piont. I'll then put that line back together and choose another pont to do the same to until I find the reason for the crashing. Divide and conquer :)
 
Back
Top