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 Apr 19, 2024 1:28 am
All times are UTC + 0
Primary AOE
Moderators: Global Moderators, Red Alert 2 Moderators
Post new topic   Reply to topic Page 1 of 1 [5 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
Mig Eater
Defense Minister


Joined: 13 Nov 2003
Location: Eindhoven

PostPosted: Wed Jan 08, 2014 2:53 pm    Post subject:  Primary AOE Reply with quote  Mark this post and the followings unread

I'm trying to make an infantry use an area of effect weapon without the need for it to deploy but haven't get very far.

Of course AreaFire only works on secondary deploy weapons, so I've been trying other methods. DistributedFire will only target a few units & not in a 360 radius. Trying to get the weapon to detonate early using Vertical & DetonatonAltitude didn't do anything. Using a dummy weapon with the warhead attached to the firing Anim instead proved just as ineffective. Next thing is to make the firing Anim spawn invisible debris...

_________________



Back to top
View user's profile Send private message Visit poster's website ModDB Profile ID YouTube User URL Facebook Profile URL Twitter Channel URL
Lin Kuei Ominae
Seth


Joined: 16 Aug 2006
Location: Germany

PostPosted: Wed Jan 08, 2014 3:18 pm    Post subject: Reply with quote  Mark this post and the followings unread

Why don't you use CellSpread?
Give the unit a weapon with the following projectile settings
[HitOnUnitsCell]
Arcing=false
Image=none
The projectile is this way unable to fly any distance and thus hits the same cell where the unit fired the weapon (if H of FireFLH is set high enough in art.ini it might be able to travel a few cells before it hits the ground, so keep H=0)

Then you're free to set the weapons range for targeting purposes, while the weapon itself always explodes on the units cell.
CellSpread is then doing the rest of some area damage using whatever you've set on the warhead.

If the projectile doesn't work for some reason, you could also set the projectile like a bomb projectile which can only fall vertical down, so you're sure it can't fly any distance. (e.g. Parachuted=yes or Dropping=yes, don't know which of these keys work in RA2, but there is surely a way to make the projectile unable to travel any distance)

_________________
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
Atomic_Noodles
Defense Minister


Joined: 05 Oct 2011

PostPosted: Wed Jan 08, 2014 3:44 pm    Post subject: Reply with quote  Mark this post and the followings unread

Tried SprayAttack?

Quote:
Can be set to 'yes' or 'no' and is used to specify that this units Primary= weapon is randomly sprayed around the unit itself rather than fired at a target using the normal rules of a projectile. The effect is that the weapon is fired at a random cell at any one of the 8 standard compass directions from the unit, rather than at the selected target itself. This was intended for the Chaos Drone although it does not get used as the designers opted to make it 'simple deploy' to fire its weapon instead, then made that weapon affect an area around it.

_________________
~ Excelsior ~

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


Joined: 22 Nov 2010
Location: Iszkaszentgyorgy, Hungary

PostPosted: Wed Jan 08, 2014 6:20 pm    Post subject: Re: Primary AOE Reply with quote  Mark this post and the followings unread

Mig Eater wrote:
Trying to get the weapon to detonate early using Vertical & DetonatonAltitude didn't do anything.


What was the weapon's projectile for this? Because from my own tests, this needs a voxel.

_________________
"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
Mig Eater
Defense Minister


Joined: 13 Nov 2003
Location: Eindhoven

PostPosted: Thu Jan 09, 2014 10:56 am    Post subject: Reply with quote  Mark this post and the followings unread

@LKO: Arcing=false weapons works fine on flat ground, it will predetonate on slopes/cliffs tho.

@Graion: The projectile just flew off the map without doing anything.

@Noodles: Yay we have a winner! Finally a use for that left over bit of code.

BTW I've used this to make a commander that "buffs" the units around him. He doesn't need to be deployed in order to work now, so he can easily be mixed in with normal units.

_________________



Back to top
View user's profile Send private message Visit poster's website ModDB Profile ID YouTube User URL Facebook Profile URL Twitter Channel URL
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [5 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.1658s ][ Queries: 11 (0.0083s) ][ Debug on ]