Making a straight-fire projectile
This tutorial will tell you how to make straight-fire cannon systems for use on tanks or any other ground based weapon system.
- 1 functioning copy of Rules(md).ini
- Notepad or other text editor.
- Functioning copy of Red Alert 2 or Yuri's Revenge
First off in Rules(md).ini find the location of the [Cannon] projectile. It looks much like this:
; straight high-speed ballistic shot [Cannon] Image=120MM Arcing=true SubjectToCliffs=yes SubjectToElevation=yes SubjectToWalls=yes
Now comment out, delete, or switchto and add , , ,and . Acceleration is the key part here to make this work as it will hamper the shell from behaving like a guided missle rather than direct-fire cannon. At or higher the effect is so severely diminished that it virtually does not appear. Consecutively there is no apparent increase in projectile speed. For fun or precaution's sake, feel free to increase the Acceleration value as high as you want it.
Once done the code should sorta look like this:
; straight high-speed ballistic shot [Cannon] Image=120MM ;Arcing=true ;comment this out/delete/change or all is lost. ROT=1 Acceleration=50 ;this is most necessary. Can be higher if you want. Proximity=yes Ranged=yes SubjectToCliffs=yes SubjectToElevation=yes SubjectToWalls=yes
Now then save your work, load up RA2 or YR and enjoy!
Words of caution
Due to the nature of the projectile many objects (mostly terrain) will stop the projectile at both certain angles and at certain distances as well. Also a weapon with this sort of projectile cannot shoot directly up cliffs.