MAP text labels - can we place some information (like “Someth useful HERE”) that can be visible to one side (axis/allies)? Or some icon, like ammo resuply post.
I can use “red arrows” (but people will be confused) or “vehicle supply point” - but this is visible only when “in vehicle”. Any other options, visble for “foot soldier class” ?
Can we modify range for especially mortars? 200m for light ones, 500m for 80mm… I was experimenting with modification of this value, but with no result. Probably “range of mortar” is controlled by other way.
You did it again wrongly.
You can save edited properies after pickup only in customProps.
And there (in customProps) you need create initialComponents and set object.
After that add item__name property. And also mortar__distanceLimit if you want change it too.
“You can save edited properies after pickup” — I probably do not understand as I am not so skilled MODer.
Since now, I used/consumed only “working items as they are” - recently I learned how to insert working Names where are they missing, switch camo to the vehicles etc.
I need to prepaire this item on the MOD scenario, so if any gamer pick it up, it will be working as expected. Is this possible to do?
In theory you do it… By can spawn base_fortification_build with postfix ammunition_box_a.
Then set team that should see icon. And after that turn off animchar_render__enable. And then edit collres__res just write there collres__res from any weapon.
Icon in hud_icon__image.
Well… Or it’s maybe because my English kinda bad)
Anyways… I meant that customProps allows you to save information after pickup while if you edit properties then it will be reset to default.
Well…
Not really, but it will not works as you want.
Code should be like it:
Not really, but it limit box that you can use. I mean limit is enemy/allies box.
If you didn’t set it then it will be automatically set depends on user team.
And as reuslt you will not able refill weapon on enemy engineer box.
For make weapon refillable you need set gun__reserveAmmoTemplate property.
If it didn’t set then it will be automatically set depends on soldier equipment… Which is weird.
Maybe I should create bug report about it.
UPD:
In theory you can do it… By can spawn base_fortification_build with postfixs +medic_box_item+item_in_world .
Then set team that should see icon. And after that turn off model by editing animchar_render__enable . And then edit icon in hud_icon__image. Should work…
Just - it is a little bit different, but finally works:
you need both atributes to be set (usually with same name, here only to bet it better understand):
Ok, now it works, 8cm GrW34 Mortar refillable by axis ammo boxis is “alive” and I have learned, how to do same for other types of handguns (you just have to know the ID of ammo of this weapon)
Oh. Create rally spawn point in editor…
Well… Currently time there is problem or bug that don’t allow create this entitiy in editor.
I tried currently time add respawn to map by editing map code (scene.blk), but even with it I can’t do it.
Entity just not appearing. Maybe because it have checks to another object.
And if this another object not in game then not appears.
Interesting. Seems we can make multiple items spawns when you build rallypoint.
Anyways… It maybe should spawn soldier in 5m higher then usually.
And it’s for 2 team (because of team:i=2).