Hard Light Productions Forums

Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: JGZinv on November 11, 2008, 11:48:15 pm

Title: Splitting Objects?
Post by: JGZinv on November 11, 2008, 11:48:15 pm
I'm full of odd ideas... on the tail of rain in space comes:

Splitting objects on event.

Primarily the first thing that comes to mind is asteroids (large rather than small)
set up within a race course, that when you reach such n such a proximity goal, they
would split and the minor chunks do their little spiral off into other pieces.

Extrapolating the idea, it could be useful for ships, stations, not sure about weapons as
that sounds like it's handled differently... except mine spawning perhaps. It works based
on the idea all models are made up of parts. So say if you have an asteroid or base made up of
chunky sections, at some point you can break them off in a controlled manner. Think Legos if need be.

Anyway, if it's not already available - could it be done?

Something like:

Code: [Select]
event-true-split

    1: Asteroid Split. (name of task being performed)
    2: Main Object (name of the main model entity; "BigHonkinRoid01")
    3: Object Parts to Split
     a: Part A
       a1: Axis to follow (what I'm thinking is when an object splits it's going to
             need directions for each piece to follow or it's liable to hit itself or go
             off some other undesired direction. Not sure if Axis is quite right for this use.)
     b: Part B
       b1:

Just something that came to mind.