Another noobish question for the gurus:
How do you go about having an AI-controlled battle in a cutscene? I've created two cratures, a monster and a guard, set one to _Hostile, the other to _Friendly, picked packages and AIs for them, dropped them next to each other in a cutscene, and....nothing. The dragon just sits there wagging his tail and the guard just stares at it. Tried putting them into the area instead of the CS, and they don't even tail-wag there.
I've got to be missing something...anyone done a big battle tutorial yet?
Thanks again,
Sev
AI battles in cutscenes?
Débuté par
Sevenar
, nov. 20 2009 06:29
#1
Posté 20 novembre 2009 - 06:29
#2
Posté 20 novembre 2009 - 07:01
Beerfish (our resident cutscene guru) will most likely be able to correct me if I'm wrong, but I'm pretty sure you're going to have to use existing animations, and choreograph the entire battle by yourself. Everything that happens in a cutscene is by your control, via the key and timeline controls. There is no scripting involved, except for possibly the script to run after the cutscene ends.
Modifié par Challseus, 20 novembre 2009 - 07:02 .
#3
Posté 20 novembre 2009 - 08:38
Really? I hope there is some way to use AI in cutscenes. That would make creating
cutscenes alot easiser than having to animate everything by hand.
Is there a way to get video out to file from a cutscene or scripted event?
cutscenes alot easiser than having to animate everything by hand.
Is there a way to get video out to file from a cutscene or scripted event?
#4
Posté 20 novembre 2009 - 09:17
Yeah, I'm thinking there has to be a better way than hand-rolling huge battle scenes. How did they do that first big battle cutscene in the single player game, then?
#5
Posté 20 novembre 2009 - 09:45
if there is no ai scrpting for this then it's a dead function imo. Can you imagine hand making the opeing battle scene at ostagar? Then again most of it was running shots. This toolset is quickly losing it's sparkle. It seems we must use the smoke and mirrors tricks of movies. Then again I don;t suppose we should be expecting to get the functionallity of the massively AI plugin woth a console game. Hopefully the wiki can tell us more.
Ambiviliant am I.
Ambiviliant am I.
#6
Posté 20 novembre 2009 - 02:42
It is as Challseus says as far as I know. You control everything in a cutscene. How did they do the battle in ostegar? A team of profession artistic creators who probably worked on it for a long time. I suppose one could go back to the old days of scripting each and every minute action like in the NWN's.
You can play bink files apparently so you could record your battle and stick that in part of the cutscene. You could also perhaps use a staged conversation. It's tough to make any recommendation without knowing exactly what the cutscene entails.
You can play bink files apparently so you could record your battle and stick that in part of the cutscene. You could also perhaps use a staged conversation. It's tough to make any recommendation without knowing exactly what the cutscene entails.
#7
Posté 20 novembre 2009 - 06:14
What I'd like to do is just drag and drop soldiers that would fight a bunch of monsters while I moved cameras in and around the battle. It looks like if I set up an area full of good guys and bad guys, they'll only fight if the regular game is running, but not a cutscene. So then I have no control over the camera, the UI gets in the way, etc.
So I'd need a mod that kills the entire GUI, makes the player-character invincible so he can't accidentally be killed while he's filming, and/or a detachable free-floating camera. Yikes.
Wasn't one of the "selling points" of the toolset the ability to make these massive battles?
So I'd need a mod that kills the entire GUI, makes the player-character invincible so he can't accidentally be killed while he's filming, and/or a detachable free-floating camera. Yikes.
Wasn't one of the "selling points" of the toolset the ability to make these massive battles?
#8
Posté 20 novembre 2009 - 08:19
The combat AI doesn't run during cutscenes, nor do scripts run. When a cutscene is running the game is in a special mode where everything is directly controlled by the cutscene. I imagine if the combat AI were to run it would cause no end of troubles because there are so many random factors that crop up in combat, and because there are so many things you can do in a cutscene that the combat AI would have no idea how to deal with.
The big massed battle sequence in the Prelude was indeed done by adding animations and attaching weapons to creatures, matching up combatants' actions with each other by hand. The shots with lots and lots of guys running around play a bit choppily in the game engine on most systems, so those were rendered frame-by-frame and turned into binks (the command-line options to get the game to render a cutscene this way are at http://social.biowar...utscene_capture).
I don't recall this being one of the official "selling points" of the toolset, but it is quite capable of it.
The big massed battle sequence in the Prelude was indeed done by adding animations and attaching weapons to creatures, matching up combatants' actions with each other by hand. The shots with lots and lots of guys running around play a bit choppily in the game engine on most systems, so those were rendered frame-by-frame and turned into binks (the command-line options to get the game to render a cutscene this way are at http://social.biowar...utscene_capture).
I don't recall this being one of the official "selling points" of the toolset, but it is quite capable of it.
Modifié par BryanDerksen, 20 novembre 2009 - 08:20 .
#9
Posté 21 novembre 2009 - 02:44
Also for long range viewing of mass battles BioWare has animations of soldiers fighting, or at least they did in my original inventory of animations or fx. With the camera zoomed out a distance you get your big battles.
As stated in my earlier post if you want to do what you are suggesting you will have to use the regular game to do he battles and do a screen capture and stick the movie in a cutscene.
As stated in my earlier post if you want to do what you are suggesting you will have to use the regular game to do he battles and do a screen capture and stick the movie in a cutscene.
#10
Posté 22 novembre 2009 - 10:57
But in the game we only have 3rd person view so the PC stand always in the scene when capture it. Or is there a way to get 1st person view or have a free camera. Maybe one can make an invisible PC.
Another rpoblem I'm facing is that I didn't get the console to work. I have a different keyboard layout (German) and maye that causes a problem. Is there any way to redefine the key that opens the console?
Another rpoblem I'm facing is that I didn't get the console to work. I have a different keyboard layout (German) and maye that causes a problem. Is there any way to redefine the key that opens the console?





Retour en haut







