Add player model pack mod, add gitignore

This commit is contained in:
callanb 2023-12-26 03:32:22 +00:00
parent fbed170bce
commit 167d2b511c
16 changed files with 470 additions and 0 deletions

2
.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
*.bat
*.ff

View File

@ -0,0 +1,12 @@
index,name,body_model,view_model,team,class
0,richtofen,c_zom_tomb_richtofen_fb,c_zom_richtofen_viewhands,axis,
1,takeo,c_zom_tomb_takeo_fb,c_zom_takeo_viewhands,axis,
2,nikolai,c_zom_tomb_nikolai_fb,c_zom_nikolai_viewhands,allies,
3,dempsey,c_zom_tomb_dempsey_fb,c_zom_dempsey_viewhands,allies,
4,arlington,c_zom_player_arlington_fb,c_zom_arlington_coat_viewhands,allies,
5,deluca,c_zom_player_deluca_fb,c_zom_deluca_longsleeve_viewhands,allies,
6,handsome,c_zom_player_handsome_fb,c_zom_handsome_sleeveless_viewhands,axis,
7,oleary,c_zom_player_oleary_fb,c_zom_oleary_shortsleeve_viewhands,axis,
8,inmate,c_zom_player_grief_inmate_fb,c_zom_oleary_shortsleeve_viewhands,axis,
9,guard,c_zom_player_grief_guard_fb,c_zom_grief_guard_viewhands,allies,
10,ghost,c_zom_hero_ghost_fb,c_zom_ghost_viewhands,axis,
1 index name body_model view_model team class
2 0 richtofen c_zom_tomb_richtofen_fb c_zom_richtofen_viewhands axis
3 1 takeo c_zom_tomb_takeo_fb c_zom_takeo_viewhands axis
4 2 nikolai c_zom_tomb_nikolai_fb c_zom_nikolai_viewhands allies
5 3 dempsey c_zom_tomb_dempsey_fb c_zom_dempsey_viewhands allies
6 4 arlington c_zom_player_arlington_fb c_zom_arlington_coat_viewhands allies
7 5 deluca c_zom_player_deluca_fb c_zom_deluca_longsleeve_viewhands allies
8 6 handsome c_zom_player_handsome_fb c_zom_handsome_sleeveless_viewhands axis
9 7 oleary c_zom_player_oleary_fb c_zom_oleary_shortsleeve_viewhands axis
10 8 inmate c_zom_player_grief_inmate_fb c_zom_oleary_shortsleeve_viewhands axis
11 9 guard c_zom_player_grief_guard_fb c_zom_grief_guard_viewhands allies
12 10 ghost c_zom_hero_ghost_fb c_zom_ghost_viewhands axis

View File

@ -0,0 +1,47 @@
#include common_scripts\utility;
#include maps\mp\_utility;
main()
{
replaceFunc( maps\mp\teams\_teams::set_player_model, ::set_player_model_override );
}
set_player_model_override( team, weapon )
{
weaponclass = getweaponclass( weapon );
bodytype = "default";
switch ( weaponclass )
{
case "weapon_sniper":
bodytype = "rifle";
break;
case "weapon_cqb":
bodytype = "spread";
break;
case "weapon_lmg":
bodytype = "mg";
break;
case "weapon_smg":
bodytype = "smg";
break;
}
self detachall();
self setmovespeedscale( 1 );
self setsprintduration( 4 );
self setsprintcooldown( 0 );
possible_models = game[ "characters" ][ team ];
if ( isDefined( possible_models ) && possible_models.size > 0 )
{
model = random( possible_models );
self setModel( model[ "body_model" ] );
self setViewModel( model[ "view_model" ] );
}
else
{
self [[ game["set_player_model"][team][bodytype] ]]();
}
}

View File

