Page 1 of 1

Player Flying and Music

Posted: Sat Nov 07, 2009 7:57 am
by Par3210
Hey, I wanted to know:
1) Could I make my character just fly on spawning? So when I spawn I'm levitating? And then I can fly around using jetpacks?
2) Could someone direct me to a tut on when a hero spawns it plays a music track?
Thanks.

Re: Player Flying and Music

Posted: Sat Nov 07, 2009 8:03 am
by DarthD.U.C.K.
1) do you mean spawning with jetpack enabled? i dont think thats possible
you can only give the unit sidious's idle ans walkanims but he will still be "walking" then

2)

Code: Select all

//SOUND
SndHeroSelectable           = ""
SndHeroSpawned              = "hero_dooku_spawn"
SndHeroDefeated             = "hero_dooku_exhausted"
SndHeroKiller               = "hero_dooku_exhausted"

VOSound = "cis_off_response_hero_command      SC_Follow"
VOSound = "cis_off_response_hero_command      SC_StopFollow"
VOSound = "cis_off_response_hero_command     SC_VehicleWaitUp"
VOSound = "cis_off_response_hero_command     SC_GetIn"
VOSound = "cis_off_response_hero_command      SC_GetOut"

VOSound = "hero_dooku_AcquiredTarget      AcquiredTarget"
VOSound = "hero_dooku_KillingSpree4      KillingSpree4"

VOUnitType                  = 195
SoldierMusic                = "cis_hero_Dooku_lp"
HurtSound                   = ""
DeathSound                  = ""
AcquiredTargetSound         = ""
HidingSound                 = ""
ApproachingTargetSound      = ""
FleeSound                   = ""
PreparingForDamageSound     = ""
HeardEnemySound             = ""
//ShockFadeOutTime          = "0.8"
//ShockFadeInTime           = "2.0"
ShockFadeOutGain        = ""
ShockSound              = ""
ClothingRustleSound     = ""
LowHealthSound          = ""
LowHealthThreshold      = "0.0"
FoleyFXClass            = "cis_inf_soldier"
id try using either the soldiermusic or the herospawned sound

Re: Player Flying and Music

Posted: Sat Nov 07, 2009 8:05 am
by Par3210
okay thank you
Can someone answer Question 2?

Re: Player Flying and Music

Posted: Sat Nov 07, 2009 8:07 am
by DarthD.U.C.K.
i already did :P

(i edited the post right before you posted)

Re: Player Flying and Music

Posted: Sat Nov 07, 2009 8:29 am
by Par3210
Ooops! Could I make my own track to put in instead of the stock ones?

Re: Player Flying and Music

Posted: Sat Nov 07, 2009 8:49 am
by DarthD.U.C.K.
shure, there are some tutorials explaining how to do that(munging new sounds)