08.10.2017, 23:26
(This post was last modified: 08.10.2017, 23:38 by Quarchodron.)
Hi
Ok guys. U made me to do it. 'Cause maybe. You're gonna be the one that saves me. And after all. You're my wonderwall'.
Download
Its simple npc creator with synchronization etc. U can create monsters, bandits or whatever ur sick had try to think of.
* I've test it maybe twice with my friends (Rod <3, next question : yes, he is gay). Report about bugs etc. Pleas ..
Example how to add Monster:
local Wilk = npcType({str = 40, hp = 10, dex = 10, aitype = "BEAST"});
addNPC("WOLFIE","WOLF",10,1250,100,400,50,Wilk);
Example how to add Friendly NPC( to talk or trade idk )
addNPC("FRIENDO","PC_HERO",200,250,100,2400,1,npcType({str = 40, aitype="NULL", hp = 30000, armor="ITAR_SLD_L", melee="ITMW_SHORTSWORD4", wyglad1 = "Hum_Body_Naked0",wyglad2 = 1,wyglad3 = "Hum_Head_Psionic",wyglad4 = 41}));
Example how to add Bandit (yes..he fck atack!)
addNPC("BANDITO","PC_HERO",200,250,100,2700,1,npcType({str = 200, aitype="2H", hp = 30000, armor="ITAR_SLD_H", melee="ITMW_ZWEIHAENDER4", wyglad1 = "Hum_Body_Naked0",wyglad2 = 1,wyglad3 = "Hum_Head_Psionic",wyglad4 = 42}));
Parameters for type npcType
str - npc strenght
dex - npc dexterity
hp - npc health.
oneh - npc one hand wrapon skill
twoh - npc two hand weapon skill
bow - npc bow weapon skill
cbow - npc crossbow weapon skill
aitype - npc AI type : NULL - nothing, BEAST - for monsters, 1H - one hand, 2H - two hand
armor - npc armor
melee - npc melee weapon
ranged - npc ranged weapon
wyglad1 - npc head model
wyglad2 - npc head texture
wyglad3 - npc body model
wyglad4 - npc body texture
Parameters for addNPC
name, instance npc, respawn time in seconds, x,y,z, angle, npctype
U can report in this thread or in discord (g2o online).
Ok guys. U made me to do it. 'Cause maybe. You're gonna be the one that saves me. And after all. You're my wonderwall'.
Download
Its simple npc creator with synchronization etc. U can create monsters, bandits or whatever ur sick had try to think of.
* I've test it maybe twice with my friends (Rod <3, next question : yes, he is gay). Report about bugs etc. Pleas ..
Example how to add Monster:
local Wilk = npcType({str = 40, hp = 10, dex = 10, aitype = "BEAST"});
addNPC("WOLFIE","WOLF",10,1250,100,400,50,Wilk);
Example how to add Friendly NPC( to talk or trade idk )
addNPC("FRIENDO","PC_HERO",200,250,100,2400,1,npcType({str = 40, aitype="NULL", hp = 30000, armor="ITAR_SLD_L", melee="ITMW_SHORTSWORD4", wyglad1 = "Hum_Body_Naked0",wyglad2 = 1,wyglad3 = "Hum_Head_Psionic",wyglad4 = 41}));
Example how to add Bandit (yes..he fck atack!)
addNPC("BANDITO","PC_HERO",200,250,100,2700,1,npcType({str = 200, aitype="2H", hp = 30000, armor="ITAR_SLD_H", melee="ITMW_ZWEIHAENDER4", wyglad1 = "Hum_Body_Naked0",wyglad2 = 1,wyglad3 = "Hum_Head_Psionic",wyglad4 = 42}));
Parameters for type npcType
str - npc strenght
dex - npc dexterity
hp - npc health.
oneh - npc one hand wrapon skill
twoh - npc two hand weapon skill
bow - npc bow weapon skill
cbow - npc crossbow weapon skill
aitype - npc AI type : NULL - nothing, BEAST - for monsters, 1H - one hand, 2H - two hand
armor - npc armor
melee - npc melee weapon
ranged - npc ranged weapon
wyglad1 - npc head model
wyglad2 - npc head texture
wyglad3 - npc body model
wyglad4 - npc body texture
Parameters for addNPC
name, instance npc, respawn time in seconds, x,y,z, angle, npctype
U can report in this thread or in discord (g2o online).