Skip to content

Commit

Permalink
Re-fixed Backscatter muzzleflash position, added model source files, …
Browse files Browse the repository at this point in the history
…fixed Bootlegger and Mantreads having a fire texture applied on them

Changed $muzzle position for Backscatter.
Fixed Bootlegger and Mantreads having the fire detail set up but not the proxies.
Added model source files for the Backscatter.
  • Loading branch information
agrastiOs committed Apr 19, 2020
1 parent a93db04 commit 586008c
Show file tree
Hide file tree
Showing 15 changed files with 48,578 additions and 70 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,42 +16,35 @@
"$detailblendmode" 6

// Rim lighting parameters
"$rimlight" "1" // To enable rim lighting (requires phong)
"$rimlight" "1" // To enable rim lighting (requires phong)
"$rimlightexponent" "4" // Exponent for phong component of rim lighting
"$rimlightboost" "2"

"$glowcolor" "1"
"$cloakPassEnabled" "1"

"$yellow" "0"

"Proxies"
{
"invis"
{
}
"ModelGlowColor"
"AnimatedTexture"
{
"resultVar" "$glowcolor"
"animatedtexturevar" "$detail"
"animatedtextureframenumvar" "$detailframe"
"animatedtextureframerate" 30
}
"Equals"
"BurnLevel"
{
"srcVar1" "$glowcolor"
"resultVar" "$selfillumtint"
}
"Equals"
{
"srcVar1" "$glowcolor"
"resultVar" "$color2"
"resultVar" "$detailblendfactor"
}
"YellowLevel"
{
"resultVar" "$yellow"
}
"Multiply"
"Equals"
{
"srcVar1" "$color2"
"srcVar2" "$yellow"
"srcVar1" "$yellow"
"resultVar" "$color2"
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,8 @@
"$detailblendfactor" .01
"$detailblendmode" 6

"$glowcolor" "1"
"$speccolor" "1"

"$tempvar" "0"

"$commadd_phongexponent" "30"
"$commadd_phongboost" "22.5"
"$commweapon" "0"

"$basemapalphaphongmask" "1"

"$basephongexponent" "15"
Expand All @@ -47,66 +40,27 @@

"Proxies"
{
"AnimatedWeaponSheen"
{
"animatedtexturevar" "$sheenmapmask"
"animatedtextureframenumvar" "$sheenmapmaskframe"
"animatedtextureframerate" "40"
}
"invis"
{
}
"ModelGlowColor"
{
"resultVar" "$glowcolor"
}
"Equals"
"AnimatedTexture"
{
"srcVar1" "$glowcolor"
"resultVar" "$selfillumtint"
"animatedtexturevar" "$detail"
"animatedtextureframenumvar" "$detailframe"
"animatedtextureframerate" 30
}
"Equals"
"BurnLevel"
{
"srcVar1" "$glowcolor"
"resultVar" "$color2"
"resultVar" "$detailblendfactor"
}
"YellowLevel"
{
"resultVar" "$yellow"
}
"Multiply"
"Equals"
{
"srcVar1" "$color2"
"srcVar2" "$yellow"
"srcVar1" "$yellow"
"resultVar" "$color2"
}
"CommunityWeapon"
{
"resultVar" "$commweapon"
}
"Multiply"
{
"srcVar1" "$commweapon"
"srcVar2" "$commadd_phongexponent"
"resultVar" "$tempvar"
}
"Add"
{
"srcVar1" "$tempvar"
"srcVar2" "$basephongexponent"
"resultVar" "$phongexponent"
}
"Multiply"
{
"srcVar1" "$commweapon"
"srcVar2" "$commadd_phongboost"
"resultVar" "$tempvar"
}
"Add"
{
"srcVar1" "$tempvar"
"srcVar2" "$basephongboost"
"resultVar" "$phongboost"
}
}
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
// Created by Crowbar 0.68

$modelname "workshop\weapons/c_models/c_scatterdrum/c_scatterdrum.mdl"

$bodygroup "body"
{
studio "c_scatterdrum.smd"
}

$lod 1
{
replacemodel "c_scatterdrum.smd" "c_scatterdrum_lod1.smd"
nofacial
}
$lod 11
{
replacemodel "c_scatterdrum.smd" "c_scatterdrum_lod2.smd"
nofacial
}
$lod 22
{
replacemodel "c_scatterdrum.smd" "c_scatterdrum_lod3.smd"
nofacial
}

$surfaceprop "metal"

$contents "solid"

$illumposition 0 -7.543 2.128

$cdmaterials "models\workshop\weapons\c_models\c_scatterdrum\"
$cdmaterials ""

$attachment "pedestal_0" "weapon_bone" 0 3.26 8.31 rotate -90 -90 0
$attachment "icon_camera" "weapon_bone" 22.24 12.88 25.05 rotate 28.88 -155.62 102.34
$attachment "muzzle" "weapon_bone" 0.00 4.60 22.40 rotate -90 -0 0
$attachment "eject_brass" "weapon_bone" 4.8 5.5 7.76 rotate 0 24 0

$cbox 0 0 0 0 0 0

$bbox -7.457 -6.276 -3.565 22.602 6.276 7.821

$hboxset "default"

$definebone "weapon_bone" "" 0 0 0 -0.000489 -0.000492 -0.000489 0 0 0 0 0 0
$definebone "weapon_bone_1" "weapon_bone" 0 2.370245 3.770523 0 0 0 0 0 0 0 0 0


$sequence "ref" {
"c_scatterdrum_anims\ref.smd"
fadein 0.2
fadeout 0.2
fps 30
}

$collisionmodel "c_scatterdrum_physics.smd"
{
$mass 5
$inertia 1
$damping 0
$rotdamping 0
$rootbone " "

}
Loading

0 comments on commit 586008c

Please sign in to comment.