Cool, finally these towns are out in any way!
- Who wants dwellings for Asylun, than create “dwellings.json” in “config/asylum” directory, and place here these code:
{
"core:creatureGeneratorCommon" : {
"types" : {
"asylumLevel1" : {
"name" : "Mystical Hut",
"creatures" : "darksquire" ]],
"templates" : {
"default" : {
"animation" : "asylum/map/dwellings/AVG177",
"mask" : "VVV","VBB","BBA" ]
}
}
},
"asylumLevel2" : {
"name" : "Shadow Arena",
"creatures" : "winddancer" ]],
"templates" : {
"default" : {
"animation" : "asylum/map/dwellings/AVG179",
"mask" : "VBB", "VBA" ]
}
}
},
"asylumLevel3" : {
"name" : "Psychic Window",
"creatures" : "shadowhunter" ]],
"templates" : {
"default" : {
"animation" : "asylum/map/dwellings/AVG181",
"mask" : "VVV","VBB","VBA" ]
}
}
},
"asylumLevel4" : {
"name" : "Swampy Pit",
"creatures" : "sadphanton" ]],
"guards" :
{ "amount" : 15, "type" : "asylumsadphanton" }
],
"templates" : {
"default" : {
"animation" : "asylum/map/dwellings/AVG183",
"mask" : "VVV","VBB","VAB" ]
}
}
},
"asylumLevel5" : {
"name" : "Soul Order",
"creatures" : "spiritcrus" ]],
"guards" :
{ "amount" : 12, "type" : "asylumspiritcrus" }
],
"templates" : {
"default" : {
"animation" : "asylum/map/dwellings/AVG185",
"mask" : "VVV","VBB","VAB" ]
}
}
},
"asylumLevel6" : {
"name" : "Shadow Enclusore",
"creatures" : "asnightmare" ]],
"guards" :
{ "amount" : 6, "type" : "asylumasnightmare" }
],
"templates" : {
"default" : {
"animation" : "asylum/map/dwellings/AVG187",
"mask" : "VVV","BBB","BAB" ]
}
}
},
"asylumLevel7" : {
"name" : "Phantom Zone",
"creatures" : "plwalker" ]],
"guards" :
{ "amount" : 3, "type" : "asylumplwalker" }
],
"templates" : {
"default" : {
"animation" : "asylum/map/dwellings/AVG189",
"mask" : "VVV","VBB","VAB" ]
}
}
}
}
}
}
Then add at end of “mod.json” (before closing “}” ) these:
... <heroes file list> ] ,
"objects":
"config/asylum/dwellings.json"
]
}
And enjoy.
- To correct “missile” code, right code for phantomhunter.json:
{
"phantomhunter": {
"name": {
"plural": "Phantom Hunters",
"singular": "Phantom Hunter"
},
"advMapAmount": {
"max": 20,
"min": 12
},
"faction": "asylum",
"aiValue": 448,
"attack": 8,
"cost": {
"gold": 240
},
"damage": {
"max": 6,
"min": 3
},
"defense": 9,
"fightValue": 364,
"graphics": {
"animation": "asylum/battle/creatures/CPST3U.def",
"map": "asylum/map/creatures/AVWC182.def",
"iconSmall": "asylum/iconsSmall/creatures/CPRS182Y.bmp",
"iconLarge": "asylum/iconsBig/creatures/CPRL182Y.bmp",
"timeBetweenFidgets": 1,
"animationTime": {
"walk": 1.25,
"attack": 1,
"idle": 10,
"flight": 1
},
"missile": {
"projectile": "PELFX.DEF",
"attackClimaxFrame": 7,
"offset": {
"upperX": 38,
"upperY": -65,
"middleX": 36,
"middleY": -59,
"lowerX": 21,
"lowerY": -50
},
"frameAngles": 90, 72, 45, 27, 0, -27, -45, -72, -90, 0, 0, 0 ]
}
},
"growth": 7,
"hitPoints": 23,
"shots": 24,
"level": 3,
"sound": {
"attack": "asylum/CPU3ATTK.wav",
"defend": "asylum/CPU3DFND.wav",
"killed": "asylum/CPU3KILL.wav",
"move": "asylum/CPU3MOVE.wav",
"shoot": "asylum/CPU3SHOT.wav",
"wince": "asylum/CPU3WNCE.wav"
},
"speed": 6,
"abilities": {
"noMorale": {
"type": "NO_MORALE"
},
"noMind": {
"type": "MIND_IMMUNITY"
},
"canShoot": {
"type": "SHOOTER"
},
"noDistancePenalty": {
"type": "NO_DISTANCE_PENALTY"
}
}
}
}
Same for shadowhunter.json:
{
"shadowhunter": {
"name": {
"plural": "Shadow Hunters",
"singular": "Shadow Hunter"
},
"advMapAmount": {
"max": 25,
"min": 12
},
"faction": "asylum",
"aiValue": 351,
"attack": 8,
"cost": {
"gold": 220
},
"damage": {
"max": 5,
"min": 3
},
"defense": 8,
"fightValue": 324,
"graphics": {
"animation": "asylum/battle/creatures/CPST3.def",
"map": "asylum/map/creatures/AVWC181.def",
"iconSmall": "asylum/iconsSmall/creatures/CPRS181Y.bmp",
"iconLarge": "asylum/iconsBig/creatures/CPRL181Y.bmp",
"timeBetweenFidgets": 1,
"animationTime": {
"walk": 1.25,
"attack": 1,
"idle": 10,
"flight": 1
},
"missile": {
"projectile": "PELFX.DEF",
"attackClimaxFrame": 7,
"offset": {
"upperX": 38,
"upperY": -65,
"middleX": 36,
"middleY": -59,
"lowerX": 21,
"lowerY": -50
},
"frameAngles": 90, 72, 45, 27, 0, -27, -45, -72, -90, 0, 0, 0 ]
}
},
"growth": 7,
"hitPoints": 21,
"shots": 12,
"level": 3,
"upgrades":
"phantomhunter"
],
"sound": {
"attack": "asylum/CPS3ATTK.wav",
"defend": "asylum/CPS3DFND.wav",
"killed": "asylum/CPS3KILL.wav",
"move": "asylum/CPS3MOVE.wav",
"shoot": "asylum/CPS3SHOT.wav",
"wince": "asylum/CPS3WNCE.wav"
},
"speed": 6,
"abilities": {
"noMorale": {
"type": "NO_MORALE"
},
"noMind": {
"type": "MIND_IMMUNITY"
},
"canShoot": {
"type": "SHOOTER"
}
}
}
}