Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[G2O v.0.1.2][Server-Side] NPC Manager
#1
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).
Reply
#2
Końcówka 2017. mamy pakiety które oferują nam zaje**ste synchro. Zostańmy dalej przy komendach i utrudniajmy sobie życie.
Reply
#3
Ale pieprzysz
Reply
#4
what does wyglad means and why dont u make it english too? Big Grin
[Image: q4qeu3ny.gif]
Reply
#5
wyglad1 - npc head model
wyglad2 - npc head texture
wyglad3 - npc body model
wyglad4 - npc body texture
Reply
#6
Kemi give me like and dont fck with me
Reply
#7
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
[Image: q4qeu3ny.gif]
Reply
#8
Emm but i am not nad. Im just kiddin and this wyglad isn't important to event edit
Reply
#9
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.
Reply
#10
Ty for that's.i will add this soon.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  [Server] ORM Quarchodron 3 3,443 08.07.2020, 10:19
Last Post: Quarchodron
  [0.1.3] [server] ItemGroundSpawner HammelGammel 1 4,039 05.02.2020, 18:40
Last Post: demor140202
  [New G2O][Client-Side] bindKey Patrix 6 8,968 14.11.2018, 02:32
Last Post: Patrix
  [New G2O][Shared] Command Handler Patrix 3 6,171 05.09.2018, 15:42
Last Post: Patrix
  [New G2O][Shared] packetListener Patrix 3 6,651 20.06.2018, 18:43
Last Post: Tommy
  [0.1.4.*] [client/server] Simple anty-cheat Profesores 8 10,244 20.03.2018, 19:16
Last Post: Patrix
  [0.1.3] [client/server] BotCreator HammelGammel 22 26,549 08.02.2018, 22:02
Last Post: HammelGammel
  [0.1.3] [client/server] Utility Scripts HammelGammel 1 5,252 27.01.2018, 14:03
Last Post: HammelGammel
  [New G2O][Client-Side] Key Combination Patrix 1 3,783 23.12.2017, 13:16
Last Post: Patrix
  [G2O v.0.1.0][Client-Side] Notice Board Quarchodron 0 3,139 27.06.2017, 14:28
Last Post: Quarchodron

Forum Jump:


Users browsing this thread: 1 Guest(s)