Call of Duty 5: MP - Adding Turrets: Difference between revisions

From COD Modding & Mapping Wiki
Jump to navigation Jump to search
(New page: Image:Nutshell.png Tutorial on how to add a Turret (mounted MG) to your Levels. ''To place a turret in your MP level:'' Right click in the 2D window and choose '''Misc/Turret'''. The...)
 
m (Protected "Call of Duty 5: MP - Adding Turrets" [edit=autoconfirmed:move=autoconfirmed])
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
[[Image:Nutshell.png]] Tutorial on how to add a Turret (mounted MG) to your Levels.
[[Image:Nutshell.png]] Tutorial on how to add a Turret (mounted MG) to your Levels.


''To place a turret in your MP level:''
== Static Turrets ==


Right click in the 2D window and choose '''Misc/Turret'''.
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.
Then all you have to do is enter the correct model and weaponinfo setting for it to work.


*.30cal - Standing
'''Radiant:'''


model = mounted_usa_30cal_bipod_lmg
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).
weaponinfo = 30cal_bipod_stand_mp


*.30cal - Crouch
== Singleplayer Turrets ==
'''German'''


model = mounted_usa_30cal_bipod_lmg
MG42 Heavy Machine Gun:
weaponinfo = 30cal_bipod_crouch_mp


*.30cal - Prone
<pre>
model mounted_ger_mg42_bipod_mg
model = mounted_usa_30cal_bipod_lmg
weaponinfo mg42_bipod_stand
weaponinfo = 30cal_bipod_prone_mp
classname misc_turret
</pre>


FG42 Light Machine Gun:


*DP28 - Standing
<pre>
weaponinfo fg42_bipod_stand
model mounted_ger_fg42_bipod_lmg
classname misc_turret
</pre>


model = mounted_rus_dp28_bipod_lmg
'''American'''
Weaponinfo = dp28_bipod_stand_mp


*DP28 - Crouch
30cal Light Machine Gun:


model = mounted_rus_dp28_bipod_lmg
<pre>
Weaponinfo = dp28_bipod_crouch_mp
model mounted_usa_30cal_bipod_lmg
weaponinfo 30cal_bipod_stand
classname misc_turret
</pre>


*DP28 - Prone
Bar Light Machine Gun:


model = mounted_rus_dp28_bipod_lmg
<pre>
Weaponinfo = dp28_bipod_prone_mp
model mounted_usa_bar_bipod_lmg
weaponinfo bar_bipod_crouch
classname misc_turret
</pre>


*MG42 - Standing
'''Japanese'''


model = mounted_ger_mg42_bipod_mg
Type99 Light Machine Gun:
weaponinfo = mg42_bipod_stand_mp


*MG42 - Crouch
<pre>
model mounted_jap_type99_bipod_lmg
weaponinfo type99_bipod_lmg
classname misc_turret
</pre>


model = mounted_ger_mg42_bipod_mg
Type99 Light Machine Gun(nobipod):
weaponinfo = mg42_bipod_crouch_mp


*MG42 - Prone
//testing these two
<pre>
model mounted_jap_type99_lmg
weaponinfo type99_lmg
classname misc_turret
</pre>


model = mounted_ger_mg42_bipod_mg
weaponinfo = mg42_bipod_prone_mp


*Type 92 - Standing
'''Russian'''


model = weapon_jap_mg_type92_notripod
<pre>
Weaponinfo = type99_lmg_bipod_stand_mp
model mounted_rus_dp28_bipod_lmg
weaponinfo dp28_bipod_stand
classname misc_turret
</pre>
//\\


*Type 92 - Crouch
== Multiplayer Turrets ==
'''German'''


model = weapon_jap_mg_type92_notripod
MG42 Heavy Machine Gun:
Weaponinfo = type99_lmg_bipod_crouch_mp


*Type 92 - Prone
<pre>
model mounted_ger_mg42_bipod_mg
weaponinfo mg42_bipod_stand_mp
classname misc_turret
</pre>


model = weapon_jap_mg_type92
FG42 Light Machine Gun:
Weaponinfo = type99_lmg_bipod_prone_mp


<pre>
weaponinfo fg42_bipod_stand_mp
model mounted_ger_fg42_bipod_lmg
classname misc_turret
</pre>


[[Image:Warning.png]] The Type 92 uses two models, unlike the other turrets. This is because of the tripod; it doesn't look good mounted on a normal 16 or 32 unit thick wall. You can place a Type 92 with tripod on a destroyed car at crouch or stand height, just change its Weaponinfo setting to match the height you'll be using it at.
'''American'''


30cal Light Machine Gun:


Sources: [http://wiki.treyarch.com/wiki/Add_Turrets_To_Your_Map Treyarch's Wiki]
<pre>
model mounted_usa_30cal_bipod_lmg
weaponinfo 30cal_bipod_stand_mp
classname misc_turret
</pre>
 
Bar Light Machine Gun:
 
<pre>
model mounted_usa_bar_bipod_lmg
weaponinfo bar_bipod_stand_mp
classname misc_turret
</pre>
'''Japanese'''
 
Type92 Light Machine Gun:
 
<pre>
code
</pre>
 
'''Russian'''
 
DP28 Light Machine Gun:
<pre>
code
</pre>
 
== 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.
 
{{Note|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
 
== Zone_source ==
 
Zone_Source Content for yourmapname.csv (file located in codwaw/zone_source/yourmapname.csv):
 
<pre>
// 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
</pre>
 
{{Note|Only copy to your maps zone source the needed files for the particular bipod in your level}}
 
Sources: [http://www.modsonwiki.com/index.php/World_at_War:_SP/MP_Static_And_Deployable_Turrets ModsonWiki]
[[Category:Multiplayer]]
[[Category:Multiplayer]]
[[Category:Weapons]]
[[Category:Weapons]]

Latest revision as of 17:26, 20 May 2009

Tutorial on how to add a Turret (mounted MG) to your Levels.

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).

Singleplayer Turrets

German

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

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

Japanese

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


Russian

model mounted_rus_dp28_bipod_lmg
weaponinfo dp28_bipod_stand
classname misc_turret

//\\

Multiplayer Turrets

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

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

Japanese

Type92 Light Machine Gun:

code

Russian

DP28 Light Machine Gun:

code

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.

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

Zone_source

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
Only copy to your maps zone source the needed files for the particular bipod in your level

Sources: ModsonWiki