warriorpega
New member
- Joined
- Nov 11, 2009
- Messages
- 2
I'm new to mapping for BW, but I wanted to try my hand at making a very simplistic little village. So far, all my script has done is crash. While trying to open it, BW made it all the way to just before the game message. As far as I know, I have everything needed in the map file to create one.
Code is as follows:
VERSION(2.300000)
SET_LAND_NUMBER(0)
LOAD_LANDSCAPE(".\DATA\LANDSCAPE\Land1.lnd")
START_CAMERA_POS("2569.87,2676.76")
SET_GLOBAL_LAND_BALANCE(4, 1.00000)
SET_GLOBAL_LAND_BALANCE(5, 1.00000)
SET_GLOBAL_LAND_BALANCE(6, 50.00000)
SET_TOWN_INFLUENCE_MULTIPLIER(1.00000)
SET_PLAYER_INFLUENCE_MULTIPLIER(1.000000)
SET_NIGHTTIME(1700.000000, 0.45000, 0.50000)
START_GAME_MESSAGE("Once upon a time...", 0)
ADD_GAME_MESSAGE_LINE("...and then there were two.", 0)
rem *********************** GENERAL ***********************
rem -------------Insert General Settings Here-------------
rem *********************** PLAYER_ONE ***********************
rem -------------Insert Player One Settings Here-------------
rem --------------Town 0----------------------------------------
CREATE_TOWN(0, "2458.32,2791.16", "PLAYER_ONE", 0, "AFRICAN")
SET_TOWN_BELIEF(0, "PLAYER_ONE", 8000)
CREATE_TOWN_CENTRE(0, "2409.23,2793.74", "AFRICAN_ABODE_TOWN_CENTRE", 180, 1000, 0)
CREATE_NEW_TOWN_SPELL(0, "FOOD_PU1")
CREATE_NEW_TOWN_SPELL(0, "HEAL_PU1")
CREATE_NEW_TOWN_SPELL(0, "WOOD")
CREATE_NEW_TOWN_SPELL(0, "WATER_PU1")
CREATE_NEW_TOWN_SPELL(0, "FLYING_FLOCK")
CREATE_NEW_TOWN_SPELL(0, "FIRE")
CREATE_NEW_TOWN_SPELL(0, "LIGHTNING_BOLT_PU1")
CREATE_SPELL_DISPENSER(0, "2357.55,2736.89", "AFRICAN_ABODE_SPELL_DISPENSER", "CREATURE_SPELL_COMPASSION", 20, 1.0, 100)
CREATE_CITADEL("2261.96,2946.19", 0, "PLAYER_ONE", 0, 1000)
CREATE_ABODE(0, "2504.82,2829.91", "AFRICAN_ABODE_STORAGE_PIT", 0, 1000, 1000000, 2000000)
CREATE_ABODE(0, "2440.23,2796.32", "AFRICAN_ABODE_F", 0, 200, 0, 0)
CREATE_TOWN_VILLAGER(0, "2445.40,2785.99", "HOUSEWIFE", 21)
CREATE_TOWN_VILLAGER(0, "2440.23,2785.99", "FARMER", 21)
CREATE_NEW_TOWN_FIELD(0, "2463.48,2791.16", 2, 0)
CREATE_NEW_TOWN_FIELD(0, "2442.81,2832.50", 2, 0)
CREATE_NEW_TOWN_FIELD(0, "2460.90,2814.41", 2, 0)
Code is as follows:
VERSION(2.300000)
SET_LAND_NUMBER(0)
LOAD_LANDSCAPE(".\DATA\LANDSCAPE\Land1.lnd")
START_CAMERA_POS("2569.87,2676.76")
SET_GLOBAL_LAND_BALANCE(4, 1.00000)
SET_GLOBAL_LAND_BALANCE(5, 1.00000)
SET_GLOBAL_LAND_BALANCE(6, 50.00000)
SET_TOWN_INFLUENCE_MULTIPLIER(1.00000)
SET_PLAYER_INFLUENCE_MULTIPLIER(1.000000)
SET_NIGHTTIME(1700.000000, 0.45000, 0.50000)
START_GAME_MESSAGE("Once upon a time...", 0)
ADD_GAME_MESSAGE_LINE("...and then there were two.", 0)
rem *********************** GENERAL ***********************
rem -------------Insert General Settings Here-------------
rem *********************** PLAYER_ONE ***********************
rem -------------Insert Player One Settings Here-------------
rem --------------Town 0----------------------------------------
CREATE_TOWN(0, "2458.32,2791.16", "PLAYER_ONE", 0, "AFRICAN")
SET_TOWN_BELIEF(0, "PLAYER_ONE", 8000)
CREATE_TOWN_CENTRE(0, "2409.23,2793.74", "AFRICAN_ABODE_TOWN_CENTRE", 180, 1000, 0)
CREATE_NEW_TOWN_SPELL(0, "FOOD_PU1")
CREATE_NEW_TOWN_SPELL(0, "HEAL_PU1")
CREATE_NEW_TOWN_SPELL(0, "WOOD")
CREATE_NEW_TOWN_SPELL(0, "WATER_PU1")
CREATE_NEW_TOWN_SPELL(0, "FLYING_FLOCK")
CREATE_NEW_TOWN_SPELL(0, "FIRE")
CREATE_NEW_TOWN_SPELL(0, "LIGHTNING_BOLT_PU1")
CREATE_SPELL_DISPENSER(0, "2357.55,2736.89", "AFRICAN_ABODE_SPELL_DISPENSER", "CREATURE_SPELL_COMPASSION", 20, 1.0, 100)
CREATE_CITADEL("2261.96,2946.19", 0, "PLAYER_ONE", 0, 1000)
CREATE_ABODE(0, "2504.82,2829.91", "AFRICAN_ABODE_STORAGE_PIT", 0, 1000, 1000000, 2000000)
CREATE_ABODE(0, "2440.23,2796.32", "AFRICAN_ABODE_F", 0, 200, 0, 0)
CREATE_TOWN_VILLAGER(0, "2445.40,2785.99", "HOUSEWIFE", 21)
CREATE_TOWN_VILLAGER(0, "2440.23,2785.99", "FARMER", 21)
CREATE_NEW_TOWN_FIELD(0, "2463.48,2791.16", 2, 0)
CREATE_NEW_TOWN_FIELD(0, "2442.81,2832.50", 2, 0)
CREATE_NEW_TOWN_FIELD(0, "2460.90,2814.41", 2, 0)