:: 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 Wed Nov 22, 2017 3:13 pm
All times are UTC + 0
 Forum index » Modding Central » Red Alert 2 Editing Forum » Ares (Unofficial Forum)
New "nukes" not working properly
Moderators: Ares Support Team at PPM, Global Moderators, Red Alert 2 Moderators
Post new topic   Reply to topic Page 1 of 1 [7 Posts] View previous topic :: View next topic
Author Message
NimoStar
Pyro Sniper


Joined: 07 Nov 2012
Location: Buenos Aires

PostPosted: Tue Jan 17, 2017 1:03 am    Post subject:   New "nukes" not working properly Reply with quote

So, i have added new weapons with the type=multimisl
And the action=nuke

However, no matter what I change in Ares, they still leave lots of radiation and fall with the old giant nuke animations.
(this is even though I have changed the animations and negated the radiation)

I suspect it is related to "Nukemaker=yes" and the like, however, this is hardcoded! Otherwise, the anims will not work.

Quote:
On superweapons:
[MenemMislSW]
UIName=Name:Nuke
Name=N U K E !!!
IsPowered=true
RechargeVoice=00-I154
ChargingVoice=
ImpatientVoice=
SuspendVoice=
;RechargeTime=0.1
RechargeTime=2
Type=MultiMissile
SidebarImage=NukeIcon
Action=Nuke

WeaponType=MenemMislCarrier
ShowTimer=no
DisableableFromShell=no ; gs this determines which superweapons are turned off by the checkbox
AIDefendAgainst=yes ;AI will use AISuperDefense system to decide to block this
Range=7
LineMultiplier=2

SW.Damage=200
SW.ActivationSound=
SW.Warhead=MenemMislWH
Light.Ambient=100
Light.Red=100
Light.Green=100
Light.Blue=100
SW.AITargeting=MultiMissile


On Weapons:

[MenemMislPayload]
Damage=250
Range=30
Projectile=V3MislDown  ;MultiMissile
Speed=10
RadLevel=0
Warhead=MenemMislWH
Report=

[MenemMislCarrier]
Projectile=V3MislUp
Speed=100
Warhead=MenemMislMaker
NukeMaker=yes


On projectiles:

[V3MislUp]
Arm=2
Shadow=no
Image=V3MSLUP
Acceleration=1
Vertical=yes ; Not a missile or a projectile.  Just go up until...
DetonationAltitude=20000 ; All this does is create the downward pointing one over the target
FirersPalette=yes

[V3MislDown]
Arm=2
Shadow=no
Image=V3MSLDN
Acceleration=1
Vertical=yes ; //like blimp bomb
DetonationAltitude=30000;
FirersPalette=yes


OnWarheads:

[MenemMislWH]
CellSpread=2
PercentAtMax=.5
Wall=yes
Wood=yes
Verses=100%,80%,50%,80%,60%,50%,100%,75%,50%,80%,50%
Conventional=yes
Rocker=yes
InfDeath=2
;AnimList=XGRYSML1,XGRYSML2,EXPLOSML,XGRYMED1,XGRYMED2,EXPLOMED,EXPLOLRG,TWLT070
AnimList=TWLT100 ;MININUKE
Tiberium=yes
Sparky=no
Bright=yes
ProneDamage=50%     ; Presumes air burst




before you ask, everything is added on lists... even things which shouldn't such as in animations:

619=V3MSLDN
620=V3MSLUP

In fact, the warhead triggers, because it displays the changed anim; the reduced damage too applies. But I still get a giant nuke and a radiated mess even though I explicitely changed it...


2017-01-16 21_37_55-Yuri's Revenge.png
 Description:
 Filesize:  356.49 KB
 Viewed:  727 Time(s)

2017-01-16 21_37_55-Yuri's Revenge.png



_________________

Back to top
View user's profile Send private message Visit poster's website
PillBox20
Cyborg Commando


Joined: 28 Sep 2013
Location: Plovdiv, Bulgaria.

PostPosted: Tue Jan 17, 2017 8:29 am    Post subject: Reply with quote

Check NukePayload.

