Question:Why the animation is not working???

Ask questions, discuss ideas, get answers

Question:Why the animation is not working???

Postby Dennis|8749236 » Mon Nov 30, 2009 2:15 pm

I write a new weapon, is a smoke grenade, i share with grenade allies's animation, but it is not working, why?
What is the meaning of Life?? (Don't think about it!)
User avatar
Dennis|8749236
 
Posts: 239
Joined: Sun Nov 29, 2009 6:02 am
Location: Earth

Re: Question:Why the animation is not working???

Postby fo0k » Mon Nov 30, 2009 3:12 pm

Can you post your code here from your object (use the code tags when you post it)
maybe explain a little more about what's not working.. No object showing.. Game crash etc..
As much info as possible will help people help you.
User avatar
fo0k
 
Posts: 1411
Joined: Fri Oct 16, 2009 4:21 pm
Location: UK

Re: Question:Why the animation is not working???

Postby Dennis|8749236 » Mon Nov 30, 2009 9:57 pm

I can't find that code now, i just find the new one i made, it has same problem too!!!

SA-7 Secondary Anti Aircraft Missiles

rem ============================================================
rem ================== Secondary Anti Air Missiles ====================
rem ============================================================
rem ******************************************
rem - DesertCombat
rem - Version 0.9
rem - Revision 1
rem ******************************************
rem Created weapon - 10/22/03 - Tim B

** rem Visible SA-7 Projectile
ObjectTemplate.create SimpleObject DCX_SA-7Dummy
ObjectTemplate.geometry SA-7_Projectile

ObjectTemplate.create HandFireArms SA-7_AAMissiles
ObjectTemplate.itemIndex 6
ObjectTemplate.networkableInfo HandFireArmsInfo
ObjectTemplate.projectileTemplate StingerMissile
rem ObjectTemplate.projectileTemplate DCX_SA-7Projectile
ObjectTemplate.projectilePosition 0/0.1/4

rem *** added Dummy projectile
ObjectTemplate.visibleDummyProjectileTemplate SA-7Dummy
ObjectTemplate.addFireArmsPosition .01/-.017/.73 0/0/0

ObjectTemplate.ForceOnExplosion 2
ObjectTemplate.magSize 1
ObjectTemplate.numOfMag 5
ObjectTemplate.magType 0
ObjectTemplate.autoReload 1
ObjectTemplate.AutomaticReset 1
ObjectTemplate.reloadtime 3.5
ObjectTemplate.roundOfFire 1
ObjectTemplate.fireOnce 1
objectTemplate.aiTemplate SA-7aiAlt
ObjectTemplate.hasDynamicShadow 1
ObjectTemplate.zoomFov 0.5
ObjectTemplate.altFireOnce 1
ObjectTemplate.soldierZoomFov 0.6
ObjectTemplate.soldierZoomPosition -0.05/-0.02/0
ObjectTemplate.cantSelectWhenNoAmmo 1
ObjectTemplate.changeWeaponWhenNoAmmo 1
ObjectTemplate.AmmoType 3

rem *** added optic ***
ObjectTemplate.UseScope 1
rem ObjectTemplate.setScopeIcon "rpg_sight.tga"
rem *** Tan did this for the circle reticle ***
ObjectTemplate.setSightIcon "scout_ring_128x128.tga"
rem ObjectTemplate.setSightIcon "scope_blank.tga"
ObjectTemplate.setSniperSight 0

ObjectTemplate.loadSoundScript Sounds/SA-7.ssc
ObjectTemplate.GUIIndex 5
ObjectTemplate.setHudAmmoType ATIcon
ObjectTemplate.setAmmoIcon "Ammo/Icon_bazooka_64x32.tga"
rem *** Tan changed ***
rem ObjectTemplate.setCrossHairType CHTCrossHair
ObjectTemplate.setCrossHairType CHTNone

Rem *** Deviation Begin *****

ObjectTemplate.velocity 400
ObjectTemplate.minDeviation 0
ObjectTemplate.maxDeviation 0.5

ObjectTemplate.minDevStanding 0.2
ObjectTemplate.minDevCrouching 0.1
ObjectTemplate.minDevLying 0.05

ObjectTemplate.subDevStanding 0.03
ObjectTemplate.subDevCrouching 0.05
ObjectTemplate.subDevLying 0.025

ObjectTemplate.addDevWalk 0.01
ObjectTemplate.addDevRun 0.02
ObjectTemplate.addDevJump 0.05
ObjectTemplate.addDevYaw 0.02
ObjectTemplate.addDevPitch 0.02
ObjectTemplate.addDevStrafe 0.01

ObjectTemplate.addDevFire 0.08
ObjectTemplate.subDev 0.01

Rem *** Deviation End *****

ObjectTemplate.createSkeleton animations/SA-7.ske
ObjectTemplate.useSkeletonPartAsMain SA-7
ObjectTemplate.addTemplate SA-7SLod

ObjectTemplate.addTemplate e_rocketFumeBack
ObjectTemplate.setInputId -1
ObjectTemplate.startoneffects 0
ObjectTemplate.setPosition 0/0/0
ObjectTemplate.setRotation 0/0/0
ObjectTemplate.fireInCameraDof 1

rem ** Objects

ObjectTemplate.create SimpleObject SA-7STrigger1
ObjectTemplate.geometry RPG7Trigger1

ObjectTemplate.create SimpleObject SA-7STrigger2
ObjectTemplate.geometry RPG7Trigger2

ObjectTemplate.create SimpleObject SA-7SRocket
ObjectTemplate.geometry RPG7Rocket

ObjectTemplate.create SimpleObject SA-7SSimple
ObjectTemplate.geometry Shad_SA-7

rem *** added Dummy Object
ObjectTemplate.create SimpleObject SA-7SRocketDummy
ObjectTemplate.geometry SA-7Rocket

ObjectTemplate.create AnimatedBundle SA-7SComplex
ObjectTemplate.geometry SA-7
ObjectTemplate.hasDynamicShadow 1
ObjectTemplate.createSkeleton animations/SA-7.ske
ObjectTemplate.addTemplate SA-7STrigger1
ObjectTemplate.bindToSkeletonPart Trigger1
ObjectTemplate.addTemplate SA-7STrigger2
ObjectTemplate.bindToSkeletonPart Trigger2

ObjectTemplate.create LodObject SA-7SLod
ObjectTemplate.lodselector HandWeaponLodSelector
ObjectTemplate.addTemplate SA-7SComplex
ObjectTemplate.addTemplate SA-7SSimple
What is the meaning of Life?? (Don't think about it!)
User avatar
Dennis|8749236
 
Posts: 239
Joined: Sun Nov 29, 2009 6:02 am
Location: Earth

Re: Question:Why the animation is not working???

Postby LightSpeed/// » Mon Nov 30, 2009 10:55 pm

Copy the animations folder from the old sa-7 into the new sa-7's animations folder, that should solve the problem
AKA WhatThe
LightSpeed///
 
Posts: 44
Joined: Sun Oct 18, 2009 3:06 pm

Re: Question:Why the animation is not working???

Postby Dennis|8749236 » Tue Dec 01, 2009 4:24 am

thanks...
i'll try it...
What is the meaning of Life?? (Don't think about it!)
User avatar
Dennis|8749236
 
Posts: 239
Joined: Sun Nov 29, 2009 6:02 am
Location: Earth


Return to 1942 Modding Discussion

Who is online

Users browsing this forum: Baidu [Spider], Bing [Bot] and 20 guests

cron