DayZ
LastDayZ_Radios
FailedLoading  [developer] 22 Oct, 2021 @ 9:23pm
how to recall and make your own music with cassette tape model.
#define _ARMA_

class CfgPatches
{
class LDZ_Radio_tapes
{
units[] = {""};
weapons[] = {};
requiredVersion = 1;
requiredAddons[] = {"DZ_Data","DZ_Radio"};
};
};
class CfgSoundShaders
{
class LDzRadio_Cassette_SoundShader_BaseTape
{
samples[] = {};
frequency = 1;
range = 150;
volume = 1.2;
};
class LDzRadio_shookonesmobbdeep_Shader: LDzRadio_Cassette_SoundShader_BaseTape
{
samples[] = {{"LastDayz_Sounds\data\shookonesmobbdeep.ogg",1}};
};
};

class CfgSoundSets
{
class LDzRadio_shookonesmobbdeep_SoundSet
{
soundShaders[] = {"LDzRadio_shookonesmobbdeep_Shader"};
};
};
class CfgVehicles
{
class Inventory_Base;
class LDzRadio_Cassette_BaseTape: Inventory_Base
{
displayName = "Cassette Tape";// leave alone
descriptionShort = "Cassette Tape That Can Play Music";//leave alone
model = "DZ\gear\radio\cassette.p3d";//leave alone
weight = 100;
itemSize[] = {2,2};//item size
fragility = 0.01;
absorbency = 0.5;
repairableWithKits[] = {5,7};
repairCosts[] = {30,25};
inventorySlot[] = {"Cassette"};
hiddenSelections[] = {"camo"};
hiddenSelectionsTextures[] = {"DZ\gear\tools\data\cassette_co.paa"};// leave alone
class DamageSystem
{
class GlobalHealth
{
class Health
{
hitpoints = 100;
healthLevels[] = {{1,{"DZ\gear\tools\data\cassette.rvmat"}},{0.7,{"DZ\gear\tools\data\cassette.rvmat"}},{0.5,{"DZ\gear\tools\data\cassette_damage.rvmat"}},{0.3,{"DZ\gear\tools\data\cassette_damage.rvmat"}},{0,{"DZ\gear\tools\data\cassette_destruct.rvmat"}}};
};
};
};
class MeleeModes
{
class Default
{
ammo = "MeleeLightBlunt";
range = 1;
};
class Heavy
{
ammo = "MeleeLightBlunt_Heavy";
range = 1;
};
class Sprint
{
ammo = "MeleeLightBlunt_Heavy";
range = 2.8;
};
};
class CfgCassette{};
};
class LDzRadio_shookonesmobbdeep_Tape: LDzRadio_Cassette_BaseTape
{
scope = 2;
displayName = "Shook Ones By Mobb Deep";
descriptionShort = "Mobb Deep Shook Ones";
hiddenSelections[] = {"camo"};
hiddenSelectionsTextures[] = {""};
class CfgCassette
{
soundSet = "LDzRadio_shookonesmobbdeep_SoundSet";
};
};
};
< >
Showing 1-4 of 4 comments
JJarvis96 31 Dec, 2021 @ 12:21pm 
I'm not sure why but I've tried cannot get this working any help?
Tekman123 10 Mar, 2023 @ 7:31am 
Does this still work for making custom cassettes/sd cards
FailedLoading  [developer] 24 Apr, 2023 @ 1:23pm 
yes should still be able to use to make your own music
Redwood 13 Jun, 2024 @ 12:57pm 
very good display however show a single item within each between texture shader and model. this will help others do this. i could provide and example that works. um im drunk you have one. love ya :D
Last edited by Redwood; 13 Jun, 2024 @ 12:59pm
< >
Showing 1-4 of 4 comments
Per page: 1530 50