Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 14.02.2007, 14:34   #1
PyroMaker
Архивный участник
 
Join Date: Nov 2006
Posts: 277
Default Guards to kill flagged people: How?

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.
PyroMaker is offline  
Old 14.02.2007, 15:14   #2
dirkr
Архивный участник
 
Join Date: Nov 2006
Posts: 204
Default

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]
dirkr is offline  
Old 15.02.2007, 02:05   #3
GMan
Архивный участник
 
Join Date: Sep 2005
Posts: 198
Default

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.
GMan is offline  
Old 15.02.2007, 14:15   #4
PyroMaker
Архивный участник
 
Join Date: Nov 2006
Posts: 277
Default

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.
PyroMaker is offline  
Old 15.02.2007, 14:18   #5
dirkr
Архивный участник
 
Join Date: Nov 2006
Posts: 204
Default

Quote:
Originally Posted by GMan View Post
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.
same way we did it .. 1x1 zone tho.. this way they can go there.. but the slightest movement and they are off it..
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
this is from my varkaport coords tho..so make sure you got yours
dirkr is offline  
Old 15.02.2007, 14:35   #6
PyroMaker
Архивный участник
 
Join Date: Nov 2006
Posts: 277
Default

Thanks dirkr... I had an old version of L2SM, now I'm getting the latest one with areadata feature.

Best regards,
PyroMaker.
PyroMaker is offline  
Old 15.02.2007, 18:13   #7
FidoW
Архивный участник
 
Join Date: Sep 2005
Posts: 1,014
Default

My small share
https://postpacific.loc-online.com/f...ead.php?t=6861
FidoW is offline  
Old 15.02.2007, 18:55   #8
PyroMaker
Архивный участник
 
Join Date: Nov 2006
Posts: 277
Default

Appreciate it. Thanks for all the help.
Here's something that my friend DHX gave to me.

I think it will be helpful for people with this same problem:

PyroMaker is offline  
Old 15.02.2007, 19:06   #9
dirkr
Архивный участник
 
Join Date: Nov 2006
Posts: 204
Default

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
dirkr is offline  
Old 15.02.2007, 20:14   #10
PyroMaker
Архивный участник
 
Join Date: Nov 2006
Posts: 277
Default

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
PyroMaker is offline  
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 17:53.