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 Fri Mar 29, 2024 9:59 am
All times are UTC + 0
Help!
Moderators: Global Moderators, Red Alert 2 Moderators
Post new topic   Reply to topic Page 1 of 1 [4 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
unknown_men
Cyborg Soldier


Joined: 09 Apr 2015
Location: Vi?t Nam

PostPosted: Fri Mar 20, 2020 6:43 pm    Post subject:  Help!
Subject description: Set FLH for 3 cannon unit
Reply with quote  Mark this post and the followings unread

What exactly nature of those tag:

PrimaryFirePixelOffset= (X,Y)
SecondaryFirePixelOffset= (X,Y)
PrimaryFireDualOffset= <boolean>

I want to set some tags that can fire 3 round brusts in 3 cannon. Those tag maybe a key?



hehe.JPG
 Description:
example unit
 Filesize:  54.23 KB
 Viewed:  609 Time(s)

hehe.JPG



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


Joined: 14 Sep 2006
Location: Limbo

PostPosted: Fri Mar 20, 2020 7:03 pm    Post subject: Reply with quote  Mark this post and the followings unread

Those are for buildings, use AlternateFLH#=

Example:
Code:
[MLRS]
Voxel=yes
Remapable=yes
Cameo=MLRSICON
AltCameo=MLRSUICO
PrimaryFireFLH=5,-50,200
AlternateFLH0=5,-30,200
AlternateFLH1=5,-10,200
AlternateFLH2=5,10,200
AlternateFLH3=5,30,200
AlternateFLH4=5,50,200

_________________
"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
WoRmINaToR
Rocket Cyborg


Joined: 31 Oct 2008
Location: AKA Sir Prize

PostPosted: Sat Mar 21, 2020 5:02 am    Post subject: Reply with quote  Mark this post and the followings unread

If I understand your question correctly, I don't believe there is a way to fire a single 3-round-burst weapon and have it come out of 3 different locations.

This could be achieved by using Gattling Cycles though. Ares has explicit logic supporting this if I'm not mistaken, but I haven't dug through the documentation on that in a while. But the concept is straightofrward--have 3 stages of your weapon that fires one missile each with a low ROF, and then a fourth "cooldown" stage with a dummy weapon that lasts as long as your weapon's intended ROF delay in frames. Then the cyclic gattling logic starts over and fires your weapon again after the 4th dummy stage has completed.

For the FLHs for that method, set WeaponXFLH, where X is the stage you're on, starting from 0. For example:
Code:
[AEGIS]
...
Weapon1FLH=160,30,150      
Weapon2FLH=160,30,150
Weapon3FLH=160,30,150

@4StarGeneral AlternateFLHX is for special cases, like Battle Fortress firing ports and Mastermind psychic links. They are not used for standard weapon firing.

_________________
New name: Sir Prize. I've switched to a new account to update to the name I've been using everywhere else for the last several years.

Back to top
View user's profile Send private message YouTube User URL
unknown_men
Cyborg Soldier


Joined: 09 Apr 2015
Location: Vi?t Nam

PostPosted: Sun Mar 22, 2020 5:53 pm    Post subject: Reply with quote  Mark this post and the followings unread

Thanks you all for the help. WoRmINaToR already understand what I want to ask yeah Gattling Cycles was a best choice now.

_________________
Under 2 year in conscription for socialism.

Back to top
View user's profile Send private message ModDB Profile ID
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [4 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.1782s ][ Queries: 14 (0.0134s) ][ Debug on ]