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 Nov 27, 2026 3:31 am
All times are UTC + 0
Superweapon IE
Moderators: Global Moderators, Red Alert 2 Moderators
Post new topic   Reply to topic Page 1 of 1 [2 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
freedom fighter
General


Joined: 14 May 2009

PostPosted: Wed Sep 28, 2011 4:56 pm    Post subject:  Superweapon IE
Subject description: Annoying
Reply with quote  Mark this post and the followings unread

My new Fire SW ain't working. It keeps throwing an IE stating that the thread tried to divide by zero. Funny thing is: I have two other Fire SWs that work flawlessly. Here's the coding:

Code:
;Command Center (Cryo)
[CRYOCC]
Name=COMC
UIName=Name:COMC
Image=GAROBO
BuildCat=Resource
Prerequisite=CRYOR,GACNST
TechLevel=7
Strength=600
Adjacent=2
Points=30
Power=-100
Sight=6
Armor=wood
Cost=2000
Owner=British,French,Germans,Americans,Alliance,Russians,Confederation,Africans,Arabs,YuriCountry
AIBasePlanningSide=0 ;gs 0 for Good, 1 for Evil
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
DebrisAnims=DBRIS1LG,DBRIS1SM,DBRIS2LG,DBRIS4LG,DBRIS4SM,DBRIS5LG,DBRIS5SM,DBRIS6LG,DBRIS6SM,DBRIS7LG
MaxDebris=12
MinDebris=6
HalfDamageSmokeLocation1=0,0,0
;DamageParticleSystems=SparkSys,SmallGreySSys,BigGreySmokeSys
DamageSmokeOffset=410, 100, 165
ThreatPosed=1   ; This value MUST be 0 for all building addons
Crewed=yes
AIBuildThis=yes
TogglePower=yes
Powered=true
;PowersUnit=ROBO;one of these buildings must be present and powered, or else these guys turn off.
ImmuneToPsionics=no ;gs per Dustin, never intended to be yes,      defaults to yes for buildings, no for others
Capturable=false
SuperWeapon=CryoSatSpecial
Primary=CryoSpecial
EMPulseCannon=yes
Spyable=yes
BuildLimit=1

; Ice on your head
[CryoSpecial]
Damage=700
ROF=1
Range=100;1.83;GEF Since we have a new long range gas effect now, might as well make the Chaos Drone only approach as much as it needs to in order to affect the target
Projectile=Invisible
Speed=100
Warhead=IceField
RadLevel=100
RadColor=119,143,255
RadSiteWarhead=IceRad

[CryoSatSpecial]
UIName=Name:CRYOSAT
Name=Cryo Satellite Laser
RechargeTime=1
Type=Fire ;Fire is the type for the Firing SW
Action=IceShot ;check out the Adding custom Actions page to find out more about this
SidebarImage=FIREATICON
ShowTimer=no
DisableableFromShell=no


I looked up a thread where someone had a similar problem. He solved it by changing Type=Fire to Type=EMPulse. However, note that I have two other SW using Type=Fire and they don't have any problem.



except.txt
 Description:
...

Download
 Filename:  except.txt
 Filesize:  25.29 KB
 Downloaded:  59 Time(s)


_________________
The future belongs to The Forgotten!

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


Joined: 28 Dec 2007
Location: Finland

PostPosted: Wed Sep 28, 2011 5:24 pm    Post subject: Reply with quote  Mark this post and the followings unread

Your weapon needs valid Report= or shit happens if you try to use it with Fire or EMPulse type SW. This remains from TS where EMP Cannon superweapon has similar problem.

If you don't want to hear any sound just put Report=Dummy to the weapon to prevent it from causing IE.

_________________

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 [2 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.1916s ][ Queries: 11 (0.0120s) ][ Debug on ]