Jump to content


Photo

Tesla Bomber Help...


  • Please log in to reply
12 replies to this topic

#1 BlitzKrieg

BlitzKrieg
  • Members
  • 55 posts
  • Projects:C&C Generals Destructive Hour; YR: Riot

Posted 17 February 2008 - 09:20 PM

Ok, Well I'm making a plane called the tesla bomber and I go to build it and it causes an Error, I'm not sure why but I do know it's not the weapon because I put the Weapon on the Harrier to test and It works fine, so Do you guyx think you could help me plz?


;Tesla Bomber
[TESLAB]
UIName=Name:TB
Name=Russian Tesla Bomber
Image=TB
Prerequisite=NAAIRPAD
Primary=TeslaBomb
ElitePrimary=TeslaBombE
CanPassiveAquire=no
CanRetaliate=no
Strength=150
Category=AirPower
Armor=light
TechLevel=3
Sight=20
RadarInvisible=no
Landable=yes
MoveToShroud=yes
Dock=NAAIRPAD,GAAIRC,AMRADR
PipScale=Ammo
Speed=14
PitchSpeed=1.1
PitchAngle=0
OmniFire=yes
Owner=Russians,Confederation,Africans,Arabs
RequiredHouses=Russians
Cost=1200
Points=20
ROT=3
Ammo=1
Crewed=yes
ConsideredAircraft=yes
AirportBound=yes
GuardRange=30
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
MaxDebris=3
IsSelectableCombatant=yes
VoiceSelect=IntruderSelect
VoiceMove=IntruderMove
VoiceAttack=IntruderAttackCommand
VoiceCrashing=IntruderVoiceDie
DieSound=
MoveSound=IntruderMoveLoop
CrashingSound=IntruderDie
ImpactLandSound=GenAircraftCrash
Locomotor={4A582746-9839-11d1-B709-00A024DDAFD1}
MovementZone=Fly
ThreatPosed=20
DamageParticleSystems=SparkSys,SmallGreySSys
AuxSound1=IntruderTakeOff
AuxSound2=IntruderLanding
VeteranAbilities=STRONGER,FIREPOWER,SIGHT,FASTER
EliteAbilities=STRONGER,FIREPOWER,ROF
Fighter=no
AllowedToStartInMultiplayer=no
ImmuneToPsionics=yes
PreventAttackMove=yes

;Soviet Airpad
[NAAIRPAD]
UIName=Name:AIRPAD
Name=Soviet Air Pad
Image=NAHELIPAD
BuildCat=Tech
Prerequisite=NAREFN,NACNST
Strength=600
Armor=steel
Adjacent=7
TechLevel=3
Sight=20
UnitReload=yes
Helipad=yes
Owner=British,French,Germans,Americans,Alliance,Russians,Confederation,Africans,
Arabs,YuriCountry,Gangstas
RequiredHouses=Russians
AIBasePlanningSide=0
Cost=1000
Points=70
Power=-50
Factory=AircraftType
Capturable=true
Crewed=yes
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
MaxDebris=4
ThreatPosed=0
DamageParticleSystems=SparkSys,SmallGreySSys,BigGreySmokeSys
DamageSmokeOffset=75, 270, 140
AIBuildThis=yes
NumberOfDocks=4
HasStupidGuardMode=false
Radar=yes
Spyable=yes
ImmuneToPsionics=no
SuperWeapon=SpyPlaneSpecial

#2 Rawlo

Rawlo

    Word Smith

  • Project Team
  • 1,616 posts
  • Location:australia
  •  as it turns out, was never actually a convict, go figure.

Posted 18 February 2008 - 08:25 AM

when does it crash? as you click the icon or as it's finished building?
The Least I Could Do - We all wished we were like this at one point
Ctrl+Alt+Del - A webcomic for the gamer in all of us
A final good night Burnie, sleep well mate, rest in peace
Goodbye Tig, you are sorely missed.
Goodbye to you aswell till, you'll also be missed

Xeno, RIP mate
"I'm going to go on the record and say that any substance abuse problem which creates women like that is ok by me"

#3 Nighthawk

Nighthawk

    Grumble Grumble.

  • Division Leaders
  • 2,947 posts
  • Location:Edinburgh
  • Projects:The Third War, Ares, misc side projects.
  •  Strategist and Modder
  • Division:C&C Guild
  • Job:Division Leader
  • Association

Posted 18 February 2008 - 06:00 PM

Perhaps posting your weapon coding would help. If you're using a Shrapnel weapon (which I'm guessing from the name of your weapon), then it needs to be defined on a dummy unit beforehand otherwise IEs result.
Posted Image
Posted Image
Job Openings with the Guild: Division Staff, News Posters.
Job Openings with Ares: Documentation Maintainer, Active Testers.

PM if interested.

