+ fixed crafting of tin and aluminum bars from trash
+ fixed color coding on weapons and vehicle sellers
+ removed radar from mi-17 civilian
+ added 10oz versions of silver and copper.
+ added basic 3d preview support to build-ables.
This commit is contained in:
vbawol
2013-02-16 11:56:39 -06:00
parent 4bb6b117d8
commit 35f587048d
21 changed files with 271 additions and 76 deletions

View File

@@ -1433,7 +1433,7 @@ class CfgMagazines
count = 1;
type = 256;
displayName = "10oz Silver";
model = "\dayz_equip\models\silver_bar.p3d";
model = "\dayz_equip\models\silver_bar_10oz.p3d";
picture = "\dayz_equip\textures\equip_bar_silver_CA.paa";
descriptionShort = "10oz Silver Bar";
class ItemActions
@@ -1472,7 +1472,7 @@ class CfgMagazines
count = 1;
type = 256;
displayName = "10oz Copper";
model = "\dayz_equip\models\copper_bar.p3d";
model = "\dayz_equip\models\copper_bar_10oz.p3d";
picture = "\dayz_equip\textures\equip_bar_copper_CA.paa";
descriptionShort = "10oz Copper Bar";
class ItemActions
@@ -1505,15 +1505,7 @@ class CfgMagazines
model = "\dayz_equip\models\aluminum_bar.p3d";
picture = "\dayz_equip\textures\equip_bar_aluminum_CA.paa";
descriptionShort = "Aluminum Bar";
class ItemActions
{
class Crafting
{
text = "Smelt 10oz bar";
script = "spawn player_craftItem;";
output[] = {"ItemAluminumBar10oz"};
};
};
};
class ItemAluminumBar10oz: CA_Magazine
{
@@ -1543,15 +1535,7 @@ class CfgMagazines
model = "\dayz_equip\models\tin_bar.p3d";
picture = "\dayz_equip\textures\equip_bar_tin_CA.paa";
descriptionShort = "Tin Bar";
class ItemActions
{
class Crafting
{
text = "Smelt 10oz bar";
script = "spawn player_craftItem;";
output[] = {"ItemTinBar10oz"};
};
};
};
class ItemTinBar10oz: CA_Magazine
{

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,41 @@
////////////////////////////////////////////////////////////////////
//DeRap: Produced from mikero's Dos Tools Dll version 3.97
//http://dev-heaven.net/projects/list_files/mikero-pbodll
////////////////////////////////////////////////////////////////////
#define _ARMA_
//Class dayz_equip : textures\copperbar10oz.rvmat{
ambient[] = {1.0,1.0,1.0,1.0};
diffuse[] = {1.0,1.0,1.0,1.0};
forcedDiffuse[] = {0.0,0.0,0.0,1.0};
emmisive[] = {0.0,0.0,0.0,1.0};
specular[] = {0.99498,0.99498,0.99498,1.0};
specularPower = 100.799995;
PixelShaderID = "NormalMapSpecularMap";
VertexShaderID = "NormalMap";
class Stage1
{
texture = "dayz_equip\textures\copperbar10oz_NOHQ.paa";
uvSource = "tex";
class uvTransform
{
aside[] = {1.0,0.0,0.0};
up[] = {0.0,1.0,0.0};
dir[] = {0.0,0.0,0.0};
pos[] = {0,0,0};
};
};
class Stage2
{
texture = "dayz_equip\textures\copperbar10oz_SMDI.paa";
uvSource = "tex";
class uvTransform
{
aside[] = {1.0,0.0,0.0};
up[] = {0.0,1.0,0.0};
dir[] = {0.0,0.0,0.0};
pos[] = {0,0,0};
};
};
//};

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,41 @@
////////////////////////////////////////////////////////////////////
//DeRap: Produced from mikero's Dos Tools Dll version 3.97
//http://dev-heaven.net/projects/list_files/mikero-pbodll
////////////////////////////////////////////////////////////////////
#define _ARMA_
//Class dayz_equip : textures\silverbar10oz.rvmat{
ambient[] = {1.0,1.0,1.0,1.0};
diffuse[] = {1.0,1.0,1.0,1.0};
forcedDiffuse[] = {0.0,0.0,0.0,1.0};
emmisive[] = {0.0,0.0,0.0,1.0};
specular[] = {0.99498,0.99498,0.99498,1.0};
specularPower = 100.799995;
PixelShaderID = "NormalMapSpecularMap";
VertexShaderID = "NormalMap";
class Stage1
{
texture = "dayz_equip\textures\silverbar10oz_NOHQ.paa";
uvSource = "tex";
class uvTransform
{
aside[] = {1.0,0.0,0.0};
up[] = {0.0,1.0,0.0};
dir[] = {0.0,0.0,0.0};
pos[] = {0,0,0};
};
};
class Stage2
{
texture = "dayz_equip\textures\silverbar10oz_SMDI.paa";
uvSource = "tex";
class uvTransform
{
aside[] = {1.0,0.0,0.0};
up[] = {0.0,1.0,0.0};
dir[] = {0.0,0.0,0.0};
pos[] = {0,0,0};
};
};
//};

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.