Re: modifying .h, .cpp, ..fgd files
Posted by uberDingo on Tue Jan 18th at 6:22pm 2005
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?
uberDingo
member
72 posts
17 snarkmarks
Registered: Dec 21st 2004
Re: modifying .h, .cpp, ..fgd files
Posted by Rof on Tue Jan 18th at 6:46pm 2005
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.
[addsig]

Rof
member
210 posts
31 snarkmarks
Registered: Dec 3rd 2004
Re: modifying .h, .cpp, ..fgd files
Posted by Crono on Tue Jan 18th at 6:48pm 2005
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.
[addsig]

Crono
super admin
6628 posts
633 snarkmarks
Registered: Dec 19th 2003
Location: Oregon, USA