Warning: include(): http:// wrapper is disabled in the server configuration by allow_url_include=0 in /var/www/html/tutorials/windows.php on line 24

Warning: include(http://map.planetmedalofhonor.gamespy.com/mohaa/poll/poll_cookie.php): Failed to open stream: no suitable wrapper could be found in /var/www/html/tutorials/windows.php on line 24

Warning: include(): Failed opening 'http://map.planetmedalofhonor.gamespy.com/mohaa/poll/poll_cookie.php' for inclusion (include_path='.:/usr/local/lib/php') in /var/www/html/tutorials/windows.php on line 24

 
IRC :: #.map on Quakenet.org or simply go to irc://irc.quakenet.eu.org/.map
 

 
Warning: include(): http:// wrapper is disabled in the server configuration by allow_url_include=0 in /var/www/html/tutorials/windows.php on line 59

Warning: include(http://map.planetmedalofhonor.gamespy.com/mohaa/leftindex.php): Failed to open stream: no suitable wrapper could be found in /var/www/html/tutorials/windows.php on line 59

Warning: include(): Failed opening 'http://map.planetmedalofhonor.gamespy.com/mohaa/leftindex.php' for inclusion (include_path='.:/usr/local/lib/php') in /var/www/html/tutorials/windows.php on line 59
 
 

Breakable Windows :: mohaa_rox
-------------------------------------------------------------------------------

This tutorial shows you how to add windows and break them.

Let's get started!

Make a room with and info_player_start and lights. Make a little room where you want your window to be. Probably add a door that allows the play to enter the room.

Select any window textures from general_structure. I used natestahwin1_frame for the window and natestahwin1_broken for the broken window. Make a brush and press "ctrl+f" to fit the texture into place. Place it beside the door or anywhere and press csg subtract (I recommend that you do not use this, make the brush manually, since this is a tutorial and it would be easy.) which is next to the hollow button.Give it a func_window entity.

You may want to check "window_broken_block" to prevent the player from jumping through the window. Also give the window a key of "target" and value of "broken".

Next, select the broken window texture (the texture must be the same as the window). I used natestahwin1_broken which window is natestahwin1_frame. Make a brush with similar size to the window. Apply the texture and "ctrl+f" fit it. Make the broken window a script object and give it a "targetname" of "broken", which is the target of the window above. You should see an arrow connecting the both of them if you pull one of them away.

If you want you window to be shot more, add this:

health: number (100-150)

Any number ranging from 100-150!

Compile your map and play!

[ Download the Example Map ]

Check this page for updates and questions/comments in the forum.

Need any help : Ask in the Forum

 

 
Warning: include(): http:// wrapper is disabled in the server configuration by allow_url_include=0 in /var/www/html/tutorials/windows.php on line 157

Warning: include(http://map.planetmedalofhonor.gamespy.com/mohaa/rightindex.php): Failed to open stream: no suitable wrapper could be found in /var/www/html/tutorials/windows.php on line 157

Warning: include(): Failed opening 'http://map.planetmedalofhonor.gamespy.com/mohaa/rightindex.php' for inclusion (include_path='.:/usr/local/lib/php') in /var/www/html/tutorials/windows.php on line 157


 


Warning: require(/home/map/cgi-bin/mohaa/poll/include/config.inc.php): Failed to open stream: No such file or directory in /var/www/html/tutorials/windows.php on line 170

Fatal error: Uncaught Error: Failed opening required '/home/map/cgi-bin/mohaa/poll/include/config.inc.php' (include_path='.:/usr/local/lib/php') in /var/www/html/tutorials/windows.php:170 Stack trace: #0 {main} thrown in /var/www/html/tutorials/windows.php on line 170