Author Topic: Aircraft Catapult (FH0.7->FH2)  (Read 2434 times)

Offline Paasky

  • Sr. Member
  • ****
  • Posts: 1.801
  • DON'T PANIC! DON'T PANIC!
    • View Profile
Aircraft Catapult (FH0.7->FH2)
« on: 24-09-2009, 18:09:05 »
Who here remembers the catapults the Arado's were attached to? You could rev up your engine and then catapult yourself off the ship.

I'd like to add this to FH2, but have run into a problem.

Here's what I researched thus far:
Code: [Select]
PrinzEugen:
Objects.con
ObjectTemplate.addTemplate PrinzEugenAr196Spawner
ObjectTemplate.setPosition 3.5/14.718/-4.808
ObjectTemplate.setRotation -89.999/0/0

rem *** PrinzEugenAr196Spawner***
ObjectTemplate.create ObjectSpawner PrinzEugenAr196Spawner
ObjectTemplate.setObjectTemplate 1 Ar196
ObjectTemplate.setObjectTemplate 2 Ar196
ObjectTemplate.minSpawnDelay 20
ObjectTemplate.maxSpawnDelay 40
ObjectTemplate.TimeToLive 120
ObjectTemplate.Distance 200
ObjectTemplate.spawnOffset 0/0/0
ObjectTemplate.holdObject 1
ObjectTemplate.team 1


Ar196:
Objects.con
ObjectTemplate.addTemplate Ar196Guns
ObjectTemplate.addTemplate Ar196Cannons
ObjectTemplate.addTemplate Air_Spotter

rem ObjectTemplate.addTemplate Ar196PlaneholderDispenser
rem ObjectTemplate.setPosition 0/-2.0/1.5

ObjectTemplate.addTemplate Jumpstart
ObjectTemplate.setPosition 0/0/0
ObjectTemplate.setRotation 179.999/0/0


Weapons.con
rem *** Ar196PlaneholderDispenser***
ObjectTemplate.create FireArms Ar196PlaneholderDispenser
rem ObjectTemplate.setNetworkableInfo PlaneFireArmInfo
ObjectTemplate.projectileTemplate Ar196PlaneholderProjectil
ObjectTemplate.visibleDummyProjectileTemplate Ar196PlaneholderDummy
ObjectTemplate.projectilePosition 0/0/0
ObjectTemplate.magSize 2
ObjectTemplate.numOfMag 1
ObjectTemplate.velocity 10
ObjectTemplate.roundOfFire 10
ObjectTemplate.setFireCameraShakeAnimationState FirePlaneGunsLightShake
ObjectTemplate.setInputFire c_PIAltFire
ObjectTemplate.fireDelay 0.4
ObjectTemplate.aiTemplate Ar196Bombs
ObjectTemplate.addFireArmsPosition 0/0/0 0/0/0
ObjectTemplate.addFireArmsPosition 0.001/0/0.001 0/0/0

ObjectTemplate.create Bundle Ar196PlaneholderDummy
ObjectTemplate.geometry YamatoCatapult_planeholder_m1

ObjectTemplate.create Projectile Ar196PlaneholderProjectil
ObjectTemplate.createNotInGrid 1
ObjectTemplate.geometry YamatoCatapult_planeholder_m1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.timeToLive CRD_NONE/20/0/0
ObjectTemplate.material 210
ObjectTemplate.dieAfterColl 0
ObjectTemplate.hasCollisionPhysics 0
ObjectTemplate.hasCollisionEffect 0
ObjectTemplate.mass 150
ObjectTemplate.drag 0.08
ObjectTemplate.setHasPointPhysics 0

Air\common:
Weapons.con
rem *** Jumpstart***
ObjectTemplate.create FireArms Jumpstart
ObjectTemplate.aiTemplate JumpstartAI
ObjectTemplate.loadSoundScript ../Common/Sounds/fire.ssc
ObjectTemplate.projectileTemplate JumperProjectile
ObjectTemplate.projectilePosition 0/0/-5
ObjectTemplate.magSize 4
ObjectTemplate.numOfMag 1
rem ------------------------------------------
rem -----------------------------------------
ObjectTemplate.velocity 10
ObjectTemplate.reloadtime 999
ObjectTemplate.roundOfFire 10
ObjectTemplate.fireingForce 1000
ObjectTemplate.fireDelay 0.2
ObjectTemplate.recoilSpeed 6
ObjectTemplate.recoilSize 100
ObjectTemplate.setInputFire c_PIAltFire
ObjectTemplate.addFireArmsPosition 2/0/20 0/0/0
ObjectTemplate.addFireArmsPosition -2/0/20 0/0/0
ObjectTemplate.addFireArmsPosition 0/2/20 0/0/0
ObjectTemplate.addFireArmsPosition 0/-2/20 0/0/0


rem *** JumperProjectile ***
ObjectTemplate.create Projectile JumperProjectile
ObjectTemplate.createNotInGrid 1
ObjectTemplate.loadSoundScript ../../Common/Sounds/Projectile.ssc
ObjectTemplate.geometry Projectile_m1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 0
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.invisible 1
ObjectTemplate.timeToLive CRD_NONE/0.01/0/0
ObjectTemplate.damageType 1
ObjectTemplate.material 500
ObjectTemplate.radius 0
ObjectTemplate.hasCollisionEffect 0

