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 Apr 19, 2024 2:11 am
All times are UTC + 0
[ARES] Aircraft Spawner Problems
Moderators: Global Moderators, Red Alert 2 Moderators
Post new topic   Reply to topic Page 1 of 1 [6 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
Atomic_Noodles
Defense Minister


Joined: 05 Oct 2011

PostPosted: Sat Apr 07, 2012 10:24 am    Post subject:  [ARES] Aircraft Spawner Problems
Subject description: Aircraft Spawner Building with Anti-Air Aircraft...
Reply with quote  Mark this post and the followings unread

So I've added a new building (it's 1x1 so the spawned unit should work properly) The Building can target enemy aircraft but then it crashes.

The Voxels are all in so it should work properly...

Internal Error:
Code:
Internal Error encountered!
---------------------
Ares version: 12.62.1050
---------------------
Exception code: C0000005 at 004145BD
Registers:
EIP: 004145BD   ESP: 0012CF78   EBP: 0E139468
EAX: 00000000   EBX: 00886FA0   ECX: 00000000
EDX: 00000000   ESI: 0B7A5748   EDI: 00886FA0

Stack dump:
0012CF78: 000002E0
0012CF7C: 000002E0
0012CF80: 00000019
0012CF84: 013DF5B8
0012CF88: 000002B6
0012CF8C: 000001A5
0012CF90: 000002B6
0012CF94: 0000027C
0012CF98: 00007C5E
0012CF9C: 0000300D
0012CFA0: 000002FE
0012CFA4: 00007C5E
0012CFA8: 0000300D
0012CFAC: 000008D3
0012CFB0: 00000001
0012CFB4: 3F7B010D
0012CFB8: BE495019
0012CFBC: 00000000
0012CFC0: 00000000
0012CFC4: 3DC966E9
0012CFC8: 3EFB1D7F
0012CFCC: 3F5DAB76
0012CFD0: 00000000
0012CFD4: BE2E50FC
0012CFD8: BF595805
0012CFDC: 3F000E82
0012CFE0: 00000000
0012CFE4: 3F0E39D9
0012CFE8: BF54DB31
0012CFEC: 00000000
0012CFF0: 00000000
0012CFF4: 3F54DB31
0012CFF8: 3F0E39D9
0012CFFC: 00000000
0012D000: 00000000
0012D004: 00000000
0012D008: 00000000
0012D00C: 3F800000
0012D010: 00000000
0012D014: 3F354BFB
0012D018: 3F34BDCF
0012D01C: 00000000
0012D020: 00000000
0012D024: BEB4D24B
0012D028: 3EB50E7F
0012D02C: 0000007B
0012D030: 00000000
0012D034: 006D21F7
0012D038: 0000072F
0012D03C: 0E139468
0012D040: 00004955
0012D044: 005F4D03
0012D048: 0012D068
0012D04C: 00886FA0
0012D050: 0000072F
0012D054: 00004955
0012D058: 00000060
0012D05C: 0E139468
0012D060: 000004AE
0012D064: 0E139468
0012D068: 0000028F
0012D06C: 00000111
0012D070: 00007000
0012D074: 00000000
0012D078: 000004AE
0012D07C: 000002E0
0012D080: 006D90A4
0012D084: 00886FA0
0012D088: 000002E0
0012D08C: 00000000
0012D090: 00000002
0012D094: 00000000
0012D098: 08DE0E98
0012D09C: 0E7CAE10
0012D0A0: 0112D120
0012D0A4: 00000060
0012D0A8: 0000028F
0012D0AC: 00000111
0012D0B0: 00079E00
0012D0B4: 00078F00
0012D0B8: 00000000
0012D0BC: 00000004
0012D0C0: 00004955
0012D0C4: 00000033
0012D0C8: 00000005
0012D0CC: 00007000
0012D0D0: 00002500
0012D0D4: 00000354
0012D0D8: 00000163
0012D0DC: FFFFFFE8
0012D0E0: 0000015D
0012D0E4: 0000064B
0012D0E8: 61475067
0012D0EC: D3714A53
0012D0F0: 00008580
0012D0F4: 00008580
0012D0F8: 00079806
0012D0FC: 000DE9DB
0012D100: 00000000
0012D104: 00000002
0012D108: 00078F00
0012D10C: 0000063B
0012D110: 0000072F
0012D114: 00000000
0012D118: 00000000
0012D11C: 000004AE
0012D120: 000002E0
0012D124: 0000039D
0012D128: 000006F0
0012D12C: 00000007
0012D130: 000DE9DB
0012D134: 00009721
0012D138: 00005654
0012D13C: 000002FE
0012D140: 00006100
0012D144: 00002000
0012D148: 00000340
0012D14C: 000008CA
0012D150: 00000840
0012D154: 00007000
0012D158: 00002500
0012D15C: 00000354
0012D160: 00007C32
0012D164: 0000304B
0012D168: 000008AB
0012D16C: 0000A480
0012D170: 00005080
0012D174: 000001A0
0012D178: 00007000
0012D17C: 00002500
0012D180: 00000354
0012D184: 00008700
0012D188: 00006700
0012D18C: 000001A0
0012D190: 006D4664
0012D194: 00000001
0012D198: 0012D200
0012D19C: 0087F7E8
0012D1A0: 0E7CAC00
0012D1A4: 00000000
0012D1A8: 00000000
0012D1AC: 00000000
0012D1B0: 00000000
0012D1B4: 00000300
0012D1B8: 0E7CAE10
0012D1BC: 0012D1E8
0012D1C0: 0E7CACB0
0012D1C4: 0012D1F8
0012D1C8: 00000000
0012D1CC: 00000001
0012D1D0: 0087F7E8
0012D1D4: 00000300
0012D1D8: 00000000
0012D1DC: 00000000
0012D1E0: 00000000
0012D1E4: 00000000
0012D1E8: 000004AE
0012D1EC: 00000000
0012D1F0: 000000A8
0012D1F4: 00000300
0012D1F8: 00000000
0012D1FC: 00000000
0012D200: 000000A8
0012D204: 00000300
0012D208: 00000000
0012D20C: 00000000
0012D210: 00000556
0012D214: 00000300
0012D218: 006A70B3
0012D21C: 00000001
0012D220: 000004AE
0012D224: 0087F7E8
0012D228: 00000000
0012D22C: 00000000
0012D230: 0087F7E8
0012D234: 0E7CAE10
0012D238: 00000049
0012D23C: 00000002
0012D240: 00000000
0012D244: 00000000
0012D248: 000000A8
0012D24C: 00000300
0012D250: 006D0E3D
0012D254: 0012D300
0012D258: 0012D200
0012D25C: 0087F7E8
0012D260: 0E7CAC00
0012D264: 00000000
0012D268: 0087F7E8
0012D26C: 00000000
0012D270: 00000000
0012D274: 000004AE
0012D278: 000002E0
0012D27C: 00000000
0012D280: 00000000
0012D284: 00000000
0012D288: 00000000
0012D28C: 000000A8
0012D290: 00000300
0012D294: 00000000
0012D298: 00000000
0012D29C: 004F451A
0012D2A0: 0E7CAE10
0012D2A4: 0012D200
0012D2A8: 00000002
0012D2AC: 00000000
0012D2B0: 00000001
0012D2B4: 0012F0BC
0012D2B8: 0012D200
0012D2BC: 0012D300
0012D2C0: 0055D8F7
0012D2C4: 00000001
0012D2C8: 00000004
0012D2CC: 0012F0BC
0012D2D0: 00000000
0012D2D4: 7587F8F6
0012D2D8: B2235933
0012D2DC: 7587F8BF
0012D2E0: 00D809B8
0012D2E4: 00000113
0012D2E8: 00000015
0012D2EC: 0158C8C8
0012D2F0: 0012D3C4
0012D2F4: 758C522D
0012D2F8: C7B67333
0012D2FC: 00000000
0012D300: 00000177
0012D304: 000002C4
0012D308: 00000000
0012D30C: 0012D3AC
0012D310: 0012D3AC
0012D314: 00000113
0012D318: 00000000
0012D31C: 00000000
0012D320: 00000000
0012D324: 0012D2E0
0012D328: 00000000
0012D32C: 0012F0BC
0012D330: 0012D35C
0012D334: 7587FD72
0012D338: 000B0564
0012D33C: 00000113
0012D340: 00000001
0012D344: 00000000
0012D348: 00000113
0012D34C: DCBAABCD
0012D350: 00000000
0012D354: 0012D3AC
0012D358: 00000113
0012D35C: 0012D3D4
0012D360: 0012D388
0012D364: 00000000
0012D368: 0012D300
0012D36C: 0012D3D4
0012D370: 7587FEA1
0012D374: 7587FE61