@ -0,0 +1,33 @@
#define CHARACTER_CSV "mp/pmp_character_table.csv"
main()
{
parse_character_table();
}
parse_character_table()
{
game[ "characters" ] = [];
for ( index = 0; tablelookuprownum( CHARACTER_CSV, 0, index ) != -1; index++ )
{
alias = tablelookup( CHARACTER_CSV, 0, index, 1);
body_model = tablelookup( CHARACTER_CSV, 0, index, 2);
view_model = tablelookup( CHARACTER_CSV, 0, index, 3);
team = tablelookup( CHARACTER_CSV, 0, index, 4);
class_name = tablelookup( CHARACTER_CSV, 0, index, 5);
if ( !isDefined( game[ "characters" ][ team ] ) )
{
game[ "characters" ][ team ] = [];
}
game[ "characters" ][ team ][ alias ] = [];
game[ "characters" ][ team ][ alias ][ "body_model" ] = body_model;
game[ "characters" ][ team ][ alias ][ "view_model" ] = view_model;
game[ "characters" ][ team ][ alias ][ "class_name" ] = class_name;
precacheModel( body_model );
precacheModel( view_model );
}
}

View File

@ -0,0 +1,30 @@
>game,T6
>type,fastfile
>name,mod
>level.ipak_read,dlczm2
>level.ipak_read,dlczm4
//Origins
include,tomb/player_models/dempsey
include,tomb/player_models/nikolai
include,tomb/player_models/richtofen
include,tomb/player_models/takeo
//Mob of The Dead
include,prison/player_models/arlington
include,prison/player_models/deluca
include,prison/player_models/handsome
include,prison/player_models/oleary
//MoTD Ghost
include,prison/player_models/ghost
//MoTD Grief
include,prison/player_models/guard
include,prison/player_models/inmate
script,scripts/mp/_pmp_precache.gsc
script,scripts/mp/_pmp_main.gsc
stringtable,mp/pmp_character_table.csv

View File

@ -0,0 +1,39 @@
//Model
material,mc/mtl_c_gen_insidemouth_thermal
material,mc/mtl_c_gen_insidemouth
image,~~-gc_zom_arlington_hat_s-rgb~1ae9d89b
image,c_zom_arlington_hat_n
image,~-gc_zom_arlington_hat_c
material,mc/mtl_c_zom_arlington_cap
image,~~-gc_zom_arlington_jacket_s-~5520b971
image,c_zom_arlington_jacket_n
image,~-gc_zom_arlington_jacket_c
material,mc/mtl_c_zom_arlington_jacket
image,~~-gc_zom_arlington_pants_s-r~7ee27699
image,c_zom_arlington_pants_n
image,~-gc_zom_arlington_pants_c
material,mc/mtl_c_zom_arlington_pants
image,~~-gc_zom_arlington_jacket_in~8018a155
image,c_zom_arlington_jacket_intro_n
image,~-gc_zom_arlington_jacket_intro_c
material,mc/mtl_c_zom_arlington_intro_jacket
image,c_zom_arlington_intro_head_m
image,~~-gc_zom_arlington_head_s-rg~8d91aecd
image,c_zom_arlington_head_n
image,skin_pore_detail_test
image,~-gc_zom_arlington_head_c
material,mc/mtl_c_zom_arlington_head
image,~-gc_zom_arlington_eye_c
material,mc/mtl_c_zom_arlington_eye
xmodel,c_zom_player_arlington_fb
//Viewmodel
image,~~-gviewarm_zom_arlington_coa~d2a5fc72
image,viewarm_zom_arlington_coat_n
image,~-gviewarm_zom_arlington_coat_c
material,mc/mtl_viewarm_zom_arlington_coat
image,~~-gviewarm_zom_strands_alpha~b94bebe4
image,char_base_fabric_nocloth
image,~-gviewarm_zom_strands_alpha_c
material,mc/mtl_viewarm_zom_alpha_strands
xmodel,c_zom_arlington_coat_viewhands

View File

