Replacing NPCs

What changes do I make to this:
O N E
and this:
T W O
to make all soldiers on the team look like modern USA troops, while keeping the gun game event profile active?

1 Like

you have to paste this in your blk scene:

entity{
  _template:t="custom_bot_profile"
  customBotProfile:t="enl/globals/data/modern_squads_bots_profile.json"
}

entity{
  _template:t="custom_profile"
  customProfile:t="enl/globals/data/modern_squads_profile.json"
}

though the T80 and m1 abrm do not work. ( tanks )

because the settings that you showed, are not related to what you are looking for.

matter of fact, i’d like to know what those do as well. perhaps @Enginya and/or @Devenddar knows.

but beside that, if you are looking for profiles, then yeah you just have to paste what i sended above.

additionally, i believe you can create new profiles with modern units, but if not mistaken, @Aurora_Pioneer_I tried, but he had some issues if i recall.
can you tell us if the issues were solved or?

EDIT:

oh shoot. i didn’t read properly.

1 Like

The thing is I am already using gun game profile, which makes soldiers unarmed by default. But their costume is that of WWII Americans and Germans. So, my question is: Can I make them look like modern USA soldiers using these values without removing the gun game profile?

i see.

i’m gonna ask you a few questions,

have you created a battle already? with all the stuff that you are looking for? ( setted up the scene )

if not, i think i can share mine. perhaps some options in your scene conflict with the profiles

i think i found the issue actually.

can you check the base faction id?
the faction templates.
here is the ussr

entity{
  _template:t="team_ussr_berlin+team_narrator_invasion_attack+respawn_creators_team"
  team__memberCount:r=0
  team__scoreCap:r=2000
  team__score:r=2000
  team__squadSpawnCost:i=250
  team__firstSpawnCostMul:r=0
  team__zeroScoreFailTimer:r=60
  team__id:i=1
  team__briefing:t="invasion/attackers_goals"
  team__winSubtitle:t="debriefing/won_invasion_subtitle"
  team__loseSubtitle:t="debriefing/lost_invasion_subtitle"
  team__winTitle:t="debriefing/britain_won_invasion_title"
  team__spawnBotArmy:t="berlin_allies"
}

found the working american profile:

entity{
  _template:t="team_usa+team_narrator_invasion_defence+respawn_creators_team"
  team__memberCount:r=0
  team__scoreCap:r=2000
  team__score:r=2000
  team__squadSpawnCost:i=250
  team__firstSpawnCostMul:r=0
  team__zeroScoreFailTimer:r=60
  team__id:i=2
  team__briefing:t="invasion/attackers_goals"
  team__winSubtitle:t="debriefing/won_invasion_subtitle"
  team__loseSubtitle:t="debriefing/lost_invasion_subtitle"
  team__winTitle:t="debriefing/usa_won_invasion"
  team__spawnBotArmy:t="normandy_allies"
}

I have created the battle. It is a conquest/gun game.
What I am asking is, by changing the values that say “usa_npc_summer_soldier”, can I give the soldiers modern costumes? And what would I change the values to?

you don’t technically have to.

as they work for me without any particular setting:

which you can check:

scene.blk.txt (9,2 KB)

( ignore the other stuff, i was testing )

The USSR_berlin one is modern russians?

yes

Wait…but you’re using the modern conflict profile. I’m using gun game profile(so that soldiers only gave weapons that are part of the progression). Is there a way to have modern soldiers without the modern profile?

ahhh

i see.

then i don’t think you can. as i saw other gun game with modern weapon but still default clothings.
unless i’m wrong.
best to wait answer from devender or someone else.

sorry, for wasting your time, i didn’t got right the premise of the question

All good

No, but when you use gun game your soldier will have only pistol and melee weapons. Other will be removed.

If you want to use modern conflict soldiers then I recommend to use bot profile on player, because we don’t have working tanks and bot profile don’t contains it.
(Just for reduce error messages).

So I can’t go into team_bot_template and team_unit_template and write usa_npc_modern_soldier or whatever it is?

It’s probably cutted content. Iirc in old enlisted bots were different, but I’m not sure.
Anyways… These properties don’t seem work nowadays.

Currently time for change soldier equipment you need to use custom profiles (custom_profile and custom_bot_profile entities). If you success added gun game profile then you probably know how to do it. For modern conflict path is enl/globals/data/modern_squads_bots_profile.json.

But you will need to set mixed teams. Why? Because second team will be unplayable. It happened because custom matches override some team properties as result axis team will be always axis and profile modern conflict don’t contains army for axis team.

You use gun game profile for players and at same time use different profile for bots… Even really custom profile. Maybe it’s hard to do, but this post may help with it. If you use really custom bot profile then path is %ugm/yourFileName.json. With this you can fully customize bot equipment, but yeah… Not player equipment.

Gun Game profiles override soldier appearance. You would have to create your own gun game custom profile.

Players would still have ww2 look though

K, guess I’ll keep WWII clothes…

You cannot activate two profiles at once, and cannot DIY your players’ custom profiles
However, you can change AI profiles. DEA and Bazsi have mentioned above. And Erika’s post possibly can help you with custom costumes

Probably, but I haven’t succeeded yet

1 Like