Help with code/script
Posted: Tue Jul 17, 2018 9:06 pm
first off I am a beginner at this so the obvious might not be smacking me in the face lol
What I am trying to do:
I just want to customize BCNMs that already exist by altering the mobs appearance and abilities I have asked around and got some help making this happen but i haven't had any success yet.
What I have done:
I tried switching modelid's around in the mob_pools SQL ex. Copied Dark Ixion's model ID and pasted it over Kilioa's (Petrifying Pair)
and it did not work
I tried changing family ID
that did not work
I got the lead to try doing stuff in the mobs actual .lua file within Scripts>Zones>Mobs like you would to alter NPC shops
that did not work either even though I was pretty hopeful at that point
This is what I did within the mob Kilioa.lua
Before Changes it looked like this
-----------------------------------
-- Area: Ghelsba outpost
-- MOB: Kilioa
-- BCNM30
-----------------------------------
function onMobSpawn(mob)
end;
function onMobDeath(mob, player, isKiller)
end;
After changes this is what I got
-----------------------------------
-- Area: Ghelsba outpost
-- MOB: Kilioa
-- BCNM30
-----------------------------------
function onMobSpawn(mob)
mob:setModelId(0x0000B20800000000000000000000000000000000)
end;
function onMobSpawn(mob)
end;
function onMobDeath(mob, player, isKiller)
end;
But when I enter the BCNM Kilioa is still just a stupid lizard...
What I am trying to do:
I just want to customize BCNMs that already exist by altering the mobs appearance and abilities I have asked around and got some help making this happen but i haven't had any success yet.
What I have done:
I tried switching modelid's around in the mob_pools SQL ex. Copied Dark Ixion's model ID and pasted it over Kilioa's (Petrifying Pair)
and it did not work
I tried changing family ID
that did not work
I got the lead to try doing stuff in the mobs actual .lua file within Scripts>Zones>Mobs like you would to alter NPC shops
that did not work either even though I was pretty hopeful at that point
This is what I did within the mob Kilioa.lua
Before Changes it looked like this
-----------------------------------
-- Area: Ghelsba outpost
-- MOB: Kilioa
-- BCNM30
-----------------------------------
function onMobSpawn(mob)
end;
function onMobDeath(mob, player, isKiller)
end;
After changes this is what I got
-----------------------------------
-- Area: Ghelsba outpost
-- MOB: Kilioa
-- BCNM30
-----------------------------------
function onMobSpawn(mob)
mob:setModelId(0x0000B20800000000000000000000000000000000)
end;
function onMobSpawn(mob)
end;
function onMobDeath(mob, player, isKiller)
end;
But when I enter the BCNM Kilioa is still just a stupid lizard...