@ -0,0 +1,28 @@
//Model
image,~~-gc_zom_deluca_upper_s-rgb&~215ff213
image,c_zom_deluca_upper_n
image,~-gc_zom_deluca_upper_c
material,mc/mtl_c_zom_deluca_upper
image,~~-gc_zom_deluca_lower_s-rgb&~3a161cab
image,c_zom_deluca_lower_n
image,~-gc_zom_deluca_lower_c
material,mc/mtl_c_zom_deluca_lower
image,~~-gc_zom_deluca_arm_s-rgb&~-~85dfc4e7
image,c_gen_arm_short_hirez_clean_n
image,~-gc_zom_deluca_arm_c
material,mc/mtl_c_zom_deluca_arms
image,c_zom_deluca_intro_head_m
image,~~-gc_zom_deluca_head_s-rgb&~~fb0e1516
image,c_zom_deluca_head_n
image,~-gc_zom_deluca_head_c
material,mc/mtl_c_zom_deluca_head
image,~-gc_zom_deluca_eye_c
material,mc/mtl_c_zom_deluca_eye
xmodel,c_zom_player_deluca_fb
//Viewmodel
image,~~-gviewarm_zom_deluca_longsl~ce23bbac
image,viewarm_zom_deluca_longsleeve_n
image,~-gviewarm_zom_deluca_longsleeve_c
material,mc/mtl_viewarm_zom_deluca_longsleeve
xmodel,c_zom_deluca_longsleeve_viewhands

View File

@ -0,0 +1,19 @@
//Model
techniqueset,mc_sw4_3d_phong_foliage_65603e37
image,~-rc_gen_arm_rim_mask_norim_c~6859963b
image,~-gc_zom_hero_ghost_smoke
material,mc/mtl_c_zom_hero_ghost_smoke
xmodel,c_zom_hero_ghost_fb
//Viewmodel
techniqueset,mc_sw4_3d_phong_foliage_65603e37
image,~-rc_gen_arm_rim_mask_norim_c~6859963b
image,~-gc_zom_hero_ghost_smoke
material,mc/mtl_c_zom_hero_ghost_smoke
xmodel,c_zom_hero_ghost_fb
techniqueset,mc_sw4_3d_char_ghost2_noscript_954f9few
image,c_gen_target_edgeeffect2_h
image,c_gen_target_edgeeffect3_h
image,viewarm_n
material,mc/mtl_viewarm_zom_ghost
xmodel,c_zom_ghost_viewhands

View File

@ -0,0 +1,22 @@
image,c_usa_milcas_mcknight_head_m
image,~~-gc_usa_milcas_mcknight_hea~adb169c4
image,c_usa_milcas_mcknight_head_n
image,skin_pore_detail_test
image,~-gc_usa_milcas_mcknight_head_c
material,mc/mtl_c_usa_milcas_mcknight_head
image,c_usa_milcas_mcknight_head_tns_com
image,c_usa_milcas_mcknight_head_tns_str
material,mc/mtl_c_usa_milcas_mcknight_head_tns
material,mc/mtl_gen_eye_iris_thermal
image,~~-gc_zom_grief_guard_body_s-~a82f74ad
image,c_zom_grief_guard_body_n
image,~-gc_zom_grief_guard_body_c
material,mc/mtl_c_zom_grief_guard_body
xmodel,c_zom_player_grief_guard_fb
//Viewmodel
image,~~-gc_zom_grief_guard_viewarm~bb3e844e
image,c_zom_grief_guard_viewarm_n
image,~-gc_zom_grief_guard_viewarm_c
material,mc/mtl_viewarm_zom_grief_guard
xmodel,c_zom_grief_guard_viewhands

View File