From the documentation: http://ares-developers.github.io/Ares-docs/new/superweapons/types/multimissile.html?highlight=[SuperWeapon]%E2%96%BANuke.Payload=
"[SuperWeapon]►Nuke.Payload= (Weapon)
The Weapon used to display the downward-pointing nuke and as default, if SW.Damage and SW.Warhead aren’t set. Defaults to NukePayload."

Spoiler (click here to read it):
[Nuke2Special];offmap nuke for the russians
UIName=Name:Nuke
Name=N U K E !!!
IsPowered=true
RechargeVoice=00-I154
ChargingVoice=
ImpatientVoice=
SuspendVoice=
RechargeTime=10
Type=MultiMissile
SidebarImage=NukeIcon
Action=Nuke
WeaponType=NukeCarrier
ShowTimer=yes
DisableableFromShell=yes ; gs this determines which superweapons are turned off by the checkbox
AIDefendAgainst=yes;AI will use AISuperDefense system to decide to block this
;Range=7
;LineMultiplier=2
SW.Damage=500
SW.Warhead=NUKE
Nuke.Payload=NukePayload
Nuke.SiloLaunch=no
SW.Sound=NukeSiren
Message.Launch=NOSTR:Nuclear Missile Launched!!!
Message.FirerColor=yes
SW.CreateRadarEvent=yes
SW.Deferment=900
SW.RequiredHouses=Russians
Money.Amount=-2500

[NukePayload]
Damage=600
Range=30
Projectile=GiantNukeDown  ;MultiMissile
Speed=10
RadLevel=500
Warhead=NUKE
Report=

_________________
"If it ain't broke, don't fix it."
"If you are loyal to everybody, can you truly be loyal to anybody?"
http://ares-developers.github.io/Ares-docs/
https://www.youtube.com/channel/UCtxeQoEM_iVd-F-xUIwleyQ

Back to top
View user's profile Send private message
AlexB
Cyborg Commando


Joined: 31 May 2010
Location: Germany

PostPosted: Tue Jan 17, 2017 8:34 pm    Post subject: Reply with quote

Yeah, it should be that. Though, if you set a warhead, it should use that for the actual detonation. For testing you could set Nuke.SiloLaunch=no and then set up the second "stage" of the SW. That's the downward pointing projectile and the detonation. If that works as expected, set that tag to yes again or remove it.
_________________

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


Joined: 19 Nov 2003

PostPosted: Wed Jan 18, 2017 5:37 am    Post subject: Reply with quote

Reading the manual helps  Razz

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


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

PostPosted: Wed Jan 18, 2017 6:23 am    Post subject: Reply with quote

HOW DARE YOU DISMISS MOST ADVANCED MODDER WITH HEX EDIT AND ASSEMBLY KNOWLEDGE?! HE SAID IT SO, SO IT IS AN ARES BUG, WHICH NEEDS IMMEDIATE FIX, NOW!!!!!111!!!1
_________________



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

Back to top
View user's profile Send private message MSN Messenger
NimoStar
Pyro Sniper


Joined: 07 Nov 2012
Location: Buenos Aires

PostPosted: Thu Jan 19, 2017 7:33 am    Post subject: Reply with quote

I never said it was an "ares bug". In fact I never said it was a bug at all. I came here for my code  to be corrected, otherwise I would have gone to the Ares github and reported it as a bug.

(altyhough it does show the "WeaponType=MenemMislPayload" is a bit useless, but maybe it already was in the original game)


Thanks to the helpful people.

(and not graion as he is as always an insufferable and useless ass)
_________________

Back to top
View user's profile Send private message Visit poster's website
PillBox20
Cyborg Commando


Joined: 28 Sep 2013
Location: Plovdiv, Bulgaria.

PostPosted: Thu Jan 19, 2017 11:02 am    Post subject: Reply with quote

Happy to.  Smile
_________________
"If it ain't broke, don't fix it."
"If you are loyal to everybody, can you truly be loyal to anybody?"
http://ares-developers.github.io/Ares-docs/
https://www.youtube.com/channel/UCtxeQoEM_iVd-F-xUIwleyQ

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [7 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.2528s ][ Queries: 15 (0.1267s) ][ Debug on ]