The Building & its Spawned Aircraft:
Code:
;Allied Hawk Nest
[GATRI]
UIName=Name:GATRI
Name=Allied Patriot Missile
BuildCat=Combat
Strength=900
Armor=steel
TechLevel=4
Prerequisite=BARRACKS,RADAR,GACNST
Adjacent=4
Sight=15
ROT=8
Owner=British,French,Germans,Alliance,Americans,Russians,Confederation,Africans,Arabs,YuriCountry
RequiredHouses=Alliance
Spawns=TRIJET
SpawnsNumber=3
SpawnRegenRate=600
SpawnReloadRate=150
FireAngle=0
AIBasePlanningSide=0 ;gs 0 for Good, 1 for Evil
Cost=1000
BaseNormal=no
Points=30
Power=-50
Crewed=no
Primary=HawkLauncher
TogglePower=yes
LandTargeting=1
NavalTargeting=6
Capturable=false
TogglePower=yes
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
DebrisAnims=DBRIS1LG,DBRIS1SM,DBRIS4LG,DBRIS4SM,DBRIS5LG,DBRIS5SM
MaxDebris=3
MinDebris=2
ThreatPosed=0   ; This value should be 0 for objects that are purely anti-air, since aircraft do not use the threat values
;DamageParticleSystems=SparkSys,LGSparkSys
IsBaseDefense=yes
Powered=yes
Turret=yes
TurretAnim=TRITUR
TurretAnimIsVoxel=true
TurretAnimZAdjust=-20
HasStupidGuardMode=false
WorkingSound=PowerOn
NotWorkingSound=PowerOff
VHPScan=Strong
ImmuneToPsionics=no ; defaults to yes for buildings, no for others
Drainable=yes
AntiInfantryValue=0
AntiArmorValue=0
AntiAirValue=25
;gs these three are in abstract units and just help the AI pick the right base defense. (see AIForcePredictionFudge)

