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 18, 2024 9:31 pm
All times are UTC + 0
Crashing Custom Missile Spawner
Moderators: Ares Support Team at PPM, Global Moderators, Red Alert 2 Moderators
Post new topic   Reply to topic Page 1 of 1 [14 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
Atomic_Noodles
Defense Minister


Joined: 05 Oct 2011

PostPosted: Tue Aug 13, 2013 12:13 pm    Post subject:  Crashing Custom Missile Spawner Reply with quote  Mark this post and the followings unread

So I'm trying to finally make my Crusher Ant work, but atm it just keeps crashing when I try to make it fire.

Code:
   

    ; Custom Missile Spawner - SHP Unit!!!
    
    ;Art
    [CRUSHANT]      ; Soldier Ant
    Voxel=No
    Shadow=yes
    Facings=8
    StartWalkFrame=0
    WalkFrames=12
    StandingFrames=15
    StartStandFrame=96
    FiringFrames=6
    StartFiringFrame=216
    
    ;Rules
    ; Crusher Ant
    [CRUSHANT]
    UIName=NOSTR:Crusher Ant
    Name=Crusher Ant
    Category=AFV
    Prerequisite=NAWEAP,NARADR
    Primary=RockLauncher
    CanPassiveAquire=no
    Spawns=ROCKMISL
    SpawnsNumber=1
    SpawnRegenRate=400
    SpawnReloadRate=0
    NoSpawnAlt=no
    WalkRate=2
    Strength=700
    Armor=heavy
    TechLevel=-1
    Turret=no
    CrateGoodie=yes
    Sight=6
    Speed=6
    Owner=British,Americans,Alliance,Russians,Confederation,Arabs,YuriCountry,Germans,Africans
    Cost=800
    Soylent=400
    Points=40
    ROT=5
    AllowedToStartInMultiplayer=no
    Crusher=yes
    Crewed=no
    IsSelectableCombatant=yes
    Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
    VoiceSelect=SmallAntSelect
    VoiceAttack=SmallAntAttComm
    VoiceMove=SmallAntMove
    DieSound=SmallAntDie
    MoveSound=BigAntWalkStart
    MaxDebris=3
    Locomotor={4A582741-9839-11d1-B709-00A024DDAFD1}
    MovementZone=Destroyer
    ThreatPosed=25
    DamageParticleSystems=SparkSys,SmallGreySSys
    Weight=3.5
    VeteranAbilities=STRONGER,FIREPOWER,ROF,SIGHT,FASTER
    EliteAbilities=SELF_HEAL,STRONGER,FIREPOWER,ROF
    AccelerationFactor=0.01
    ZFudgeColumn=8
    ZFudgeTunnel=13
    ImmuneToPsionics=yes
    ImmuneToRadiation=yes
    Size=3
    GuardRange=9
    TooBigToFitUnderBridge=True
    Bunkerable=no
    
    ; Boulder Rock
    [RockLauncher]
    Damage=50
    ROF=50
    Range=20
    MinimumRange=3
    Spawner=yes
    Projectile=InvisibleHigh
    Speed=15
    Warhead=Special
    OmniFire=no
    Report=BoomerAttack1
    
    ; New Custom Missile
    
    ;Art
    [ROCKMISL]
    Trailer=SMOKEY
    SpawnDelay=0
    Voxel=Yes
    CanBeHidden=No
    
    ;Rules
    
    ; Boulder
    [ROCKMISL]
    UIName=NOSTR:Boulder
    Name=Boulder
    FireAngle=1
    Strength=150
    Category=AirPower
    Armor=Special_2
    Spawned=yes
    Missile.Custom=yes
    Missile.PauseFrames=0
    Missile.TiltFrames=0
    Missile.PitchInitial=0.0
    Missile.PitchFinal=0.0
    Missile.TurnRate=0.0
    Missile.RaiseRate=0.0
    Missile.Acceleration=0.0
    Missile.Altitude=0
    Missile.Damage=120
    Missile.EliteDamage=150
    Missile.BodyLength=0
    Missile.LazyCurve=yes
    Missile.Warhead=V3WH
    Missile.EliteWarhead=V3EWH
    Missile.TakeOff=SMOKEY
    Missile.TrailerAnim=SMOKEY
    Missile.TrailerSeperation=3
    TechLevel=-1
    Sight=0
    RadarInvisible=no
    Landable=yes
    MoveToShroud=yes
    Ammo=1
    Speed=20
    Owner=British,Americans,Alliance,Russians,Confederation,Arabs,YuriCountry,Germans,Africans
    Cost=50
    Points=18
    ROT=4
    Crewed=no
    Explodes=yes
    DeathWeapon=V3Airburst
    GuardRange=30
    Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
    MaxDebris=5
    Locomotor={B7B49766-E576-11d3-9BD9-00104B972FE8}
    MovementZone=Fly
    ThreatPosed=10
    DamageParticleSystems=SmallGreySSys
    AuxSound1=BoomerAttack1
    ImmuneToPsionics=yes
    Selectable=no
    Trainable=no
    FlyBack=True
    DontScore=yes
    VehicleThief.Allowed=False

_________________
~ Excelsior ~

Back to top
View user's profile Send private message Visit poster's website
mevitar
Missile Trooper


Joined: 31 Dec 2010

PostPosted: Tue Aug 13, 2013 5:53 pm    Post subject: Reply with quote  Mark this post and the followings unread

Copy V3 rocket stats and start from there. All those 0s, i won't be surprised if it does division by 0 somewhere, and that's why it crashes for you.

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


Joined: 31 May 2010
Location: Germany

PostPosted: Tue Aug 13, 2013 8:31 pm    Post subject: Reply with quote  Mark this post and the followings unread

Without an except, I can only guess.

_________________

Back to top
View user's profile Send private message
mevitar
Missile Trooper


Joined: 31 Dec 2010

PostPosted: Tue Aug 13, 2013 8:52 pm    Post subject: Reply with quote  Mark this post and the followings unread

That's what i did here anyway. #Tongue
(and my another guess is that Altitude=0 might be at fault here)

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


Joined: 05 Oct 2011

PostPosted: Tue Aug 13, 2013 11:49 pm    Post subject: Reply with quote  Mark this post and the followings unread

No except.txt appears and the Game just crashes. As in GameMD crashes.

The 0's are its default settings. I've tried putting it with or with them parsed and only putting in the overrides. Still crashes.

_________________
~ Excelsior ~

Back to top
View user's profile Send private message Visit poster's website
AlexB
Commander


Joined: 31 May 2010
Location: Germany

PostPosted: Wed Aug 14, 2013 12:28 am    Post subject: Reply with quote  Mark this post and the followings unread

What does syringe.log say?

_________________

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


Joined: 05 Oct 2011

PostPosted: Wed Aug 14, 2013 12:51 am    Post subject: Reply with quote  Mark this post and the followings unread


_________________
~ Excelsior ~

Back to top
View user's profile Send private message Visit poster's website
AlexB
Commander


Joined: 31 May 2010
Location: Germany

PostPosted: Thu Aug 29, 2013 1:19 am    Post subject: Reply with quote  Mark this post and the followings unread

Sorry, totally forgot about this one: SpawnDelay on the AircraftType is 0, thus a division by zero occurs.

_________________

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


Joined: 05 Oct 2011

PostPosted: Thu Aug 29, 2013 8:58 am    Post subject: Reply with quote  Mark this post and the followings unread

changed it to 1 and now it does work.

The missile sorta of works...however now it doesn't launch from the ground. You can kill it though.

_________________
~ Excelsior ~

Back to top
View user's profile Send private message Visit poster's website
4StarGeneral
General


Joined: 14 Sep 2006
Location: Limbo

PostPosted: Thu Aug 29, 2013 12:00 pm    Post subject: Reply with quote  Mark this post and the followings unread

Just for the sake of not wanting to make the same mistakes as WW, can you change Missile.TrailerSeperation to Missile.TrailerSeparation Alex?

Try giving it a PrimaryFLH=0,0,0 Should fire it from the ground then, or maybe it's a bit high in the HVA? Otherwise I'd just play around with adding anything under 5 to the altitude, turning off lazycurve, etc.

_________________
"Don't beg for things; Do it yourself or you'll never get anything."

Back to top
View user's profile Send private message Send e-mail YouTube User URL
AlexB
Commander


Joined: 31 May 2010
Location: Germany

PostPosted: Thu Aug 29, 2013 1:31 pm    Post subject: Reply with quote  Mark this post and the followings unread

Renaming a tag breaks existing ini coding and would add an inconsistency people have to remember. I try to use the same spelling as WW did, no matter how stupid. See the Gattling tags, while the inventor was spelled Gatling.

_________________

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


Joined: 30 Jan 2010
Location: Malaysia

PostPosted: Thu Aug 29, 2013 2:32 pm    Post subject: Reply with quote  Mark this post and the followings unread

You fixed the Verses. #Tongue

_________________
Team Black wrote:
interesting seeing your voxel work. They're still better than Aro's!

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


Joined: 31 May 2010
Location: Germany

PostPosted: Thu Aug 29, 2013 4:31 pm    Post subject: Reply with quote  Mark this post and the followings unread

That wasn't me, that was another instance of Coder. Very Happy

_________________

Back to top
View user's profile Send private message
WoRmINaToR
Rocket Cyborg


Joined: 31 Oct 2008
Location: AKA Sir Prize

PostPosted: Thu Aug 29, 2013 9:22 pm    Post subject: Reply with quote  Mark this post and the followings unread

AlexB wrote:
That wasn't me, that was another instance of Coder. Very Happy



Back to top
View user's profile Send private message YouTube User URL
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [14 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.1641s ][ Queries: 11 (0.0085s) ][ Debug on ]