OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: supershooter on 18 Aug 2006, 14:40:35

Title: Removing 'HUD'
Post by: supershooter on 18 Aug 2006, 14:40:35
^Is it possible?

When playing OFP you have a box in the bottom right corner, with all the different actions in, I know after a short while that automatically fades. But when you  start shooting a box will appear top-left corner showing your weapon and ammo status. Is there anyway to get rid of this? (But I dont want to have cinema borders)
Title: Re: Removing 'HUD'
Post by: bedges on 18 Aug 2006, 14:49:42
i think it would be a case of modifying the game config, which is no easy task.  :confused:
Title: Re: Removing 'HUD'
Post by: supershooter on 18 Aug 2006, 14:54:20
I expected that reply.                                         ??? >:( :(

I would probably make a mess.
Title: Re: Removing 'HUD'
Post by: Baddo on 18 Aug 2006, 15:18:35
Hi

It is pretty safe to experiment with the config.

1) Make a new mod folder like MyMod.
2) Copy OFP/Res/Bin folder into your new mod folder.
3) Now get those config.bin and resource.bin files into .cpp format, use a tool or grab files from some mod which has already done that for you. I'd use the default RES files so you have a fresh start.
4) Now you have resource.cpp and config.cpp in the OFP/MyMod/Bin folder which you are free to modify.
5) Start by examining resource.cpp, as I remember it containts the stuff defining the user interface.
6) Modify the files to your liking and start OFP with MyMod folder and that's it, and no original files were harmed in the process.

Using those config files you modified could cause problems in multiplayer: others will get a notification that you are using a modified config file and could take that as you are cheating. This problem goes away if you make your own mod and make everyone in the server use it :)