![]() |
|
|
|
|
#1 |
|
Архивный участник
Join Date: Nov 2006
Posts: 277
|
Hi,
I've been trying to figure out how I can make a NPC AI for guards to kill flagged people on their sight, basically I wanted to make a peace zone for ACM and such areas but then I realized it would suck because people would just start gatehopping and such, which is really annoying. So I think the best thing I could do to prevent spawnkilling and even people abusing spawn such as hitting people and as soon as they move PK them is add guards that hit flagged people. So the question is: How can I make a good NPC AI for guards to hit flagged people? I'm terrible with ai.obj ... Thanks in advance, Best regards. |
|
|
|
|
#2 |
|
Архивный участник
Join Date: Nov 2006
Posts: 204
|
you can always look at the town guards who hit chaotic ppl .. guess a small change will make it flagged.
[offtopic] imo those guards would be annoying tho .. if you happen to be red .. running arround and happen to come across the spawnpoint you die .. might even cause ppl to chase ppl to the spawnpoint so they dont have to kill em but have the guards kill em, but then again spawnkilling is annoying aswell. [/oftopic] |
|
|
|
|
#3 |
|
Архивный участник
Join Date: Sep 2005
Posts: 198
|
Actually making all spawn points a safe zone works
we did it for all field spawn points and maybe then a 3x3 square, and with the small size its almost impossible for someone to run into a safe zone if being attacked by a player. but in the long run it help because people can spawn and have time to finish loading the mad and then to buff them selfs before they leave the spawn point. |
|
|
|
|
#4 |
|
Архивный участник
Join Date: Nov 2006
Posts: 277
|
Hmm... Seems like a good idea GMan, I'm wondering; Could you share those spawn zones / teach me how you do it or did you use any program to design the spawnzones / etc?
I've been trying to do this in areadata.txt but the area never works for some reason, I guess there are many tricks to make zones. Thanks for the help. |
|
|
|
|
#5 | |
|
Архивный участник
Join Date: Nov 2006
Posts: 204
|
Quote:
one thing they can do tho is stand there and shittalk/scout the place but if you see a huge pvp going on in a place you can SOE out again so thats nice again ![]() you can use L2SM to create the zones easily .. just gotta enter your coords and generate an areadata .. quick and easy way to just get a small zone example : Code:
area_begin name=[varkaspawn] map_no={23;16} type=peace_zone range={{125808;-40782;-3764;-3444};{125810;-40782;-3764;-3444};{125810;-40780;-3764;-3444};{125808;-40780;-3764;-3444}} area_end
|
|
|
|
|
|
#6 |
|
Архивный участник
Join Date: Nov 2006
Posts: 277
|
Thanks dirkr... I had an old version of L2SM, now I'm getting the latest one with areadata feature.
Best regards, PyroMaker. |
|
|
|
|
#7 |
|
Архивный участник
Join Date: Sep 2005
Posts: 1,014
|
|
|
|
|
|
#8 |
|
Архивный участник
Join Date: Nov 2006
Posts: 277
|
|
|
|
|
|
#9 |
|
Архивный участник
Join Date: Nov 2006
Posts: 204
|
well thats where the L2SM thing comes in handy.. you make a new npcpos i think ..or even areadata..enter one coord ( for one npc or something ) and put the teritory at 1radius.. gives you all teh coords
|
|
|
|
|
#10 |
|
Архивный участник
Join Date: Nov 2006
Posts: 277
|
Yep. Also Fidow's share works perfectly in case you want things already done, very good:
https://postpacific.loc-online.com/f...ead.php?t=6861 |
|
|
| Thread Tools | Search this Thread |
| Display Modes | |
|
|