IRONFRONT FANS FORUM
Sign up Latest Topics
 
 
 


Reply
  Author   Comment  
ikmn

Private
Registered:
Posts: 20
Reply with quote  #1 
Anyone have a clue how to animate barrels on Pak-40?  I am trying to place a few static Pak-40s to use as player targets in a mission I am making.  I would like to raise the barrels to the full elevated position for aesthetic reasons.  I am clueless how to do this.

cheers

k

0
BRS

Captain
Registered:
Posts: 197
Reply with quote  #2 
Hi ikmn.
May be it could be done easier but here a way which is working well for me:
Place into your static pak ini line the following:
this doTarget objNull; this doWatch objNull; this disableAI "AUTOTARGET"; this disableAI "TARGET"; this DoWatch [(position this) select 0, (position this) select 2, 5000 ];

Play around with the last value. i.e. use 1000, 2000, 3000, 4000 too.
0
ikmn

Private
Registered:
Posts: 20
Reply with quote  #3 
Thanks I'll give it a try - I'm not at home yet but this looks like what I am looking for so can't wait to get to try this out.  Thanks a ton.

k
0
ikmn

Private
Registered:
Posts: 20
Reply with quote  #4 
Ok it works with a Pak-40 I spawn in the editor, however I am trying to spawn a Pak-40 with a script and lol... I'm having a brain fart atm and can't seem to figure out how to spawn a Pak-40 with a crew lol.  Anyone know the group name to use BIS_FNC_spawngroup for a Pak-40 with crew or do I have to spawn an empty one and spawn crew and then getin -Pak40???  Seems like a lot of work - lol

k

0
ikmn

Private
Registered:
Posts: 20
Reply with quote  #5 
Yeah had to make a gunner and put him in static gun and it works scripted - thanks a ton.

k

0
Previous Topic | Next Topic
Print
Reply

Quick Navigation:

Easily create a Forum Website with Website Toolbox.