How I see it is this:

Prinz Eugen (parent) spawns Arado.
Arado has Guns+Cannons on PrimaryFire, Airspotter+Jumpstart on AltFire. Apparently the Ar196PlaneholderDispenser isn't used anymore as it's rem'd.
The Jumpstart weapon basically has a HUGE recoil which yanks the plane clean off the Prinz Eugen, but does no damage.

How does the plane cling on to the ship though? Cause normally when you touch the throttle the parent let's go.


I know that ObjectTemplate.hasMobilePhysics 0 makes the spawner not move anywhere in BF2. But what does ObjectTemplate.floaterMod 1 do? Make it float?




And as for what this is for, it's not a ship. Anyone know what Zveno stands for ;)
It's half naked people on boats. That's all.
Here in Finland we call that "summer".

Offline General Tso

  • Jr. Member
  • **
  • Posts: 351
  • Head Chump
    • View Profile
Re: Aircraft Catapult (FH0.7->FH2)
« Reply #1 on: 24-09-2009, 21:09:53 »

Offline Cory the Otter

  • Hero Member
  • ****
  • Posts: 2.815
  • Smoke me a kipper, I'll be home for breakfast.
    • View Profile
    • FA Profile
Re: Aircraft Catapult (FH0.7->FH2)
« Reply #2 on: 24-09-2009, 22:09:36 »
dude, i want that plane...

Offline Paasky

  • Sr. Member
  • ****
  • Posts: 1.801
  • DON'T PANIC! DON'T PANIC!
    • View Profile
Re: Aircraft Catapult (FH0.7->FH2)
« Reply #3 on: 25-09-2009, 00:09:45 »

First draft.
It's half naked people on boats. That's all.
Here in Finland we call that "summer".

Offline Kildar

  • Jr. Member
  • **
  • Posts: 136
  • Have a nice day.
    • View Profile
Re: Aircraft Catapult (FH0.7->FH2)
« Reply #4 on: 25-09-2009, 21:09:31 »
Damn it Paasky! Stop declassifying relatively classified materials.. first the maus now this. I swear there is no such thing as operational security anymore >:(

Offline Paasky

  • Sr. Member
  • ****
  • Posts: 1.801
  • DON'T PANIC! DON'T PANIC!
    • View Profile
Re: Aircraft Catapult (FH0.7->FH2)
« Reply #5 on: 25-09-2009, 21:09:09 »
Damn it Paasky! Stop declassifying relatively classified materials.. first the maus now this. I swear there is no such thing as operational security anymore >:(
You forget I made both (or al three hm?) so **** you!
It's half naked people on boats. That's all.
Here in Finland we call that "summer".

Offline Kildar

  • Jr. Member
  • **
  • Posts: 136
  • Have a nice day.
    • View Profile
Re: Aircraft Catapult (FH0.7->FH2)
« Reply #6 on: 25-09-2009, 23:09:28 »
Up yours Paasky, I know where the lipeäkala and bodies are buried! 8)  
« Last Edit: 25-09-2009, 23:09:19 by Kildar »

Offline Paasky

  • Sr. Member
  • ****
  • Posts: 1.801
  • DON'T PANIC! DON'T PANIC!
    • View Profile
Re: Aircraft Catapult (FH0.7->FH2)
« Reply #7 on: 25-09-2009, 23:09:59 »
Up yours Paasky, I know where the lipeäkala and bodies are buried! 8)  
Never had any lipeäkala so paskat sulle senkin runkkari perkele!
It's half naked people on boats. That's all.
Here in Finland we call that "summer".

Offline Thorondor123

  • God Emperor
  • Global Moderator
  • *****
  • Posts: 6.573
  • Lugbûrz-ûr!
    • View Profile
Re: Aircraft Catapult (FH0.7->FH2)
« Reply #8 on: 25-09-2009, 23:09:07 »
So much hate!
Let mortal heroes sing your fame

Offline Flippy Warbear

  • Global Moderator
  • *****
  • Posts: 6.921
  • Adequately docile
    • View Profile
Re: Aircraft Catapult (FH0.7->FH2)
« Reply #9 on: 26-09-2009, 01:09:04 »
No vittuu. Aletaaks tääl isottelee?

Offline Paasky

  • Sr. Member
  • ****
  • Posts: 1.801
  • DON'T PANIC! DON'T PANIC!
    • View Profile
Re: Aircraft Catapult (FH0.7->FH2)
« Reply #10 on: 26-09-2009, 04:09:39 »
Totta helvetissä, PERKELE!


And I wonder why no devs dare post in this thread :D
It's half naked people on boats. That's all.
Here in Finland we call that "summer".

Offline EddieRizla

  • Newbie
  • *
  • Posts: 49
    • View Profile
Re: Aircraft Catapult (FH0.7->FH2)
« Reply #11 on: 03-10-2009, 23:10:38 »
 ???
MY SIGNATUR WAS OVERSIZED!