Gothic Online Forums
[G2O v.0.1.2][Server-Side] NPC Manager - Printable Version

+- Gothic Online Forums (https://archive.gothic-online.com)
+-- Forum: Scripting (English) (https://archive.gothic-online.com/forum-11.html)
+--- Forum: Resources (https://archive.gothic-online.com/forum-14.html)
+---- Forum: Scripts (https://archive.gothic-online.com/forum-17.html)
+---- Thread: [G2O v.0.1.2][Server-Side] NPC Manager (/thread-2218.html)

Pages: 1 2


[G2O v.0.1.2][Server-Side] NPC Manager - Quarchodron - 08.10.2017

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).


RE: [G2O v.0.1.2][Server-Side] NPC Manager - Son Goku - 09.10.2017

Końcówka 2017. mamy pakiety które oferują nam zaje**ste synchro. Zostańmy dalej przy komendach i utrudniajmy sobie życie.


RE: [G2O v.0.1.2][Server-Side] NPC Manager - Quarchodron - 09.10.2017

Ale pieprzysz


RE: [G2O v.0.1.2][Server-Side] NPC Manager - Kemi - 09.10.2017

what does wyglad means and why dont u make it english too? Big Grin


RE: [G2O v.0.1.2][Server-Side] NPC Manager - Son Goku - 09.10.2017

wyglad1 - npc head model
wyglad2 - npc head texture
wyglad3 - npc body model
wyglad4 - npc body texture


RE: [G2O v.0.1.2][Server-Side] NPC Manager - Quarchodron - 09.10.2017

Kemi give me like and dont fck with me


RE: [G2O v.0.1.2][Server-Side] NPC Manager - Kemi - 09.10.2017

iwtf is wrong with u quarch.. you post your stuff in the english forum and wyglad isnt english.. so i told you that. . you dont need to be mad . lol


RE: [G2O v.0.1.2][Server-Side] NPC Manager - Quarchodron - 10.10.2017

Emm but i am not nad. Im just kiddin and this wyglad isn't important to event edit


RE: [G2O v.0.1.2][Server-Side] NPC Manager - Mattwell - 16.10.2017

Ok, I can create NPC (for example Bandit), and now here is one question: is bandit doing fight animations, walking, running etc? Should I write it or is it here in this script?

@edit: it works ! I have one suggestion for this. After monster kill u, he should play animation of eating you.


RE: [G2O v.0.1.2][Server-Side] NPC Manager - Quarchodron - 16.10.2017

Ty for that's.i will add this soon.