another problem:
i saw in a guide how to make that the ships fire torps in salves, but it doesnt work.
/Display name for this weapon wpnName = "Neutron Torpedo"
classLabel = "cannon"
//Time Delay between shots shotDelay = 7.0f
//Sound which is played when the weapon fires fireSound = "pofwea.wav"
// Range within which the weapon will fire. range = 900.0f
//Maxiumum number of targets maxTargets = 3
saveFire = 1 maxShots = 4 minimumShotInterval = 20
hitChance = 0.5 "bbattle.odf" 1.0 "bbattle1.odf" 1.0 "bbattle2.odf" 1.0 "bscoutsp.odf" 1.0ll "BSPHERE.ODF" 1.0 "fdawnstar.odf" 1.0 "fprom.odf" 0.8 "fbattle.odf" 1.0 "kbattle.odf" 1.0 "rbattle.odf" 1.0 "fente.odf" 1.0 "fgalaxy.odf" 1.0 "kmartok.odf" 1.0
this is the torp file i created, but my borg cube doesnt shoot in salves, just every 7 seconds one torp (and i edited the ship that it got the new torp) how do i use the commands for firing in salves properly?
minimumShotInterval = 20
that line you've got there means that the torpedoes it's saved up fire every 20 seconds.
you'll want something like
minimumShotInterval = 0.2
sorry, but that doesnt work, my cube doesnt fire 4 torps in a short time, it only shots every 7 secs, what do i do wrong?
Those .odf lines are known to be a bit buggy. You'll have to wait 28 seconds until your ships can fire a full solvo... Also, the class label should probably be changed to "areacannon" instead.
what does areacannon do? perhaps i can use it for my borg weapon for the cube, i dont like it that the cube only attacks one target at the time, can i change this with the entry area cannon for the phasers? and for the torps, i thought photontorpedo could be the right thing, isn't it?
Huh?
Oh well, the torpedo class label should actually be "areamissile"
"areacannon" is for the phasers... I think
and how can i make that the borg cube attacks multiple targets at one time? is areacannon for it or do i have to do something else?
use "areamissile" for that
Here's an example of a Multiple Targeting Photon Torpedo. This weapon will target upto a maximum of three targets simultaniously.
========================================================== WEAPON ODF FILE ========================================================== #include "photon.odf"
//Name of the ODF file for the ordinance for this weapon
ordName = "rc3photo"
//Display name for this weapon
wpnName = "Multiple Targeting Photon Torpedo"
// Mark this as a special weapon.
special = 0
//Maxiumum number of targets
maxTargets = 3
//Time Delay between shots
shotDelay = 3.0f
// Range within which the weapon will fire.
range = 400.0f
attackRange = 300.0f
// Percent chance of hitting the target.
//Can be applied to specific ships in format default "shipname.odf" 0.9 (this is a percentage)
hitChance = 1.0
// Restrict the Fire Arc
restrictFireArc = 1
// Specify the arc of fire for the weapon
fireArc = 45
//Sound which is played when the weapon fires
fireSound = "porwea.wav"
//Programming Stuff DO NOT CHANGE
classLabel = "areacannon"
//Should not be used
//wpnReticle = "gblast"
//UNKNOWN
wpnPriority = 0
//UNKNOWN
wpnCategory = "ARCA"
// HIT_EVERYONE = 0,
// HIT_ALLIES = 1,
// HIT_ENEMIES = 2
hitCondition = 2
========================================================== WEAPON ORDINANCE FILE ========================================================== #include "photono.odf"
//The sprite which is used for this ordinance
Sprite = "rc3phot"
// Time to play through the animation for the sprite in seconds
spriteDuration = 0.5
//this modifies the color of the ordinance (not currently working)
shotColor = 227
// Size of photon torpedo.
radius = 6.0f
lightColor = 0.0 1.0 0.0
lightFalloffStart = 50.0
lightFalloffRange = 5.0
The cake is a lie.There is no cake.
50 XP
13th November 2004
0 Uploads
3,926 Posts
0 Threads
You're seriously not telling me its that easy to do multi-targeting lol...Ohwell, sounds cool, gonna have to copy that one, does tha also work for phasers aswell?