Now somehow change the Arcing=true to Arcing=false or outright remove it entirely and change the code to where it resembles something like this:
Code:
; straight high-speed ballistic shot
[Cannon]
Image=120MM
;Arcing=true
ROT=1
Acceleration=50 ;this is most necessary. Can be higher if ya want.
Proximity=yes
Ranged=yes
SubjectToCliffs=yes
SubjectToElevation=yes
SubjectToWalls=yes
The Acceleration= tag is the value that will prevent this projectile from behaving like some of its counterparts (e.g. certain missles, NormalBomb, stuff like that) when it misses and at values above 40 will almost nullify completely a veering effect.
The tag itself can be higher if you wish.
See the Words of Caution in the ModEnc entry for further info on what happens concerning Elevation and Line of Sight angles aka "why wont it fire directly below me from the cliff?"
The Weapon Projectiles thread is currently where most of the beginning of this came from.
Special thanks to IcySon55 for pointing me into an example to build off of to make this work.
I am planning on releasing a write-up on the intricate details of how the RA2 combat system works in November (specifically when the Thanksgiving break happens here in the States).
It will include many of the major factors including ROF scaling, projectile behaviors, what determines which weapon will shoot what, and other miscellaneous stuff.
When released it will be placed on ModEnc.
In the behaviors section it will include this topic Mortecha and what it entails and related stuff. QUICK_EDIT
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum