Half-Life: Opposing Force

Half-Life: Opposing Force

Deinhardt May 20, 2020 @ 10:40am
Half Life SDK
Hey,

I spent the last days in reading infos and watching tutorials about the Valve Hammer Editor in Half Life SDK and decided to build my own mod. I got startet and created a Testroom map to figure out how everything works. I wanted to add a scripted sequence, where a pioneer opens a locked door when i noticed, that i only have the vanilla Half Life entities, but not the OF ones.

Can someone tell me, what exactly I have to do, to open the OF SDK? Or how I can add the entities? So far I only used the GECK for Bethesda's Fallout 3 to build mods, I am a little confused and can't find tutorials or discussions about this theme.

I chose the OF exe and folders when I started the map, but i guess I made a mistake in that step. Can someone help?
< >
Showing 1-8 of 8 comments
bastaynav May 20, 2020 @ 10:59am 
If you want OpFor entities, you need add OpFor fgd file to hammer

https://developer.valvesoftware.com/wiki/Hl_op4.fgd
Instead HL's or together (if this variant, entities can be doubled, bue i'm not sure)
Last edited by bastaynav; May 20, 2020 @ 11:01am
Deinhardt May 20, 2020 @ 11:49am 
I guess i have to copy the whole script, open a new textfile with Notepad++, paste the script, save it and then I open Hammer -> Tools -> options and add it to the "Game Data Files" in "Game Configurations"?

EDIT
I guess i found the answer, thats the way I have to do it. Also, it looks like i have to name the file hl_op4.fgd and safe it in the Half Life bin folder
Last edited by Deinhardt; May 20, 2020 @ 12:09pm
bastaynav May 20, 2020 @ 12:56pm 
Originally posted by Deinhardt:
I guess i have to copy the whole script, open a new textfile with Notepad++, paste the script, save it and then I open Hammer -> Tools -> options and add it to the "Game Data Files" in "Game Configurations"?

EDIT
I guess i found the answer, thats the way I have to do it. Also, it looks like i have to name the file hl_op4.fgd and safe it in the Half Life bin folder
Yes, you need save this file with any name, it's not critical, and put in any folder (example, in same as hl's fgd) and add in Hammer.
Deinhardt May 20, 2020 @ 3:00pm 
Thanks, short and helpfull as i like it
Deinhardt May 21, 2020 @ 2:49pm 
My problem was solved, but now I can't start the test in OF. It starts just regular HL, so my OF entities won't spawn. When i choose to start it in OF, i can move on my map and hear the soldiers talking, but I have a blackscreen. Any Idea?
Deinhardt May 21, 2020 @ 2:57pm 
I can*t find any op4.exe or simular
cambreaKer May 22, 2020 @ 4:37pm 
there is no op4.exe, when you click on run map there is a box where you can type in command line parameters, put -game gearbox in there and then run the map
Jud Does Stuff Jul 31, 2022 @ 5:05pm 
how do i get the opposing force models to show in hammer? like there entities i can select but there just empty boxes and only show up in game
< >
Showing 1-8 of 8 comments
Per page: 1530 50

Date Posted: May 20, 2020 @ 10:40am
Posts: 8