PDA

View Full Version : Edit maps


meathead
03-20-2008, 07:39 AM
What program should I use If I want to edit a map like stuka and change the flags so they go all the way down to the ground? The only map experience I have was going thru mardy mouse's training files for hammer.
Thanks
Meathead

Dr.G
03-20-2008, 10:42 AM
Wilson made a simple guide somewhere here, but i cant remember where try and search on weapon spawns...

The two programs u need is BSPedit and BSPviewer

WARDOG
03-20-2008, 09:35 PM
I'll give it to you done already if you want, mine has Americans though instead of Brits.

Else use BSPedit, and BSP viewer. You don't need hammer.

meathead
03-22-2008, 11:06 AM
Thanks war dog, we really like the british weapons though. I have bsp edit, but not sure how to change it. No luck finding a tutorial yet. Can anyone point me in the right direction? Do I just need to change these flag models?

{
"origin" "2012 1942 -11"
"angles" "0 319 0"
"point_allies_capsound" "ambience/alliescap.wav"
"point_axis_capsound" "ambience/axiscap.wav"
"point_hud_icon_allies" "1"
"point_hud_icon_axis" "2"
"movewith" "flag_01"
"point_default_owner" "1"
"point_group" "flags"
"point_index" "2"
"point_win_string" "%p captured the %n for the %t"
"point_reset_model" "models/mapmodels/stuka_wflag.mdl"
"point_axis_model" "models/mapmodels/stuka_gflag.mdl"
"point_allies_model" "models/mapmodels/stuka_aflag.mdl"
"point_points_for_cap" "3"
"point_name" "Airstrip"
"classname" "dod_control_point"
}


Edit: ok, well now I see that only changes the picture of the flag. I think I need to change the z origins for the triggers?

noddy
03-22-2008, 06:59 PM
you need to change the origins m8

I have one allready done if you want it brits v axis.

the bsp is available to download from my site

http://www.fps-uk.net/downloads/Maps/dod_stuka_v1.zip

you can compare the 2 files in bsp edit so that you can see how it was done for future reference

meathead
03-22-2008, 07:52 PM
Thanks Noddy. Now I can compare then and have learned another trick!

WARDOG
03-26-2008, 10:11 PM
Open BSP edit, and Viewer at the same time, find the .bsp you want to edit.

When in BSP viewer, and BSPedit, find the first flag which would be the first "classname" "dod_control_point"

{
"origin" "2012 1942 -40"
"angles" "0 319 0"
"point_allies_capsound" "ambience/alliescap.wav"
"point_axis_capsound" "ambience/axiscap.wav"
"point_hud_icon_allies" "1"
"point_hud_icon_axis" "2"
"movewith" "flag_01"
"point_default_owner" "1"
"point_group" "flags"
"point_index" "2"
"point_win_string" "%p captured the %n for the %t"
"point_reset_model" "models/mapmodels/stuka_wflag.mdl"
"point_axis_model" "models/mapmodels/stuka_gflag.mdl"
"point_allies_model" "models/mapmodels/stuka_aflag.mdl"
"point_points_for_cap" "3"
"point_name" "Airstrip"
"classname" "dod_control_point"
}

Move your view in BSPviewer as close to the ground as possible, where ever you want the flag placed, untill your view touches the ground in the spot where you want the flag placed.

Notice the position #s in the left hand upper corner of the BSPviewer window.

Position: 2012 1942 -40

To make this simple, -40 is the up down #

the other two are the left right or forwards backwards #s

Now, an origional stock map.bsp, will not use these exact #s in BSPviewer. You have to add, or subtract the BSPviewer #s from the origional .bsp origin.

Pay close attention whether you are adding or subtracting the # when you move your view, because the origional may have a -100 or +100 up down to begin with.

So say the origional is +100, but the ground in BSP viewer in my flag spot is -40, I would subtract 40 from 100, and that would be my spot 60.

If I had a # of +40, I would add that to 100 and get 140

Now, to adjust the dod_control_point flag perfectly, you will raise it off the ground 5 or more, again - or + from the origional .bsp origion. You will have to play with this 5 or more# to get it exact if you want.

So to sum it up, I do the ground # check, and come up with -40 when at the ground, if I move lower or higher it might add or subtract, so pay attention to what the # is doing. I then back up 5 towards the sky, and come up with -35 now. I take that -35 and subtract it from 100 and we get the almost exact position for the flag 65, this will be your new # to replace in BSPedit. Same for the other origion #s.

Yes it's a bit tedious, but after some practice it's no big deal. Don't forget to save it in BSPedit when done, and make a backup if you screw it up.

PS: You have a PM, let me know if the link is dead or not for savefile.com

Zor
03-27-2008, 01:05 AM
Do a search for Ripent, thats the program you need to do most of the corrections that you will need in your bsp file without need recompile and other shit.

Cheers!

diamond-optic
03-27-2008, 02:41 AM
Do a search for Ripent, thats the program you need

BSPedit is easier as its basically ripent with a windows gui

meathead
03-27-2008, 07:29 AM
Thanks for all the info. All of you have been extremely helpfull during my first year running our server. With the plugins, tips, tricks and tweaks we have installed, our server is full most nights!