:::Building Weapon:::
; Hawk Nest Weapon
[HawkLauncher]
Damage=1
ROF=150
Range=18
Spawner=yes
Projectile=InvisibleAll
Speed=10
Warhead=Special

::: Spawned Unit :::
; White Hawk RoboJet
[TRIJET]
UIName=Name:TRIJET
Name=Hawk Jet
Primary=HawkAirMissile
ElitePrimary=HawkAirMissileE
Secondary=HornetCollision
Strength=200
Category=AirPower
Armor=light
Spawned=yes
TechLevel=-1
Sight=2
RadarInvisible=no
Landable=yes
MoveToShroud=yes
PipScale=Ammo
Speed=18
PitchSpeed=.9
PitchAngle=0
Owner=British,Americans,Alliance
Cost=50
Points=20
ROT=3
Ammo=1
Crewed=no
GuardRange=30
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
MaxDebris=2
CrashingSound=HornetDie
ImpactLandSound=GenAircraftCrash
Locomotor={4A582746-9839-11d1-B709-00A024DDAFD1}
MovementZone=Fly
MovementRestrictedTo=Water ; See if this will affect landing only
ThreatPosed=10   ; This value MUST be 0 for all building addons
DamageParticleSystems=SparkSys,SmallGreySSys
AuxSound1=HornetTakeoff ;Taking off
AuxSound2=HornetLanding ;Landing
ImmuneToPsionics=yes
VeteranAbilities=STRONGER,FIREPOWER
EliteAbilities=STRONGER,FIREPOWER

