#4
|
|||
|
|||
Ja ok ich häng den code an. Ich will einfach eine artillerie die typische artillerie kugeln schießt (balistisch---hoch fliegende kugeln) und beim aufprall brennt es, den gattling stuff nehme ich damit sich die waffe nach einer bestimmten zeit ändert und so eine waffe geschossen wird bei dem das feuer größer ist. Ich gebe den Schaden der animation weil ich will das das feuer durchgehend schaden verursacht und nicht nur beim aufprall damit gewisse effekte eintreten (wenn panzer durch feuer fährt nimmt er schaden)
Hier der code: (Rulesmd.ini) Einheit: [INFERNALARTI] UIName=Name:INFERNALARTI Name=Infernalgeschütz Prerequisite=GALYBWEAP,NALYBTEK Strength=250 Image=ARTIL Category=AFV Armor=heavy IsTilter=yes TargetLaser=no TooBigToFitUnderBridge=true TechLevel=-1 Sight=8 Speed=3 CrateGoodie=no Crusher=yes Owner=Russians,Confederation,Arabs,Africans Cost=1100 Soylent=900 Points=25 ROT=5 IsSelectableCombatant=yes Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60 VoiceSelect=INFERNALSelect VoiceMove=INFERNALMove VoiceAttack=INFERNALAttacke Turret=yes VoiceFeedback= DieSound=GenVehicleDie MoveSound=RhinoTankMoveStart CrushSound=TankCrush Accelerates=false ZFudgeColumn=8 ZFudgeTunnel=13 Size=2 OpportunityFire=yes ElitePrimary=Flamestormattack1E BuildTimeMultiplier=1.5;Individual control of build time Primary=Flamestormattack1 ;-----Gattling stuff------- ;GEF There is a _lot_ of stuff in this section, hope it's worth it ;Do I have a gattling gun or not IsGattling=yes ;How weapons does it have? Currently, all Gattling Units have had anti-air ;capability, so the mechanics currently depends on having twice the number ;of stages in weapons, alternating anti-ground first, and anti-air second. TurretCount=1 WeaponCount=12 Weapon1=Flamestormattack1 EliteWeapon1=Flamestormattack1E Weapon2=AAGattling EliteWeapon2=AAGattlingE Weapon3=Flamestormattack2 EliteWeapon3=Flamestormattack2E Weapon4=AAGattling2 EliteWeapon4=AAGattling2E Weapon5=Flamestormattack3 EliteWeapon5=Flamestormattack3E Weapon6=AAGattling3 EliteWeapon6=AAGattling3E Weapon7=Flamestormattack4 EliteWeapon7=Flamestormattack4E Weapon8=AAGattling EliteWeapon8=AAGattlingE Weapon9=Flamestormattack5 EliteWeapon9=Flamestormattack5E Weapon10=AAGattling EliteWeapon10=AAGattlingE Weapon11=Flamestormattack6 EliteWeapon11=Flamestormattack6E Weapon12=AAGattling EliteWeapon12=AAGattlingE ;How many stages does this gattling gun have, and how long does it ;take to progress through these stages; WeaponStages=6 Stage1=200 Stage2=400 ;This last stage is used to determine what the maximum fireing timer can be. Once it ;hits this it will stop increasing. If this is larger than the previous stage, then ;it will have a grace period once the unit stops firing before it needs to drop ;down to the lower weapon. Stage3=800 Stage4=1600 Stage5=2400 Stage6=4800 EliteStage1=100 EliteStage2=200 EliteStage3=400 EliteStage4=800 EliteStage5=1600 EliteStage6=3200 ;How many increments or decrements does the timer get per frame? ;If RateDown is zero, then it overrides the previous stage vaules, ;causing the tank to instantly go to zero when it stops firing ;if it can't find a new target RateUp=1 RateDown=50 ;-----End Gattling stuff------- AllowedToStartInMultiplayer=no Maxdebris=3 ;origional - Locomotor={55D141B8-DB94-11d1-AC98-006008055BB5} Locomotor={4A582741-9839-11d1-B709-00A024DDAFD1} MovementZone=Destroyer ThreatPosed=40 ; This value MUST be 0 for all building addons DamageParticleSystems=SparkSys,SmallGreySSys DamageSmokeOffset=100, 100, 275 Weight=3.5 VeteranAbilities=STRONGER,FIREPOWER,SIGHT,FASTER EliteAbilities=SELF_HEAL,STRONGER,FIREPOWER,ROF Waffen: [Flamestormattack6] Damage=25 ROF=140 ;was 110 Range=17 MinimumRange=4 Projectile=Ballistic Speed=10 Warhead=Infernalgeschutz6 Report= ;INFERNALGrenade Anim=GUNFIRE Lobber=yes BurstDelay0=0 ;obsolete in ra2 BurstDelay1=24 ;obsolete in ra2 Burst=1 [Flamestormattack5] Damage=25 ROF=140 ;was 110 Range=17 MinimumRange=4 Projectile=Ballistic Speed=10 Warhead=Infernalgeschutz5 Report= ;INFERNALGrenade Anim=GUNFIRE Lobber=yes BurstDelay0=0 ;obsolete in ra2 BurstDelay1=24 ;obsolete in ra2 Burst=1 [Flamestormattack4] Damage=25 ROF=140 ;was 110 Range=17 MinimumRange=4 Projectile=Ballistic Speed=10 Warhead=Infernalgeschutz4 Report= ;INFERNALGrenade Anim=GUNFIRE Lobber=yes BurstDelay0=0 ;obsolete in ra2 BurstDelay1=24 ;obsolete in ra2 Burst=1 [Flamestormattack3] Damage=25 ROF=140 ;was 110 Range=17 MinimumRange=4 Projectile=Ballistic Speed=10 Warhead=Infernalgeschutz3 Report= ;INFERNALGrenade Anim=GUNFIRE Lobber=yes BurstDelay0=0 ;obsolete in ra2 BurstDelay1=24 ;obsolete in ra2 Burst=1 [Flamestormattack2] Damage=25 ROF=140 ;was 110 Range=17 MinimumRange=4 Projectile=Ballistic Speed=10 Warhead=Infernalgeschutz2 Report= ;INFERNALGrenade Anim=GUNFIRE Lobber=yes BurstDelay0=0 ;obsolete in ra2 BurstDelay1=24 ;obsolete in ra2 Burst=1 [Flamestormattack1] Damage=25 ROF=140 ;was 110 Range=17 MinimumRange=4 Projectile=Ballistic Speed=10 Warhead=Infernalgeschutz1 Report= ;INFERNALGrenade Anim=GUNFIRE Lobber=yes BurstDelay0=0 ;obsolete in ra2 BurstDelay1=24 ;obsolete in ra2 Burst=1 [Flamestormattack6E] Damage=25 ROF=140 ;was 110 Range=17 MinimumRange=4 Projectile=Ballistic Speed=10 Warhead=Infernalgeschutz6E Report=INFERNALGrenade Anim=GUNFIRE Lobber=yes BurstDelay0=0 ;obsolete in ra2 BurstDelay1=24 ;obsolete in ra2 Burst=1 [Flamestormattack5E] Damage=25 ROF=140 ;was 110 Range=17 MinimumRange=4 Projectile=Ballistic Speed=10 Warhead=Infernalgeschutz5E Report=INFERNALGrenade Anim=GUNFIRE Lobber=yes BurstDelay0=0 ;obsolete in ra2 BurstDelay1=24 ;obsolete in ra2 Burst=1 [Flamestormattack4E] Damage=25 ROF=140 ;was 110 Range=17 MinimumRange=4 Projectile=Ballistic Speed=10 Warhead=Infernalgeschutz4E Report=INFERNALGrenade Anim=GUNFIRE Lobber=yes BurstDelay0=0 ;obsolete in ra2 BurstDelay1=24 ;obsolete in ra2 Burst=1 [Flamestormattack3E] Damage=25 ROF=140 ;was 110 Range=17 MinimumRange=4 Projectile=Ballistic Speed=10 Warhead=Infernalgeschutz3E Report=INFERNALGrenade Anim=GUNFIRE Lobber=yes BurstDelay0=0 ;obsolete in ra2 BurstDelay1=24 ;obsolete in ra2 Burst=1 [Flamestormattack2E] Damage=25 ROF=140 ;was 110 Range=17 MinimumRange=4 Projectile=Ballistic Speed=10 Warhead=Infernalgeschutz2E Report=INFERNALGrenade Anim=GUNFIRE Lobber=yes BurstDelay0=0 ;obsolete in ra2 BurstDelay1=24 ;obsolete in ra2 Burst=1 [Flamestormattack1E] Damage=25 ROF=140 ;was 110 Range=17 MinimumRange=4 Projectile=Ballistic Speed=10 Warhead=Infernalgeschutz1E Report=INFERNALGrenade Anim=GUNFIRE Lobber=yes BurstDelay0=0 ;obsolete in ra2 BurstDelay1=24 ;obsolete in ra2 Burst=1
__________________
Denk wie du denken willst denn so beherschst du die Macht! |