MODSon[line.com] Wiki - Beta 1.0

World at War: SP/MP Static And Deployable Turrets

From MODSonline Wiki

Jump to: navigation, search

Contents

[edit] Static Turrets

In World At War there are several static turrets that players and AI can both use (in sp and mp). Turrets are normally machine guns 'fixed' to a wall via a bipod or tripod.

Radiant:

Below is a list of SP and MP turrets with typical turret keys and values: (crouch can be replaced with PRONE or STAND for all turrets).

[edit] Singleplayer Turrets

[edit] German

Flak88 Artillery (The spawnflag enables the flak to be "USABLE":

vehicletype flak88
spawnflags 1
model artillery_ger_flak88
classname script_vehicle

MG42 Heavy Machine Gun:

model mounted_ger_mg42_bipod_mg
weaponinfo mg42_bipod_stand
classname misc_turret

FG42 Light Machine Gun:

weaponinfo fg42_bipod_stand
model mounted_ger_fg42_bipod_lmg
classname misc_turret

[edit] American

30cal Light Machine Gun:

model mounted_usa_30cal_bipod_lmg
weaponinfo 30cal_bipod_stand
classname misc_turret

Bar Light Machine Gun:

model mounted_usa_bar_bipod_lmg
weaponinfo bar_bipod_crouch
classname misc_turret

[edit] Japanese

Triple25mm AA Gun:

vehicletype triple25
spawnflags 1
model artillery_jap_triple25mm
classname script_vehicle

Type99 Light Machine Gun:

model mounted_jap_type99_bipod_lmg
weaponinfo type99_bipod_lmg
classname misc_turret

Type99 Light Machine Gun(nobipod):

//testing these two

model mounted_jap_type99_lmg
weaponinfo type99_lmg
classname misc_turret

[edit] Russian

model mounted_rus_dp28_bipod_lmg
weaponinfo dp28_bipod_stand
classname misc_turret

//\\

[edit] Multiplayer Turrets

[edit] German

MG42 Heavy Machine Gun:

model mounted_ger_mg42_bipod_mg
weaponinfo mg42_bipod_stand_mp
classname misc_turret

FG42 Light Machine Gun:

weaponinfo fg42_bipod_stand_mp
model mounted_ger_fg42_bipod_lmg
classname misc_turret

[edit] American

30cal Light Machine Gun:

model mounted_usa_30cal_bipod_lmg
weaponinfo 30cal_bipod_stand_mp
classname misc_turret

Bar Light Machine Gun:

model mounted_usa_bar_bipod_lmg
weaponinfo bar_bipod_stand_mp
classname misc_turret

[edit] Japanese

Type92 Light Machine Gun:

code

[edit] Russian

DP28 Light Machine Gun:

code

[edit] Deployable Turrets

A deployable turret is a weapon that the player can carry, shoot, reload while moving, and then place (by folding out a bipod/tripod) on an obstacle to turn it into a static turret until they wish to dismount it again.

Image:Note.pngNote: A deployable turret must have a matching static turret in the level, so if you have a deployable mg42 there must be at least one static turret mg42 in the level, see above

Radiant

In radiant we define the places where we can mount our deployable_turrets by using tool textures:

Mount

(you can mount the turret and also climb over these walls, saves using the mantle texture separately)

Mount_mantle_on

Mount_mantle_over

Usual Placement: Place a mount_mantle texture 32 units high, 16 units wide. This is an ideal crouch height for most deployable turrets to 'look right'. The actual wall that the mount texture is 'on' should be overlapped by the mount texture. So the actual wall would be only 8 units wide by 30 units high in this case.

Weapons

Deployable turrets start their life as normal weapons that the player can pick-up and use.

Weapons in Radiant

(Ticking 'Suspend' in the Entity dialogue will keep the weapon for falling to the ground during compiling)

From the weapons menu the bipods are (mp is multiplayer):

mg42_bipod or mg42_bipod_mp

bar_bipod or bar_bipod_mp

dp28_bipod or dp28_bipod_mp

fg42_bipod or fg42_bipod_mp

[edit] Soundalias

In your levels zone source:

sound,weapons,audio_test_tuey,all_sp

For the triple25mm:

sound,triple25,YOURMAPNAME,all_sp

Triple25 soundalias "triple25.csv" for raw/soundaliases:

"name","platform","file","sequence","vol_min","vol_max","dist_min","dist_max","limit_count","limit_type","entity_limit_count","entity_limit_type","bus","volume_min_falloff_curve","volumefalloffcurve","reverb_send","dist_reverb_max","reverb_min_falloff_curve","reverb_falloff_curve","pitch_min","pitch_max","randomize_type","spatialized","type","probability","loop","masterslave","loadspec","subtitle","compression","secondaryaliasname","chainaliasname","startdelay","speakermap","lfe percentage","center percentage","envelop_min","envelop_max","envelop percentage","occlusion_level","occlusion_wet_dry","real_delay","distance_lpf","move_type","move_time","min_priority","max_priority","min_priority_threshold","max_priority_threshold",,"isbig"
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
"#Triple 25",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
"wpn_triple25_fire_plr",,"SFX/Weapon/Cannons/Triple_25/fire/wpn_triple25_st_cl.wav",,0.5,0.55,,,,,3,"oldest","hvy_wpn",,,,,,,0.98,1.02,,"2d",,,,0.75,,,,"wpn_triple25_fire_plr_act",,,"wpn_all",0.5,,,,,,,,,,,90,90,0.25,1,,"yes"
"wpn_triple25_fire_plr_act",,"SFX/Weapon/Cannons/Triple_25/fire/wpn_triple25_st_act.wav",,0.5,0.55,,,,,1,"oldest","hvy_wpn",,,,,,,1,1,,"2d",,,,0.75,,,,"wpn_triple25_flux_l",,,,,,,,,,,,,,,90,90,0.25,1,,"yes"
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
"wpn_triple25_flux_l",,"SFX/Weapon/Cannons/Triple_25/fire/wpn_triple25_flux_l.wav",,0.5,0.6,200,6000,3,"oldest",,,"decay",,"curve5",,,,,0.98,1.02,,"3d",,,,,,,,"wpn_triple25_flux_r",,75,,,,,,,,,,,"left_shot",4,90,90,0.25,1,,
"wpn_triple25_flux_r",,"SFX/Weapon/Cannons/Triple_25/fire/wpn_triple25_flux_r.wav",,0.5,0.6,200,6000,3,"oldest",,,"decay",,"curve5",,,,,1,1,,"3d",,,,,,,,,,100,,,,,,,,,,,"right_shot",4,90,90,0.25,1,,
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
"wpn_triple25_fire",,"SFX/Weapon/Cannons/Triple_25/fire/wpn_triple25_mn.wav",,0.4,0.55,500,2000,,,1,"oldest","hvy_wpn",,"curve3",,10000,,"curve2",0.85,1.04,"pitch","3d",,,,0.7,,,,"wpn_triple25_fire_act",,,,,,,,,,,"no","no",,,20,80,0.35,0.8,,"yes"
"wpn_triple25_fire_act",,"SFX/Weapon/Cannons/Triple_25/fire/wpn_triple25_act.wav",,0.85,0.95,500,1000,,,1,"oldest","hvy_wpn",,"curve2",,,,"curve2",0.9,1.02,"pitch","3d",,,,0.7,,,,"wpn_triple25_fire_dist",,,,,,,,,,,"no","no",,,20,80,0.35,0.8,,
"wpn_triple25_fire_dist",,"SFX/Weapon/Cannons/Triple_25/fire/dist_##",,0.8,0.9,1000,15000,,,1,"oldest","dist_wpn",,"curve4",,28000,,"curve4",0.89,1.03,"pitch variant","3d",,,,0.7,,,,,,,,,,,,,,,"no",,,,20,80,0.35,0.8,,"yes"
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
"tank_turret_spin",,null.wav,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,

[edit] Zone_source

Singleplayer

Zone_Source Content for yourmapname.csv (file located in codwaw/zone_source/yourmapname.csv):

// Bipods Setup
// MG42
weapon,sp/mg42_bipod_crouch
weapon,sp/mg42_bipod_stand
weapon,sp/mg42_bipod_prone
weapon,sp/mg42_bipod
weapon,sp/50cal_turret_technical
xmodel,mounted_ger_mg42_bipod_mg
xmodel,mounted_ger_mg42_mg
xmodel,viewmodel_ger_mg42_mg
xmodel,viewmodel_ger_mg42_bipod_mg
xmodel,weapon_ger_mg42_mg
xmodel,weapon_ger_mg42_bipod_mg
xmodel,weapon_ger_mg_mg42
// Bar
weapon,sp/bar_bipod_crouch
weapon,sp/bar_bipod_prone
weapon,sp/bar_bipod_stand
weapon,sp/bar_bipod
xmodel,mounted_usa_bar_bipod_lmg
xmodel,mounted_usa_bar_lmg
xmodel,viewmodel_usa_bar_bipod_lmg
xmodel,viewmodel_usa_bar_lmg
xmodel,weapon_usa_bar_bipod_lmg
xmodel,weapon_usa_bar_lmg
// FG42
weapon,sp/fg42_bipod
weapon,sp/fg42_bipod_prone
weapon,sp/fg42_bipod_crouch
weapon,sp/fg42_bipod_stand
xmodel,mounted_ger_fg42_bipod_lmg
xmodel,mounted_ger_fg42_lmg
xmodel,viewmodel_ger_fg42_bipod_lmg
xmodel,viewmodel_ger_fg42_lmg
xmodel,weapon_ger_fg42_bipod_lmg
xmodel,weapon_ger_fg42_lmg
// 30Cal
weapon,sp/30cal_bipod
weapon,sp/30cal_bipod_prone
weapon,sp/30cal_bipod_crouch
weapon,sp/30cal_bipod_stand
xmodel,mounted_usa_30cal_bipod_lmg
xmodel,mounted_usa_30cal_lmg
xmodel,viewmodel_usa_30cal_bipod_lmg
xmodel,viewmodel_usa_30cal_lmg
xmodel,weapon_usa_30cal_bipod_lmg
xmodel,weapon_usa_30cal_lmg
// Type99
weapon,sp/type99_lmg_bipod
weapon,sp/type99_lmg_bipod_stand
weapon,sp/type99_lmg_bipod_crouch
weapon,sp/type99_lmg_bipod_prone
weapon,sp/type99_lmg_bipod_wet
// Flak88
include,module_flak88
// Triple25
xmodel,artillery_jap_triple25mm
xanim,v_triple25_fire
fx,weapon/tracer/fx_tracer_jap_tripple25_projectile
include,module_triple25

Multiplayer

// Bipods Setup
// MG42
weapon,mp/mg42_bipod_crouch_mp
weapon,mp/mg42_bipod_stand_mp
weapon,mp/mg42_bipod_prone_mp
weapon,mp/mg42_bipod_mp
xmodel,mounted_ger_mg42_bipod_mg
xmodel,mounted_ger_mg42_mg
xmodel,viewmodel_ger_mg42_mg
xmodel,viewmodel_ger_mg42_bipod_mg
xmodel,weapon_ger_mg42_mg
xmodel,weapon_ger_mg42_bipod_mg
xmodel,weapon_ger_mg_mg42
// Bar
weapon,mp/bar_bipod_crouch_mp
weapon,mp/bar_bipod_prone_mp
weapon,mp/bar_bipod_stand_mp
weapon,mp/bar_bipod_mp
xmodel,mounted_usa_bar_bipod_lmg
xmodel,mounted_usa_bar_lmg
xmodel,viewmodel_usa_bar_bipod_lmg
xmodel,viewmodel_usa_bar_lmg
xmodel,weapon_usa_bar_bipod_lmg
xmodel,weapon_usa_bar_lmg
// FG42
weapon,mp/fg42_bipod_mp
weapon,mp/fg42_bipod_prone_mp
weapon,mp/fg42_bipod_crouch_mp
weapon,mp/fg42_bipod_stand_mp
xmodel,mounted_ger_fg42_bipod_lmg
xmodel,mounted_ger_fg42_lmg
xmodel,viewmodel_ger_fg42_bipod_lmg
xmodel,viewmodel_ger_fg42_lmg
xmodel,weapon_ger_fg42_bipod_lmg
xmodel,weapon_ger_fg42_lmg
// 30Cal
weapon,mp/30cal_bipod_mp
weapon,mp/30cal_bipod_prone_mp
weapon,mp/30cal_bipod_crouch_mp
weapon,mp/30cal_bipod_stand_mp
xmodel,mounted_usa_30cal_bipod_lmg
xmodel,mounted_usa_30cal_lmg
xmodel,viewmodel_usa_30cal_bipod_lmg
xmodel,viewmodel_usa_30cal_lmg
xmodel,weapon_usa_30cal_bipod_lmg
xmodel,weapon_usa_30cal_lmg
// Type99
weapon,mp/type99_lmg_bipod_mp
weapon,mp/type99_lmg_bipod_stand_mp
weapon,mp/type99_lmg_bipod_crouch_mp
weapon,mp/type99_lmg_bipod_prone_mp
weapon,mp/type99_lmg_bipod_wet_mp
Image:Note.pngNote: Only copy to your maps zone source the needed files for the particular bipod in your level and check that your getting the correct zone source for your MP or SP level
Personal tools