Posted: Tue Apr 20, 2010 1:07 am Post subject:
How do I make an invisible aircraft?
Since I cannot just use a dummy aircraft, which results in Corrupted HVA IE, so how could I do it? Can anyone make me an invisible aircraft if that is what is required? QUICK_EDIT
Well you could just make an aircraft code for the rules and art and just not use an image "vxl". _________________
The enemy shall be injected with toxic poison - Venom QUICK_EDIT
how would you have a corrupted HVA if you dont use one. just put Image=none. _________________
The enemy shall be injected with toxic poison - Venom QUICK_EDIT
add this to your Art entry. Trailer=DURASMOKE "dont have to be DURASMOKE, was just an example" _________________
The enemy shall be injected with toxic poison - Venom QUICK_EDIT
;Rulesmd.ini
[YR]
UIName=Name:SpyP
Name=Soviet Spy Plane
Immune=yes
Strength=600
Category=AirLift
Armor=light
TechLevel=-1
Primary=YRWeapon
Spawned=yes ; Created by another object and therefore not player controllable
LeadershipRating=10
Selectable=no
RadarInvisible=no
Sight=20
Landable=no
MoveToShroud=yes
PitchAngle=0 ; default is 20 degrees
Speed=10
Owner=British,French,Germans,Americans,Alliance,Russians,Confederation,Africans,Arabs,YuriCountry
Points=30
ROT=2
Crewed=yes
Ammo=100
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
MaxDebris=2
Locomotor={4A582746-9839-11d1-B709-00A024DDAFD1}
MovementZone=Fly
ThreatPosed=0 ; This value MUST be 0 for all building addons
ImmuneToPsionics=yes
CanPassiveAquire=no ; Won't try to pick up own targets
CanRetaliate=no; Won't fire back when hit
MoveSound=Dummy
DieSound=Dummy
CrashingSound=Dummy
ImpactLandSound=GenAircraftCrash
DeathWeapon=BlimpBomb
DeathWeaponDamageModifier=.1;gs needs a death weapon or it will do nothing when it crashes since its weapon is a camera
FlyBy=true
FlightLevel=1200
But when I put in Image=BEAG in rules it works, but with BEAG image... QUICK_EDIT
Do this, Take off the Image=none on the Art entry and put Image=YR on the Rules entry. That should do it. I see you already have Voxel=yes removed. But yeah this should do the trick. _________________
The enemy shall be injected with toxic poison - Venom QUICK_EDIT
you must have something screwed up somewhere else then, SuperWeapon perhaps? I even tried it on the ParadropSpecial and it worked just fine. So I dont know Man. _________________
The enemy shall be injected with toxic poison - Venom QUICK_EDIT
Do this for me and this will tell me if the problem lies somewhere else. Rename the [YR] to [ORCA2] put ORCA2 in the AircraftTypes, leave the art entry i had you paste in the same, then try it again
dont forget to change the AircraftType in the SuperWeapon as well _________________
The enemy shall be injected with toxic poison - Venom QUICK_EDIT
You could just open a small voxel (a small one like the cannon ball is easiest), delete everything in it, and use it and its original HVA as the image. QUICK_EDIT
Hmmm, this is disturbing. There's no reason why this shouldnt work unless NPatch dosent allow you to have units without a vxl or shp present. Thats the only other thing I can think of.
Try putting the Image=ORCA2 on a normal buildable aircraft and see if it does the same thing _________________
The enemy shall be injected with toxic poison - Venom QUICK_EDIT
Joined: 01 Feb 2007 Location: Las Vegas, Nevada, USA
Posted: Tue Apr 20, 2010 7:48 am Post subject:
Not to make a useless post, but i just wanted to point out something that i found interesting. Most people haves a hard time getting their units to eapr, yet he is having a hard time making them not show xD QUICK_EDIT
Did you try another weapon?
For the rest,I don't have a rulesmd.ini file,so I can't check how much you've changed things from another plane used as base. QUICK_EDIT
if you use image=XXX on an art entry and have no [XXX]... how do you believe this can work?
He dosent have Image= on the Art.ini entry anymore. But yeah it should be as simple as making a Rules and Art entry without the vxl/shp image. Which leads me to an earlier reply of, The problem must be somewhere else, on either the SuperWeapon itself or just the normal weapon he has applied to it. _________________
The enemy shall be injected with toxic poison - Venom QUICK_EDIT
I can't believe how people mod these days. Is it so hard to solve a problem going analytic step by step?
1. Test if the coding works at all by giving it a visible working aircraft
if no go to 1.1
if yes go to 2.1
1.1 Test the weapon and spawning codes
2.2 Change the image back to the custom invisible trailer art and remove one key after the other which makes this aircraft different from any other normal aircraft.
Find the key that causes the problems and find a workaround or fix the problem.
And finally you can still simply open Voxel Section Editor and create an empty 10x10x10 voxel with a corresponding hva, which would surely solve the problem in 99 of 100 cases.
In addition, why do you think a rules.ini key for projectiles should work in art.ini on a aircrafttype?
here add this to your rules and art and if this dosent produce an invisible image with just the durasmoke trailer then you have some issues that are beyond me.
[PTPLANE2] ; Paradrop Plane 2
;Cameo=ptpicon
;Voxel=yes
PrimaryFireFLH=0,32,0
DisableVoxelCache=yes
DisableShadowCache=yes
Trailer=DURASMOKE _________________
The enemy shall be injected with toxic poison - Venom Last edited by Cranium on Thu Apr 22, 2010 12:36 am; edited 4 times in total QUICK_EDIT
I had you do it that way for a reason, so now that we know you can produce a invisible unit all you have to do is work with it. Start by removing all the jumpjet tags, switch the loco from jumpjet to fly, change prerequisite to RADAR and list it as an aircraft. Dont change anything else just yet. _________________
The enemy shall be injected with toxic poison - Venom QUICK_EDIT
Im sorry to say that the game has killed itself yet again... and I have placed PadAircraft with PTPLANE2, and when I build it, it crashes... The IEP did not change either. QUICK_EDIT
Well the only other thing I can offer is to have you put this vxl and hva into your directory and see if it makes a difference. Dont forget to change the Art entry back to Voxel=yes. It's just a 1 dot vxl, had to do it that way because HVA Builder dosent allow empty voxels and will not produce an hva file without atleast 1 vxl dot.
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