map oriented guns


08-13-2003, 05:39 PM
are there any maps with stationary guns built into them? im trying to find a way to add a stationary machine gun to a map.. all i need is a map name...

id appreciate it...

[Wiking]Keller
08-13-2003, 06:47 PM
Do you mean a spawn protect gun or a stat one that players can use?

If you mean one that you can use, "dod_fortzwei4" has them.

Good luck!

08-13-2003, 08:46 PM
thank you very much!

08-13-2003, 09:53 PM
diddnt work.. :o( well it does and it dosent... i fires, but you cant control it at all... when you use it the gun aims left, and shoots right..

this is the config i pulled from that map..

{
"origin" "-199 -762 -188"
"target" "mortar"
"classname" "func_tankcontrols"
}
{
"model" "models/w_30cal.mdl"
"origin" "-199 -762 -188"
"bullet" "3"
"angle" "0"
"maxRange" "4000"
"minRange" "500"
"persistence" "1"
"bullet_damage" "50"
"firerate" "15"
"spritescale" "2"
"spriteflash" "sprites/muzzleflash2.spr"
"barrel" "182"
"pitchtolerance" "5"
"pitchrange" "15"
"pitchrate" "15"
"yawtolerance" "15"
"yawrange" "25"
"yawrate" "30"
"target" "mortarsound"
"targetname" "mortar"
"rendercolor" "0 0 0"
"spawnflags" "32"
"classname" "func_tank"
}
{
"origin" "-199 -762 -188"
"message" "misc/newgun.wav"
"targetname" "mortarsound"
"pitchstart" "100"
"pitch" "100"
"health" "10"
"spawnflags" "56"
"classname" "ambient_generic"
}

08-13-2003, 11:25 PM
okay, u have the easiest solution for this, in hammer. all guns must face the EAST, or in other words, your right side, you can turn the gun in the entity properties to make them face where you want in game, but in hammer, all guns must face east.

TheNomad
08-14-2003, 02:11 AM
instead of decompiling other maps, u could go to the valve collective site where they have good tutorials and example maps on these guns.

http://collective.valve-erc.com/index.php?ent=func_tank&game=dod

http://collective.valve-erc.com/index.php?ent=func_tank <--another tut and example maps.

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.