Permalink
Browse files

Add medi files

  • Loading branch information...
DolceTriade committed Jan 3, 2016
1 parent 7cfcd5c commit dc837595a435bfe0fadd33655a02f5c4cb302332
Showing with 104 additions and 63 deletions.
  1. +5 −19 main/configs/buildables/medistat.model.cfg
  2. +99 −44 main/scripts/medistat.shader
@@ -1,22 +1,8 @@
model 0 models/buildables/medistat/medistat.md3
modelScale 5.75
mins -35 -35 -7
maxs 35 35 2
zOffset -7.1

oldScale 1.0
modelScale 0.75
mins -35 -35 0
maxs 35 35 6
zOffset 0
oldScale 7
oldOffset 0

/*
animate default {
bone BoneActiveTop rotate 0 15 0 constant
}

animate idle3 {
bone BoneActiveTop rotate 0 15 0 accelerate 0 -15 0 time 1s
}

animate destroy {
bone BoneActiveTop rotate 0 0 0 constant
}
*/
@@ -1,64 +1,119 @@
models/buildables/medistat/base
models/buildables/medistat/medistat
{
diffuseMap models/buildables/medistat/medistat_d
normalMap models/buildables/medistat/medistat_n
specularMap models/buildables/medistat/medistat_s
diffuseMap models/buildables/medistat/medipad_lp_d
normalMap models/buildables/medistat/medipad_lp_n
{
stage specularMap
map models/buildables/medistat/medipad_lp_s
specularExponentMin 10
specularExponentMax 25

// displays
}
{
map models/buildables/medistat/medistat_g1
blend add
rgb 0.5 0.5 0.5
map models/buildables/medistat/medipad_lp_e
blendfunc add
}

// hexagons
}
models/buildables/medistat/rings2
{
{
map models/buildables/medistat/medistat_g2
blend add
rgbGen wave sin 0.375 0.1875 0 0.25
map models/buildables/medistat/noise
tcMod scale 6 6
blendfunc filter
tcMod scroll -0.1 0.1
}
{
map models/buildables/medistat/noise
tcMod scale 4 4
blendfunc add
tcMod scroll 0.1 0.1
rgbGen const ( 0 0.572549 0.690196 )
}

when unpowered models/buildables/medistat/base_down
when destroyed models/buildables/medistat/base_dead
}

models/buildables/medistat/base_dead
models/buildables/medistat/display
{
diffuseMap models/buildables/medistat/medistat_d
normalMap models/buildables/medistat/medistat_n
specularMap models/buildables/medistat/medistat_s

{
map models/buildables/medistat/medistat_dead
blend filter
AnimMap 0.8 models/buildables/medistat/display1 models/buildables/medistat/display2 models/buildables/medistat/display3 models/buildables/medistat/display4 models/buildables/medistat/display5 models/buildables/medistat/display6 models/buildables/medistat/display7 models/buildables/medistat/display8
blendfunc add
}
when idle2 models/buildables/medistat/displayH
when destroyed models/buildables/medistat/displayD
}

models/buildables/medistat/base_down
models/buildables/medistat/displayH
{
diffuseMap models/buildables/medistat/medistat_d
normalMap models/buildables/medistat/medistat_n
specularMap models/buildables/medistat/medistat_s
{
AnimMap 1 models/buildables/medistat/display-h1 models/buildables/medistat/display-h2 models/buildables/medistat/display-h3
blendfunc add
}
}

models/buildables/medistat/healing
models/buildables/medistat/displayD
{
cull none
surfaceparm nolightmap

{
map models/buildables/medistat/active
blend blend
AnimMap 1 models/buildables/medistat/display1 models/buildables/medistat/display-d1 models/buildables/medistat/display-d2 models/buildables/medistat/display1 models/buildables/medistat/display-d1 models/buildables/medistat/display-d2 models/buildables/medistat/display-d1 models/buildables/medistat/display-d2
blendfunc add
}
}

models/buildables/medistat/rings
{
{
map models/buildables/medistat/active_noise
blend add
rgb 0.05 0.05 0.05

tcMod rotate 60
tcmod scale 2 4
tcmod stretch sin 1 0.5 0 0.5
tcMod scroll -1 0.5
map models/buildables/medistat/noise
tcMod scale 5 5
blendfunc filter
rgbGen const ( 0.678431 0.933333 0.960784 )
tcMod scroll -0.1 0.1
//tcGen environment
}
{
map models/buildables/medistat/noise2
tcMod scale 1 1
blendfunc add
tcMod scroll -0.1 -0.1
rgbGen const ( 0 0.572549 0.690196 )
}
{
map models/buildables/medistat/h_grid
tcMod scale 1 1
blendfunc add
tcMod scroll 0 0.1
rgbGen const ( 0 0.572549 0.690196 )
}
{
map models/buildables/medistat/v_grid
tcMod scale 1 1
blendfunc add
tcMod scroll 0.1 0
rgbGen const ( 0 0.572549 0.690196 )
}
}
models/buildables/medistat/scan
{
{
map models/buildables/medistat/noise
tcMod scale 5 5
blendfunc filter
rgbGen const ( 0.678431 0.933333 0.960784 )
tcMod scroll -0.1 0.1
}
{
map models/buildables/medistat/noise2
tcMod scale 1 1
blendfunc add
tcMod scroll -0.1 -0.1
rgbGen const ( 0 0.572549 0.690196 )
}
{
map models/buildables/medistat/h_grid
tcMod scale 1 1
blendfunc add
tcMod scroll 0 0.1
rgbGen const ( 0 0.572549 0.690196 )
}
{
map models/buildables/medistat/v_grid
tcMod scale 1 1
blendfunc add
tcMod scroll 0.1 0
rgbGen const ( 0 0.572549 0.690196 )
}
}

0 comments on commit dc83759

Please sign in to comment.