@ -0,0 +1,37 @@
//Model
image,~~-gc_zom_handsome_left_arm_s~248a9e88
image,c_gen_arm_hirez_clean_n
image,~-gc_zom_handsome_left_arm_c
material,mc/mtl_c_zom_handsome_left_arm
image,~~-gc_zom_handsome_upper_s-rg~319ea0ec
image,c_zom_handsome_upper_n
image,~-gc_zom_handsome_upper_c
material,mc/mtl_c_zom_handsome_shirt
image,c_zom_handsome_lower_n
image,~-gc_zom_handsome_lower_c
material,mc/mtl_c_zom_handsome_pants
image,~-gc_zom_handsome_eye_c
material,mc/mtl_c_zom_handsome_eye
image,c_zom_handsome_intro_head_m
image,~~-gc_zom_handsome_head_s-rgb~da7e1fcb
image,c_zom_handsome_head_n
image,~-gc_zom_handsome_head_c
material,mc/mtl_c_zom_handsome_head
image,~~-gc_zom_handsome_right_arm_~fbd2f8cc
image,~-gc_zom_handsome_right_arm_c
material,mc/mtl_c_zom_handsome_right_arm
xmodel,c_zom_player_handsome_fb
//Viewmodel
image,~~-gviewarm_zom_handsome_bare~a96f21b2
image,viewarm_zom_handsome_barearm_n
image,~-gviewarm_zom_handsome_barearm_left_c
material,mc/mtl_viewarm_zom_handsome_left_arm
image,~-gviewarm_zom_handsome_barea~031b2e1b
material,mc/mtl_viewarm_zom_handsome_right_arm
image,~~-gviewarm_mul_nospecgloss_s~2aedc082
image,char_base_fabric_smooth_n
image,~-gviewarm_zom_armhair_alpha_c
material,mc/mtl_viewarm_zom_arm_hair_alpha
xmodel,c_zom_handsome_sleeveless_viewhands

View File

@ -0,0 +1,29 @@
//Model
image,~~-gc_zom_grief_inmate_upper_~e98cab1c
image,c_zom_grief_inmate_upper_n
image,~-gc_zom_grief_inmate_upper_c
material,mc/mtl_c_zom_grief_inmate_body_upper
image,~~-gc_zom_grief_inmate_lower_~f7b89e9b
image,c_zom_grief_inmate_lower_n
image,~-gc_zom_grief_inmate_lower_c
material,mc/mtl_c_zom_grief_inmate_body_lower
image,~~-gc_zom_oleary_intro_arm_go~998befc1
image,c_gen_arm_hirez_clean_n
image,~-gc_zom_oleary_intro_arm_gore1_c
material,mc/mtl_c_zom_oleary_intro_arm_gore1
image,c_usa_secserv_head_m
image,~~-gc_usa_secserv_head_s-rgb&~396d272a
image,c_usa_secserv_head_n
image,~-gc_usa_secserv_head_c
material,mc/mtl_c_usa_secserv_head_jones
image,~-gc_gen_eye_blue_c
material,mc/mtl_gen_eye_iris_blue
xmodel,c_zom_player_grief_inmate_fb
//Viewmodel
image,~~-gviewarm_zom_oleary_shorts~b297930a
image,viewarm_zom_oleary_shortsleeve_n
image,~-gviewarm_zom_oleary_shortsleeve_c
material,mc/mtl_viewarm_zom_oleary_rolledsleeve
xmodel,c_zom_oleary_shortsleeve_viewhands

View File

@ -0,0 +1,27 @@
//Model
image,~-gc_zom_oleary_eye_c
material,mc/mtl_c_zom_oleary_eye
image,~~-gc_zom_oleary_upper_s-rgb&~96adcc87
image,c_zom_oleary_upper_n
image,~-gc_zom_oleary_upper_c
material,mc/mtl_c_zom_oleary_upper
image,~~-gc_zom_oleary_lower_s-rgb&~b562a0ee
image,c_zom_oleary_lower_n
image,~-gc_zom_oleary_lower_c
material,mc/mtl_c_zom_oleary_lower
image,~~-gc_zom_oleary_arm_s-rgb&~-~5dde9ba9
image,~-gc_zom_oleary_arm_c
material,mc/mtl_c_zom_oleary_arm
image,c_zom_oleary_intro_head_m
image,~~-gc_zom_oleary_head_s-rgb&~~b43fa836
image,c_zom_oleary_head_n
image,~-gc_zom_oleary_head_c
material,mc/mtl_c_zom_oleary_head
xmodel,c_zom_player_oleary_fb
//Viewmodel
image,~~-gviewarm_zom_oleary_shorts~b297930a
image,viewarm_zom_oleary_shortsleeve_n
image,~-gviewarm_zom_oleary_shortsleeve_c
material,mc/mtl_viewarm_zom_oleary_rolledsleeve
xmodel,c_zom_oleary_shortsleeve_viewhands

