Little Help Please

Ask questions, discuss ideas, get answers
Master Jay
Posts: 139
Joined: Mon Mar 29, 2010 10:28 pm

Little Help Please

Post by Master Jay »

Hey People, me and my clan where thinking of some cool mod idieas for are server we thought it would be cool if we had a 40 col machine gun on a back of a jeep and make a plane shot rockets/bullets at the same time...

can some one give me the code and tall me where they go? thanks mates :D
Image
Im Watching You... When You Sleep!
User avatar
Kuyong_Chuin
Posts: 80
Joined: Wed May 05, 2010 2:34 pm
Location: Middle Tennessee, USA
Contact:

Re: Little Help Please

Post by Kuyong_Chuin »

Master Jay wrote:Hey People, me and my clan where thinking of some cool mod idieas for are server we thought it would be cool if we had a 40 col machine gun on a back of a jeep and make a plane shot rockets/bullets at the same time...

can some one give me the code and tall me where they go? thanks mates :D
In the SW multiplayer map Raid on Agheila there is a (Unless my sound is messed up on that map) a British jeep with a silenced 50 Cal for the passenger already in the game. As for a plane shooting rockets and bullets at the same time without having the guns as primary fire and rockets as the alt fire I have no idea, but if you want rockets as an alt fire I'd look at how the Flettner Rocket Launcher is set up on that same map in Raid_on_Agheila/objects/Flettner/weapons.con file it has both MG's and rockets. I just wish the physics on the Flettner was better on this engine though. That has to be the hardest chopper to control I ever flew in this game but the easiest to land on a small area. Would be great to land on a Tango with if it was on BFV but wouldn't last long it is slow, hard to steer without losing control if you give it too much power and would be easy to shoot down with bfv weapons like the SA-7. Here is the code from the Flettner's weapon.con just incase you don't have SW to get you started. If you don't have SW maybe someone will upload the M1919A4 model and code files you will need to set it up like the britjeep for you. If you ask them real nice. ;)

Code: Select all

rem *** FlettnerRocketLauncher ***
ObjectTemplate.create FireArms FlettnerRocketLauncher
ObjectTemplate.setNetworkableInfo PlaneFireArmInfo
ObjectTemplate.projectileTemplate FlettnerRocketProjectile
ObjectTemplate.projectilePosition 0/-0.4/0
ObjectTemplate.magSize 16
ObjectTemplate.numOfMag 1
ObjectTemplate.reloadtime 4
ObjectTemplate.velocity 60
ObjectTemplate.roundOfFire .25
ObjectTemplate.autoReload 1
ObjectTemplate.fireOnce 1
ObjectTemplate.setInputFire c_PIAltFire
ObjectTemplate.AmmoType	8

ObjectTemplate.create Projectile FlettnerRocketProjectile 
ObjectTemplate.geometry projectile_m1
ObjectTemplate.timeToLive CRD_NONE/12/0/0
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.gravityModifier 0.2
ObjectTemplate.hasCollisionEffect 1
ObjectTemplate.invisibleAtEndEffect 1
ObjectTemplate.damageType 1
ObjectTemplate.material 242
ObjectTemplate.material2 204
ObjectTemplate.radius 12
ObjectTemplate.ForceOnExplosion 10
ObjectTemplate.addTemplate e_rocketFume
ObjectTemplate.loadSoundScript Sounds\FlettnerRocketProjectile.ssc

ObjectTemplate.create FireArms FlettnerMG
ObjectTemplate.setNetworkableInfo PlaneFireArmInfo
ObjectTemplate.loadSoundScript Sounds/FlettnerMG.ssc
ObjectTemplate.aiTemplate BF109MachineGun
rem -------------------------------------
ObjectTemplate.visibleBarrelTemplate e_MuzzSG44
rem -------------------------------------
ObjectTemplate.projectileTemplate BF109Projectile
ObjectTemplate.projectilePosition 0/0/2
ObjectTemplate.setTracerTemplate Tracer_Projectile CRD_NONE/3/0/0
ObjectTemplate.magSize 900
ObjectTemplate.numOfMag 1
ObjectTemplate.velocity 400
ObjectTemplate.roundOfFire 12
ObjectTemplate.AmmoType	8
If thy sleepth in a bed of roses, thy will most likely awake with thorns in thy backside if thou doeth not prepareth thy bed beforeth thy lie down.
freddy
Posts: 1267
Joined: Sun Oct 18, 2009 4:58 pm

Post by freddy »

Code: Select all

ObjectTemplate.Active CorsairGuns
ObjectTemplate.projectilePosition 0/0/3
ObjectTemplate.setTracerTemplate KatyushaRocket CRD_NONE/2/0/0
ObjectTemplate.roundOfFire 24

ObjectTemplate.Active KatyushaRocket
ObjectTemplate.forwardmod 30
Master Jay
Posts: 139
Joined: Mon Mar 29, 2010 10:28 pm

Re: Little Help Please

Post by Master Jay »

ok where i put it and i dont know where those codes go?
Image
Im Watching You... When You Sleep!
freddy
Posts: 1267
Joined: Sun Oct 18, 2009 4:58 pm

ObjectSpawnTemplates.con

Post by freddy »

c´mon you should know this by now..
Master Jay
Posts: 139
Joined: Mon Mar 29, 2010 10:28 pm

Re: Little Help Please

Post by Master Jay »

nope :D
Image
Im Watching You... When You Sleep!
Master Jay
Posts: 139
Joined: Mon Mar 29, 2010 10:28 pm

Re: Little Help Please

Post by Master Jay »

please im still stupied :ugeek:
Image
Im Watching You... When You Sleep!
freddy
Posts: 1267
Joined: Sun Oct 18, 2009 4:58 pm

Post by freddy »

ObjectSpawnTemplates.con
Master Jay
Posts: 139
Joined: Mon Mar 29, 2010 10:28 pm

Re: Little Help Please

Post by Master Jay »

never worked :( i put your and the others one on objectspawntemplete.con
Image
Im Watching You... When You Sleep!
freddy
Posts: 1267
Joined: Sun Oct 18, 2009 4:58 pm

Post by freddy »

lol i dont think your stupid just maybe a lill lazy? 8-)

you may have to tweak the code a bit, i moved the guns forward 1 meter with the ObjectTemplate.projectilePosition 0/0/3 and the forwardmod set to 30, this is for preventing that the plane flies into the rocket before its gaining momentum. but it may not be nessesary or it may need a little tweaking, you have to try for your self :mrgreen:

and your clanmates need the patch to or they cant see any rockets at all :!:
Post Reply