how can i make soldiers spawn in only certain guns or equipment like for the modern combat event?
also,do you know how to make custom names for the soldier?
thanks for the attention
Create custom_profile
and custom_bot_profile
.
And then write link to .json
file that contains profile.
(enl/globals/data/modern_squads_bots_profile.json
).
Here also enl/globals/data/modern_squads_profile.json
, but Enlisted don’t have tanks. So this profile will prints errors and you can’t use tank squad.
You can’t do it currently time in editor.
where i create this please give me more details description. arrivederci
Would good check it and all guides.
https://forum.enlisted.net/t/user-missions-are-now-available/54371/
Anyways…
- Click to
Create Entity
and in new menu writeprofile
.
After that click to object name and then click to map.
You should createcustom_profile
andcustom_bot_profile
if want change custom profiles in your map.
- Click to
Find Entity
and in new menu writeprofile
.
After that click to one of these profile object.
- Click to
Property Panel
and edit object propertycustomProfile
.
- Repeat 2 and 3, but click to another one object.
- Done.
X. Custom Profile will works in multiplayer.
If you want make them works in editor then you should edit teams.
One of teams should be team_usa
and another one should be team_ussr_berlin
.
You can edit these objects in scene.blk
file that in userGameMods
and in folder that have your map name.
(Just change team_stalingrad_axis
/team_tunisia_allies
/team_germany
/team_germany_berling
to team_usa
or to team_ussr_berlin
).
sorry but this thing only affects the editor, right?
another thing but I have to create a new folder from scene.blk?
Yea. It works for maps that created by editor.
No, you don’t need.
When you create map in editor then it autocreates folder with scene.blk in userGameMods
(it’s in Enlisted
folder with game and launcher).
So, where should I put the .json file?
(p.s) Emasoldato is one of my coworkers for the Stalingrad map that we need this for
Also, where do I select the guns and uniform pieces that I give to the variour squads?
You don’t need put .json
files to somewhere.
If you working on map that you need just set link to this file (he already in game files).
Link is
And it uses in
Entities.
Currently time you can’t do it for multiplayer game.
But way is same: use profile file, but a bit modded.
Here a bit more information how to and .json
files from game:
Currently time custom profiles will works only in local game.
And yeah… You need code it to change soldier equipment and stats.
I’m not undertanding where to find these files, so, do you have discord, so we can talk and interact easily?
For that you should check profiles.zip
file that in the post that i link.
It have all profiles that game contains. Game files are hidden in vromfs files.
I have it, so what should I do now.
(Specifically I need to create 4 stalingrad squads for each faction with a specific armament, face and uniform.)
Check lb_event_profile
it contains code for all campaign squads.
Find stalingrad_axis
(stalingrad_allies
) and after these words starts code for axis (allies) squads in stalingrad.
But yeah… It’s “pain” to change profiles right now.
After that you should:
- Rename file to another name.
- File can be anywere in your mod folder (
userGameMods/ModName/
). - In editor you must create
custom_profile
(profile for players) andcustom_bot_profile
(for bots) entities. - Edit them: add link to your
.json
file (%ugm/test_profile.json
(if you put it in modname folder and named it totest_profile
)). - Do
ToolBox
>>>Build Commands
>>>Build mod VROM
. - Make draft in Enlisted Sandbox and upload vromfs.
- Check/test player profile in local game or bot profile in local/multiplayer game (create room).
And again. Custom profiles for players doesn’t work in multiplayer currently time.
I suggest for you - wait while custom profiles will be official.
Maybe devs also will allow easier change these profiles, but yeah…
Probably it will happened not very soon.
And 99% that it will be not in this major update.
there are some things I didn’t understand.
First, I have to put the zip file in “user_gamemods”, right?
Second, if I have to, how do I open the zip file? Can you suggest me a good app to do so?
Third and last, is this thing approved by the devs, because as far as I know, if we are 20 people in the game it will give xp and campaign progression, correct me if I’m wrong.
Thanks as always for the attention.
we tried to open the .json file with Python but it shows files seen as an harmous file, explain this.
No, you put ...profile.json
to userGameMods\YourMapName
.
And in editor or in scene.blk edit custom_profile
and custom_bot_profile
objects.
Hmmm… As I know…
By default Windows can unpack .zip archives.
Well… I dont know. Winrar?)
No. I mean you can’t get any exp and other things.
You can test it in any custom map with profiles that from events. Maps are in sandbox site.
You can open json file by any txt editors.
But yeah… Maybe it will not very comfortable to edit code.
harmous file, explain this.
What? Its weird. Ummm. Idk.
Anyways I think would be good continue it in discord.