Hi i have had lots of difficulty getting a zombie who is custom animated into fpsc it manages too show in the editor but when i test game
it says
runtime error 118-array does not exist or array subscript out of bounds at line 10181
This comes at the point of loading all assets of ai scripts.
i am asuming there is somthing wrong in the fpe file as all my files are in the correct place,
Here is the fpe file for the zombie
;header
desc = zombie
;ai
aiinit = appear1.fpi
aimain = people\cautious.fpi
aidestroy = destroy\fadecorpse.fpi
aishoot = people\cover.fpi
soundset = robotic
;spawn
spawnmax = 0
spawndelay = 0
spawnqty = 0
;orientation
model = zombie.X
offx = 0
offy = 0
offz = 0
rotx = 0
roty = 0
rotz = 0
scale = 80
fixnewy = 180
;cone of sight
coneheight = 53
coneangle = 50
;visualinfo
textured = zombie_D2.tga
effect = effectbank\bumpbone\bumpbone.fx
castshadow = 0
;decals
decalmax = 2
decal0 = red
decal1 = sparks
;identity details
strength = 100
ischaracter = 1
hasweapon = scifi\assaultrifle
isobjective = 0
cantakeweapon = 1
;bodypartslimbinfo (1=head/2=body/3+4=armslr/5+6=legslr)
limbmax = 0
;animationinfo
animmax = 100
anim0 = 1,23
anim1 = 24,54
anim2 = 55,120
anim3 = 121,176
anim4 = 177,232
anim5 = 233,245
anim6 = 246,303
anim7 = 304,376
anim11 = 377,426
anim12 = 427,476
anim13 = 477,505
anim14 = 506,230
i have edited the ai assualt fpe too get this
and these are the frames of animation for the zombie
1-23 attack1
24-54attack2
55-120 death front
121-176death back
177-232 death 2
233-245 idle1
246-303idle2
304-376 idle3
377-426 jump
427-476 jump2
477-505 walk forward
506-530 strafe left
help would be great
thanks