Joined: 02 Aug 2009 Location: A red zone, helping the Scrin. Posts:100000000
Posted: Sat Sep 12, 2009 10:00 am Post subject:
small bug with spawned missile
Subject description: *solved*
I made a new spawned missile using a tutorial. But its stays in the air forever!
The code:
Code:
[MMISS]
UIName=Name:MMISS
Name=TomaHawk Missile
Primary=SpMGroundHit ;Dummy weapon
Secondary=SpMCollision ;Actual Damaging Weapon
DeathWeapon=SpMCollision ;Actual Damaging Weapon
Strength=75 ;More strength than V3, high tech
Category=AirPower
Armor=special_2 ;As it is spawned missile now
Spawned=yes
MissileSpawn=yes ;Dont know much abt this tag, but it may coz the
;TMISS disapeared in the air when destroyed
TechLevel=-1
Sight=1 ;2
RadarInvisible=no
Landable=no ;yes ;Need this to do suicide
MoveToShroud=yes
Speed=18 ;Faster than V3, High Tech
PitchSpeed=.9
PitchAngle=0
Owner=British,French,Germans,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 ;No crash sound
ImpactLandSound= ;GenAircraftCrash ;No crash sound
Locomotor={4A582746-9839-11d1-B709-00A024DDAFD1} ;Hornet Locomotor
;Locomotor={B7B49766-E576-11d3-9BD9-00104B972FE8} ;V3 Locomotor ;Abandoned
;Actually when u give it V3 locomotor, it gets V3 property
;But when it launched it hits u back !
MovementZone=Fly
MovementRestrictedTo=Water
ThreatPosed=10
DamageParticleSystems=SparkSys,SmallGreySSys
AuxSound1=V3Attack ;Taking off
ImmuneToPsionics=yes
NoShadow=yes
Selectable=no
Trainable=no
DontScore=yes
OpportunityFire=yes
ConsideredAircraft=yes
PreventAttackMove=yes
IsSelectableCombatant=no
CanPassiveAquire=no
CanRetaliate=no
Dock=NONE ;Cant have no dock, but its AirportBounded, thats why it suicide
AirportBound=yes
Oh btw, how do i make the trail appear behind the rocket, instead of in the middle of it? And also, how's my voxel? I made it myself using a self-made 3d model.
Pic:
_________________
Tutorials rock! Last edited by suraj_geddam98 on Sun Sep 13, 2009 4:37 am; edited 1 time in total QUICK_EDIT
Missile that belongs in the art(md).ini. try this for smoke trail. rename it to your missile.
[DRAGON]
Trailer=SMOKEY2
UseLineTrail=yes ; SJM
LineTrailColor=216,216,255 ; SJM
LineTrailColorDecrement=16 ; SJM
Rotates=yes _________________ I am authorized to send out the TMP Studio, PM ME IF YOU WANT IT And check this out, these were sent to me for help with terrain and zdata help along with TMP Studio/Builder
Also Known As: evanb90 Joined: 20 Feb 2005 Location: o kawaii koto
Posted: Sat Sep 12, 2009 3:38 pm Post subject:
Mig Eater wrote:
Add Suicide=yes to [SpMGroundHit]
AFAIK the game doesn't like aircraft with Suicide=yes weapon. _________________ YR modder/artist, DOOM mapper, aka evanb90
Project Lead Developer, New-Star Strike (2014-)
Former Project Lead DeveloperStar Strike (2005-2012), Z-Mod (2006-2007), RA1.5 (2008-2013), The Cold War (2006-2007) QUICK_EDIT
Joined: 02 Aug 2009 Location: A red zone, helping the Scrin. Posts:100000000
Posted: Sat Sep 12, 2009 5:55 pm Post subject:
Code:
[MMJUMP]
Image=MJUMP ;Use same voxel as MMISS
AA=yes
AG=yes
AN=no
Arm=2
ROT=8 ;requires to use Rotates
Shadow=yes
Proximity=yes
Ranged=yes
FirersPalette=yes
added Suicide=yes, didn't do anything.
I used a similar tutorial that uses the no-dock crash method.
It seems like it refuses to fire the dummy weapon.
EDIT:Yay, changed the range on [SpMGroundHit] to 7 and it worked
How do i make the rocket trail to appear behind it instead of in the middle of it as shown in the pic? Also, how's my VXL? _________________
How do i make the rocket trail to appear behind it instead of in the middle of it as shown in the pic? Also, how's my VXL?
Afaik do you can't move the point where the anim spawns. Thus you simply have to move the missile a bit forward so the end of the missile is at the rotation centre. (should be a fast hva-builder job by moving the missile a bit forward) _________________ SHP Artist of Twisted Insurrection: Nod buildings
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