Profile image

Tracer Missile

35.9k EliteArsenals24  1.7 years ago
2,565 downloads

Tired of boring white trails? Then this missile is for you!

How to use:

  1. Select Tracer Missile and Fire.
  2. Might need a slight hold to FireWeapons button.
  3. Disregard Tracer(Count) it does nothing to firing weapons. Its job is for sequencing which will be explained later.
  4. I've set a camera view for each missile. You can toggle it in the proximity detonator missile which is mentioned further down this post.

Features:

Colored Smoke Trails- Oooooh colors :D
h

Auto-Lock - Locks on every target. Even obscured ones.
h

Tips:

  1. Here are some of the missile's notable properties:
    Lock Time = None
    Targeting Lock = 360°
    Min Range =100m(0.1km)
    Max Range = 15000m(15km)
    Firing Delay = 1s
    Proximity Detonation = 20m(0.02km)
    Max Speed = 1000m/s
    Fuse Time = 60s
    Function = Multirole
    Lock Type = Fire-and-Forget
  2. Tracer sometimes fall out of the missile.
  3. Beware of part collisions since this weapon relies on it.
  4. Can be fired from the surface or from the air. Though it may need some slight configurations if fired from air. Add a bit of igtinitiondelay so it won't collide with parts.
  5. Fuel Time is replaced by Fuse Time which means it explodes once the timer runs out rather than falling out of the sky.
  6. Fuel must be connected to the cockpit and be sure to add extra because these missiles guzzles quite a lot of fuels
  7. Accuracy is decent against air and ground targets.
  8. May occasionally freeze or crash the game when hitting the target(Dunno why maybe because I'm exploiting a bug lol)
  9. If you are planning on customizing its body, make sure to set:
    dragScale = 0
    massScale = 0
    calculatedrag = false
    disablecollision = true
    to every detail parts because it might mess with the missile performance.
  10. In regards of relative scaling, the tracer cannon projectile is based on diameter rather than scale. Technically it is possible but you need some testing.
  11. I did some custom connections so this build is NOT mirror-friendly.
  12. Basically you can customize color,some missile properties and sequence which will be provided below...
  13. This post is a demo. Sequence will be from left to right. Though in installing, the first one you need is the right one moving to the left.

WARNING BORING DOCUMENTATION ALERT! THIS IS FOR PEOPLE WHO WANTS TO KNOW HOW TO PROPERLY CUSTOMIZE THE MISSILE AND KNOW HOW IT WORKS. CONTINUE AT YOUR OWN RISK!

So it seems you are curious? Very well...

To make it a bit easy to see I've colored the customizable parts pink. Other non-customizable essential parts are colored black. You may need a little bit of finetuner ghosting to recognize the parts but anyways let's identify them...

Thruster Color -Non-powered engine. Responsible for thrust color. (Disregard the fuel tank it is removed in the official build since fuel must be connected to the cockpit).
thrist

Inlet - For engine intake.
h

Tracer Container - Traps the cannon projectile (Tracer). It is composed of 6 magnets. Don't worry about magnetizing other parts since they are not actually activated.
j

Tracer - Single Bullet Cannon, Responsible for customizable tracer color, impact detonation and fuse time.
j

Counter - Dummy missile which is the key to sequencing. You might want to scale it down to zero because it just falls out of the missile and not an actual part. I've set it to a relatively visible scale for this demonstration.
h

Proximity Detonator - A missile with set proximity detonation and explosion. Useful for targeting air targets.
j

Detachers - Two separate detachers, One is for holding the main missile and the other is for managing the counter and proximity detonator.
j

Main Missile - Basically a scaled missile. Has altered heading and velocity rate because apparently performance is based on scale. The smaller the worse the accuracy. Other properties remain normal while others are useless. Scaled it down to hide the missile smoke.
h

So with that settled, Let's continue with some customizations.

Colors:

You need to tamper with 2 parts (obviously)
The engine and the cannon. Since everyone has overload now you can simply select the parts and scroll to the xml values to find exhaustStartColorOverridePrimary for the engine and tracerColor for the cannon. You can even take a step further and adjust tracer length.

To activate engine refrain to this code:

sum(ammo("Tracer(Count)")<=0)<50 ? ammo("Tracer(Count)")<=0 : 0

I might have overcomplicate this code but look for the lines with the "ammo", There are 2 of them. Change the value to count minus 1,it the same as the code in the main missile as stated further down.

Sequencing:

This part is a bit hard to understand so bear with me with this one. Basically we have here some kind of "initialization statement" if you are familiar with coding this is sometimes refrained as iterations. In this case we have a decrements. So we have the max value of counter variables or missiles in this case and with every missile fired it decrements the counter variable thus the next missile is activated and the process is then repeated until counter is zero. This might not be the most practical way for sequencing but it is definitely easy to understand plus it is versatile and can be used in various applications. Also great for subassemblies.

I hope the explaination gives you an idea of how it works. Anyways with sequencing we need to look out for 4 parts: The tracer, counter, proximity detonator and main missile.

Provided below are the inputs:

Tracer: floor(smooth(clamp01(ceil(ammo("Tracer(Count)")=1)), ammo("Tracer(Count)")=1 ? 1 / 1 : pow(10,10)))&TargetSelected&TargetDistance>=100&TargetDistance<=15000

Notice the lines with (ammo("Tracer(Count)")=1) there are two of them in the code simply change the number for example if you have a second missile simpy add 1 thus 2 and if you have a third missile put 3 and so on.

Proximity Detonator: floor(smooth(clamp01(ceil(ammo("Tracer(Count)")=1)), ammo("Tracer(Count)")=1 ? 1 / 1.1 : pow(10,10))) & ammo("Tracer Missile")=0&TargetSelected&TargetDistance>=100&TargetDistance<=15000

Same with the tracer code but added this line of code which is constant:
ammo("Tracer Missile")=0

so don't tamper with it unless changing weapon names. Basically it activates right after Tracer is fired.

Count:
It doesn't have a line of code other than always being activated. It has some modified xml properties though to act as a dummy variable.

Main Missle:
ammo("Tracer(Count)")=0

This one is a bit different, Simply deduct 1 to the original count value.

Firing Delay:

Because of the Auto-lock technology, some of the missile xml properties are rendered useless. To compensate with this problem we must adapt to other ways thankfully funky trees exist. So I found this Delay input by @spefyjerbf. I'm note sure if it's outdated but it does the job. In modifying firing delay we only need the two main parts. Tracer and Proximity Detonator

Refraining from the line of code provided in sequence:

Tracer:
ammo("Tracer(Count)")=1 ? 1 / 5 : pow(10,10)))

