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 Thu Apr 30, 2026 3:01 am
All times are UTC + 0
SW Virtual Weapon Failure
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
EricAnimeFreak
Tiberian Fiend


Joined: 14 Sep 2009
Location: USA New England

PostPosted: Fri Apr 23, 2010 1:04 am    Post subject:  SW Virtual Weapon Failure Reply with quote  Mark this post and the followings unread

Does anyone Know whats wrong with this code? Trying to create a simulated nuke to replace my old code that doesn't look as good as the real thing. This code was just random inspirational thought on my part.

Code:
[AIWMD]
Cost=1000
Name=icbm silo
Armor=concrete
Image=DROPLAND
Owner=YuriCountry,Russians,Confederation,Africans,Arabs,British,French,Germans,Americans,Alliance
Power=-5
Sight=4
Crewed=yes
Points=40
Turret=no
UIName=Name:NAMISL
Powered=yes
Primary=AIWMDNUKELauncher
Spyable=no
Adjacent=2
BuildCat=Combat
Strength=99999
Drainable=yes
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60,gtpowexp
MaxDebris=6
MinDebris=4
TechLevel=1
BaseNormal=yes
BuildLimit=5
Capturable=false
GuardRange=400
Repairable=true
Selectable=yes
Unsellable=no
AIBuildThis=no
DebrisAnims=DBRIS1LG,DBRIS1SM,DBRIS4LG,DBRIS4SM,DBRIS5LG,DBRIS5SM
LeaveRubble=no
RevealToAll=no
ThreatPosed=0
Prerequisite=none
Insignificant=no
IsBaseDefense=yes
RequiredHouses=Russians,Confederation,Africans,Arabs,British,French,Germans,Americans,Alliance,YuriCountry
ClickRepairable=yes
ForbiddenHouses=none
OpportunityFire=yes
CanPassiveAquire=yes
ImmuneToPsionics=yes
DamageSmokeOffset=300, 300, 450
PreventAttackMove=no
AIBasePlanningSide=2
BuildTimeMultiplier=1.15
VoiceAttack=AircraftCarrierAttackCommand
SpawnsNumber=1
SpawnRegenRate=7500
SpawnReloadRate=7500
Spawns=AIWMDSPAWN

[AIWMDSPAWN]
ROT=40
Ammo=1
Cost=600
Name=AIWMDSPAWN
Armor=heavy
FlyBy=true
Image=none
Owner=Russians,Confederation,Africans,Arabs,British,French,Germans,Americans,Alliance,YuriCountry
Sight=10
Speed=50
Crewed=yes
Points=20
UIName=Name:NUKE
Fighter=yes
Primary=AIWMDNUKE
Spawned=yes
Category=AirPower
Landable=yes
OmniFire=yes
PipScale=Ammo
Strength=9999
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
Locomotor={4A582746-9839-11d1-B709-00A024DDAFD1}
MaxDebris=3
TechLevel=35
Trainable=no
GuardRange=35
PitchAngle=0
PitchSpeed=1.1
ThreatPosed=20
AirportBound=no
CanRetaliate=no
MoveToShroud=yes
MovementZone=Fly
Prerequisite=none
RadarInvisible=yes
RequiredHouses=Russians,Confederation,Africans,Arabs,British,French,Germans,Americans,Alliance,YuriCountry
ForbiddenHouses=none
CanPassiveAquire=no
ImmuneToPsionics=yes
VeteranAbilities=STRONGER,FIREPOWER,SIGHT,FASTER
PreventAttackMove=no
ConsideredAircraft=yes
DamageParticleSystems=SparkSys,SmallGreySSys
IsSelectableCombatant=no
AllowedToStartInMultiplayer=no
JumpjetHeight=5000
Invisible=yes
LegalTarget=no
RadarVisible=no

[AIWMDNUKELauncher]
ROF=7500
Range=400
Speed=999
Damage=1
Spawner=yes
Warhead=Special
OmniFire=yes
Projectile=Invisible
RevealOnFire=no
Report=NukeSiren

[AIWMDNUKE]
ROF=7500
Range=1
Speed=20
Damage=250
Warhead=AIWMDNUKEWH
RadLevel=400
Projectile=AIWMDNUKEProj1
RevealOnFire=no

[AIWMDNUKEProj1]
AA=no
Arm=2
ROT=1
High=yes
Shadow=no
Cluster=1
VeryHigh=yes
Proximity=no
Image=NKMSLDN
Acceleration=1
FirersPalette=yes
CourseLockDuration=90

[AIWMDNUKEWH]
Wood=yes
Sparky=no
Verses=0%,0%,0%,100%,100%,100%,50%,75%,25%,0%,0%
AnimList=NUKEANIM
InfDeath=4
Tiberium=yes
CellSpread=10
PercentAtMax=.25
WallAbsoluteDestroyer=yes

Buildings, aircraft, and warheads are already in list, the type of crash was a Game exit without an error.


When i tried it, game would crash when building was placed on map. No IE, the game just exited out.

_________________
Grab my Map Logic Expansion Pack 5.2 here!
Adds random weather patterns into maps.
More disabled navalyards.
Preplaced Neutral buildings.
Additional new features.

Enjoy Everyone!

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


Joined: 05 Dec 2009
Location: USA

PostPosted: Fri Apr 23, 2010 2:13 am    Post subject: Reply with quote  Mark this post and the followings unread

So your trying to make a building spawn a neuclear aircraft? Confused

_________________

The enemy shall be injected with toxic poison - Venom

Back to top
View user's profile Send private message Visit poster's website Skype Account
Dark Templar X
Commander


Joined: 26 Feb 2009

PostPosted: Fri Apr 23, 2010 2:59 am    Post subject: Reply with quote  Mark this post and the followings unread

BuildingTypes can spawn an aircraft, but the structure has to have a middle cell. If it's something like 2x2, it will not work. It will either crash or dump out like your game did.

Back to top
View user's profile Send private message
EricAnimeFreak
Tiberian Fiend


Joined: 14 Sep 2009
Location: USA New England

PostPosted: Fri Apr 23, 2010 5:12 am    Post subject: Reply with quote  Mark this post and the followings unread

It's a 1X1 building. I'm trying to spawn an invisible aircraft that will shoot a nuke projectile, the projectile will then fall from the sky like a regular nuke.

_________________
Grab my Map Logic Expansion Pack 5.2 here!
Adds random weather patterns into maps.
More disabled navalyards.
Preplaced Neutral buildings.
Additional new features.

Enjoy Everyone!

Back to top
View user's profile Send private message Visit poster's website
EricAnimeFreak
Tiberian Fiend


Joined: 14 Sep 2009
Location: USA New England

PostPosted: Sat Apr 24, 2010 3:03 am    Post subject: Reply with quote  Mark this post and the followings unread

I found out the cause was my plane's image tag, I feel so stupid. But I gave up code because, "while it works like I want it too," it does not work perfectly... Spawned planes have trouble dropping bombs......

_________________
Grab my Map Logic Expansion Pack 5.2 here!
Adds random weather patterns into maps.
More disabled navalyards.
Preplaced Neutral buildings.
Additional new features.

Enjoy Everyone!

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 [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.3571s ][ Queries: 11 (0.1328s) ][ Debug on ]