[RELEASE] 30 Plus

Rexxenexx

Member
30 Plus (tested and working with DayZ 1.0.149918)

This script will respawn a player as 1 of 30 themed characters and add items to the loot-table that were omitted.

Here are a few of the outfits:
DayZSASpawnClothes.jpg

DayZSASpawnClothesMore.jpg

DayZSASpawnClothesMore2.jpg

DayZSASpawnClothesMore3.jpg

This script is for 0.63.148820 Experimental Server Only as it adds loot items that are not finalized.
In the future only one file will be needed since the loot classnames should be in the game already. I'll update when that time comes.

UPDATED to V2:
-Updated and tested with DayZ 0.63.148873
-Added more characters for a total of 50
-Removed the Leather craft items from types.xml because they are...well...craft items.


UPDATED to V3:
-Updated and tested with DayZ 0.63.149358
-Added more characters for a total of 55
-Removed all items from types.xml except the hockeystick


Install instructions:

1. Download the files here: REXX_DayZSA063_30PlusV3.zip

2. in mpmissions\dayzOffline.chernarusplus\ replace init.c with the one in the zip

3. in mpmissions\dayzOffline.chernarusplus\db\ replace types.xml with the one in the zip

4. Done

To add more characters, duplicate the last case 54: to break; and make it case 55:
Then edit switch (Math.RandomInt(0, 54)) { to switch (Math.RandomInt(0, 55)) { and change the items classname to something you like.
Repeat as many times adding 1 to both the "case" and the "RandomInt" second variable/integer.
You'll find all the classnames in mpmissions\dayzOffline.chernarusplus\db\types.xml

Enjoy!
 
Last edited:
You'd need to add the loadout to each one. Something like:

C:
            case 0:
                itemEnt = player.GetInventory().CreateInInventory("PrisonUniformPants");
                itemEnt = player.GetInventory().CreateInInventory("PrisonUniformJacket");
                itemEnt = player.GetInventory().CreateInInventory("PrisonerCap");
                itemEnt = player.GetInventory().CreateInInventory("Sneakers_Gray");
                itemEnt = player.GetInventory().CreateInInventory("Mag_CZ61_20Rnd");
                itemEnt = player.GetHumanInventory().CreateInHands("CZ61");
            break;

You may need to add a backpack if the character doesn't have enough room.
 
Back
Top