View File

@ -0,0 +1,46 @@
//Model
techniqueset,mc_sw4_3d_char_eye_cornea_2eww29wu
techniqueset,mc_sw4_3d_thermal_char_17f49w63
image,~~-gc_zom_tomb_dempsey_body_s~f607f5b1
image,c_zom_tomb_dempsey_body_n
image,~-gc_zom_tomb_dempsey_body_c
material,mc/mtl_c_zom_tomb_dempsey_body
image,~~-gc_zom_tomb_dempsey_gear_s~d044caa7
image,c_zom_tomb_dempsey_gear_n
image,~-gc_zom_tomb_dempsey_gear_c
material,mc/mtl_c_zom_tomb_dempsey_gear
image,c_gen_eye_color_a
image,c_gen_eye_n
image,c_gen_eye_ir
image,thermal_gradient5
material,mc/mtl_gen_eye_cornea_thermal_s
material,mc/mtl_gen_eye_cornea
image,c_gen_eye_rim_mask_c
image,~~-gc_gen_eye_s-rgb&~-rc_gen_~1d123e2c
image,~-gc_gen_eye_blue_c
material,mc/mtl_gen_eye_iris_thermal
material,mc/mtl_gen_eye_iris_blue
image,c_gen_arm_rim_mask_norim_c
image,~~-gc_gen_insidemouth_s-rgb&~~8dbd539a
image,c_gen_insidemouth_n
image,~-gc_gen_insidemouth_c
image,c_gen_insidemouth_ir
material,mc/mtl_c_gen_insidemouth_thermal
material,mc/mtl_c_gen_insidemouth
image,c_zom_tomb_dempsey_head_m
image,~~-gc_zom_tomb_dempsey_head_s~ca0de1e9
image,c_zom_tomb_dempsey_head_n
image,~-gc_zom_tomb_dempsey_head_c
material,mc/mtl_c_zom_tomb_dempsey_head
xmodel,c_zom_tomb_dempsey_fb
//Viewmodel
image,~~-gviewarm_zom_dempsey_s-rgb~c0c017e4
image,viewarm_zom_dempsey_n
image,~-gviewarm_zom_dempsey_c
material,mc/mtl_viewarm_zom_dempsey
image,~~-gviewarm_zom_dempsey_devic~8c1e178a
image,viewarm_zom_dempsey_device_n
image,~-gviewarm_zom_dempsey_device_c
material,mc/mtl_viewarm_zom_dempsey_device
xmodel,c_zom_dempsey_viewhands

View File

@ -0,0 +1,28 @@
//Model
image,~~-gc_zom_tomb_nikolai_gear_s~44927414
image,c_zom_tomb_nikolai_gear_n
image,~-gc_zom_tomb_nikolai_gear_c
material,mc/mtl_c_zom_tomb_nikolai_gear
image,~~-gc_zom_tomb_nikolai_headge~938891bd
image,c_zom_tomb_nikolai_headgear_n
image,~-gc_zom_tomb_nikolai_headgear_c
material,mc/mtl_c_zom_tomb_nikolai_headgear
image,~~-gc_zom_tomb_nikolai_body_s~ae52362f
image,c_zom_tomb_nikolai_body_n
image,~-gc_zom_tomb_nikolai_body_c
material,mc/mtl_c_zom_tomb_nikolai_body
image,~-gc_gen_eye_green_c
material,mc/mtl_gen_eye_iris_green
image,c_zom_tomb_nikolai_head_m
image,~~-gc_zom_tomb_nikolai_head_s~f7a8911f
image,c_zom_tomb_nikolai_head_n
image,~-gc_zom_tomb_nikolai_head_c
material,mc/mtl_c_zom_tomb_nikolai_head
xmodel,c_zom_tomb_nikolai_fb
//Viewmodel
image,~~-gviewarm_zom_nikola_s-rgb&~0b4065d8
image,viewarm_zom_nikola_n
image,~-gviewarm_zom_nikola_c
material,mc/mtl_viewarm_zom_nikolai
xmodel,c_zom_nikolai_viewhands

