Entity spawning


Yippie
03-26-2007, 06:28 PM
I'm trying to get weapons to spawn in a map yet they are not working. I looked at dod_caen to see how they spawned the piat and bazooka and am trying to add many weapons to another map without having to have clients redownload the map.

I am using bsp edit and added

{
"origin" "343 2018 170"
"angles" "0 0 0"
"classname" "weapon_piat"
}
yet the map still isnt spawning the weapons. I have seen it done before on some servers. Anyone have any ideas?

Yippie
03-27-2007, 03:15 PM
Ok, I figured it out i think, i changed the weapon_piat to weapon_fg42 and it seemed to work, maybe i just need mp_allowbazookas set to 1? But i read somewhere that you cannot spawn scopedfg42's is there anyway to spawn scoped weapons?

One more thing how do i change the class menus to allow fg42 and scopedfg42 selection?

l3eeron
03-27-2007, 03:31 PM
I take it this is for dod 1.3, not source

right???


I would google for: dod para classes

or

dod para tutorial

...diggin around I found this info that looks helpful to you


"mp_combinemglimits"
· Setting to 1 will combine the mg34 and mg42 class limits and count either class as being a "machinegunner". New limit is the sum of "mp_limitaxismg34" and "mp_limitaximg42", including negative numbers.

"mp_limitalliesbazooka"
"mp_limitaxispschreck"
"mp_limitbitpiat"
· Class limit cvars for the new bazooka classes

"mp_alliesclasses"
· Mask of allowed classes for the allied team. "-1" allows all classes. To set the mask, reference the table of values below and add them together to get the class mask value. This can be set per map in the map cfg files. For example:

mp_alliesclasses 29 - ( 29 = 1 + 4 + 8 + 16 = garand + thompson + greasegun + sniper )

To add the 'random' class, you would find random, see the value 512, and add that to 29 - 541.

mp_alliesclasses 541

The list of classes:

American classes
Garand 1
Carbine 2
Thompson 4
GreaseGun 8
Sniper 16
BAR 32
30cal 64
Bazooka 128
Random 512

British classes
Enfield 1
Sten 2
Sniper 4
Bren 8
PIAT 16
Random 64

"mp_axisclasses"
· Mask of allowed classes for the axis team. "-1" allows all classes. On non-para maps, fg42 bipod and scoped will not be available.

Axis classes
K98 1
K43 2
MP40 4
MP44 8
Sniper 16
FG42Bipod 32 //not available on non-para maps
FG42Sniper 64 //not available on non-para maps
MG34 128
MG42 256
Pschreck 512
Random 2048

"mp_spawnbazookas"
· Set to 1 to allow bazookas to spawn in the level.

And for those of you wondering what the missing class is in each of these lists, its a mortar. This weapon is not included in this release, as its not completed yet.

l3eeron
03-27-2007, 03:54 PM
Heres a list of all the weapons (as far as I know)...

I tried spawning a weapon_scopedfg42, and it gave me a regular fg42. It will spawn a scoped sniper rifle tho. Im sure theres a way to get a scoped fg42 to spawn. You have to make it a para map some how, not sure how that's done tho... sounds easy =)


// American \\
//weapon_garand
//weapon_m1carbine
//weapon_mcarbine
//weapon_thompson
//weapon_greasegun
//weapon_spring
//weapon_bar
//weapon_30cal
//weapon_bazooka
// British \\
//weapon_enfield
//weapon_sten
//weapon_bren
//weapon_scopedenfield
//weapon_piat
// Axis \\
//weapon_kar **
//weapon_k98 *
//weapon_k43
//weapon_mp40
//weapon_mp44 **
//weapon_stg44 *
//weapon_scopedkar
//weapon_mg34
//weapon_mg42
//weapon_fg42
//weapon_scopedfg42
//weapon_pschreck **
//weapon_panzerchreck *
// Pistol \\
//weapon_colt
//weapon_luger **
//weapon_webley *
// Knife \\
//weapon_amerknife
//weapon_gerknife
//weapon_spade
//weapon_paraknife
// Grenade \\
//weapon_handgrenade **
//weapon_millsgrenade *
//weapon_stickgrenade
// \\
//weapon_satchel
//weapon_bar

Day of Defeat Forum Archive created by Neil Jedrzejewski.

This in an partial archive of the old Day of Defeat forums orignally hosted by Valve Software LLC.
Material has been archived for the purpose of creating a knowledge base from messages posted between 2003 and 2008.