Project Perfect Mod Forums
:: Home :: Get Hosted :: PPM FAQ :: Forum FAQ :: Privacy Policy :: Search :: Memberlist :: Usergroups :: Register :: Profile :: Log in to check your private messages :: Log in ::


The time now is Thu Mar 28, 2024 9:24 pm
All times are UTC + 0
I need help with projectile
Moderators: Global Moderators, Red Alert 2 Moderators
Post new topic   Reply to topic Page 1 of 1 [7 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
suffle19
Disk Thrower


Joined: 27 Jun 2019

PostPosted: Tue Apr 28, 2020 3:54 pm    Post subject:  I need help with projectile
Subject description: Projectile created at cliff goes into the ground
Reply with quote  Mark this post and the followings unread

So problem is when unit fires at flat surface it works well but when unit goes to any cliff or gets higher than target by any way then its projectiles starts to fire into the ground... i know that its caused by CourseLockDuration in this situation but i need it for that weapon...
For some reason at cliffs projectile starts from falling and then rising(but cuz of course lock "rising" isn't happens)...

p.s.
I could lower acceleration but projectile will lose all idea

Code:

[ClusterMissileP]
;Arm=1 <- Tried with and without
Shadow=no
High=yes
AA=yes
AG=yes
Ranged=no
Proximity=no
Image=ClusterM
ROT=100
SubjectToCliffs=yes
SubjectToElevation=yes
SubjectToWalls=yes
Acceleration=10
Airburst=yes
AirburstWeapon=SClusterMissile
CourseLockDuration=10
Cluster=4
AroundTarget=no
Splits=yes
RetargetAccuracy=0.75
RetargetSelf=no

Back to top
View user's profile Send private message
Lin Kuei Ominae
Seth


Joined: 16 Aug 2006
Location: Germany

PostPosted: Tue Apr 28, 2020 7:40 pm    Post subject: Reply with quote  Mark this post and the followings unread

When you give the projectile no option to rotate (due to CurseLockDuration) and don't want to change its behaviour, what do you expect the bullet to do?
There is no magic bullet flies through ground/cliffs logic.

Either change the bullet behaviour and allow it to avoid cliffs, or accept that it hits them.

According to modenc, the SubjectTo* keys work for non-homing projectiles only. So they are redundant on yours.

_________________
SHP Artist of Twisted Insurrection:  Nod buildings

Public SHPs
X-Mech Calendar (28 Mechs for GDI and Nod)
5 GDI, 5 Nod, 1 Mutant, 1 Scrin unit, 1 GDI building

Tools
Image Shaper______TMP Shop______C&C Executable Modifier

Back to top
View user's profile Send private message
Graion Dilach
Defense Minister


Joined: 22 Nov 2010
Location: Iszkaszentgyorgy, Hungary

PostPosted: Wed Apr 29, 2020 11:14 am    Post subject: Reply with quote  Mark this post and the followings unread

Can you tweak the FLH to give it more headroom on the fixed path?

_________________
"If you didn't get angry and mad and frustrated, that means you don't care about the end result, and are doing something wrong." - Greg Kroah-Hartman
=======================
Past C&C projects: Attacque Supérior (2010-2019); Valiant Shades (2019-2021)
=======================
WeiDU mods: Random Graion Tweaks | Graion's Soundsets
Maintainance: Extra Expanded Enhanced Encounters! | BGEESpawn
Contributions: EE Fixpack | Enhanced Edition Trilogy | DSotSC (Trilogy) | UB_IWD | SotSC & a lot more...

Back to top
View user's profile Send private message Visit poster's website ModDB Profile ID
Lin Kuei Ominae
Seth


Joined: 16 Aug 2006
Location: Germany

PostPosted: Wed Apr 29, 2020 2:30 pm    Post subject: Reply with quote  Mark this post and the followings unread

setting FireAngle may help, if the FLH is already set to the correct location.

_________________
SHP Artist of Twisted Insurrection:  Nod buildings

Public SHPs
X-Mech Calendar (28 Mechs for GDI and Nod)
5 GDI, 5 Nod, 1 Mutant, 1 Scrin unit, 1 GDI building

Tools
Image Shaper______TMP Shop______C&C Executable Modifier

Back to top
View user's profile Send private message
suffle19
Disk Thrower


Joined: 27 Jun 2019

PostPosted: Wed Apr 29, 2020 6:48 pm    Post subject: Reply with quote  Mark this post and the followings unread

Lin Kuei Ominae wrote:
setting FireAngle may help, if the FLH is already set to the correct location.


I know that i limited its rotation but im curious why when unit is on cliff its firing into ground if target is lower... FLH is absolutely correct and FireAngle doesnt help...

Back to top
View user's profile Send private message
4StarGeneral
General


Joined: 14 Sep 2006
Location: Limbo

PostPosted: Wed Apr 29, 2020 8:05 pm    Post subject: Reply with quote  Mark this post and the followings unread

Vehicles/Aircraft default to firing down due to some hardcoded dumbness for bombs (Kirov, Hornets, etc.), FireAngle truly does nothing in RA2 from what I remember testing.

Using another weapon that will Split immediately into the weapon you're trying to use might work, but even that may just split into the ground.

_________________
"Don't beg for things; Do it yourself or you'll never get anything."

Back to top
View user's profile Send private message Send e-mail YouTube User URL
Starkku
Cyborg Commando


Joined: 28 Dec 2007
Location: Finland

PostPosted: Thu Apr 30, 2020 10:11 pm    Post subject: Reply with quote  Mark this post and the followings unread

4StarGeneral wrote:
Vehicles/Aircraft default to firing down due to some hardcoded dumbness for bombs (Kirov, Hornets, etc.)


I believe this difference is actually, at very least in part, explained by initial trajectory being set differently for projectiles with voxel images (such as Kirov's bombs) and those without, regardless of what kind of object is firing the weapon in question. That said, even with SHP projectiles which should be smarter about the initial firing angle you'll probably encounter some problems with cliffs, especially if CourseLockDuration, high Acceleration, low ROT or any combination thereof is involved.

_________________

Back to top
View user's profile Send private message Visit poster's website ModDB Profile ID Twitter Channel URL
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [7 Posts] Mark the topic unread ::  View previous topic :: View next topic
 
Share on TwitterShare on FacebookShare on Google+Share on DiggShare on RedditShare on PInterestShare on Del.icio.usShare on Stumble Upon
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


Powered by phpBB © phpBB Group

[ Time: 0.1525s ][ Queries: 11 (0.0105s) ][ Debug on ]