Skip to content

Commit

Permalink
Merge pull request #1 from BaerMitUmlaut/dogtags
Browse files Browse the repository at this point in the history
Added custom dogtag model and images
  • Loading branch information
SzwedzikPL committed Jun 7, 2016
2 parents 174e69c + 5dbe99b commit 8bcf24a
Show file tree
Hide file tree
Showing 8 changed files with 99 additions and 1 deletion.
2 changes: 1 addition & 1 deletion addons/dogtags/CfgWeapons.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class CfgWeapons {
author = ECSTRING(common,ACETeam);
scope = 0;
displayName = CSTRING(itemName);
model = "\A3\weapons_F\ammo\mag_univ.p3d"; //@todo?
model = QUOTE(PATHTOF(data\ace_dogtag.p3d)); //@todo?
//picture = QUOTE(PATHTOF(images\picture.paa)); @todo
class ItemInfo: InventoryItem_Base_F {
mass = 0; //too small to for 1 ?
Expand Down
Binary file added addons/dogtags/data/ace_dogtag.p3d
Binary file not shown.
82 changes: 82 additions & 0 deletions addons/dogtags/data/dogtag.rvmat
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
class StageTI {
texture = "a3\data_f\default_glass_ti_ca.paa";
};
ambient[] = {1,1,1,1};
diffuse[] = {1,1,1,1};
forcedDiffuse[] = {0,0,0,0};
emmisive[] = {0,0,0,1};
specular[] = {0.3,0.3,0.3,1};
specularPower = 50;
PixelShaderID = "Super";
VertexShaderID = "Super";
class Stage1 {
texture = "z\ace\addons\dogtags\data\dogtag_nohq.paa";
uvSource = "tex";
class uvTransform {
aside[] = {1,0,0};
up[] = {0,1,0};
dir[] = {0,0,1};
pos[] = {0,0,0};
};
};
class Stage2 {
texture = "#(argb,8,8,3)color(0.5,0.5,0.5,1,DT)";
uvSource = "tex";
class uvTransform {
aside[] = {1,0,0};
up[] = {0,1,0};
dir[] = {0,0,1};
pos[] = {0,0,0};
};
};
class Stage3 {
texture = "#(argb,8,8,3)color(0,0,0,0,MC)";
uvSource = "tex";
class uvTransform {
aside[] = {1,0,0};
up[] = {0,1,0};
dir[] = {0,0,1};
pos[] = {0,0,0};
};
};
class Stage4 {
texture = "#(argb,8,8,3)color(1,1,1,1,AS)";
uvSource = "tex";
class uvTransform {
aside[] = {1,0,0};
up[] = {0,1,0};
dir[] = {0,0,1};
pos[] = {0,0,0};
};
};
class Stage5 {
texture = "#(argb,8,8,3)color(0,0.6,1,1,SMDI)";
uvSource = "tex";
class uvTransform {
aside[] = {1,0,0};
up[] = {0,1,0};
dir[] = {0,0,1};
pos[] = {0,0,0};
};
};
class Stage6 {
texture = "#(ai,32,128,1)fresnel(0.85,0.36)";
uvSource = "tex";
class uvTransform {
aside[] = {1,0,0};
up[] = {0,1,0};
dir[] = {0,0,1};
pos[] = {0,0,0};
};
};
class Stage7 {
useWorldEnvMap = "true";
texture = "a3\data_f\env_interier_car_ca.paa";
uvSource = "tex";
class uvTransform {
aside[] = {1,0,0};
up[] = {0,1,0};
dir[] = {0,0,1};
pos[] = {0,0,0};
};
};
Binary file modified addons/dogtags/data/dogtagDouble.paa
Binary file not shown.
Binary file modified addons/dogtags/data/dogtagSingle.paa
Binary file not shown.
Binary file added addons/dogtags/data/dogtag_ca.paa
Binary file not shown.
Binary file added addons/dogtags/data/dogtag_nohq.paa
Binary file not shown.
16 changes: 16 additions & 0 deletions addons/dogtags/data/model.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
class CfgSkeletons {
class Default {
isDiscrete = 1;
skeletonInherit = "";
skeletonBones[] = {};
};
};

class CfgModels {
class Default {
sectionsInherit = "";
sections[] = {""};
skeletonName = "Default";
};
class ace_dogtag: Default {};
};

0 comments on commit 8bcf24a

Please sign in to comment.