Установить Steam
войти
|
язык
简体中文 (упрощенный китайский)
繁體中文 (традиционный китайский)
日本語 (японский)
한국어 (корейский)
ไทย (тайский)
Български (болгарский)
Čeština (чешский)
Dansk (датский)
Deutsch (немецкий)
English (английский)
Español - España (испанский)
Español - Latinoamérica (испанский Лат. Ам.)
Ελληνικά (греческий)
Français (французский)
Italiano (итальянский)
Bahasa Indonesia (индонезийский)
Magyar (венгерский)
Nederlands (нидерландский)
Norsk (норвежский)
Polski (польский)
Português (португальский)
Português-Brasil (бразильский португальский)
Română (румынский)
Suomi (финский)
Svenska (шведский)
Türkçe (турецкий)
Tiếng Việt (вьетнамский)
Українська (украинский)
Сообщить о проблеме с переводом
http://www.grimrock.net/modding/scripting-reference/
cloneObject{
name = "Skeleton_soldier",
baseObject = "skeleton_warrior",
model = "mod_assets/models/skeleton_captain.fbx",
health = 600,
immunities = { "poison" },
healthIncrement = 100,
attackPower = 40,
exp = 500,
attackAnimSpeed = 1.5,
lootDrop = { 100, "custom_shield" },
}
Thats how I made a custom skeleton, he has a custom model, and all the stats shown are the ones altered, using cloneObject and choosing "skeleton_warrior" as the baseObject makes it so hes the same as the skeleton warrior except for the stats you alter yourself. That should save you a heap of work.
name = "Skeleton_soldier",
baseObject = "skeleton_warrior",
model = "mod_assets/models/your_model_here.fbx,
moveSound = "goromorg_walk",
footstepSound = "goromorg_footstep",
attackSound = "goromorg_attack",
hitSound = "goromorg_hit",
dieSound = "goromorg_die",
hitEffect = "hit_dust",
seeInvisible = true,
allAroundSight = true,
health = 200,
protection = 5,
immunities = { "poison,cold,fire" },
healthIncrement = 50,
attackPower = 40,
exp = 500,
attackPowerIncrement: 10,
protectionIncrement: 10,
attackAnimSpeed = 1.5,
lootDrop = { 100, "custom_shield" },
}
That should do it, you need to have a new model if you want him to be transperant
http://grimrock.nexusmods.com/mods/216 -Shields, items, potions and monsters
http://grimrock.nexusmods.com/mods/198 -Ideal for you a ghost warrior model
http://grimrock.nexusmods.com/mods/55 -Ghost Archer model
name = "Skeleton_soldier",
baseObject = "skeleton_warrior",
}
Start with that and then add each line to it, should help fine which part is bad
Sorry about it not working, I just started scripting myself
It could be the loot drop section above, it defines a custom shield drop, which you won't have try deleting that line see if that helps