Author Topic: /*has been playing around*/  (Read 7741 times)

0 Members and 1 Guest are viewing this topic.

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
/*has been playing around*/
http://freespace.volitionwatch.com/blackwater/dockingtest.zip

I've been working on a few little items over the last few weeks and while I waited for people to respond I have been working on a little side project.

useing the suplied table, mission, and pof file load the mission target the transport go to external veiw get a nice angle of it from the side hit '1'

currently I only have it enabled for docking, but it will be trivial to implement it for _anything_ else.
might be a good idea to start up a wishlist.

it has been designed to have maximum flexability but there are some limits to it, for one thing it must have a singular triggering event, I plan on implementing a linked-to-variable type.

and for those of you who don't know what I'm going on about, remember when I'm vauge like this requiering people to download and runs something to know what I'm talking about it's usualy something realy good.
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together

 

Offline Ransom

  • M. Night Russel
  • 210
  • It will not wait.
    • Rate of Injury
/*has been playing around*/
The build just shows the SCP splash thing then CTDs for me.

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
/*has been playing around*/
oh crap, I grabed the wrong build, just a second
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
/*has been playing around*/
alright try it again
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together

 

Offline Singh

  • Hasn't Accomplished Anything Special Or Notable
  • 211
  • Degrees of guilt.
/*has been playing around*/
ill give it a whirl.

what does it do exactly tho?
"Blessed be the FREDder that knows his sexps."
"Cursed be the FREDder that trusts FRED2_Open."
Dreamed of much, accomplished little. :(

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
/*has been playing around*/
:drevil:
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together

 

Offline Singh

  • Hasn't Accomplished Anything Special Or Notable
  • 211
  • Degrees of guilt.
/*has been playing around*/
hmmm...it appears to be asking for starry.pof. I'll edit the mission in FRED and give it a try then.
"Blessed be the FREDder that knows his sexps."
"Cursed be the FREDder that trusts FRED2_Open."
Dreamed of much, accomplished little. :(

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
/*has been playing around*/
oh yeah, I added that sky box thing to that mission, I should have just made a new one
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together

 

Offline Singh

  • Hasn't Accomplished Anything Special Or Notable
  • 211
  • Degrees of guilt.
/*has been playing around*/
oooooooooo

impressive. Love the way it swings (but is the ordering the transport to dock a new thing? Never seen it before). Small bug tho: if i press 2 again, the transport goes on a different docking path, and the things swing back up, but then it DOCKS like that. Having it swing up once the initial docking is aborted then swing back down again would be better tho :D
"Blessed be the FREDder that knows his sexps."
"Cursed be the FREDder that trusts FRED2_Open."
Dreamed of much, accomplished little. :(

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
/*has been playing around*/
hmm if it aborts the docking procedure they don't go back up?

hmm yes it does, stupid docking code, anyway that wasn't the big thing the code behind it is realy nice, you can add a new one with a single function call
« Last Edit: December 05, 2004, 03:05:22 am by 57 »
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together

 

Offline Singh

  • Hasn't Accomplished Anything Special Or Notable
  • 211
  • Degrees of guilt.
/*has been playing around*/
a new one what? :/

*is confused.
"Blessed be the FREDder that knows his sexps."
"Cursed be the FREDder that trusts FRED2_Open."
Dreamed of much, accomplished little. :(

 

Offline Ransom

  • M. Night Russel
  • 210
  • It will not wait.
    • Rate of Injury
/*has been playing around*/
Neat. How complicated can the animation thingy be? Just one movement, or is it possible to do more elaborate movements?

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
/*has been playing around*/
you can make them very elaborate if you wish useing mulatble triggers of the same type and the delay timer, though I'm sure there will be a few bugs to work out with reverseing them corectly
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together

 

Offline Goober5000

  • HLP Loremaster
  • 214
    • Goober5000 Productions
/*has been playing around*/
Oh excellent.  This finally got done then.  Very cool. :yes:

Is this in a clean build, so you can put it in CVS?

  

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
/*has been playing around*/
there are a few small things WCS wanted that I was intending to  commit also ('detail box' code for there hangers and capship explosion flashing) I'm going to do some clean up, and coment out the actual in game calls (so it isn't actualy reachable, just in case there is something I have missed) before committing it.
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together

 

Offline Goober5000

  • HLP Loremaster
  • 214
    • Goober5000 Productions
/*has been playing around*/
EDIT: PMing instead

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
/*has been playing around*/
alright I'm going to sleep now.
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
/*has been playing around*/
ok, spent a bit of time adding some idiot proofing, but it isn't perfict, you want to avoid haveing an animation starting while another one is in progress (though it should handel it especaly if you give good animation values)

you also want to try to give good timeing values, the +delay: is the time after the triggering event happens (in millisecond) that the animation will start, +time:4000 is how long you want the game to consiter the animation active, this is for things that will be dependent on the positions of the subobjects (for example gun banks, you don't want to be able to fire untill the models are in position). you can specify an angle in either relitive or absolute coordanants, (though I have been only useing relitive thus far, absolute probly doesn't work right now, it will by the time I get done) for convenience you specify all angle related data in degrees, this all gets converted to radians internaly however, so any code I give will be in radians
+relitive_angle: this is were the subobject is going to end at the end of the animation (unless it gets hijacked by another animation)
+velocity: this is the fastest the subobject will be rotateing, it is in degrees per second
+acceleration: this is how fast velocity will change

now you need to be carefull what you  use, they realy should fit this inequality
velocity^2/acceleration > ending angle
if they don't you run the risk of over shooting the end angle and when it reaches the end of it's motion it will snap into position unrealisticly. now I have some code for catching this, if you make your velocity too high it will change it to something that will work in a simple animation (though I'm thinking I should alow people to specify invalid data to alow complex animations that on there own wouldn't work).

I'm going to commit this soon (and I got the thing you wanted goob) after I do some final checking of stuff.
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
/*has been playing around*/
oh, and people, start up a wishlist for triggered animations already
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together

 

Offline Goober5000

  • HLP Loremaster
  • 214
    • Goober5000 Productions
/*has been playing around*/
--The SWC guys want movable X-foils.  The key to move them in XWing was AFAIK either 'X' or 'F', both of which are taken (but could be remapped).  That might deserve another key in the interface code.

--Moveable hangar doors, for capships.  For when someone implements linear subsystem movement. :)