Entity attributes on compiled maps


BuLLeT_FoDDeR
02-22-2004, 02:34 PM
Is there a way/tool to look at attritbutes on entities on maps that are already compiled.

I use a program called stripper2 to mess around with maps on my server, but I want to strip specific entities from the map and to do so I need to know their origin. Also, I would like to see the "name" field so when I readd it I can assign it the correct name.

Thanks for your help.

Trp. Jed
02-22-2004, 07:18 PM
Use ripent.exe or just open the BSP is something like Wordpad. The entitiy info is plaintext at the end of the file.

- Jed

Sp3c-BuLLeT
02-23-2004, 09:30 AM
Below for the dod_anzio plaza flag it shows:
"point_axis_model" "models/mapmodels/flags.mdl"
"point_allies_model" "models/mapmodels/flags.mdl"

I don't understand how I can modify this to make it a british flag face. Is there another attribute I should change?


"origin" "-698 923 -431"
"point_team_points" "2"
"point_allies_model_bodygroup" "1"
"point_reset_model_bodygroup" "3"
"point_win_string" "MAP_GROUP_CAP"
"point_can_axis_touch" "1"
"point_can_allies_touch" "1"
"targetname" "plaza_flag"
"point_index" "4"
"angles" "0 0 0"
"point_reset_model" "models/mapmodels/flags.mdl"
"point_axis_model" "models/mapmodels/flags.mdl"
"point_allies_model" "models/mapmodels/flags.mdl"
"point_allies_capsound" "ambience/uspointcaptured.wav"
"point_axis_capsound" "ambience/gerpointcaptured.wav"
"point_points_for_cap" "2"
"point_pointvalue" "0"
"point_name" "POINT_ANZIO_PLAZA"
"classname" "dod_control_point"

VoodooChild
02-23-2004, 09:51 AM
The answer lies in the flag itself, which is listed as an env_model
the british flag is SUBMODEL 3 in the flags.mdl file.

"point_allies_model_bodygroup" "1" to
"point_allies_model_bodygroup" "2"?? where as 2 would = brits?

not sure...confirm someone. I havent started to make a brit map so I havent bothered checking if that is correct.

you would also want to change this:

"point_allies_capsound" "ambience/uspointcaptured.wav"

to this

"point_allies_capsound" "ambience/britpointcaptured.wav"

haircut
02-23-2004, 09:52 AM
Try adding:

"point_allies_model_bodygroup" "2"


Look at the dod fgd for list of entity attributes.


EDIT: lol .... errrrr ... what he said ^^^^

Sp3c-BuLLeT
02-23-2004, 10:10 AM
I ended up just changing flags.mdl to w_bflag.mdl. It may not be the correct way of doing it, but it works.

Here is the finished stripper2 config if anyone is interested:

http://www.sp3c.org/dod_anzio_str.cfg

Sp3c-BuLLeT
02-23-2004, 01:55 PM
I tried "point_allies_model_bodygroup" "2"

and that works fine... here is an example config for it on avalanche:

http://www.sp3c.org/dod_avalanche_str.cfg

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.