Home   Help Search Login Register  

Author Topic: Just hold them dammit !!! (easy)  (Read 585 times)

0 Members and 1 Guest are viewing this topic.

BrAinOfJ

  • Guest
Just hold them dammit !!! (easy)
« on: 01 Aug 2004, 11:23:33 »
Im making an intro, in which a guy walks up to a point, then all he has to do is get out some binoculars, and look through them for 2 or 3 seconds, just long enough for the viewer to get the idea that he's looking through binoculars....

after that it will cut to a CutRsc view and the viewers will see what he's looking at, this bit ive got downpat, but getting the stuupid guy to hold the binoculars is proving harder than it should be, ive tryed all the switchmove commands i could find, and ive even tryed dofire after selcting them, but all he does is bring them to his eyes, then resets...

How do i make him hold them, and look through them ?

DBR_ONIX

  • Guest
Re:Just hold them dammit !!! (easy)
« Reply #1 on: 01 Aug 2004, 13:00:22 »
You can do it in a script
First bit, playmove the combattobinoc or something
Then look a switchmove of the same anim with a delay of about 1 second

That should work..
Maybe if you use
unit selectweapon binoculars

That would be an easier way.. But I think they swithback to quicly
The first way shoud be fine tho
- Ben

BrAinOfJ

  • Guest
Re:Just hold them dammit !!! (easy)
« Reply #2 on: 01 Aug 2004, 14:25:26 »
Im using this script i found after doing a search through the FAQ, ive modified it for my situation, by changing only the guys name to cp1 (civilianpoliceone, gotta love the logic)

binocs = false

#loop
cp1 playmove "CombatToBinoc"
~0.01

?(!binocs): goto "loop"

exit

Still not doing anything... thinking about putting soviet guy next to him just to see him blown away and perhaps grap a little satisfaction.... :P

DBR_ONIX

  • Guest
Re:Just hold them dammit !!! (easy)
« Reply #3 on: 01 Aug 2004, 20:17:59 »
Or camcreate a laserguidedbomb next to the git :P
Anyway, either way is good...
:p
I think da problem is that your using playmove.. Use switchmove
And increase the delay a tiny bit..
The playmove will only show the first 100th of a sec of the bincoc thing.. Not enough for him to take out the binoculars..
Swithmove will instantly take out them

- ben

Jasper

  • Guest
Re:Just hold them dammit !!! (easy)
« Reply #4 on: 02 Aug 2004, 10:45:07 »
You could edit the scene so that as he brings them to his face it goes to binocular view so you dont see him putting them away? ;)

Offline Blanco

  • Former Staff
  • ****
Re:Just hold them dammit !!! (easy)
« Reply #5 on: 02 Aug 2004, 18:22:16 »
...
Code: [Select]
unitname selectweapon "binocular"
...should work.

Search or search or search before you ask.

BrAinOfJ

  • Guest
Re:Just hold them dammit !!! (easy)
« Reply #6 on: 03 Aug 2004, 11:45:38 »
Just for closure, ive had to change the timing so it works...

I tryed everything you guys mentioned, but nothing gave the desired result, in the end i went back to what i originally did, and what blanco mentioned in the end, and i took jaspers advise, by cutting only 1 second earlier, you wont see him take them down.

Thanks heaps for the input guys.