spawning DODS weapons/ammo
caboose
03-28-2006, 01:05 AM
Can weapons or ammo boxes be placed into levels. as i wanted to make an ammo store but the ammo cans just say "ERROR" when running the map, and the guns dont show up.
When placing these items i called them prop_static
otF yetihw
03-28-2006, 08:52 AM
The ammo cans are just for show they cant actually be picked up in game, but if you want them then make it a prop_physics_multiplayer (I think) or maybe a prop_dynamic... have a play
haircut
03-28-2006, 01:04 PM
By all means take a look ... but a prop is a prop.
The engine code, entity, needs to allow an item to be picked up and used as a weapon... what, if any, dod entity allows that then someone who knows can answer the question, that person wouldn't be me.
Sounds like you have a dod:s fgd that claims dod weapons can be used but the entity is unrecognised?
pluckster
03-28-2006, 03:31 PM
Originally posted by caboose
Can weapons or ammo boxes be placed into levels. as i wanted to make an ammo store but the ammo cans just say "ERROR" when running the map, and the guns dont show up.
When placing these items i called them prop_static
you could try making the prop, and putting a trigger/button on it so when a player goes to it it gives them the weapon.
And cant you give people just certain weapons because i know in one HL: DM to DoDS conversion, when you get put into the jail it strips you of all weapons (turning you into a ragdoll) so shouldnt there be a way of putting them back on.
IceWolve
03-28-2006, 06:05 PM
If it is showing up as an error hten you obviously made it the wrong entity.
Prop_Static = prop models that do not move.
Prop_dynamic = prop models that move.
Prop_physics =props that are like ragdolls i believe.
If you put any weapon or ammo as this, then it will just be a prop, not a real useable weapon or ammo like you are thinking.
Bedlam
04-09-2006, 08:49 PM
umm...
I was wondering the same thing *bump* does anyone know if the last post is correct? I know you can add them to maps in css, can you do it in dod? If not then it is dissapointing. :o
otF yetihw
04-09-2006, 09:39 PM
I think ingame weapons will be available when vavle sort out the sdk.
The last post wasnt really correct. Prop_physics are props which move, Im not sure exactly what prop_dynamics are but you can use static props as prop_dynamics so that you can parent them to something. And Prop_ragdolls are ragdolls.
caboose
04-10-2006, 04:43 AM
you can spawn guns,ammo boxes and grenades as prop_physics_multiplayer.
they display but cant be used.
wickit
04-10-2006, 04:52 AM
there is another thread regarding this
in which i have created a fix workaround to spawn weapons
http://www.dayofdefeat.net/forums/showthread.php?s=&threadid=61052
:vader: search is a good button
caboose
04-10-2006, 06:32 AM
ok that cool.
had a play with it and its going to be really helpful.
but is there any way to just spawn 1, and not have it vanish after about 3 seconds?
caboose
04-10-2006, 06:46 AM
ok never mind i read the post about everyone having this issue, ill just wait till they fix it before i put this in my 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.