::: Aircraft Weapon :::
[HawkAirMissile]
Damage=50
ROF=15
Range=4
Speed=100
Projectile=AAHeatSeeker
Warhead=SAMWH
Report=PatriotAttack
OmniFire=yes

[HawkAirMissileE]
Damage=75
ROF=15
Range=4
Speed=100
Projectile=AAHeatSeeker
Warhead=SAMWH
Report=PatriotAttack
OmniFire=yes

_________________
~ Excelsior ~

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


Joined: 22 Nov 2010
Location: Iszkaszentgyorgy, Hungary

PostPosted: Sat Apr 07, 2012 10:46 am    Post subject: Reply with quote  Mark this post and the followings unread


_________________
"If you didn't get angry and mad and frustrated, that means you don't care about the end result, and are doing something wrong." - Greg Kroah-Hartman
=======================
Past C&C projects: Attacque Supérior (2010-2019); Valiant Shades (2019-2021)
=======================
WeiDU mods: Random Graion Tweaks | Graion's Soundsets
Maintainance: Extra Expanded Enhanced Encounters! | BGEESpawn
Contributions: EE Fixpack | Enhanced Edition Trilogy | DSotSC (Trilogy) | UB_IWD | SotSC & a lot more...

Back to top
View user's profile Send private message Visit poster's website ModDB Profile ID
Earthman
Soldier


Joined: 11 May 2012
Location: Viet Nam

PostPosted: Fri May 11, 2012 11:39 am    Post subject: Reply with quote  Mark this post and the followings unread

Hello everyone . I have a trouble , I created a new Air Base for Allied and i want my new AirCraft - called "B52" to be only built on that new Airbase. But when i built the GAAIRC and then built a B52 , the B52 appeared on both GAAIRC and my new Air Base ...Sad . Could someone help me !!! Thanks alot Smile

(*Sorry for my bad English Very Happy *)

Back to top
View user's profile Send private message
Hogo
Cyborg Firebomber


Joined: 12 Jul 2009
Location: London, England

PostPosted: Fri May 11, 2012 12:41 pm    Post subject: Reply with quote  Mark this post and the followings unread

@Earthman, There is a tag in the rules files about docking and also on the aircraft that says where it can dock

Back to top
View user's profile Send private message Visit poster's website Skype Account
Mig Eater
Defense Minister


Joined: 13 Nov 2003
Location: Eindhoven

PostPosted: Fri May 11, 2012 12:44 pm    Post subject: Reply with quote  Mark this post and the followings unread

Use Ares's "BuiltAt" feature to make them buildable at separate airfields. It's still being worked on tho & doesn't fully work with aircraft yet.

_________________



Back to top
View user's profile Send private message Visit poster's website ModDB Profile ID YouTube User URL Facebook Profile URL Twitter Channel URL
Earthman
Soldier


Joined: 11 May 2012
Location: Viet Nam

PostPosted: Fri May 11, 2012 3:35 pm    Post subject: Reply with quote  Mark this post and the followings unread

@Hogo : I added the name of Unit in the line "Dock=..." and had no change. But thanks u so much

@Mig Eater : WOW ! It has been working . But now the problem is the Cameo on sidebar. It didn't finish a round turning...Sad . Thanks u

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