❓ Your questions about the mission editor and launching user missions in the game

yes, all and any you need

1 Like

Is it possible to add Spawn rally point to vehicle ?

1 Like

half year ago🦊 said


You can attach rally points to vehicles, but it doesn’t actually work as you would expect in game, the selector doesn’t follow the vehicle in the respawn scene, and there are other issues , e.g. Soldiers respawning when the vehicle moves into a gray area may have issues.


Yet, I still have a lot of feature requests that require coding to do, but I’m currently shy asking more questions as the dev team might be having a hard time these days.

For example, the air respawn point and paratrooper functions requested by other players. I also need a function that can replace the player’s backpack with a parachute at the respawn point. This is currently impossible without writing code.

I’m just waiting for some critical features to be implemented, most needed for me are custom templates in multiplayer games.


Nevertheless, thanks to the development team, most of our feature requests have been realized through the function of custom templates.

Now players are just waiting to see these features rolled into multiplayer @1942786 @Enginya

2 Likes

hi ,
reading and reading Enlisted datamine …
Can I by the entities method change the model of a vehicule by another of the game ?
For example : give 3d model of Elco77pt 20 to an american assault boat ?
Can I add seats and turret to Elco77 or other vehicule ?

1 Like

thx :pray:

1 Like

Depends on vehicle animchar, but yeah. You can. Heavly edited boat + game_rendinst:


Just some objects may don’t have attachNode or it’s different. If you use incorrect/unknown attachNode then soldier and camera will be at 0 coordinates in the vehicle. Same for guns. If entity don’t have turret_control__animVars then probably you can’t add new turrets. If you will try do it then will got some problems: impossible to rotate gun and projectile will spawns at 0 coordinates in the map.

Maybe here some info about vehicle seats will be useful, but idk.
How can i remove ( and add ) sits?, hide/remove turret’s vehicles, and remove pre placed lights?

Will be something like it:


But it’s not very big problem, becuase you can a bit edit it:

3 Likes

Could you explain me how to edit ?

1 Like

Soldier position:
Example: attachTm:m=[[1, 0, 0] [0, 1, 0] [0, 0, 1] [0.75, -0.25, -0.35]]
Better to edit [0.75, -0.25, -0.35] they’re XYZ.

Camera position:
Example: cameraOffset:p3=0, 3, 0. XZY.

2 Likes

How to use rendinst to animchar ?

1 Like

Add postfix game_rendinst_decor or create entity with postfix +game_rendinst_decor.
After that in properties you should turn off RI collision ri_extra__hasCollision. In screenshot with many soldiers in ship I also turn off animchar animchar_render__enabled. For ships you can remove vehicle collision and use RI collision, but: ship will ignore walls and objects like ghost.

1 Like

:ok_hand:

1 Like

Have you a txt example because i don’t understand and know the exactly syntax to set “attachTm”
start probably by : (i want to change driver and passenger position)

entity{
_template:t=“german_assault_boat_39”
transform:m=[[1, 0, 0] [0, 1, 0] [0, 0, 1] [365.569, -11.6708, 358.439]]
“vehicle_seats__seats:shared:array”{
“vehicle_seats__seats:object”{
attachTm:m=[[1, 0, 0] [0, 1, 0] [0, 0, 1] [0.75, -0.25, -0.35]]
cameraOffset:p3=0, 3, 0
}
}
}

2 Likes

It requires some simple computer graphics and linear algebra knowledge.

It is a 3x4 transformation matrix. The left side 3x3 part represents the scaling, rotation, dislocation and other transformations of the object, while the rear 3x1 part represents the coordinates xyz of the object

2 Likes

How to change propertes for weapon that placed around map by mapper/modder?

For that… You just need edit property customProps! Yeah!
This property allows us to save edited properties when you pickup weapon!

So… When you create weapon then you will note that this property is empty:


Just to click to plus and then write initialComponents after that select object:

After that remains only write any weapon property inside initialComponents. For that click to + near with initialComponents and write any property:

For example… Let’s give to weapon ability refill weapon from 2 team (Axis) ammo boxes:
For that we adding these propertes and fill em. And also I’ll change weapon model (animchar__res) to old kar98k when pickup weapon. It’s just for final stage and for more visible results.

As result we got it (I clone it before then pickup):

As you can see in screenshot… It’s success! Even weapon model changed!
Good luck in making maps with many-many unique weapons :slight_smile:

I noted this property when second time tried find way how to add gunmod (scope/grenade launcher/bayonet) to weapon. I decided recheck it because of TommyZZM question.

Sadly, but we can’t add gunmods to weapon because of unique gunmod & weapon ID that reset after map restart.

5 Likes

No, we can.

How to add mods (bayonet, scope and grenade launcher) to weapon?

Just need to add gunMods property in customProps.
For that find customProps and click to plus. After that write gunMods and select object:


Then we need click to plus near gunMods and write scope or bayonet and select text.
I decided to add both mods to this weapon:

And write their names.
As result:

You can note scope and bayonet in weapon.

But yeah…
You can’t set mods to weapon that can’t have it. Like add scope to gewehr 43 kurz.
And also with this way you can’t visualy change weapon model that placed around map.

You can check what weapon mods can be added to weapon. For that check property gun_mods__slots:


Keep in mind that it doesn’t show grenade launcher.

How to add grenade launcher to weapon?

The method is exactly the same as in the last question, but you need write grenade_launcher instead scope or bayonet.


And after that need to place ammo in map. In screenshot I add schiessbecher_grenade_launcher so… I need to place around map scheissbecher_grenade_item.
As result:

You can note grenade icon.

Well… It seems that maybe not possible to set another grenade launcher to weapon.

Bonus:

Earlier I wrote how to add bots with weapons.

Now I want update this with information how to add mods to bot’s weapons.
For that you need to change bot weapon to this weapon that can contains any mods.
After that in weapInfo we need write ammo for this weapon.
Example: I write weapon pre_war_kar98k_with_scope_mount_gun. So ammo is mauser98k_magazine.

So… Here we click to plus. After that write gunMods and select object.
In gunMods we again click to plus and write mod that we want to add (bayonet , scope or grenade_launcher) and select text . After that write weapon mod name. As result:

3 Likes

Property item___name in most cases works well - if “item/someth%” is seen in lootable object, just edit this atribute and problem solved. BUT - now I wanted to use GrW34/8cm germany mortar - and this happend. Even I changed “item__name” - this changes only label in “looting dialog”, not in “menu / change weapon dialog” (check the att image).

Anobody knows why and how to solve it? Tnx, it looks ugly :wink:

I think you need use customProps property for that and write item__name there.
Info about customProps in this post.
But i’m not 100% sure.

customProps uses for replace some code after pickup. By default it reset.

like this?
LRE_20230224_155547

Yeah. Should work after pickup.


unfortunatelly not ;(