Hi. Seems some mods are now hard to find.
Does anyone have a good mod to change the spawn locations for the hunt?
I have zzzzzzzzzzz-spawn-fix-obj1.v1.pk3. But would like them to be a bit more spread out.
Hi. Seems some mods are now hard to find.
Does anyone have a good mod to change the spawn locations for the hunt?
I have zzzzzzzzzzz-spawn-fix-obj1.v1.pk3. But would like them to be a bit more spread out.
It's very simple to add your own spawns. Go to hunt map and enter coord in console in each location that you want to add a spawn.
Write down the coordinates and angles.
Open the map script to edit, I use winrar. Look at the script where the spawn models are added and follow that structure to add more or replace them all with your own.
If you want to modify the original spawnpoints in The Hunt, you'll have to edit the .bsp in Pak5.pk3 --> maps/obj/obj_team1.bsp with Notepad++. Do not use regular Notepad, it will crash.
Search for info_player_allied or info_player_axis and edit their origins as needed (Note: I'm not sure if this will work server-side). An example is below:
If you're playing The Hunt in a Free-For-All game, MOHAA does not have info_player_deathmatch spawnpoints, so everyone spawns at one location: info_player_start.Code:{ "classname" "info_player_allied" "origin" "-1080 4976 -136" "angle" "45" }
I converted all Allied and Axis spawnpoints into deathmatch ones, which you must add before "level waittill prespawn". The .pk3 is below.
Then in your maps/obj/obj_team1.scr file, load in the deathmatch spawns similar to this example below:
Code:main: setcvar "g_obj_alliedtext1" "The Hunt" setcvar "g_obj_alliedtext3" "" setcvar "g_obj_axistext1" "" setcvar "g_obj_axistext2" "" setcvar "g_obj_axistext3" "" setcvar "g_scoreboardpic" "objdm1" setcvar "fraglimit" "0" setcvar "timelimit" "20" setcvar "cheats" "0" setcvar "thereisnomonkey" "0" if((getcvar("g_gametype") == "1")) { setcvar "g_obj_alliedtext2" "Free-For-All" setcvar "g_gametypestring" "Free-For-All" setcvar "g_gametype" "1" exec maps/mapspawns/objteam1_dm.scr } else { setcvar "g_obj_alliedtext2" "Team Deathmatch" setcvar "g_gametypestring" "Team-Match" setcvar "g_gametype" "2" spawn info_player_deathmatch "origin" "5065 3945 300" "angle" "-145" // for spectators when joining game spawn info_player_deathmatch "origin" "4480 -70 300" "angle" "170" spawn info_player_deathmatch "origin" "1655 3785 300" "angle" "-22" } level waittill prespawn setcvar "r_fastsky" "0" $world farplane 15000 $world farplane_color ( 0.4980 0.6980 0.9412 ) //*** Precache Dm Stuff exec global/DMprecache.scr level.dmrespawning = 1 level.script = maps/obj/obj_team1.scr exec global/ambient.scr obj_team1 //$flak88_weapon1 notsolid //$flak88_base1 notsolid //$flak88_weapon1_trigger remove //$flak88_weapon1_explosive remove //$flak88_weapon1 remove //uncomment these to remove flak88 gun //$flak88_base1 remove level waittill spawn end
Going to try Notepad++
Will let you know how i get on.
All i get is
ÿ
8 ÿ
ÿ
1
ÿ
ÿ
2
ÿ
ÿ
1
0
ÿ
1
ÿ
ÿ
ÿ
1
ÿ
ÿ
1
ÿ
1
ÿ
þ
1
ü
9
ü
:
ÿ ÿ
:
ÿ
8
7
ü
As you were told, just load The hunt and use coord in the spot you want to set the spawns, then just modify the lines in the pk3 you already have.
These are stock allied spawn, just block them and spawn new one a bit further
Code:( -1080 4976 -136 ) ( -984 5192 -144 ) ( -896 5424 -152 ) ( -1128 5200 -136 ) ( -1104 5328 -152 ) ( -944 5136 -144 ) ( -1000 4944 -144 ) ( -1048 5232 -144 ) ( -816 5144 -152 ) ( -1008 5424 -152 ) ( -1232 5168 -136 ) ( -912 5040 -128 ) ( -1048 5096 -136 ) ( -800 5240 -144 )
Modifying the bsp isn't server-side, is it? I would recommend just edit the level script, blocking original spawn and adding new ones.
MoH Reborn | MoH:AA Guide | Mapping tutorials | zzzzzMy_Maps.pk3 | ►YouTUBE
__________________________________
xNULL Discord
__________________________________
+set thereisnomonkey 1
Thanks. Trying to get it on ft obj.
Had a look at trying to do them myself. But what I found was I needed to edit a .bsp file.
Not had any luck finding a program to do it with.
BSP is server side. Getting the locations is no problem. Editing the BSP to add them is.
You will get a lot of text gibberish in .bsps when you open with Notepad++, but the player-spawn coords are definitely in there. In obj_team1.bsp for example, the first info_player_allied entity is on line 147,463 (just do CTRL+F and search, otherwise you'll be scrolling forever).
I just tried moving a func_rotatingdoor's coords in mohdm1.bsp, then ran it on a Reborn 1.12 test server. Looks like it does work after all; the door was gone.
This might be a game changer lol, I didn't know it could be server-side either.
However, I'd be very careful about removing entities entirely from the .bsp (removing player spawns should be okay though). Instead if you want to "remove" something, just move its coords to something like "9999 9999 9999" so no one will ever see it (obviously doesn't apply to player spawns).
You cannot edit any "classname light" at all. I tested moving their origins or just changing color to "0 0 0", both cases caused the server to crash once I joined.
Thank you.
I have found something I can understand. Will be having a good go at it.