Hi,
I have a car that i am using as character, this is it`s fpe:
;Header
desc = Car
;AI
aiinit = appear1.fpi
aimain = vehicles\carwaypoints.fpi
aidestroy = vehicles\carDestroy.fpi
nothrowscript = 1
;Spawn
spawnmax = 0
spawndelay = 0
spawnqty = 0
;orientation
model = humvee.x
offx = 0
offy = 0
offz = 0
rotx = 0
roty = 0
rotz = 0
scale = 100
fixnewy = 180
;cone of sight
coneheight = 0
coneangle = 0
;visualinfo
textured =
effect =
;decals
decalmax = 2
decal0 = smokey
decal1 = smokey
;identity details
strength = 100
speed = 300
ischaracter = 1
hasweapon =
isobjective = 0
cantakeweapon = 0
;bodypartslimbinfo (1=head/2=body/3+4=armslr/5+6=legslr)
limbmax = 0
;animationinfo
animmax = 100
;custom animations where 1 and 2 are the idle animation (wheels rotating) and 3 is the crash animation
;i think FPSC hard codes the animate=2 when entity follows waypoints because i tried in the main script
;animate=1 instead of animate=2, but it will always play the anim2 when entity is following waypoints
;that`s why i made anim2 equal as anim1, because from 0 to 60 is the default wheels rotating animation i made in 3dsmax
anim0 = 0,0
anim1 = 1,60
anim2 = 1,60
anim3 = 90,120
;default animations
anim4 = 280,299
anim5 = 300,318
anim6 = 319,355
anim7 = 160,189
anim8 = 330,355
anim11 = 0,19
anim12 = 20,39
anim13 = 493,522
anim14 = 40,59
anim15 = 60,79
anim16 = 523,552
anim17 = 120,139
anim18 = 140,159
anim20 = 80,99
anim21 = 100,119
anim31 = 356,380
anim32 = 381,405
anim33 = 381,405
anim34 = 381,405
anim35 = 381,405
anim36 = 406,442
anim40 = 443,462
anim41 = 463,492
anim50 = 553,572
anim51 = 573,597
anim52 = 598,622
anim53 = 623,642
anim54 = 643,662
anim55 = 663,681
anim56 = 682,731
anim57 = 160,189
anim61 = 0,19
anim62 = 20,39
anim63 = 882,911
anim64 = 40,59
anim65 = 60,79
anim66 = 912,941
anim67 = 120,139
anim68 = 140,159
anim70 = 80,99
anim71 = 100,119
anim81 = 732,756
anim82 = 757,781
anim83 = 757,781
anim84 = 757,781
anim85 = 757,781
anim86 = 782,831
anim90 = 832,851
anim91 = 852,881
And it`s main script is this (based on 'people\follow.fpi':
;Artificial Intelligence Script
;Header
desc = Follow Waypoints
;Triggers
:state=0:loopsound=audiobank\vehicles\humvee\humvee.wav
:waypointstate=0:animate=2,waypointstart
:waypointstate=3:animate=2,waypointnext
:waypointstate=4:animate=2,waypointrandom
:waypointstate=5:animate=2,waypointreverse
;End of Script
It`s working almost perfect because the car follows waypoints, and it`s wheels are animated (anim2 wich is the default waypoint idle animation), the problem are these 2:
1) The entity speed is set 800, but i noted that each time that i increase the entity speed, this makes the weapon animation (player) play very fast. It doesn`t changes the player speed, but changes the weapon speed, and it is very bad in game
2) When the car gets close to player i hear footsteps! I find this VERY strange, because this entity doesn`t even have a soundset! I don`t understand
Can please someone help me?
Thanks.