PDA

View Full Version : Whats with the cow?


Dr.G
10-26-2008, 08:33 PM
Hellow...

Can someone tell me why i cant kill this cow?

{
"origin" "-195 -1387 -253"
"model" "models/mapmodels/cow.mdl"
"targetname" "cow1"
"m_iszSequence_Off" "dead"
"m_iszSequence_On" "idle"
"rendercolor" "0 0 0"
"angles" "0 0 0"
"classname" "env_model"
}

diamond-optic
10-27-2008, 12:12 AM
cause its just a model.. you cant 'kill' a model without either scripting it to take some sort of damage in amxx or like in glider (i think its glider right) it has to be setup in the map with a func_breakable or such brush entity

just like how you cant 'kill' sandbags, or trees, or other models

Ba5ic
10-27-2008, 03:30 AM
Hellow...

Can someone tell me why i cant kill this cow?

{
"origin" "-195 -1387 -253"
"model" "models/mapmodels/cow.mdl"
"targetname" "cow1"
"m_iszSequence_Off" "dead"
"m_iszSequence_On" "idle"
"rendercolor" "0 0 0"
"angles" "0 0 0"
"classname" "env_model"
}

This is taken from Glider:-

{
"model" "*177"
"origin" "109 -2437 -295"
"rendermode" "5"
"distance" "0"
"targetname" "cow"
"wait" "-1"
"speed" "50"
"angles" "270 0 0"
"rendercolor" "0 0 0"
"classname" "func_door"
}
{
"origin" "22 -2398 -266"
"spawnflags" "2"
"model" "models/mapmodels/cow.mdl"
"targetname" "cow"
"m_iszSequence_Off" "dead"
"m_iszSequence_On" "idle"
"rendercolor" "0 0 0"
"angles" "0 90 0"
"classname" "env_model"
}

Hope it helps

Dr.G
10-27-2008, 01:46 PM
Oh ok thanks guys... i thought it was the model it self that did it...

Cheers

Ba5ic
11-04-2008, 11:47 AM
I've added the cow to my avalanche BSP file. it's showing were i want it to but when you shoot it, it does not explode or play the "moo" wav file?. Here is what i have added if anyone can spot any obvious mistakes?

{
"model" "*177"
"origin" "491 -1299 -571"
"rendermode" "5"
"distance" "0"
"targetname" "cow"
"wait" "-1"
"speed" "50"
"angles" "270 0 0"
"rendercolor" "0 0 0"
"classname" "func_door"
}
{
"origin" "491 -1299 -571"
"spawnflags" "2"
"model" "models/mapmodels/cow.mdl"
"targetname" "cow"
"m_iszSequence_Off" "dead"
"m_iszSequence_On" "idle"
"rendercolor" "0 0 0"
"angles" "0 90 0"
"classname" "env_model"
}
{
"model" "*178"
"explosion" "1"
"capobj_hud_sprite" "sprites/obj_tnt.spr"
"tntdelay" "3"
"rendermode" "4"
"zhlt_lightflags" "2"
"target" "cow"
"material" "3"
"health" "10"
"rendercolor" "0 0 0"
"classname" "func_breakable"
}
{
"origin" "491 -1299 -571"
"message" "ambience/moo.wav"
"targetname" "cow"
"spawnflags" "52"
"pitchstart" "100"
"pitch" "100"
"health" "10"
"classname" "ambient_generic"
}

Thanks!

Dr.G
11-04-2008, 03:57 PM
I would love the answer aswell :)

WARDOG
11-06-2008, 03:11 AM
I would love the answer aswell :)

You are trying to add unique models that are made and compiled into Glider, into another map. You can't use these.

"model" "*177"

"model" "*178"

So the only things working in your map that you see, are these two ents right now.

The cow that you can walk through, because the brush that actually makes it solid, is tied to the model #, that is embeded and compiled into Glider.

You can't move this brush model to another map, simply by stating "model" "*177" in your BSP.

The map you have has it's own unique models already assigned to it when compiled, you can't add any more of this type, even if you change the # of them, it just doesn't work.

{
"origin" "491 -1299 -571"
"spawnflags" "2"
"model" "models/mapmodels/cow.mdl"
"targetname" "cow"
"m_iszSequence_Off" "dead"
"m_iszSequence_On" "idle"
"rendercolor" "0 0 0"
"angles" "0 90 0"
"classname" "env_model"
}

And the wave file, waiting to be triggerd by some thing.

{
"origin" "491 -1299 -571"
"message" "ambience/moo.wav"
"targetname" "cow"
"spawnflags" "52"
"pitchstart" "100"
"pitch" "100"
"health" "10"
"classname" "ambient_generic"
}

Notice they have no model #

Dr.G
11-06-2008, 06:37 PM
Thx, ofcourse, that makes sense.. Well i guess there aint nothing else to do then decompile the map and add the models in hammer to do it right.. But it says that XXX amount of polygons is missing when i decompile, that cant be good, but ill give it a shoot in hammer.... Thx again wardog...

Tank
11-11-2008, 11:41 AM
You can't move this brush model to another map, simply by stating "model" "*177" in your BSP.

I know nothing about mapping but have been enriched with information by sohood. Would it also not be possible to duplicate this brush with bspviewer and move it over to avalanche for example?

I know the answer is prolly no but it never hurts to ask.

diamond-optic
11-11-2008, 12:38 PM
Would it also not be possible to duplicate this brush with bspviewer and move it over to avalanche for example?

nope lol, cant do that

=|[76AD]|= TatsuSaisei
11-21-2008, 09:36 PM
Well i guess there aint nothing else to do then decompile the map and add the models in hammer to do it right.. But it says that XXX amount of polygons is missing when i decompile, that cant be good, but ill give it a shoot in hammer...

decompiling a map is only good for "seeing" something to get a better understanding of how it works... but they way maps are decompiled completely "ruins" the map and is then NOT re-compilable ... it has to do with what the compiler engine actually does to whats been created in hammer ...

you will never successfully decompile a map, edit it, and then recompile it and get a "better" map... you will actually make it worse.. even if you never added anything ...

It is hard to explain properly what happens and the best way to get a visual understanding of this is to make your own simple map, compile it... then decompile it and compare the two source files and you will see they differ greatly...

the only way to add things to compiled maps is through crafty amxx coding and/or bsp edit depending on what you want to accomplish.

Dr.G
11-27-2008, 09:51 AM
Thanks alot Tatsu then i wont waste my time on trying that...

Vet
11-30-2008, 10:39 PM
Would it also not be possible to duplicate this brush with bspviewer and move it over to avalanche for example?
But it is possible to duplicate an existing brush model on the same map and reclassify it. So if you look around avalanche, you may be able to find an applicable model to reuse.

Tank
11-30-2008, 10:51 PM
Yes, I'm using that for my airstrike. I still love that option though, you can still change a lot on the map without having to rebuilt it all.