:: Home :: Get Hosted :: PPM FAQ :: Forum FAQ :: Search :: Memberlist :: Usergroups :: Register :: Profile :: Log in to check your private messages :: Log in ::
Do you want to advertise at Project Perfect Mod. Find out how to do it HERE.

The time now is Fri Nov 24, 2017 7:54 am
All times are UTC + 0
 Forum index » Modding Central » Red Alert 2 Editing Forum » Ares (Unofficial Forum)
Creating Artillery Barrage super weapon.
Moderators: Ares Support Team at PPM, Global Moderators, Red Alert 2 Moderators
Post new topic   Reply to topic Page 1 of 1 [14 Posts] View previous topic :: View next topic
Author Message
chr0nicz420
Grenadier


Joined: 10 Feb 2016

PostPosted: Wed Oct 12, 2016 6:30 am    Post subject:   Creating Artillery Barrage super weapon.
Subject description: Some questions I need to ask.
Reply with quote

So I'm trying to create a similar to Artillery Barrage from Generals China General Power by using Type=LightningStorm.

Code:
[ArtillerySpecial]
UIName=Name:NATR
Name=Artillery Barrage
IsPowered=false
RechargeVoice=00-I154
ChargingVoice=
ImpatientVoice=
SuspendVoice=
;RechargeTime=0.1
RechargeTime=1
Type=LightningStorm
SidebarImage=NukeTRIcon
Action=LightningStorm
SW.Damage=300
SW.Warhead=TKWH
SW.ActivationSound=none
Lightning.RadarOutage=0
Lightning.Clouds=INVISO
Lightning.BoltExplosion=MINIHBOMB
Lightning.Bolts=INVISO
ShowTimer=yes
DisableableFromShell=yes ; gs this determines which superweapons are turned off by the checkbox
Range=8
LineMultiplier=2


So I've been checking Ares particularly Type=LightningStorm section but there are some that I can't understand(I apologize for that) so here are my questions:

1. On Weather Storm, there's a weather cloud at the center that it will repeatedly hit the center part of the cell range. How can I make it stop or rather I could say will not repeatedly hit the center?

2. How can I remove the "darkening of weather" once activated? To be honest I don't know what I should put on this "[SuperWeapon]►Light.*=" part.

I guess that's all. And if you think there's some sort of mistake on my coding for Artillery Barrage super weapon, feel free to point it out.

Back to top
View user's profile Send private message
MustaphaTR
Scorpion Sniper


Joined: 22 Jan 2015
Location: Kastamonu, Turkey

PostPosted: Wed Oct 12, 2016 6:35 am    Post subject: Reply with quote

For 2, you should use

Code:
 
Light.Ambient=1.0
Light.Red=1.0
Light.Green=1.0
Light.Blue=1.0

_________________
renzjericho wrote:
We will never surrender, death to EA Games!


CnCD2K Mod: http://www.moddb.com/mods/red-alert-2-yuris-revenge-cncd2k-mod
Help me to Translate: https://crowdin.com/project/cncd2k
Changed Dune Mod: http://www.moddb.com/mods/changed-dune
MustaphaTR's D2K Mod: http://www.moddb.com/mods/mustaphatrs-d2k-mod
Generals Alpha: http://www.moddb.com/mods/generals-alpha

Back to top
View user's profile Send private message
chr0nicz420
Grenadier


Joined: 10 Feb 2016

PostPosted: Wed Oct 12, 2016 7:16 am    Post subject: Reply with quote

But that causes everything black.

And here's another one question that I almost forgot to ask also.

3. Once I activate this super weapon, most likely other Weather Storms will not be able to activate during this because of the Type=LightningStorm. So the question is, how can I fix this that this super weapon can be activated while other Weather Storm is activated?

Back to top
View user's profile Send private message
chr0nicz420
Grenadier


Joined: 10 Feb 2016

PostPosted: Wed Oct 12, 2016 12:47 pm    Post subject: Reply with quote

Never mind about the question number 2 as I've already figured out. Though what's are the integers of Lightning for Psychic Dominator?

And also questions 1 and 3 still persist.

Back to top
View user's profile Send private message
Millennium
Commander


Joined: 09 Mar 2008
Location: Osaka (JP)/Hong Kong/Germany

PostPosted: Wed Oct 12, 2016 4:27 pm    Post subject: Reply with quote

1) Presumably impossible. What you _can_ do is make the actual explosions invisible and damage-less, and give them a debris animation that in turn expires with a (visible and damaging) actual 'explosion'. This will scatter the hits around their original points of impact, making it less obvious that a certain area is being struck consistently throughout the duration of the effect.
3) We know the default status and the Ares manual does not appear to indicate any alteration done to it; I'm afraid that here, too, there is no satisfactory solution, but I concede that there's a greater chance I'll be shown to be wrong by another poster.
_________________
The Jaunt wrote:

It's eternity in there...

Back to top
View user's profile Send private message
chr0nicz420
Grenadier


Joined: 10 Feb 2016

PostPosted: Wed Oct 12, 2016 5:18 pm    Post subject: Reply with quote

Millennium wrote:
1) Presumably impossible. What you _can_ do is make the actual explosions invisible and damage-less, and give them a debris animation that in turn expires with a (visible and damaging) actual 'explosion'. This will scatter the hits around their original points of impact, making it less obvious that a certain area is being struck consistently throughout the duration of the effect.

Ooooookay. I guess I will try that and I'll just post here if I'm stuck of some problem.

