Author Topic: Omg this is stupid!  (Read 1650 times)

0 Members and 1 Guest are viewing this topic.

I'm trying to get a subobject to rotate like a gattling gun and I'm getting loads of stupid errors. I set the POF to rotate within the properties and now I'm sure it is the tables that is causing the problems. I never did an animation before so I need some advice on how this should work out:

Code: [Select]
$Subsystem:                     Object01,                                10,1.0
  $animation: triggered
  $type: initial
  +relative_angle: 0,0,0
  +sub_type: 1
  +delay: 1000
  +velocity: 0,0,90

This should be set to rotate only when I'm working the second primary.

EDIT:

Changed the code:

Code: [Select]
$Subsystem:                     Object01,                                10,1.0
  $animation: triggered
  $type: primary_bank
  +delay: 0
  +relative_angle: 0,0,0
  +velocity: 0,0,90
  +acceleration: 0,0,100

I get no bugs but the gun doesn't rotate.
« Last Edit: January 03, 2007, 05:29:38 pm by Vengence »
I have created a masterpiece.

 

Offline Flipside

  • əp!sd!l£
  • 212
Is this for a fighter or a Capship?

 
Fighter. Don't tell me it only works for capitals :(
I have created a masterpiece.

 

Offline Flipside

  • əp!sd!l£
  • 212
It only works for capitals....

Good news is, it's actually easier to do on fighters :)

Take a look at:


www.aqsx85.dsl.pipex.com/Azaes.zip

Check in the Azaes-shp.tbm and look at the $Weapon Model Draw Distance and $Show Primary Model settings, and in Maul-wep.tbm and look at $Model File onwards for about 3 lines to get an idea of how it's done on fighter-based weapons :)


 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
and that trigger is for when you _select_ a bank, not fire 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 Nuke

  • Ka-Boom!
  • 212
  • Mutants Worship Me
use vwep with fighters
I can no longer sit back and allow communist infiltration, communist indoctrination, communist subversion, and the international communist conspiracy to sap and impurify all of our precious bodily fluids.

Nuke's Scripting SVN

  
It only works for capitals....

Good news is, it's actually easier to do on fighters :)

Take a look at:


www.aqsx85.dsl.pipex.com/Azaes.zip

Check in the Azaes-shp.tbm and look at the $Weapon Model Draw Distance and $Show Primary Model settings, and in Maul-wep.tbm and look at $Model File onwards for about 3 lines to get an idea of how it's done on fighter-based weapons :)

Huh, I see. I'd rather not spent alot of time going over re-exporting the models given how many times it crashes on me but I'll keep these codes incase I need them.
I have created a masterpiece.