Posted: Wed Dec 19, 2007 9:04 pm Post subject:
Bike dbris of dead body not working
Subject description: it sounds nice but it might drive you mad like it did wit me
Ok i took out all the coding from Rulesmd and Artmd and if you read down trough it the main bits of coding i will explian along the way.
A quick breif of the problem is that the dbris of a dead body does not show up when the bike unit is destroyed!!
In warheads...
[DEADDROP]
Verses=100%,100%,100%,70%,50%,0%,0%,0%,0%,0%,0%
InfDeath=1
;AnimList=PIFFPIFF,PIFFPIFF
;ProneDamage=70%
In rulesmd...
;was Soviet Tesla Trooper now changed into nod attack bike
[SHK]
UIName=Name:SHK
Image=NODBIKEUNIT ;it is made from voxel
Name=Shock Trooper
Category=Recon
Primary=AKM ;AKM just for now anyway
;Secondary=AssaultBolt
Assaulter=no
Prerequisite=NAWEAP ;NAHAND
;CrushSound=InfantrySquish
Crushable=yes ;hey you see tanks crushing bikes in movies so why not!!!
Strength=210
Armor=Plate
TechLevel=3
Pip=white
Turret=no
IsTilter=yes
Sight=6
Speed=10
Owner=Russians,Confederation,Africans,Arabs
Cost=500
Soylent=250
Points=10
CrateGoodie=yes
IsSelectableCombatant=yes
VoiceSelect=
VoiceMove=
VoiceAttack=
VoiceFeedback=
VoiceSpecialAttack=
DieSound=
MoveSound=BIKST1,BIKST2,BIKST3,BIKTRAV1,BIKTRAV2,BIKTRAV3,BIKTRAV4,BIKTRAV5
StopSound=
Locomotor={4A582741-9839-11d1-B709-00A024DDAFD1}
PhysicalSize=1
;Explosion= ;TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60 ; took these off for a moment so that maybe i could see the body fly without them being in the way
MovementZone=Destroyer
ThreatPosed=20 ; This value MUST be 0 for all building addons
VeteranAbilities=STRONGER,FIREPOWER,ROF,SIGHT,FASTER
EliteAbilities=SELF_HEAL,STRONGER,FIREPOWER,ROF
ImmuneToVeins=yes
Size=3
AllowedToStartInMultiplayer=yes
ElitePrimary=AKM ;ElectricBoltE
;EliteSecondary=
;IFVMode=6
DamageParticleSystems=SparkSys,SmallGreySSys
Weight=.5
ZFudgeColumn=8
ZFudgeTunnel=13
AccelerationFactor=6
DeaccelerationFactor=5
Crusher=yes
DebrisAnim=NBIKERFLY ;now heres the big problem NBIKERFLY does not show up instead for some reasons DBRIS8SM and all those types probably default ones come up instead or none sometimes
;DebrisTypes=TIRE ;tryed tire too but got an ERROR the same kind of one that if their was a piece missing but other vehicle types wit tires as dbris do show up just not for this unit!!!
DebrisMaximums=1 ;theirs only one body
MinDebris=1 ;theirs only one body
MaxDebris=1 ;theirs only one body
DeathWeapon=Bikebomb ;ok i tryed to make a deathweapon that might show the body but it did not work!
In weapons section...
[Bikebomb];heres the deathweapon
Damage=30
ROF=80
Range=1
Projectile=InvisibleLow
Speed=35
Warhead=Bikbang
Report=
Suicide=yes
In warheads...
[Bikbang]
Verses=50%,50%,50%,50%,35%,25%,15%,10%,5%,100%,100%
AnimList=NBIKERFLY ;TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
;DebrisTypes=NBIKERFLY ;TIRE ;as you can see i tryed a few things all did not work
;DebrisMaximums=1
;MinDebris=1
;MaxDebris=2
CellSpread=1
PercentAtMax=.1
So overall where did i go wrong!!! i also attached the NBIKERFLY shp and the NBIKERDIE shp so maybe you could see if they work on your game if you want to try!
NBIKERFLY is not finished yet but still it should come up in the game so why doesnt it come up!!!!!
Im also going to post up my bike unit in Media Hut/ voxel but i dont think you really need it for this problem.
I'm pretty sure infantry cannot have DebrisAnim nor Type. Make the bike a unit and then you'll be able to do it. _________________ "Don't beg for things; Do it yourself or you'll never get anything." QUICK_EDIT
I'm pretty sure infantry cannot have DebrisAnim nor Type. Make the bike a unit and then you'll be able to do it.
first of all the unit is already under vehicle types, but ya i know how were you meant to know that
dont be offended i didnt mean it that way i mean i didnt say it at the start
but it still wont work for some reason!!!!! QUICK_EDIT
dead dudes aint a weapon you just need a debis type ,not a freaking weapon with a warhead.
Make sure that the its the only debis so it can't pick other debis randomly. Then it will work.
Remeber to add all debis to the debis section and THIS CODE
Code:
Explosion=NBIKERFLY
_________________ Link to a document to see what mods i have and/or working on or working with
Click QUICK_EDIT
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