Jump to content


Photo

Interiors


  • Please log in to reply
6 replies to this topic

#1 _Haldir_

_Haldir_

    Mapper

  • Project Team
  • 1,203 posts
  • Location:Australia
  • Projects:The Dwarf Holds, The Elven Alliance: Community Edition
  •  T3A Team Chamber Member

Posted 07 March 2010 - 02:21 AM

So, i don't want to give too much away, but i've finished a map that uses terrain and texturing to give the illusion of an interior. However, the appearance of the interior is somewhat ruined by flying units and weather. But because the map has both an inside and an outside, i don't want to restrict weather effects and flying units entirely.

Essentially, i wanted to know whether it's possible to:
1. make certain areas impassable to flying (and ground) units
2. prevent weather effects (freezing rain) from falling inside certain areas, but without preventing the weather completely :)

This is for BFME 1 by the way, and the map will be released with one of the TDH patches :sad:

Posted Image Posted Image


#2 Radspakr Wolfbane

Radspakr Wolfbane

    The John Farnham of modding

  • Members
  • 7,722 posts
  • Location:less than 5 meters from my bed
  • Projects:Comeback tour
  •  The Retired Beard

Posted 07 March 2010 - 07:36 AM

You use a weather script that is triggered only when the outside is needed.
Check out the day/night tutorial thing and tweak the script for it.

For the flying units i'm pretty sure you can limit the passability of trigger areas with a script.

I'll have a look and edit this post with the results.


In the Script Conditions you'll find

Team->Area or Path->Team has units inside an area
In that you can set air or ground or both.
From there in the actions you can move them away or stop them or delete them.

Edited by Radspakr, 07 March 2010 - 07:51 AM.

Break dancing into the hearts of millions


#3 Crusard

Crusard

    Local n00b

  • Project Team
  • 483 posts
  • Location:Buenos Aires, Argentina
  • Projects:Crusard's Tower Defense
  •  Poor feedback kills mapper.

Posted 14 March 2010 - 07:07 PM

The rain/snow particles are spawned at certain height. If you make the indoor areas higher than normal terrain the rain just will not spawn there :p

Posted Image


#4 _Haldir_

_Haldir_

    Mapper

  • Project Team
  • 1,203 posts
  • Location:Australia
  • Projects:The Dwarf Holds, The Elven Alliance: Community Edition
  •  T3A Team Chamber Member

Posted 15 March 2010 - 01:14 AM

Hmmm.. I've had a look but i can't really create what i'm after.

The problem with scripting a unit to stop/move away when it hits a certain area, is that the unit won't path around the obstacle. Gameplay wise, you'd have to tell your raven/eagle/nazgul to move to a bunch of different locations to get them where you want them.

The day/night isn't ideal either, essentially i want to prevent rain/snow particles in a trigger area only. And i've already finished the map, so changing the terrain isn't what i'm after. A massive height difference between inside and out is also just impractical :p

Thanks guys, but i think i'll have to live with it :p

Posted Image Posted Image


#5 Rob38

Rob38

    Believer of Hope

  • Hosted
  • 3,567 posts
  • Location:USA
  • Projects:Helm's Deep Last Hope
  •  One who is not afraid of new challenges

Posted 16 March 2010 - 07:47 AM

Yeah, for the weather, I have the same issue. It's going to be raining in the interior section of HD. Crusard's suggestion is pretty much the only thing you can do to adjust where it rains/snows. The map only has an on and off feature for weather unforunately.

signature_group1.gif

 

16821.png


#6 _Haldir_

_Haldir_

    Mapper

  • Project Team
  • 1,203 posts
  • Location:Australia
  • Projects:The Dwarf Holds, The Elven Alliance: Community Edition
  •  T3A Team Chamber Member

Posted 16 March 2010 - 11:43 AM

Yeah i just had a look at BFME2's Erebor as well, which has the same problems as my map. EA hasn't managed/bothered to fix them, so i'll just leave it. It's not a massive deal, just something that i would've fixed if i could :shiftee2:

Posted Image Posted Image


#7 Rob38

Rob38

    Believer of Hope

  • Hosted
  • 3,567 posts
  • Location:USA
  • Projects:Helm's Deep Last Hope
  •  One who is not afraid of new challenges

Posted 17 March 2010 - 08:03 AM

Actually, for EA's Erebor map, their solution was to make the rain fall from a very low height. If you notice, the rain lines are hard to see in that map. You still get the rain sounds though.

signature_group1.gif

 

16821.png





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users