|
|
在尤复上使用Ares3.0自定义导弹,发射车,发射车的发射器(主武器)
导弹用的是V3的导弹,发射车用的是V3的发射车,武器仿照V3的主武器写的
然而在游戏中,运行一会后就出错了(期间可以正常攻击产生效果)。
全部的代码如下
- [VehicleTypes]
- 10003=ContinentMissile
- [AircraftTypes]
- 10001=SUPROCKET
- [WeaponTypes]
- ; 发射器
- 10009=MissileLauncher
- 10010=MissileNuke
- 10011=MissileNukeE
- [Warheads]
- 10007=Special2WH
- [ContinentMissile]
- Image=V3
- UIName=Name:V3
- Name=ContinentMissile Launcher ;locked
- Category=LRFS
- Prerequisite=none
- Primary=MissileLauncher
- ElitePrimary=MissileLauncher
- CanPassiveAquire=no ; Won't try to pick up own targets
- Spawns=SUPROCKET
- SpawnsNumber=1
- SpawnRegenRate=900
- SpawnReloadRate=0 ; missile spawn don't come back
- NoSpawnAlt=yes ; alternate voxel for out of spawns: xxxxWO (V3WO)
- Strength=1100
- Armor=heavy
- TechLevel=4
- Turret=no
- CrateGoodie=yes
- Sight=7
- Speed=3
- Owner=Russians,Confederation,Africans,Arabs
- Cost=19998
- Soylent=800
- Points=4000
- ROT=4
- AllowedToStartInMultiplayer=no
- Crusher=yes
- Crewed=no ; Big giant missile on its head precludes survivor (per designer)
- IsSelectableCombatant=yes
- Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
- VoiceSelect=V3Select
- VoiceMove=V3Move
- VoiceAttack=V3AttackCommand
- VoiceFeedback=
- DieSound=GenVehicleDie
- MoveSound=V3MoveStart
- CrushSound=TankCrush
- Maxdebris=3
- Locomotor={4A582741-9839-11d1-B709-00A024DDAFD1}
- ;MovementZone=Normal ;gs FLAW needs to be changed to this when The Flaw is fixed
- MovementZone=Destroyer
- ThreatPosed=250 ; This value MUST be 0 for all building addons
- DamageParticleSystems=SparkSys,SmallGreySSys
- Weight=10
- VeteranAbilities=STRONGER,FIREPOWER,ROF,SIGHT,FASTER
- EliteAbilities=SELF_HEAL,STRONGER,FIREPOWER,ROF
- AccelerationFactor=0.1
- ZFudgeColumn=8
- ZFudgeTunnel=13
- Size=3
- GuardRange=11
- TooBigToFitUnderBridge=true
- ;MobileFire=false ; SJM: Looks like this was meant for the V3, but let's not enable it until we know we need it.
- Bunkerable=no; Units default to yes, others default to no
- [SUPROCKET]
- Image=V3ROCKET
- UIName=Name:V3ROCKET
- Name=State Rocket
- FireAngle=1
- Strength=650
- Category=AirPower
- Armor=special_2
- Spawned=yes
- MissileSpawn=yes
- TechLevel=-1
- Sight=1
- RadarInvisible=no
- Landable=yes
- MoveToShroud=yes
- Ammo=1 ;Aircraft are hard wired to require ammo
- Speed=10
- Owner=Russians,Confederation,Africans,Arabs
- Cost=50
- Points=20
- ROT=3
- Crewed=no
- Explodes=no
- GuardRange=30
- Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
- MaxDebris=2
- Locomotor={B7B49766-E576-11d3-9BD9-00104B972FE8}
- MovementZone=Fly
- ThreatPosed=100 ; This value MUST be 0 for all building addons
- DamageParticleSystems=SmallGreySSys ; Sparks don't work well here. SJM
- AuxSound1=V3Attack ;Taking off
- ;AuxSound2=DROPDWN1 ;Landing
- ImmuneToPsionics=yes
- ;VeteranAbilities=STRONGER,FIREPOWER,SIGHT,FASTER
- ;EliteAbilities=SELF_HEAL,STRONGER,FIREPOWER,ROF
- NoShadow=yes
- Selectable=no
- Trainable=no
- DontScore=yes
- ;
- ; Areas自定义导弹特性
- ;
- Missile.Custom=yes
- Missile.PauseFrames=15
- Missile.TiltFrames=150
- Missile.PitchInitial=0
- Missile.PitchFinal=1
- Missile.TurnRate=0.05
- Missile.RaiseRate=1.5
- Missile.Acceleration=1.5
- Missile.Altitude=768
- Missile.BodyLength=256
- Missile.LazyCurve=no
- Missile.Damage=600
- Missile.EliteDamage=800
- Missile.Warhead=NUKE
- Missile.EliteWarhead=NUKE
- Missile.Weapon=MissileNuke
- Missile.EliteWeapon=MissileNukeE
- [MissileLauncher]
- Damage=1
- ROF=900
- Range=255
- MinimumRange=5
- Spawner=yes
- Projectile=InvisibleHigh
- Speed=10
- Warhead=Special2WH
- [MissileNuke]
- Damage=600
- ROF=900
- Range=255
- Projectile=GiantNukeDown
- Speed=100
- RadLevel=1500
- Warhead=NUKE
- [MissileNukeE]
- Damage=800
- ROF=1200
- Range=255
- Projectile=GiantNukeDown
- Speed=100
- RadLevel=3000
- Warhead=NUKE
- [Special2WH]
- Verses=3%,3%,3%,3%,3%,3%,3%,3%,3%,3%,3%
复制代码
然后是报错信息,Syringe.log中报错
- [13:57:01] SyringeDebugger::Run: Running process to debug. cmd = "gamemd.exe "
- [13:57:02] SyringeDebugger::Run: Allocating 0x580 bytes...
- [13:57:02] SyringeDebugger::Run: pAlloc = 0x001C0000
- [13:57:02] SyringeDebugger::Run: Writing DLL loader & caller code...
- [13:57:02] SyringeDebugger::Run: pcLoadLibrary = 0x001C0000
- [13:57:02] SyringeDebugger::Run: Entering debug loop...
- [13:57:02] SyringeDebugger::HandleException: Finished retrieving proc addresses.
- [13:57:02] SyringeDebugger::HandleException: Creating code hooks.
- [13:58:12] SyringeDebugger::HandleException: Exception (Code: 0xC0000005 at 0x006B7D30)!
- [13:58:12] The process tried to read from 0x00000048.
复制代码 |
|