Difference between revisions of "Artifact Format"

From VCMI Project Wiki
Jump to: navigation, search
(template insertion)
Line 24: Line 24:
 
"image": "BigSword.png",
 
"image": "BigSword.png",
 
"large": "BigSword_large.png",
 
"large": "BigSword_large.png",
"map": "BigSword.def",//def file for adventure map
+
"map": "BigSword.def"//def file for adventure map
"iconIndex": 200
 
 
},
 
},
 
"bonuses":
 
"bonuses":

Revision as of 23:04, 20 May 2013

See thread http://forum.vcmi.eu/viewtopic.php?t=558 for discussion

Artifact bonuses use Bonus Format.

TODO:

  • Artifacts growing with Commander level
{
	"type": ["HERO", "CREATURE", "COMMANDER"] //what kind of bearer can use this artifact
	"class": "TREASURE", //TREASURE, MINOR, MAJOR, RELIC, SPECIAL
	"slot":	"HEAD", //SHOULDERS, NECK, RIGHT_HAND, LEFT_HAND, TORSO, RIGHT_RING, LEFT_RING, FEET, MISC1, MISC2, MISC3, MISC4,
		//MACH1, MACH2, MACH3, MACH4, SPELLBOOK, MISC5
                //also possible MISC, RING 
	"value": 12000, //based on ARTRAITS.txt		
	"text":
	{
		"name": "Big Sword",
		"description": "Big sword gived +10 attack to hero",
		"event": "On your travel, you stumble upon big sword. You dust it off and stick in your backpack"
	},
	"graphics":
	{
		"image": "BigSword.png",
		"large": "BigSword_large.png",
		"map": "BigSword.def"//def file for adventure map
	},
	"bonuses":
	{
		Bonus_1,
		Bonus_2
	},
	"components": //optional, for combined artifacts only
	[
		"artifact1",
		"artifact2",
		"artifact3"
	]
}


Modding related articles

Main articles
Modding changelog Modding guidelines Mod Handler


Formats
Mod file Format
Town Format Creature Format Hero Classes Format
Artifact Format Animation Format Hero Format
Bonus Format Object Format Spell Format


Work-in-progress formats
Building bonuses Map format
Bonus Type Format Random map template


Outdated pages
Mod system proposal