View File

@ -0,0 +1,38 @@
//Body model
techniqueset,mc_lit_sm_b0c0n0s0_68f25z0u
image,~~-gc_zom_tomb_richtofen_body~9c214d92
image,c_zom_tomb_richtofen_body_n
image,~-gc_zom_tomb_richtofen_body_c
material,mc/mtl_c_zom_tomb_richtofen_body
image,~~-gc_zom_tomb_richtofen_gear~f2f187c4
image,c_zom_tomb_richtofen_gear_n
image,~-gc_zom_tomb_richtofen_gear_c
material,mc/mtl_c_zom_tomb_richtofen_gear
image,~~-gc_zom_tomb_richtofen_vial~32adf478
image,c_zom_tomb_richtofen_vials_n
image,~-gc_zom_tomb_richtofen_vials_c
material,mc/mtl_c_zom_tomb_richtofen_vial_out
image,~~-gc_zom_tomb_richtofen_arm_~af680c8d
image,c_zom_tomb_richtofen_arm_n
image,~-gc_zom_tomb_richtofen_arm_c
material,mc/mtl_c_zom_tomb_richtofen_arm
image,c_zom_tomb_richtofen_head_m
image,~~-gc_zom_tomb_richtofen_head~7aea102f
image,c_zom_tomb_richtofen_head_n
image,~-gc_zom_tomb_richtofen_head_c
material,mc/mtl_c_zom_tomb_richtofen_head
image,~-gc_gen_eye_hazel_c
material,mc/mtl_gen_eye_iris_hazel
xmodel,c_zom_tomb_richtofen_fb
//Viewmodel
techniqueset,mc_sw4_3d_char_cloth_4z8fq5wu
image,~~-gviewarm_zom_richtofen_s-r~e9d7a5f0
image,viewarm_zom_richtofen_n
image,~-gviewarm_zom_richtofen_l_c
material,mc/mtl_viewarm_zom_richtofen
image,~~-gviewarm_zom_richtofen_s-r~96ca889b
material,mc/mtl_viewarm_zom_richtofen_l
image,~-gviewarm_zom_richtofen_r_c
material,mc/mtl_viewarm_zom_richtofen_r
xmodel,c_zom_richtofen_viewhands

View File

@ -0,0 +1,33 @@
//Model
image,~~-gc_zom_tomb_takeo_body_s-r~d7d343cd
image,c_zom_tomb_takeo_body_n
image,~-gc_zom_tomb_takeo_body_c
material,mc/mtl_c_zom_tomb_takeo_body
image,~~-gc_zom_tomb_takeo_gear_s-r~605e9c8e
image,c_zom_tomb_takeo_gear_n
image,~-gc_zom_tomb_takeo_gear_c
material,mc/mtl_c_zom_tomb_takeo_gear
image,~-gc_gen_eye_brown_c
material,mc/mtl_gen_eye_iris_brown
image,c_zom_tomb_takeo_head_m
image,~~-gc_zom_tomb_takeo_head_s-r~a134de05
image,c_zom_tomb_takeo_head_n
image,~-gc_zom_tomb_takeo_head_c
material,mc/mtl_c_zom_tomb_takeo_head
xmodel,c_zom_tomb_takeo_fb
//Viewmodel
techniqueset,mc_sw4_3d_viewmodel_transparent_z9z0z75f
image,~~-gviewarm_zom_takeo_straps_~035504d4
image,viewarm_zom_takeo_straps_n
image,~-gviewarm_zom_takeo_straps_c
material,mc/mtl_viewarm_zom_takeo_straps
image,~~-gviewarm_zom_takeo_s-rgb&~~add932fb
image,viewarm_zom_takeo_n
image,~-gviewarm_zom_takeo_c
material,mc/mtl_viewarm_zom_takeo
image,~~-gviewarm_zom_takeo_alpha_s~7aff7c5d
image,viewarm_zom_takeo_alpha_n
image,~-gviewarm_zom_takeo_alpha_1_c
material,mc/mtl_viewarm_zom_takeo_alpha_1
xmodel,c_zom_takeo_viewhands