through out my quest for making pves, i’m… getting my way there ( even though it’s still a long way as i’m still having huge issues of fps and what not. so for the moment being, more like a solo pve than what originally planned as coop and what not )
and as a difficulty condition for those missions out of various that i had in mind, i kinda wanted for the placed npc to survive a couple of shots. and just like the base AI in the game through squad, if they go down, they can " revive " them selves and be a bit more " though ".
so, i know that base through the jonson, i can give them medkits and grenades:
"human_weap__weapTemplates" : {
"grenade" : "grenade_thrower",
"melee" : "knife_weapon",
"primary" : "mp_35_long_barrel_gun",
"secondary" : "",
"tertiary" : ""
},
"id" : 0,
"inventory" : [
{
"gametemplate" : "germ_medkit_item"
},
{
"gametemplate" : "explosion_pack_item"
},
{
"gametemplate" : "explosion_pack_item"
}
],
but, i’m not sure how can i do that through normal npcs ( ex. ger_base_soldier ) in the blk scene though.
i tried with:
"human_weap__weapTemplates:object"{
secondary:t=""
tertiary:t="p38_walther_gun"
melee:t="knife_weapon"
grenade:t="grenade_thrower"
primary:t="stl_kar98k_wartime_production_gun"
inventory:t="germ_medkit_item"
}
"human_weap__weapInfo:array"{
"human_weap__weapInfo:object"{
reserveAmmoTemplate:t="mauser98k_magazine"
itemId:i=472361767
numReserveAmmo:i=5
}
"human_weap__weapInfo:object"{}
"human_weap__weapInfo:object"{
reserveAmmoTemplate:t="p38_walther_magazine"
itemId:i=181403279
numReserveAmmo:i=3
}
"human_weap__weapInfo:object"{
reserveAmmoTemplate:t=""
numReserveAmmo:i=0
}
"human_weap__weapInfo:object"{
reserveAmmoTemplate:t="m24_grenade_item"
numReserveAmmo:i=2
}
}
in scene blk, but it doesn’t recognize it.
or just seems not working.
because if i shoot the bot, he will just… die.
even by just using melee or low damage weapons.
so i was wondering, if is it possible to give them equipment and / or medkits?
if yes, how. ( … or… do they need more than simply a medkit? )
thanks.