Profile image

New XML properties

Dev WNP78  2.2 years ago

READ THIS vvv

Note: for a more complete guide to all xml options (along with descriptions for them all), look here. This post is kept up for archive purposes - if you want XML help, going to the mentioned link will be far more useful and comprehensive.

READ THIS ^^^


As of 1.7, there are some new XML properties. The ones I've found are:

Missile:

lockTime
maxRange
minRange
maxTargetingAngle
maxSpeed
maxFuelTime
maxForwardThrustForce
maxHeadingAngleAdjustmentRate
maxVelocityAngleAdjustmentRate
proximityDetonationRangeMin
proximityDetonationRangeMax
function

Gun:

ammoCount
burstCount
timeBetweenBursts
muzzleVelocity
roundsPerSecond
tracerColor
spread
lifetime
damage
impactForce
bulletScale
muzzleFlash
activationGroup

Rocket:

activationGroup
finMode
selfDestructTimer
burnTimer

All Weapons:

firingDelay

Parts:

health

Not all of these are new, but a lot are.
function on missiles can be either AirToAir or AirToSurface

  • Log in to leave a comment
  • Profile image
    15.4k Armyguy1534

    Good

    7 months ago
  • Profile image

    @Egorka2001 Thanks, but I realized I didn't need such

    9 months ago
  • Profile image

    @WNP78 thank you!

    10 months ago
  • Profile image
    Dev WNP78

    @Egorka2001 I don't think there are any particular ones, I believe they are essentially descendants of bombs, so should inherit those properties

    10 months ago
  • Profile image

    @AgentFox123 i suppose it's not xml, it's Unity material property maybe

    10 months ago
  • Profile image

    @WNP78 great!
    btw, are there any properties for torpedoes?

    10 months ago
  • Profile image
    270 Devik

    This is very useful! Thanks!

    11 months ago
  • Profile image

    @WNP78 Thanks anyway

    one year ago
  • Profile image
    Dev WNP78

    @Fergitheflamingo no to both of those questions unfortunately

    one year ago
  • Profile image

    Is there a damage input for the missiles? and to torpedoes count as missiles?

    one year ago
  • Profile image

    @justanotheranon thanks

    one year ago
  • Profile image

    @Vinicius6226 The numbers are in meters so basically youre sayng to the missile that detecs anything in a range of 2 to 20 meters

    one year ago
  • Profile image

    How to use max and min rage. Example
    I put maxRange = 20 and minRange = 2. And not working. You can help me?

    one year ago
  • Profile image
    2,636 nomadeam

    Bueno para empezar creo que la preguna esta un poco fuera del tema, como ya se sabe la nueva actualizacion trae el control de daño varias cosas mas bueno la pregunta es ¿Como aumento el tiempo de humo y fuego que sale del fuselaje cuando este es dañado? Estoy casi seguro de que es por xml

    1.3 years ago
  • Profile image

    @WNP78 I am trying to make a semitransparent ball using a mod to XML mod, and I have no idea what the transparency property is....

    1.3 years ago
  • Profile image
    8,081 breitling

    can someone please give this a 360 degree lock on range no instant lock though

    1.4 years ago
  • Profile image
    7,613 ViridiCinis

    I love your "guide to all XML options". I pretty sure that Auto-Orient for the gyroscope works like this:
    When True: The gyroscope automatically re-centers the the plane (kind of like auto pilot).
    When False: Does not re-center the plane.
    You maybe already knew that, but in your guide, the description for it is "Whatever the hell this does." @WNP78

    +1 1.5 years ago
  • Profile image
    257 Tkdmlg

    It's 100 I am almost certain @JohnnyBoythePilot

    1.6 years ago
  • Profile image

    omg so useful, I just looked up for xml. Thank you very much!

    1.6 years ago
  • Profile image

    @WNP78 0
    Well I'm stupid. Thanks I didn't see that initially.

    1.6 years ago
  • Profile image
    Dev WNP78

    @JohnnyBoythePilot well, you could read the bit at the top...

    1.6 years ago
  • Profile image

    With parts health, does anyone know what value the parts are set at default? Is it 1 or something like 50?

    1.6 years ago
  • Profile image
    9,693 Oski

    Even though I know all of these I still use this forum to check if I am not making mistakes :)

    +1 1.7 years ago
  • Profile image
    Dev WNP78

    @TheWhistlingDeath I guess so, but the range wouldn't be adjustable whilst firing (except by having multiple groups of rockets on AGs). And your ammo would be limited. But by all means, give it a try. Modifying the mass of them may increases the speed, I'm not sure.

    1.7 years ago
  • Profile image

    Can you make a working flak cannon by messing with the selfDestructTimer on the rockets?

    1.7 years ago
  • Log in to see more comments