Quote:
Originally Posted by PAL-18
I have the same problem. Everytime i do z_addspawn in console, im told: Unknown command: z_addspawn
|
I am running this on an Age of Chivalry server and it has been quite challenging because it is a free independent HL2 Mod so not everything is structured the same game and file wise.
I have gotten this to work on a linux but it is not consistently working specially when a map rotates out. This, Unknown command: z_addspawn will show up in your console sometimes but I have found that the spawn points do get placed there. This plugin will write a cfg folder with a spawn cfg per map under your server cfg file.
Here is a list of bugs that I have not been able to overcome and some maybe because I am using it on an HL2 Mod Age of Chivalry;
1. Plugin seems to work randomly in that I have to reboot the server to get it to work then a map will rotate out and it will not work again.
2. Not all populations will spawn, all the time or on command while sometimes the work fine.
3. Dead Npc bodies do not fade or disappear, adding to graphic lag in FPS after the bodies start to accumulate.
4. Manhacks when they spawn, just fly straight up, hit skybox and explode.
5. All NPCs die on one hit. Age of Chivalry is a first person melee game, so not sure if that is an issue.
6. Most NPCs do little to no damage to players, poison zombies thrown head crabs do no damage then those headcrabs, once thrown do nothing.
7. Sometimes the cvars will work on the fly and sometimes they will stop working along with the plugin.
Ok now I will post up some of my attemps to fix some issues. Here is a list of NPC settings I have found. Again, sometimes they work and sometimes they do not. I have tried to place this in the server.cfg but not sure why it didn't work and I will test placing these commands into the individual cfg/(map folder)/zombiespawns.cfg or maybe I will add an autoexec.cfg in that folder. Any help on correct location and syntax of these commands would be greatly appreciated.
Quote:
//------------------------Zombie settings-----------------------------------
z_enabled 1 //0/1 Enabled or disable the plugin.
z_population "" // Chooses the population from which NPCs are spawned.
// default = fastzombies
// headcrab = headcrabs, headcrab_poison, headcrab_fast
// zfull = zombie. fastzombie, poisonzombie, zombie_torso
// antlion = antlion
// antloinguard = antlionguard
// manhack = manhack
// vortigaunt = vortigaunt
// war = headcrab_fast, headcrab_poison, fastzombie, poisonzombie, zombie_torso, antlion, manhack, vortigaunt
z_frequency "" // Chooses the frequency of which NPCs are spawned.
// default = fast +100 (default war)
// havok = medium +100 (headcrab war)
// ant1 = medium + 25 (antlion battle)
// antg = slow +1 (antlionguard or one npc every 5 min)
// vort = medium +20 (vortiguant antlion zombie war)
// manhack = fast +50 (manhack, vort, antlion, zombie)
//z_addspawn This is the cvar to enter into console to place npc spawnpoints
//Zombie Damage Settings
//Antlion
sk_antlion_health 65
sk_antlion_air_attack_dmg 35
sk_antlion_jump_damage 25
sk_antlion_swipe_damage 25
ent_fire npc_antlion addoutput "ondeath kill"
ent_fire npc_antlion setrelationship "player d_ht 99"
//Antlionguard
sk_antlionguard_dmg_charge 50
sk_antlionguard_dmg_shove 50
sk_antlionguard_health 200
ent_fire npc_antlionguard addoutput "ondeath kill"
ent_fire npc_antlionguard setrelationship "player d_ht 99"
//Headcrabs
sk_headcrab_fast_health 15
sk_headcrab_health 15
sk_headcrab_melee_dmg 20
sk_headcrab_poison_health 20
sk_headcrab_poison_npc_damage 20
ent_fire npc_headcrab addoutout "ondeath kill"
ent_fire npc_headcrab_poison addoutput "ondeath kill"
ent_fire npc_headcrab setrelationship "player d_ht 99"
ent_fire npc_headcrab_poison setrelationship "player d_ht 99"
//Manhack
sk_manhack_health 15
sk_manhack_melee_dmg 20
sk_manhack_v21
ent_fire npc_manhack addoutput "ondeath kill"
ent_fire npc_manhack setrelationship "player d_ht 99"
//Vortigaunt
sk_vortiguant_armor_charge 30
sk_vortiguant_armor_charge_per_token 5
sk_vortiguant_dmg_claw 25
sk_vortiguant_dmg_rake 35
sk_vortiguant_dmg_zap 40
sk_vortiguant_health 100
sk_vortiguant_vital_antlion_worker_dmg 0.2
sk_vortiguant_zap_range 25
ent_fire npc_vortiguant addoutput "ondeath kill"
ent_fire npc_vortiguant setrelationship "player d_ht 99"
//Zombie
sk_zombie_dmg_both_slash 35
sk_zombie_dmg_one_slash 25
sk_zombie_health 75
sk_zombie_poison_dmg_spit 35
sk_zombie_poison_health 80
ent_fire npc_fastzombie addinput "sethealth 100"
ent_fire npc_fastzombie addoutput "ondeath kill"
ent_fire npc_zombie addoutout "ondeath kill"
ent_fire npc_zombie_poison addoutput "ondeath kill"
ent_fire npc_zombie setrelationship "player d_ht 99"
ent_fire npc_zombie_poison setrelationship "player d_ht 99"
//npc_destroy_unselected - Destroys all the NPCs not currently specified.
//npc_kill [npcname] - Kills specified NPC, or NPC currently under the cursor if none specified.
//------------------------------------end of zombie settings----------------------------
|
Other than this I am at a loss as to the inconsistency of this plugin. I love the concept and maybe it is just me and how I have it config. Again any help on locations of npc config, syntax of npc commands, and getting this to work consistently would be great!
When it does work it is awesome!