#4 Allied General

Allied General

    C&C Guild

  • Hosted
  • 6,922 posts
  • Location:United Kingdom
  • Projects:AGSA
  •  Modder

Posted 18 February 2008 - 06:30 PM

but I do know it's not the weapon because I put the Weapon on the Harrier to test and It works fine


I would advise telling us when the bug occurs, i.e. when you click the build icon, after it units ready, etc
Posted Image

#5 Dupl3xxx

Dupl3xxx
  • Members
  • 38 posts
  •  The true leader of man kind

Posted 21 February 2008 - 03:28 AM

Isn't "Landable=yes" and "AirportBound=yes" self-denying?
And the weaponcode can cause a lot of problems. Dubble chek it/post is here.

#6 Nighthawk

Nighthawk

    Grumble Grumble.

  • Division Leaders
  • 2,947 posts
  • Location:Edinburgh
  • Projects:The Third War, Ares, misc side projects.
  •  Strategist and Modder
  • Division:C&C Guild
  • Job:Division Leader
  • Association

Posted 21 February 2008 - 04:35 PM

Landable=yes is needed to land at a dockable structure. Look at the Harrier's code. Landable means it's able to land altogether, but the AirportBound prevents it from landing on the ground.
Posted Image
Posted Image
Job Openings with the Guild: Division Staff, News Posters.
Job Openings with Ares: Documentation Maintainer, Active Testers.

PM if interested.

#7 BlitzKrieg

BlitzKrieg
  • Members
  • 55 posts
  • Projects:C&C Generals Destructive Hour; YR: Riot

Posted 21 February 2008 - 11:15 PM

Well, For one do you guys not listen!?
I know for a fact it's not the weapon because I used the weapon on the harrier for a test and it worked just fine no problems....
(which i stated above)

The problem is when the build timer is up it frezzes...

#8 Allied General

Allied General

    C&C Guild

  • Hosted
  • 6,922 posts
  • Location:United Kingdom
  • Projects:AGSA
  •  Modder

Posted 21 February 2008 - 11:22 PM

have you got a .hav file for TESLAB?

and what is your art code?

I do read unlike other posters, but if you don't post all code, people will say stupid things.

you might find it useful to italic or bold words to bring attention to things you have already tested.

You will know it if it is a art problem if you try Image=TESLAB on harrier

Edited by Allied General, 21 February 2008 - 11:23 PM.

Posted Image

#9 BlitzKrieg

BlitzKrieg
  • Members
  • 55 posts
  • Projects:C&C Generals Destructive Hour; YR: Riot

Posted 21 February 2008 - 11:30 PM

[TB] ; Tesla Bomber
Cameo=teslab2icon
AltCameo=teslab2uico
remapable=yes
voxel=yes


There the very simple art code...I didn't/Don't think it's a art problem because usually when it's art problem unit just doesn't appear...and yes i do have a hva...

#10 Allied General

Allied General

    C&C Guild

  • Hosted
  • 6,922 posts
  • Location:United Kingdom
  • Projects:AGSA
  •  Modder

Posted 21 February 2008 - 11:45 PM

TS/RA2/YR modding is case-sensitive

Voxel=yes

Remapable=yes

Art can cause several issues, even I.E. if it has sections

Also if you test

[TESLAB]Image=FALC you will know if its art problem or not

Edited by Allied General, 21 February 2008 - 11:46 PM.

Posted Image

#11 BlitzKrieg

BlitzKrieg
  • Members
  • 55 posts
  • Projects:C&C Generals Destructive Hour; YR: Riot

Posted 22 February 2008 - 12:13 AM

OMG, I feel so stupid, I don't see why I didn't catch that -.-' I Knew it jsut didn't notice -.-'
God, I do that a lot lol Know how to do something but do it wrong by mistake -.-'

-Thanks AG


-------
Errr...New problem, once they die theres an error....???
Errr..Well it only happens when you have more tesla bombers on hold to build when theres no docks left..

How do you prevent building more than 4 when you have 1 airpad, 8 when you have 2 airpads, etc...

Edited by BlitzKrieg, 22 February 2008 - 12:29 AM.


#12 wthigon

wthigon

    Sup

  • Members
  • 127 posts
  • Projects:wthr 1.0
  •  Weird Guy

Posted 22 February 2008 - 06:02 AM

How do you prevent building more than 4 when you have 1 airpad, 8 when you have 2 airpads, etc...



Add your bomber to this:

PadAircraft=ORCA,BEAG ;gs these are the AirportBound aircraft
Posted Image
Posted Image

#13 BlitzKrieg

BlitzKrieg
  • Members
  • 55 posts
  • Projects:C&C Generals Destructive Hour; YR: Riot

Posted 22 February 2008 - 05:47 PM

kk, thanks




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users