But on Mental Omega, their Lightning Storm is "totally scattered" and it barely hits the center(Which that's what I want to do). Unless they've used the same method as you told me?

And any clues for the Lightning(Ambient and RGB) integers of the Psychic Dominator? I've been trying to search for it but still can't find it.

Back to top
View user's profile Send private message
MustaphaTR
Scorpion Sniper


Joined: 22 Jan 2015
Location: Kastamonu, Turkey

PostPosted: Wed Oct 12, 2016 7:08 pm    Post subject: Reply with quote

I think 3 is about AI Targeting tag not Type but not sure.
_________________
renzjericho wrote:
We will never surrender, death to EA Games!


CnCD2K Mod: http://www.moddb.com/mods/red-alert-2-yuris-revenge-cncd2k-mod
Help me to Translate: https://crowdin.com/project/cncd2k
Changed Dune Mod: http://www.moddb.com/mods/changed-dune
MustaphaTR's D2K Mod: http://www.moddb.com/mods/mustaphatrs-d2k-mod
Generals Alpha: http://www.moddb.com/mods/generals-alpha

Back to top
View user's profile Send private message
gameaddict11707
Light Infantry


Joined: 15 Jul 2011

PostPosted: Wed Oct 12, 2016 9:07 pm    Post subject: Reply with quote

chr0nicz420 wrote:
But on Mental Omega, their Lightning Storm is "totally scattered" and it barely hits the center(Which that's what I want to do). Unless they've used the same method as you told me?

And any clues for the Lightning(Ambient and RGB) integers of the Psychic Dominator? I've been trying to search for it but still can't find it.

For scattering, Lightning.HitDelay set to 0, Lightning.ScatterDelay, Lightning.ScatterCount, and Lightning.Separation set to 1 or more.
For Psychic Dominator lighting, the defaults are:
Code:
Light.Ambient=1.500000
Light.Red=0.850000
Light.Blue=0.300000
Light.Green=0.200000

So play around with those and change them to whatever you feel works for your SW.

Back to top
View user's profile Send private message
Millennium
Commander


Joined: 09 Mar 2008
Location: Osaka (JP)/Hong Kong/Germany

PostPosted: Wed Oct 12, 2016 10:12 pm    Post subject: Reply with quote

I was under the impression that he somehow found a certain cloud to always be positioned over the target cell, regardless of how scattered the other clouds were?
_________________
The Jaunt wrote:

It's eternity in there...

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


Joined: 22 Nov 2010
Location: Iszkaszentgyörgy, Hungary

PostPosted: Thu Oct 13, 2016 12:08 pm    Post subject: Reply with quote

This is a modding question, why is this in the Ares forum is beyond me.

In any case, if you want the barrage be activated during an active storm, you'll have to use GenericWarhead to spawn an animation at very high with SW.Animation(Height) and let said animation throw debris. This however prevents you to use lighting.

Also, Mr Clueless, yes, that's why Lightning.HitDelay is required - the Storm indeed spawns clouds directly at the target as well, besides randomly in a range.
_________________



AS Discord server: https://discord.gg/7aM7Hm2

Back to top
View user's profile Send private message MSN Messenger
Millennium
Commander


Joined: 09 Mar 2008
Location: Osaka (JP)/Hong Kong/Germany

PostPosted: Thu Oct 13, 2016 1:59 pm    Post subject: Reply with quote

So that's what that does. Interesting.
And yes, of course there are a lot of alternate ways to create an artillery barrage via SW types that will not have the problem of being 'locked' during a Lightning Storm.
_________________
The Jaunt wrote:

It's eternity in there...

Last edited by Millennium on Fri Oct 14, 2016 10:42 am; edited 1 time in total

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


Joined: 19 Mar 2004
Location: United Kingdom

PostPosted: Thu Oct 13, 2016 2:33 pm    Post subject: Reply with quote

Graion Dilach wrote:

In any case, if you want the barrage be activated during an active storm, you'll have to use GenericWarhead to spawn an animation at very high with SW.Animation(Height) and let said animation throw debris.


It should be noted that debris has issues damaging targets on water / forces water splashes.

Also a bit old school but RTFM

http://ares-developers.github.io/Ares-docs/new/superweapons/lighting.html?highlight=lighting

[SuperWeapon]►Light.Enabled= (boolean)
Whether the lighting gets respected or not. Currently only the primary super weapons support lighting changes.

[SuperWeapon]►Light.Ambient= (integer)

An integer is a whole number, not a decimal.  So in the example MustaphaTR it was 1 which would be pitch black. Normal would be 100.
_________________

Back to top
View user's profile Send private message Visit poster's website
chr0nicz420
Grenadier


Joined: 10 Feb 2016

PostPosted: Thu Oct 13, 2016 5:40 pm    Post subject: Reply with quote

@Graion:
Eh. Since I thought this kind of modding definitely requires Ares and can't simply do this on vanilla so I thought this should be on the Ares section. Well, I apologize for that.

Anyway, thanks everyone that I managed to organized my super weapon perfectly. Here's another question, can SW.AITargeting has more than 2? Like SW.AITargeting=Nuke,PsychicDominator.

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


Joined: 19 Mar 2004
Location: United Kingdom

PostPosted: Fri Oct 14, 2016 9:12 am    Post subject: Reply with quote

No
_________________

Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [14 Posts] View previous topic :: View next topic
 Forum index » Modding Central » Red Alert 2 Editing Forum » Ares (Unofficial Forum)
Jump to:  
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

Wildcard SSL Certificates
[ Time: 0.1525s ][ Queries: 12 (0.0382s) ][ Debug on ]