I'm having a problem with ants respawn of nurses. When someone will try to kill the AQ and kills a nurse ant, it spawns very fast I tried to modify the npcpos.txt where the only line where the name comes from nurses is that ants: Privates = [nurse_ant: nurse_ant: 2:10 sec ; nurse_ant: nurse_ant: 2:10 sec; nurse_ant: nurse_ant: 2:10 sec; royal_guard_ant: royal_guard_ant: 2:6 min; royal_guard_ant: royal_guard_ant: 2:6 min; royal_guard_ant: royal_guard_ant: 2:6 min; royal_guard_ant: royal_guard_ant: 2:6 min] and I've tried to modify the values 2:10, and it did not work does anyone know how to increase the time respawn them?
try this Code: Privates=[nurse_ant:nurse_ant:2:20sec;nurse_ant:nurse_ant:2:20sec;nurse_ant:nurse_ant:2:20sec;royal_guard_ant:royal_guard_ant:2:6min;royal_guard_ant:royal_guard_ant:2:6min;royal_guard_ant:royal_guard_ant:2:6min;royal_guard_ant:royal_guard_ant:2:6min] npc_end but remember, this can only work when queen ant spawns at npcpos, if you summon it it wont be valid
but the problem is the QA spawns by npcpos, am I not summon it I'll try that code you gave me and say if it worked
check EventHandler PARTY_DIED(private) is respawns all minions upd: this is a ai_boss01_queen_ant AI class
Check also: Code: class 1 ai_boss01_queen_ant : default_npc parameter_define_begin string Privates "nurse_ant:nurse_ant:2:10sec;nurse_ant:nurse_ant:2:10sec;nurse_ant:nurse_ant:2:10sec;royal_guard_ant:royal_guard_ant:1:20sec;royal_guard_ant:royal_guard_ant:1:20sec;royal_guard_ant:royal_guard_ant:1:20sec;royal_guard_ant:royal_guard_ant:1:20sec" But i'm sure npcpos parameters overwrite this ones so.... will be enought changing npcpos, but if you change this too you can summon it yourself to try it.
im not sure that npcpos overwrite it, because well it isn't "ai_parameters={}" it is just Privates, maybe that is why. Code: npc_begin [queen_ant] pos={-21610;181594;-5734;0} total=1 respawn=6hour respawn_rand=2hour dbname=[queen_ant] dbsaving={death_time;parameters;pos} Privates=[nurse_ant:nurse_ant:2:10sec;nurse_ant:nurse_ant:2:10sec;nurse_ant:nurse_ant:2:10sec;royal_guard_ant:royal_guard_ant:2:6min;royal_guard_ant:royal_guard_ant:2:6min;royal_guard_ant:royal_guard_ant:2:6min;royal_guard_ant:royal_guard_ant:2:6min] npc_end maybe doing it this way: Code: npc_begin [queen_ant] pos={-21610;181594;-5734;0} total=1 respawn=6hour respawn_rand=2hour dbname=[queen_ant] dbsaving={death_time;parameters;pos} ai_parameters={[Privates]=[nurse_ant:nurse_ant:2:10sec;nurse_ant:nurse_ant:2:10sec;nurse_ant:nurse_ant:2:10sec;royal_guard_ant:royal_guard_ant:2:6min;royal_guard_ant:royal_guard_ant:2:6min;royal_guard_ant:royal_guard_ant:2:6min;royal_guard_ant:royal_guard_ant:2:6min]} npc_end edit: nope it can't read it, but it is weird tho, because look at the royalguards, at ai.obj they have 20s but when you set them to 6min at npcpos it works, but the nurse doesn't and even after change it at ai.obj it still the same respawn time 10s last edit i guess found the reason Code: EventHandler PARTY_DIED(private) { if( private != myself.sm ) { if( private.npc_class_id == 1029003 ) { myself::CreateOnePrivate(private.npc_class_id,private.ai,private.weight_point,10); } else { myself::CreateOnePrivate(private.npc_class_id,private.ai,private.weight_point,( 280 + gg::Rand(40) )); } } }
here it is ai:http://paste.ubuntu.com/553655/ with this one you will be able to set the respawn via npcdata or npcpos Code: npc_begin [queen_ant] pos={-21610;181594;-5734;0} total=1 respawn=6hour respawn_rand=3hour dbname=[queen_ant] dbsaving={death_time;parameters;pos} ai_parameters={[nurse_respawn]=30} Privates=[nurse_ant:nurse_ant:2:20sec;nurse_ant:nurse_ant:2:20sec;nurse_ant:nurse_ant:2:20sec;royal_guard_ant:royal_guard_ant:2:6min;royal_guard_ant:royal_guard_ant:2:6min;royal_guard_ant:royal_guard_ant:2:6min;royal_guard_ant:royal_guard_ant:2:6min] npc_end lol after look into every possible way and have it done after some npcrestarts, i read your post, damn
As my server is online and playing with players I only able to test possible solutions later Thank you from now on, when I test I say if it worked or not some
nurse ant have a fast respawn but not so fast to the point of being unable to kill her with a +50 weapon I tried the two codes at first nothing happened and the second party of all the ant queen is gone it alone that appeared in the nest
if you can't make it work, which you should be, you can just reduce the ammount of heal from the skill that ant_nurse use, or the cast speed of them that should make queen_ant easier as well