I found an instance of the item spawner entity in one of the older mission BLKs. This can be used to create massive number of pickupable weapons at spawn much easier. It also doesn’t tank FPS.
but, i had a few issue.
and i was wondering if it’s possible to make the game / editor recognize that those weapons belongs to a team. so that, everytime players will pick up a weapon, the ammo box constructed by an engineer will allow any players to replenish their ammunition for that said picked up gun.
i also followed @Devenddar great findings to combine the two and eventually release it also on this thread as an advice for everyone, but i couldn’t make it work.
though, makes the editor crash.
so my questions are, is my syntax wrong? did i missed some important keys? or it just straight up does not work? / not duable.
Not sure. Looks like missing one } in end.
But anyways… As i know it’s not possible to edit properties in item_spawner.
And about refillable ammo from boxes… It’s not only about item__ownedByTeam.
It’s also gun__numReserveAmmo and gun__reserveAmmoTemplate.
If they didn’t set then will be automatically set by game.
And usually they’re wrong.
which, my first ever armory that i did, was essentially spamming one rilfe onto another in one position.
( which you can still see in the gavutu mission file that i sent you )
so, right now, would be really time consuming and straight up boring having to replace one by one rifle and include the InitialComponents one by one.
the other issue that i have with manual placing, are that:
they take alot of space both in the blk text chunk and physical ( or rather, digital ) space in the scene if for example, you have more than 5 types of weapons when you can instead use a spawner that will save you both spaces
Number Limits
which also correlate with the first issue. i can’t have the same ammount of rifles like a spawner.
so, at least for me, where people do not have all type of guns for one reason or another ( due being extreame grind needed or the gun it self not being present in the campaign for example, an mp34 in berlin/tunisia/Stalingrad/Moscow etc )
That looks very nice, it has a vibe to it Using animChar as a shopkeeper is creative.
I’m still waiting for respawnable weapons; Most players are stupid and they just take all the ammo and die 20 seconds later leaving no weaponary for the rest of the team