modifying .h, .cpp, ..fgd files

modifying .h, .cpp, ..fgd files

Re: modifying .h, .cpp, ..fgd files Posted by uberDingo on Tue Jan 18th 2005 at 6:22pm
uberDingo
72 posts
Posted 2005-01-18 6:22pm
72 posts 17 snarkmarks Registered: Dec 21st 2004
If I made modifications to some of my .c, .cpp, .fgd, etc.. files as listed in this link below...

http://www.hl2world.com/wiki/index.php/Unlimited_Render_Targets_for_Cameras

how would that effect my map after compiling it? Would I have to include different files when distribution a map or would it all get wound up into the final .bsp file?
Re: modifying .h, .cpp, ..fgd files Posted by Rof on Tue Jan 18th 2005 at 6:46pm
Rof
210 posts
Posted 2005-01-18 6:46pm
Rof
member
210 posts 41 snarkmarks Registered: Dec 3rd 2004
Essentially, if you modify the .cpp, etc. files and recompile, you are
making a mod. Therefore, if you make maps that depend on the new
features of the mod, nobody else will be able to see/use those features.

You'd have to distribute the mod's .dll files with your map, and
convince people to install them, for them to be able to see your map
properly.
Re: modifying .h, .cpp, ..fgd files Posted by Crono on Tue Jan 18th 2005 at 6:48pm
Crono
6628 posts
Posted 2005-01-18 6:48pm
Crono
super admin
6628 posts 700 snarkmarks Registered: Dec 19th 2003 Location: Oregon, USA
If you change the DLLs then, yes you do need to distribute them. You
could just make a "mod" and include your modified DLL files with your
map.

You don't need to include any FGD unless you want people to be able to make maps for your "mod". An FGD is only used in Hammer.

Also, just to clear something up, a DLL file is basically a module for
the rest of the code (that being hl2.exe). That DLL file IS telling hl2
how to set up the server and handle incoming clients. A BSP CANNOT
carry this information as the server is set up first them the bsp is
loaded.
Re: modifying .h, .cpp, ..fgd files Posted by uberDingo on Tue Jan 18th 2005 at 9:25pm
uberDingo
72 posts
Posted 2005-01-18 9:25pm
72 posts 17 snarkmarks Registered: Dec 21st 2004
<tips his hat>

That's what I needed to know.. and thanks much :smile: