Page MenuHomeFeedback Tracker

Lunapark usage flags
New, NormalPublic

Description

i noticed that in the mapgroupproto.xml, all the amusement park objects have no usage flag for "Lunapark".
instead it's like this for the ferris wheel for example (village, town and additional hunting for the shooting gallery):

<group name="Land_Lunapark_Ferris_wheel" lootmax="3">

				<usage name="Village" />
				<usage name="Town" />

in cfglimitsdefinition.xml: <usage name="Lunapark"/>
in types.xml: multiple items are assigned to "Lunapark", yet there isn't a single entry for it in the mapgroupproto.xml, which makes the whole category useless.

i removed the village, town and hunting tags from the amusement park objects and replaced them with the lunapark usage-name in the mappgroupproto. sadly this resulted in spawning police and prison loot at the lunaparks.... which makes absolute zero sense, as this tags are nowhere assigned to those objects.

i would be very grateful if someone could put some light on this.

Details

Severity
Minor
Resolution
Open
Reproducibility
N/A
Operating System
Windows 10 x64
Category
Config
Additional Information

v1.23

Event Timeline

etwas created this task.Dec 13 2023, 10:43 AM


my edited mapgroupproto file as reference.

sileed added a subscriber: sileed.Dec 15 2023, 12:18 PM

the carnival areas are all painted with usageflag "lunapark" in the areaflags.map file (along with many other locations painted with other usage flags. Use economy editor and files from BI github https://github.com/BohemiaInteractive/DayZ-Central-Economy/tree/master under CETool to edit your own or just to look at what they did

etwas added a comment.Dec 15 2023, 1:55 PM

thanks for your reply sileed.
if they use the correct usageflag in the areaflags.map file (which i didnt edit and i dont want to really), why isnt its tag used in the mapgroupproto?
it would be good to seperate loot and assign it to certain areas - well like it is with all other locations in the game. the lunapark only spawns items in the vanilla game, because all items assigned to it use the "village" and "town" usageflag aswell..... . if u want exclusive loot at the lunapark, it just seems not possible (as written in the first post).
this is very confusing.

etwas added a comment.Dec 23 2023, 5:13 PM

so i had a look at the areaflags.map file and the lunaparks usageflags are set correctly.
i dunno why this happens to me for several patches and countless wipes already. this items tagged as "prison" keep coming back to all lunaparks.
im at a point to pay money to anyone who solves this.....

etwas added a comment.Dec 23 2023, 5:31 PM

it seems the lastly added usageflags "lunapark" and also "historical" are not working correctly. they are not used in the vanilla mapgroupproto.xml.
if the "lunapark" tag is used in the mapgroupproto.xml it will spawn items tagged as "prison" and even better - "historical" will spawn items tagged as "contaminated".

This comment was removed by sileed.

thank you, sileed. they work kinda if u use the vanilla settings without using the correct tags in mapgrupproto.
i would like to see a public solution, instead of another thing being hidden behind discord.

Geez closed this task as Resolved.Jan 2 2024, 12:58 PM
Geez claimed this task.
etwas added a comment.Jan 2 2024, 2:59 PM

glad its solved for you geez. but im still super clueless what is happening.
:(

Geez reopened this task as New.Jan 2 2024, 4:38 PM
Geez added a comment.Jan 2 2024, 5:29 PM

Hello etwas.
Even with your setup we were unable to reproduce the issue.
Is there any info we are missing?

etwas added a comment.Jan 3 2024, 10:08 AM

all i did was using the "lunapark" flag for its designed locations instead of village, town and hunting. (results in prison gear spawning at lunaparks).
and for the castle ruins i added the "historical" flag (resulting in items spawning in tagged as "contaminated").

my simple question: why arent the usageflags lunapark and historical NOT used in the mapgroupproto file? and why is it causing this issues when doing so.

Geez added a comment.Jan 4 2024, 4:02 PM

Hello again.
Can you please upload your whole mission folder for us?

etwas added a comment.Jan 4 2024, 4:26 PM

thank you for looking into it, geez.
i removed the "lunapark" and "historical" usageflags from the mapgroupproto again, but many things are edited to my liking in the missionfiles - dunno if that created a weird conflict...