Jump to content


Photo

Adding radiation for missile spawn type objects


  • Please log in to reply
4 replies to this topic

#1 X1Destroy

X1Destroy

    title available

  • Members
  • 660 posts
  • Location:Holy Terra

Posted 21 April 2014 - 06:33 PM

It's fairly simple. I'm trying to make the Topol missile to spread radiation upon explosion.

RadLevel=500 have no effect on the launcher's spawn weapon nor the missile's warhead.

Normally this would works fine for most weapons. I think for this case additional lines are required, so I decided to ask.


Edited by X1Destroy, 21 April 2014 - 06:35 PM.

"Protecting the land of the Free."
efXH1rz.png
 


#2 Graion Dilach

Graion Dilach

    Supérior Caliburwielder

  • Project Team
  • 2,187 posts
  • Location:Iszkaszentgyörgy, Hungary
  • Projects:Infinty Engine modding, OpenHV, Attacque Supérior (sometimes)
  •  That guy you keep hearing the stories about.

Posted 21 April 2014 - 07:30 PM

RadLevel needs a weapon, which the missile's explosion does not use. Give the missile a weapon with ROT=1 which has the desired damage and warhead, and play with the weapon's range to tweak the missile's invulnerability. FYI this is also needed for AttachEffect, EMP and such effect applying missiles as well.
kuuHd4s.png6pDXsCS.png
n0J1wqE.pngIX8pBXZ.png

AS Discord server: https://discord.gg/7aM7Hm2

ComradeCrimson: AS is the product of Hungarian acid
ComradeCrimson: And magical hussars
Dutchygamer: and Weird Al.


#3 X1Destroy

X1Destroy

    title available

  • Members
  • 660 posts
  • Location:Holy Terra

Posted 22 April 2014 - 05:42 AM

DeathWeapon, i think?


Edited by X1Destroy, 22 April 2014 - 05:42 AM.

"Protecting the land of the Free."
efXH1rz.png
 


#4 Graion Dilach

Graion Dilach

    Supérior Caliburwielder

  • Project Team
  • 2,187 posts
  • Location:Iszkaszentgyörgy, Hungary
  • Projects:Infinty Engine modding, OpenHV, Attacque Supérior (sometimes)
  •  That guy you keep hearing the stories about.

Posted 22 April 2014 - 08:52 AM

Primary and make that weapon LimboLaunch=yes, Suicide=yes. Basically the missile would act like a RA2 Dog or Terror Drone to deliver the damage.
kuuHd4s.png6pDXsCS.png
n0J1wqE.pngIX8pBXZ.png

AS Discord server: https://discord.gg/7aM7Hm2

ComradeCrimson: AS is the product of Hungarian acid
ComradeCrimson: And magical hussars
Dutchygamer: and Weird Al.


#5 NCoder

NCoder

    Revora's inofficial but obligatory Cyborg Samurai Commander

  • Members
  • 80 posts
  • Projects:Cyberian Dawn (formerly known as RealAlert)
  •  Perpetual token newbie

Posted 07 September 2014 - 02:27 PM

Hi!
I know this topic has been dead for awhile, but since I have more insights, I hope it's okay if I share.
The method in order to achieve this effect can be gleaned from the remains of a feature in the rules that was left unimplemented in the game.

There should be a weapon called "V3Airburst", which you should either clone, or edit. Whichever you chose, add that weapon as the Primary of your spawned missile.

Then give that weapon the RadLevel you want the missile to have.

Next step, you need to edit the projectile used by V3Airburst (or your clone)... it uses a projectile (V3AirburstP) which has Image=none, which causes certain aircraft behaviour (spawned missiles are aircraft types, after all!) which does not work well with the missile locomotor. In order for your missile to fire the projectile, it should be a projectile considered ROT=0. Since Image=none is an override that makes the game consider a projectile to have greater-than-zero ROT when fired by aircraft, you need to either use a projectile (such as [Cannon]) that has no ROT, or simply replace Image=none on V3AirburstP with Image=NULL.

There you go! Your missile will now fire its Primary at the moment of impact, spreading radiation! Also consider that various other effects can be achieved with spawned missiles via this method! I personally use it (as was originally intended I think) to make V3's explode in mid-air and spread cluster ammunition. You can even give a spawned missile two different weapons, as 'payload' for different types of targets, creating the illusion of a vehicle spawning more than one type of missile, depending on the target, for example, a chemical warhead for when targeting infantry!
In case you are still reading this, please do not hesitate to contact me if anything is not working as intended or have issues understanding any of the instructions. :thumbsuphappy:


Posted Image




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users