flak88_new.tik animations not working
Moderator: Moderators
flak88_new.tik animations not working
I can't get these animations to work anybody know why ? I have them enabled in new_generic_human.tik
- ZeroSkaten
- Second Lieutenant
- Posts: 159
- Joined: Sun Jan 12, 2003 11:03 pm
- Location: Canada
- Contact:
sorry guy, I have no clue
i'm still new to this
Together we will leave no posts un awnsered!
BTW that me in the picture

Visit my site: http://www.planetmedalofhonor.com/hk/
As I say: A 3d model a day keeps the career consultant away.
BTW that me in the picture

Visit my site: http://www.planetmedalofhonor.com/hk/
As I say: A 3d model a day keeps the career consultant away.
- ZeroSkaten
- Second Lieutenant
- Posts: 159
- Joined: Sun Jan 12, 2003 11:03 pm
- Location: Canada
- Contact:
that would help me alot 
Together we will leave no posts un awnsered!
BTW that me in the picture

Visit my site: http://www.planetmedalofhonor.com/hk/
As I say: A 3d model a day keeps the career consultant away.
BTW that me in the picture

Visit my site: http://www.planetmedalofhonor.com/hk/
As I say: A 3d model a day keeps the career consultant away.
the file is models/human/animation/scripted/flak88_new.tik
the global/turret.scr has thisanimations
{
$path models/human/animation
//----------
//New flak88 animations
//----------
// Used in Team Assault
88_aimer_fire scripted/flak88/aimer_fire.skc
88_aimer_idle scripted/flak88/aimer_idle.skc
88_aimer_idle1 scripted/flak88/aimer_idle1.skc
88_aimer_load scripted/flak88/aimer_load.skc
88_aimer_turnleft scripted/flak88/aimer_turnleft.skc
88_aimer_turnright scripted/flak88/aimer_turnright.skc
88_loader_fire scripted/flak88/loader_fire.skc
88_loader_idle scripted/flak88/loader_idle.skc
88_loader_load scripted/flak88/loader_load.skc
88_loader_turnleft scripted/flak88/loader_turnleft.skc
88_loader_turnright scripted/flak88/loader_turnright.skc
}
as far as I know the tags don't exist but the script was suppose to spawn two ai mount them to the flak88 and do the spinning of the gun animations etc in the models/human/animation/scripted/flak88 directory you have animations like aimer_fire.skc . For an example in the model/human/animation/scripted/level_t1l3.tik you haveflak88_start local.type:
level waittill spawn
self setaimtarget $player
self turnspeed 6.666
// self waittill ontarget
if !(self.set)
self.set = -1
local.aimer = spawn human/german_wehrmact_soldier.tik
local.aimer.start = self gettagposition "tag_aimer"
local.aimer.angles = self gettagangles "tag_aimer"
local.aimer.origin = local.aimer.start
local.aimer exec global/disable_ai.scr
local.aimer.oldanim = 88_loader_turnleft
local.aimer thread animator 88_aimer_idle
local.aimer holster
// local.aimer lookat $player
.
.
.
.
.
animator local.anim:
if (local.anim == self.oldanim)
end
self.oldanim = local.anim
if (self.animator)
self.animator delete
self.animator = local
while (isalive self)
{
// println ("playing anim " + local.anim)
self anim local.anim
self waittill animdone
}
end
and if you do this in your script//===========================
// People in boat
//===========================
13A101_SlowRow 13A101_SlowRow.skc
{
client
{
6 sound row_boat_slow
}
}
your ai will do the row boat animation you have to do an animation for the boat too but you see what I mean . The animations for the flak88 don't seem to work when I try them tha same way//-------------------------------------------------------------------------
DoRower:
//-------------------------------------------------------------------------
self exec global/disable_ai.scr
self thread global/LoopAnim.Scr::LoopAnim 13A101_SlowRow
end
Try this in your script:
'$flak_guy' is the guy with the flak 
Code: Select all
while(isAlive $flak_guy)
{
$flak_guy anim 88_aimer_fire
$flak_guy waittill animdone
}

