JulienLaclaverie / PZ_DieTonightMap

A projet Zomboid Map & Mod inspired from the game Die2Night
0 stars 0 forks source link

Use the "Map" system to make zombies loot maps of the desert #36

Open JulienLaclaverie opened 7 years ago

JulienLaclaverie commented 7 years ago

Multiples maps needs to be created and looted by the zombies on death.

Those maps should "show" the name of one or two buildings and their location (someting like "North-east Facility")

JulienLaclaverie commented 7 years ago

Leads :

Map texture folder example media/ui/LootableMaps/marchridgemap.png

Item declaration within the module Base (we may need our own module) :

    item MarchRidgeMap
    {
        Type                =           Normal,
        DisplayName         =           March Ridge Map,
        Icon                =           Map,
        Weight              =           0.1,
        Map                 =           media/ui/LootableMaps/marchridgemap.png,
    }

The map item declaration should be done here. If we can also fix the fact that our items are curently in the module Base and change this everywhere in the code to a D2N module. To avoid errors later. if not possible, continue using Base since it works perfectly right now.

Add all the created maps like this "Base.MarchRidgeMap",0.1 to the inventoryfemale & inventoryfemale inside the distribution file to make it lootable by dead zombies.