Proximity Detonator:
ammo("Tracer(Count)")=1 ? 1 / 5.1 : pow(10,10)))

So you will change the value after the division(5). Notice that I've set a .1 value to the Proxy Det. This is a slight delay to recognize the Tracer as the first priority and it will only activate right after tracer is fired.

Range:

Again this is another XML property limited by the Auto-Lock tech. To deal with this we can use the newly added funky tree expressions.
We need to tamper yet again the Tracer and Proxy Det. Looking back at the provided code in sequence, they share the same line of code:

TargetSelected&TargetDistance>=100&TargetDistance<=15000

the first number(100) is the Min Range and the last one is the Max Range.

TargetSelected is kinda useless but I just put it there lol.

Fuse Time:

This is more on xml properties than funky trees. Basically you need to sync these properties which is measured by seconds:

FuelTime for Proxy Det and Main Missile.
ProjectileLifetime for Tracer.

Technically it explodes as the tracer reaches its lifetime so might aswell change the Tracer only lol.

I was initially planning to add an actual fuel time but ultimately given up because of countless failed trials but I kept @NAD 's Timer input.

Engine:
sum(ammo("Tracer(Count)")<=0)<60 ? ammo("Tracer(Count)")<=0 : 0

60 is the time in seconds.

There is another exploit in this system such as the missile phasing through walls(Not entirely sure if its from scaling or else). So to counter this I set the explosion scale to the tracer so as it crashes the whole missile, it explodes on impact. Even if the main missile continues locking on its target, It doesn't do any damage because I've set explosion to 0. Regarding Air targeting I've set a Proximity detonation so it has a high chance of hitting the target. Kinda related to fuse so just think I can point that out.

How It Works:

