Arahelis Mar 17, 2013 @ 1:54am
Need help.
Hi, I need help creating a ghost skeleton, I am French and I do not speak much English and it's even harder to program ^ ^.
Information on the Skeleton ghost
Model: Skeleton_warrior
Name: Skeleton_ghost
can do everything as original skeleton_warrior
moveSound: assets/samples/monsters/goromorg_walk_01.wav
footstepSound: assets/samples/monsters/goromorg_footstep_01.wav
attackSound: assets/samples/monsters/skeleton_attack_01.wav
impactSound: assets / samples / monsters / goromorg_shield_hit.wav
itSound: assets/samples/weapons/hit_armor_01
dieSound: assets / samples / monsters / goromorg_shield_break.wav
rushBeginSound: warden_rush_begin
hitEffect: Fireburst
200 life
18 in the field of view
allAroundSight
sees the invisible
Attack power: 10
rangedAttack "frost_arrow"
attack cooldown and cooldown move: as original
it flies
noRecoilInterval: as original
protection: 5
evasion: 10
Immunities: "Poison, cold, fire, backstab, assassination."
exp: 100
lootDrop: légionnary shield {100, 100} epee champions
healthIncrement: 50
attackPowerIncrement: 10
protectionIncrement: 10
brain: "Melee"
lightColor: (optional) "blue" (with a blue flame on the skull if possible :))
almost transparent but still visible enough
OnMove: as original
onTurn: as original
onAttack: as original
onRangedAttack: as original
onDealDamage: as original
onDamage: as original
onProjectileHit: as original
onDie: as original

thank you
Showing 1-7 of 7 comments
< >
LocalFire Mar 20, 2013 @ 1:36pm 
Heres the scripting reference for grimrock

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.
LocalFire Mar 20, 2013 @ 1:42pm 
cloneObject{

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
LocalFire Mar 20, 2013 @ 1:45pm 
Here are some mods that have custom monsters or items, just credit the author and you can use them

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
Arahelis Mar 22, 2013 @ 12:54am 
big thx guy's ^^.
LocalFire Mar 22, 2013 @ 2:52am 
Cool; look forward to seeing your dungeon
Arahelis Mar 23, 2013 @ 3:20am 
your code does not work
LocalFire Mar 23, 2013 @ 4:45am 
cloneObject{

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
Showing 1-7 of 7 comments
< >
Per page: 15 30 50
Date Posted: Mar 17, 2013 @ 1:54am
Posts: 7