Jump to content

IN THIS THREAD I WILL ANSWER YOUR SOURCE QUESTIONS


Recommended Posts

Posted

you could copy past it out of the vmf using notpad. got to check out for my self right now

edit: works just fine. small tutorial:

1. copy your brush with the single displacement to a new map file. save it as disp1.vmf

2. destroy all displacements on this brush and create new ones where you want them to be. save as disp2.vmf

3. mark all _new_ displacements with a small height so that the face where the old one shall be is not marked (it shall be 100% plane in out disp2.vmf

4. now open up disp1 and disp2 in notepad or wordpad or any other editor.

you will see something like this:

versioninfo

{

	"editorversion" "400"

	"editorbuild" "3569"

	"mapversion" "2"

	"formatversion" "100"

	"prefab" "0"

}

visgroups

{

}

viewsettings

{

	"bSnapToGrid" "1"

	"bShowGrid" "1"

	"bShowLogicalGrid" "0"

	"nGridSpacing" "64"

	"bShow3DGrid" "0"

}

world

{

	"id" "1"

	"mapversion" "2"

	"classname" "worldspawn"

	"skyname" "sky_day01_01"

	"maxpropscreenwidth" "-1"

	"detailvbsp" "detail.vbsp"

	"detailmaterial" "detail/detailsprites"

	solid

	{

		"id" "2"

		side

		{

			"id" "1"

			"plane" "(0 0 64) (256 0 64) (256 -256 64)"

			"material" "BRICK/BRICKFLOOR001A"

			"uaxis" "[1 0 0 0] 0.25"

			"vaxis" "[0 -1 0 0] 0.25"

			"rotation" "0"

			"lightmapscale" "16"

			"smoothing_groups" "0"

			dispinfo

			{

				"power" "3"

				"startposition" "[0 -256 64]"

				"flags" "0"

				"elevation" "0"

				"subdiv" "0"

				normals

				{

					"row0" "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0"

					"row1" "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0"

					"row2" "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0"

					"row3" "0 0 0 0 0 1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 0 0 0 0 0 0 0"

					"row4" "0 0 0 0 0 0 0 0 1 0 0 1 0 0 1 0 0 1 0 0 0 0 0 0 0 0 0"

					"row5" "0 0 0 0 0 0 0 0 0 0 0 1 0 0 1 0 0 1 0 0 0 0 0 0 0 0 0"

					"row6" "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0"

					"row7" "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0"

					"row8" "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0"

				}

				distances

				{

					"row0" "0 0 0 0 0 0 0 0 0"

					"row1" "0 0 0 0 0 0 0 0 0"

					"row2" "0 0 0 0 0 0 0 0 0"

					"row3" "0 20 70 45 25 5 0 0 0"

					"row4" "0 0 65 50 30 10 0 0 0"

					"row5" "0 0 0 30 20 5 0 0 0"

					"row6" "0 0 0 0 0 0 0 0 0"

					"row7" "0 0 0 0 0 0 0 0 0"

					"row8" "0 0 0 0 0 0 0 0 0"

				}

				offsets

				{

					"row0" "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0"

					"row1" "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0"

					"row2" "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0"

					"row3" "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0"

					"row4" "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0"

					"row5" "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0"

					"row6" "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0"

					"row7" "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0"

					"row8" "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0"

				}

				offset_normals

				{

					"row0" "0 0 1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 1"

					"row1" "0 0 1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 1"

					"row2" "0 0 1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 1"

					"row3" "0 0 1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 1"

					"row4" "0 0 1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 1"

					"row5" "0 0 1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 1"

					"row6" "0 0 1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 1"

					"row7" "0 0 1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 1"

					"row8" "0 0 1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 1"

				}

				alphas

				{

					"row0" "0 0 0 0 0 0 0 0 0"

					"row1" "0 0 0 0 0 0 0 0 0"

					"row2" "0 0 0 0 0 0 0 0 0"

					"row3" "0 0 0 0 0 0 0 0 0"

					"row4" "0 0 0 0 0 0 0 0 0"

					"row5" "0 0 0 0 0 0 0 0 0"

					"row6" "0 0 0 0 0 0 0 0 0"

					"row7" "0 0 0 0 0 0 0 0 0"

					"row8" "0 0 0 0 0 0 0 0 0"

				}

				triangle_tags

				{

					"row0" "9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9"

					"row1" "9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9"

					"row2" "9 9 9 0 0 0 0 1 1 9 9 9 9 9 9 9"

					"row3" "9 9 0 0 1 9 9 9 9 9 9 9 9 9 9 9"

					"row4" "9 9 0 0 0 1 1 9 9 9 9 9 9 9 9 9"

					"row5" "9 9 9 9 1 1 1 9 1 9 9 9 9 9 9 9"

					"row6" "9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9"

					"row7" "9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9"

				}

				allowed_verts

				{

					"10" "-1 -1 -1 -1 -1 -1 -1 -1 -1 -1"

				}

			}

		}

		side

		{

			"id" "2"

			"plane" "(0 -256 0) (256 -256 0) (256 0 0)"

			"material" "BRICK/BRICKFLOOR001A"

			"uaxis" "[1 0 0 0] 0.25"

			"vaxis" "[0 -1 0 0] 0.25"

			"rotation" "0"

			"lightmapscale" "16"

			"smoothing_groups" "0"

		}

		side

		{

			"id" "3"

			"plane" "(0 0 64) (0 -256 64) (0 -256 0)"

			"material" "BRICK/BRICKFLOOR001A"

			"uaxis" "[0 1 0 0] 0.25"

			"vaxis" "[0 0 -1 0] 0.25"

			"rotation" "0"

			"lightmapscale" "16"

			"smoothing_groups" "0"

		}

		side

		{

			"id" "4"

			"plane" "(256 0 0) (256 -256 0) (256 -256 64)"

			"material" "BRICK/BRICKFLOOR001A"

			"uaxis" "[0 1 0 0] 0.25"

			"vaxis" "[0 0 -1 0] 0.25"

			"rotation" "0"

			"lightmapscale" "16"

			"smoothing_groups" "0"

		}

		side

		{

			"id" "5"

			"plane" "(256 0 64) (0 0 64) (0 0 0)"

			"material" "BRICK/BRICKFLOOR001A"

			"uaxis" "[1 0 0 0] 0.25"

			"vaxis" "[0 0 -1 0] 0.25"

			"rotation" "0"

			"lightmapscale" "16"

			"smoothing_groups" "0"

		}

		side

		{

			"id" "6"

			"plane" "(256 -256 0) (0 -256 0) (0 -256 64)"

			"material" "BRICK/BRICKFLOOR001A"

			"uaxis" "[1 0 0 0] 0.25"

			"vaxis" "[0 0 -1 0] 0.25"

			"rotation" "0"

			"lightmapscale" "16"

			"smoothing_groups" "0"

		}

		editor

		{

			"color" "0 119 188"

			"visgroupshown" "1"

			"visgroupautoshown" "1"

		}

	}

}

cameras

{

	"activecamera" "-1"

}

cordon

{

	"mins" "(-1024 -1024 -1024)"

	"maxs" "(1024 1024 1024)"

	"active" "0"

}

this is a cube with only one displacement on its top. the face has the id 1

copy all numeric information of the displacement.

in the disp2.vmf you can now paste it over the information from id1. now you have transfered all displacement data of that single face to you cube with 2 displaced faces.

hope that did help you.

  • Replies 332
  • Created
  • Last Reply

Top Posters In This Topic

Posted

can't get it to work .. i'm a dumb ass

I copy it , paste in new map, save it "1" ... destroy the one side , create the other one side i want extra, save as "2" open 2 in notepad , copy the side info to the same side as in "1" ...and when I open .. it's just the same .. :???:


×
×
  • Create New...