So here's quick breakdown of its process.
h
Color code:
Red = Tracer
Blue = Proximity Detonator (and its corresponding detacher)
Green = Counter
Orange = Main missile (and its corresponding detacher)
Pink = Engine

The process starts with the tracer which is coded to be the first priority. After it is fired the next priority will be the proxy det. The connection on the proxy det is set to stay connected with the whole missile and the top side of the detacher is connected to the counter so it detaches as the proxy det is fired. After detecting that a counter is decremented, the main missile is then activated and the missile is fired.

Quite simple right? If you want to take a closer look you can test it yourself here.

You can also look into this post since it is already properly sequenced. There you can understand on how it works.

If you want a simpler explanation and just want the Auto-Lock technology you can check out @ThomasRoderick 's documentation.

Well Thanks for reading! Why did I make such a long description you may ask? I kinda don't know either (lol) but I just think this is new and I want other users to play with it and stuff.

So Anyways that is all :)

Spotlights

General Characteristics

  • Created On Android
  • Wingspan 9.8ft (3.0m)
  • Length 6.6ft (2.0m)
  • Height 4.1ft (1.2m)
  • Empty Weight 35,207lbs (15,970kg)
  • Loaded Weight 39,151lbs (17,758kg)

Performance

  • Power/Weight Ratio 0.516
  • Wing Loading 34.6lbs/ft2 (169.1kg/m2)
  • Wing Area 1,130.2ft2 (105.0m2)
  • Drag Points 1487

Parts

  • Number of Parts 238
  • Control Surfaces 0
  • Performance Cost 981
  • Log in to leave a comment
  • Profile image

    How can i make this a sub assembaly

    7 months ago
  • Profile image
    30 7Poine7

    I don't understand how missiles target targets hidden by terrain

    8 months ago
  • Profile image

    @7Poine7 It works fine as it is. Just cick and hold the tracer missile button in the weapons tab and it should work fine(Well as I have tested rn)

    Also sorry for late response I am quite inactive.

    8 months ago
  • Profile image
    30 7Poine7

    I will be happy if you reply, thank you

    8 months ago
  • Profile image
    30 7Poine7

    Hello my friend, I couldn't figure out how you locked the missiles. Can you do the easy version?

    8 months ago
  • Profile image

    Fun Fact: This Missile Tracer Can Be Made to Become a Smoke trail!. but after a while the missile will explode.
    LMAO
    .
    But, I really like this Masterpiece of yours!🥰

    +1 1.2 years ago
  • Profile image

    @Harris0123 Nope.

    1.7 years ago
  • Profile image

    ok

    1.7 years ago
  • Profile image

    @Vechile123 I don't necessarily make planes. But if you are looking for a demo here.

    1.7 years ago
  • Profile image

    Can you make a plane with this missile?

    1.7 years ago
  • Profile image
    3,537 offiry

    @EliteArsenals24 welcom

    1.7 years ago
  • Profile image

    Oh wait I see now

    1.7 years ago
  • Profile image

    Can this lock onto targets not in the circle that locks missles

    1.7 years ago
  • Profile image

    @OfficialOfficialTheRyan Thanks

    1.7 years ago
  • Profile image
    3,537 offiry

    U hae 43 updoot

    Noe u hae 44

    Nic misile

    +1 1.7 years ago
  • Profile image

    @Jaspy109 Yeah lol

    1.7 years ago
  • Profile image

    @KingOog000 Yup

    1.7 years ago
  • Profile image
    2,066 KingOog000

    @EliteArsenals24 now dat is some technology

    +1 1.7 years ago
  • Profile image
    17.1k KudaOni

    @EliteArsenals24 Oh. XD nice.

    +1 1.7 years ago
  • Profile image

    @CrimsonOnigiri You mean this

    +1 1.7 years ago
  • Profile image
    17.1k KudaOni

    @EliteArsenals24 Btw.. When are you gonna release the magnet missile?

    1.7 years ago
  • Profile image

    @CrimsonOnigiri Glad to know :)

    1.7 years ago
  • Profile image
    17.1k KudaOni

    I've been waiting for this yuuus!

    1.7 years ago
  • Profile image

    @TMach5 Thanks!

    1.7 years ago
  • Profile image

    @CaptainSquadronLeader Maybe I could.

    1.7 years ago
  • Log in to see more comments