[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4668: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4670: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4671: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4672: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
Battlefield Modding Tutorials BFMODS • View topic - Altitude Defined "Kill All Zone"

Battlefield Modding Tutorials BFMODS

Battlefield Modding Tutorials
It is currently Sun May 05, 2024 11:57 am

All times are UTC




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 54 posts ]  Go to page 1, 2, 3, 4, 5 ... 7  Next
Author Message
PostPosted: Thu Dec 14, 2006 6:00 am 
Offline
User avatar

Joined: Wed Nov 24, 2004 12:00 am
Posts: 257
Location: New York City
In BF1942, DC, DCF, etc, the 'active combat area' is defined in the map's init.con and when you leave that defined area, you are "out of bounds" and begin to lose health and if you stay there too long, you ultimatly have to respawn.

The code in the map's init.con is as follows :

( BF1942 - Desert Combat - "DC No Fly Zone" )

game.setActiveCombatArea 0 0 4096 4096


I run this map in the CTF mode and sometimes a flag carrier will get into a jet and fly straight up so high that they remain up there for a very long time and out of reach. :x

I am sure many of you that play CTF have seen this happen. :lol:

------------

:?: Is it possible to define an altitude on the the map for an "out of bounds" area ? :?:

This way when someone reaches a certain altitude, the player and the aircraft loses health.

I know how a "Death Bubble" works and use it in several maps on my server and from what I understand it is shaped like a sphere or 'bubble' around a given coordinate.

____________________________________________________

:?: :idea: Can a "Death Ceiling" or an 'upper out of bounds' area be created on a server sided basis ? :?:

___________________________________

Thank you 8-)

___________________________________

_________________
Image
Image
Do everything to the best of your ability and you will find yourself in the future doing everything better than you thought possible.
Anthony Voltano 7/7/4777
VXF VOLT


Top
 Profile Send private message E-mail  
 
 Post subject:
PostPosted: Thu Dec 14, 2006 10:30 pm 
Offline

Joined: Sun Jun 18, 2006 3:07 pm
Posts: 319
Location: Ontario, Canada
I thought that the out of bounds area was defined by the 'out of bounds' material in materialmap.raw. And I always thought that 'active combat area' was just something to say what size of map it was (i.e. large, medium, small). Is any of this right?

_________________
xfire: bulletpr00fmonk


Top
 Profile Send private message E-mail  
 
 Post subject:
PostPosted: Thu Dec 14, 2006 11:21 pm 
Offline

Joined: Mon Aug 16, 2004 12:00 am
Posts: 2120
It's what identifies how far outside the map is "outside".

Go on Omaha, and freecam north of the Axis base. The minimap says you are on the edge, and you get the "warning you are...." message, yet there is a lamppost for no reason. If you open the map is BattleCraft, you will see this lamppost, and all the area near it.

That's how the minimap for some maps appear more "zoomed in" than others. The map may be 1024x1024, but the active combat area is only 256x256


Top
 Profile  
 
 Post subject:
PostPosted: Fri Dec 15, 2006 12:33 am 
Offline

Joined: Mon Oct 09, 2006 12:51 pm
Posts: 782
i believe the sky box can be moved up and down by editing the Skys Offset. Plus you can also had clouds, which can be lowered or raised as well. Perhaps by modding the sky box or clouds, and getting them to the right hight. You Could kill people as soon as the run into these.


Top
 Profile Send private message E-mail  
 
 Post subject:
PostPosted: Fri Dec 15, 2006 12:37 am 
Offline

Joined: Sun Jun 18, 2006 3:07 pm
Posts: 319
Location: Ontario, Canada
I don't think hitting the top of the skybox will kill a player, I will just stop them and add huge resistance.

_________________
xfire: bulletpr00fmonk


Top
 Profile Send private message E-mail  
 
 Post subject:
PostPosted: Fri Dec 15, 2006 2:37 am 
Offline
User avatar

Joined: Wed Nov 24, 2004 12:00 am
Posts: 257
Location: New York City
Thank you for the insight gentleman. :wink:

It's not a 'skybox' question because the skybox is what is rendered above the heightmap and defines the lighting color, angle and brightness.

The "active combat area" seems to be defining the 2 dimensional plane area where actual gameplay is valid regardless of the size of the entire heightmap as described by 'Why Two Kay' above.

It's like a square box ( or cube ) without a top.

I hope that the active combat area can be defined as a closed cube, thereby enclosing or capping the top of the map ( box ).

Do any of you knowledgeable modders know how this can be done or know of a map where it has been done ?

We tried adding flat static objects ( runways ) to the map in the sky at a defined altitude ( 720.00 ) but because of the multiple objects needed, it caused long loading times.

There should be a way to cap or close the top of the map without additional objects, I hope there is. :?

Thank you all for your help 8-)

_________________
Image
Image
Do everything to the best of your ability and you will find yourself in the future doing everything better than you thought possible.
Anthony Voltano 7/7/4777
VXF VOLT


Top
 Profile Send private message E-mail  
 
 Post subject:
PostPosted: Fri Dec 15, 2006 3:12 pm 
Offline

Joined: Mon Nov 15, 2004 12:00 am
Posts: 696
Location: Germany, US Depot

_________________

--= Home of the Airwolf =--


Top
 Profile Send private message E-mail  
 
 Post subject:
PostPosted: Fri Dec 15, 2006 7:55 pm 
Offline

Joined: Mon Oct 25, 2004 12:00 am
Posts: 576
Location: 10 Missed Meals From Total Barbarism


Top
 Profile Send private message E-mail  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 54 posts ]  Go to page 1, 2, 3, 4, 5 ... 7  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 293 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
cron
Powered by phpBB® Forum Software © phpBB Group