Home   Help Search Login Register  

Author Topic: Action-menu based .rtm animation  (Read 497 times)

0 Members and 1 Guest are viewing this topic.

sanam

  • Guest
Action-menu based .rtm animation
« on: 08 Feb 2004, 02:05:21 »
OFPAnim is a breeze. A Pleasure.

BUT...

Put it in-game is , almost but not quite, NOT a breeze.
There is a lot of info out there on the right way to have a unit "animating" trough the new .rtm file, that's a fact; the point is I need my anim to be action-menu based.

-Hence I need some scripting lines to get  the action appearing on the menu,
-As it's a vehicle, it must only be when somebody's in "mycar"
-Then the right lines of code to get the action playing like it was an "usual" actionorplaymove event.
It's a special effect on the "mycar" model. The .rtm file is good & smooth... He may need some definitions either in the .CPP or in the .sqs files...
 I've tryed in the CPP to put lines lines compareable to the ones used to fire a cpp-based script, only putten the "MyRtm.rtm" instead  of "Myscript.sqs", and nope, that's not the way.
And yes, I now how to fire a script from .CPP files; I do have others.

I guess my query IS rather precise, and I hope somebody can come up with something. Precise.

OR with a sample of another guy that would have done it ?

Peacepunk out && waitin'...

Offline General Barron

  • Former Staff
  • ****
  • Semper Fi!
Re:Action-menu based .rtm animation
« Reply #1 on: 11 Feb 2004, 08:18:07 »
Hmm.... I don't understand your question. Do you have your animation config'ed properly and in a .pbo file? If so, all you need to do is type

unit playmove "animation name"

Not sure if this works the same with vehicles though, but that's how it works with men. To get it in a script would work the same as getting a default OFP animation in a script.
HANDSIGNALS COMMAND SYSTEM-- A realistic squad-control modification for OFP
kexp.org-- The best radio station in the world, right here at home! Listen to John Richards!

sanam

  • Guest
Re:Action-menu based .rtm animation
« Reply #2 on: 12 Feb 2004, 14:44:08 »
DSchulle, author of OFPAnim, told me on AEF-Kampagne.de forum that vehicles "car" cannot be annimated like vehicles "man"

It's a pain in the you see what i mean, but...

Allright, let's forget it
Tanx Barron
« Last Edit: 12 Feb 2004, 14:45:10 by PeacePunk »