Author Topic: Possible to add more than one field?  (Read 1835 times)

0 Members and 1 Guest are viewing this topic.

Possible to add more than one field?
HI there,

is it possible to have more than one location for asteroid/debris fields?
Started to edit a little here and from the walkthrough and FRED2 help it
seems one can add only one box containing such a field per mission.

 

Offline FUBAR-BDHR

  • Self-Propelled Trouble Magnet
  • 212
  • Master Drunk
    • 165th Beer Drinking Hell Raisers
Re: Possible to add more than one field?
The only way I know of to do something like this is to put a field in then use asteroid objects for the second field.  Of course you run out of ship slots real fast this way. 
No-one ever listens to Zathras. Quite mad, they say. It is good that Zathras does not mind. He's even grown to like it. Oh yes. -Zathras

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Re: Possible to add more than one field?
Kazan has been talking about updating the asteroid code. If he doesn't get around to it I may take a stab at it myself.
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

 
Re: Possible to add more than one field?
In that case: It would be very nice if the asteroid field "box" didn't have to be axis aligned.
That way placing an a little wider field across a map would be much easier. Because this way the field has to be axis aligned, so if I want it
diagonal to something I have to build the rest of the mission diagonal instead. Hope you know what I mean.
I know an axis aligned box is much easier for testing intersections, but if you are on it and think you can implement it that way too... would be cool.
(Come to think of it, a sphere/elipsoid as boundary would be nice as well. And even easy to test for intersections...

 

Offline Polpolion

  • The sizzle, it thinks!
  • 211
Re: Possible to add more than one field?
At last resort you can make a very large rectangle with a inner boundary splitting it.

Lets say this: (I pull these numbers out of my ass for demonstration)

X min: -15
X max: 15
Y min -5
Y max 5
z min -5
Z max 5

Then you create an inner boundary of:

X min -5
X max 5
Y min -5
Y max 5
Z min -5
Z max 5

This way you should get two cubes of vol 1000m^3, I think.


I think that will work in an active field, I'm not sure if you can use an inner boundary for passive fields.

EDIT: what? how'd I get 1000?

*goes to sleep

 
Re: Possible to add more than one field?
Thanks for that idea.
Another thing... are the asteroids in any way dangerous to fighters? The help tells me active fields throw asteroids at ships, but I guess that's only capital ships, right?

 

Offline FUBAR-BDHR

  • Self-Propelled Trouble Magnet
  • 212
  • Master Drunk
    • 165th Beer Drinking Hell Raisers
Re: Possible to add more than one field?
They only go towards caps but are still dangerous to fighters.  If they run into a fighter or vice versa they do damage.
No-one ever listens to Zathras. Quite mad, they say. It is good that Zathras does not mind. He's even grown to like it. Oh yes. -Zathras