Home   Help Search Login Register  

Author Topic: playmovie?  (Read 2740 times)

0 Members and 1 Guest are viewing this topic.

Offline loki72

  • Former Staff
  • ****
    • Loki's Nightmare
playmovie?
« on: 11 May 2008, 07:18:55 »
i don't think it does... but... does arma recognize any video formats like it does the .ogg sound files?

thx

Offline Mandoble

  • Former Staff
  • ****
    • Grunt ONE and MandoMissile suite
Re: playmovie?
« Reply #1 on: 11 May 2008, 09:33:17 »
Dont think so.

Offline loki72

  • Former Staff
  • ****
    • Loki's Nightmare
Re: playmovie?
« Reply #2 on: 11 May 2008, 09:37:46 »
what a bummer... how does one show the same one time intro to JiP players on the dynamic battlefield?

edit:

with the mission i'm working on.. (in the beta testing area).. when the intro guys get killed.. all JiP only see the intro camera area and the custom sounds aren't right... there's no one there...
i have seen that the camera is for the live dynamic battlefield. is there a way to 'save' an intro that 'was' seen and not show the live battlefield to JiP's?
« Last Edit: 11 May 2008, 09:50:32 by loki72 »

Offline Mandoble

  • Former Staff
  • ****
    • Grunt ONE and MandoMissile suite
Re: playmovie?
« Reply #3 on: 11 May 2008, 09:40:41 »
You need to execute your "intro" from init.sqf.

Code: [Select]
// init.sqf
[]spawn
{
   waitUntil {local player};
   []execVM"your_intro_code.sqf";
};

EDIT:
Not sure what initro are you thinking about, but what you have there is, in fact, the current state of the battlefield. You may always setup an intro far away of the action, so it would be the same played at any time during the game.
« Last Edit: 11 May 2008, 09:55:58 by Mandoble »

Offline loki72

  • Former Staff
  • ****
    • Loki's Nightmare
Re: playmovie?
« Reply #4 on: 11 May 2008, 10:08:06 »
i have a map:



these guys are the intro guys that shoot each other at the start...



so.. after the initial battle all JiP's don't see the intro guys... they are dead..

Offline Mandoble

  • Former Staff
  • ****
    • Grunt ONE and MandoMissile suite
Re: playmovie?
« Reply #5 on: 11 May 2008, 10:17:05 »
You may try to recreate that scene somewhere else away of your battle field. Your intro script should create the units, camera, etc, and once finished remove the dead bodies. But it might be a mess, lets say player A joins now and player B joins 5 seconds later. Both scripts running from init.sqf would create different units, so these players would see twice the number of units. I think you should think on a different solution for JIPs, for example, no intro for them.

Offline loki72

  • Former Staff
  • ****
    • Loki's Nightmare
Re: playmovie?
« Reply #6 on: 11 May 2008, 10:21:44 »
lol... thought about each of those... and i'm at the same conclusion...
makes intros very limited in their potential. >:(

« Last Edit: 11 May 2008, 10:29:02 by loki72 »

Offline Mandoble

  • Former Staff
  • ****
    • Grunt ONE and MandoMissile suite
Re: playmovie?
« Reply #7 on: 11 May 2008, 10:24:59 »
You can always do something general for any player, for example a fly-by camera from its position to the other side of the battle field. That would be short, easy and "good-looking".

Offline loki72

  • Former Staff
  • ****
    • Loki's Nightmare
Re: playmovie?
« Reply #8 on: 11 May 2008, 10:29:57 »
agreed... it seems that i went too far in my expectations.

Offline Mandoble

  • Former Staff
  • ****
    • Grunt ONE and MandoMissile suite
Re: playmovie?
« Reply #9 on: 11 May 2008, 10:31:47 »
Check the intro here, it is quite well suited for MP games.

Offline loki72

  • Former Staff
  • ****
    • Loki's Nightmare
Re: playmovie?
« Reply #10 on: 11 May 2008, 11:00:16 »
i received this answer in the BI forums..

"No.
The only way is to either script your own compression codec, or to display frame by frame in .paa."

i've seen the frame by frame.. very bulky...
do you know what this means and if so.. how it would be done?

"script your own compression codec"

« Last Edit: 11 May 2008, 11:10:47 by loki72 »

Offline Mandoble

  • Former Staff
  • ****
    • Grunt ONE and MandoMissile suite
Re: playmovie?
« Reply #11 on: 11 May 2008, 11:22:03 »
I would say thas is a joke, in fact, I would say both replies are plain jokes or plain absurd replies of someone that has no idea at all about Arma scripting/resources.

Offline loki72

  • Former Staff
  • ****
    • Loki's Nightmare
Re: playmovie?
« Reply #12 on: 11 May 2008, 11:42:31 »
i figure the first is breaking the game engines limits.. but in the Stargate mod.. when one enters the gate.. it shows an animation of the wormhole from the movie.. problem is.. its 70 jpg's that total 3.34 MB..

http://forum.armedassault.info/index.php?showtopic=1295&pid=30018&st=0&




« Last Edit: 11 May 2008, 11:47:44 by loki72 »

Offline Mandoble

  • Former Staff
  • ****
    • Grunt ONE and MandoMissile suite
Re: playmovie?
« Reply #13 on: 11 May 2008, 11:49:26 »
For your case you would need to capture a lot of frames for your initial intro where some units shoots to others, I mean A LOT and with a good resolution. The end result would be something like a 10 secs intro with no less than 200 images for an average frame rate of 20 per sec (which is already low).

EDIT:
I would add also that with current control commands you will not even reach 20 fps chaging the image of a control in a loop.
« Last Edit: 11 May 2008, 11:52:37 by Mandoble »

Offline loki72

  • Former Staff
  • ****
    • Loki's Nightmare
Re: playmovie?
« Reply #14 on: 11 May 2008, 11:59:08 »
 which brings us back to...

"short, easy and "good-looking". :yes: 

this is pure speculation... however.. i would think that if one had a grasp of the core formation of the games code.. one could..ummm.. like a hacker... add a set of understandable variables to the system in order to execute them... ??? i.e. recognize this file and format.

edit:
this was an idea on the BIS forums.. is this workable?

"Recreate the battle everytime a player connects, on a different position on the map.
You spawn the units, make them do the same things.
Once it's done, you setPos the bodies to [0,0,0] and start all over at each connection."
« Last Edit: 11 May 2008, 12:43:11 by loki72 »