PDA

View Full Version : Cutscene Creation Kit


robowurmz
27 Aug 2006, 13:21
I was thinking about the cutscenes in W4 and I was wondering if any of the staff would release it to us fans...Worms, THE MOVIE....uuh....CUTSCENE!
I ams ans insane twerpson

vmanc
27 Aug 2006, 14:08
Why don't you just buy The Movies?

robowurmz
27 Aug 2006, 14:18
Why don't you just buy The Movies?

They. Don't. Have. Worms.

vmanc
27 Aug 2006, 14:25
Tru.dat

Damn short message. How do you do the really light text?

Akuryou13
27 Aug 2006, 15:09
release what, exactly? Maya? that's a bit complex and expensive to hand out to people who don't know what they're doing.

robowurmz
27 Aug 2006, 16:50
release what, exactly? Maya? that's a bit complex and expensive to hand out to people who don't know what they're doing.

You know, the program that they made the cutscenes and outtakes with. Outtakes on the W4:M website by the way.
White text: you type " text "
but leave out any spaces.

_Kilburn
27 Aug 2006, 17:01
Do you really want to know which application they use to make the movies?

...

Notepad. :D

>> data\scripts\OuttakeXXX.lua
>> data\databanks\OuttakeXXX.xml

AndrewTaylor
27 Aug 2006, 17:03
You know, the program that they made the cutscenes and outtakes with.
It's pretty unlikely, though, they spent years making a fully-fledged cutscene creation package when they could have spent weeks making some cutscenes in whatever they had -- Maya, probably.

Plasma
27 Aug 2006, 17:07
White text: you type " text "
but leave out any spaces.
Um... no.
[bright ]text, text and more text[/bright ]
Witout spaces before the ]

_Kilburn
27 Aug 2006, 17:23
No, you can really create movies with Notepad, i'm not kidding.
But it's very hard, you must edit .xml databanks and set the camera positions, movements, the worms, etc... :-/

Alien King
27 Aug 2006, 18:43
No, you can really create movies with Notepad, i'm not kidding.
But it's very hard, you must edit .xml databanks and set the camera positions, movements, the worms, etc... :-/

It also includes a lot more trial and error than normal. And it depends on how the game works.

_Kilburn
27 Aug 2006, 19:51
If i can understand how it works, maybe I can make a Worms movie maker in my W4 Tweaker project. :)

(but I don't think so...)

robowurmz
28 Aug 2006, 07:23
Um... no.
[bright ]text, text and more text[/bright ]
Witout spaces before the ]

That's what i meant.

Alien King
28 Aug 2006, 11:20
Is he talking about the movies in W4, or the cutscenes at the start and end of missions?

bonz
28 Aug 2006, 12:19
Where is K^2 when you need him?

Blender is an open source tool btw.

_Kilburn
28 Aug 2006, 13:13
Is he talking about the movies in W4, or the cutscenes at the start and end of missions?

He is talking about the cutscenes at the start and end of the missions.

Akuryou13
28 Aug 2006, 13:50
You know, the program that they made the cutscenes and outtakes with. Outtakes on the W4:M website by the way.who's to say it wasn't Maya, and even if it wasn't, then the animations would either require maya and/or a HUGE download of completely copywritten animations. even if it's possible, they wouldn't release something like that for public use.

_Kilburn
28 Aug 2006, 16:24
Hmm, it's doesn't seem to be that hard. I looked at the scripts of the outtake, where you see a worm taunting another in the graveyard. Everything is in scripts\databanks, you can make a worm look at another worm, taunt, or laugh at him, etc... No too complicated.

But on earth, where is defined the worm position??? :eek:

<WormDataContainer id='kWORM0-0'>
...
<Position x='0' y='0' z='0' />
</WormDataContainer>


The position is always x=0 y=0 z=0 for all worms. I found nothing in the .lua script. :(

Pieboy337
28 Aug 2006, 22:19
not too complicated?? curing cancer looks more simple

Alien King
29 Aug 2006, 12:23
who's to say it wasn't Maya, and even if it wasn't, then the animations would either require maya and/or a HUGE download of completely copywritten animations. even if it's possible, they wouldn't release something like that for public use.

If it's the cutscenes between missions, then Maya wouldn't be used. It would just be a script file using the level file.

Akuryou13
29 Aug 2006, 15:03
If it's the cutscenes between missions, then Maya wouldn't be used. It would just be a script file using the level file.ah alright then. I was kinda taking pot shots at what it might be there :p

_Kilburn
30 Aug 2006, 03:19
It would just be a script file using the level file.

That's exactly what I said.... :rolleyes:

Alien King
30 Aug 2006, 15:34
That's exactly what I said.... :rolleyes:

I was saying it to Akuryou. I know you know and I know what you said.

robowurmz
7 Oct 2007, 17:02
Do you really want to know which application they use to make the movies?

...

Notepad. :D

>> data\scripts\OuttakeXXX.lua
>> data\databanks\OuttakeXXX.xml

Really sorry to necro here, but...OuttakeXXX.lua?

Therefore, is it possible to do Lua Scripting in Worms 4? A La Garry's Mod? This could really change the way tweaking works, if we could find a way to make the weapons using it...maybe somebody could find a way to implement new Lua commands into W4.

_Kilburn
7 Oct 2007, 19:41
Well, yes, you can do scripted missions, gamemodes and scenes, but it's not easy to do since it lacks a documentation. And you can't really do interesting things, since nobody has found how to manipulate XOM vectors using Lua yet.


Nothing to do with Garry's Mod, sorry. :(

robowurmz
7 Oct 2007, 20:11
Hmm...gamemodes could be an interesting challenge to take up...

"Capture the Crate" seems like a good idea...

Maybe we could try to figure out a way of editing XOM's with Lua.;)
EDIT: Upon looking at the Survivor Gamemode's Lua script, it doesn't look too hard to understand...


function Initialise()

-- remove WormSelect from scheme
lock, scheme = EditContainer("GM.SchemeData")
scheme.SelectWorm.Crate = 0
scheme.SelectWorm.Ammo = 0
scheme.Surrender.Crate = 0
scheme.Surrender.Ammo = 0
CloseContainer(lock)

lib_SetupMultiplayer()

g_DeadWorms = {0,0,0,0}
-- disable all but the 1st worm on each team
local WormIndex
local WormsOnTeam = {0,0,0,0}
for WormIndex=0,15 do
local WormContainerName = lib_GetWormContainerName(WormIndex)
local lock, worm = EditContainer(WormContainerName)
if WormsOnTeam[worm.TeamIndex+1] > 0 then
worm.Active = false
end
CloseContainer(lock)
WormsOnTeam[worm.TeamIndex+1] = WormsOnTeam[worm.TeamIndex+1]+1
end


SendMessage("WormManager.Reinitialise")
lib_SetupMinesAndOildrums() -- do this after worms are set up to get correct worm collision

StartFirstTurn()

end

function TurnStarted()
UpdateCounter()
end

function UpdateCounter()
local GM = QueryContainer("GM.GameInitData")
local NumOfWorms = { GM.T1_NumOfWorms, GM.T2_NumOfWorms, GM.T3_NumOfWorms, GM.T4_NumOfWorms }
local Data = { "HUD.Counter.Team00", "HUD.Counter.Team01", "HUD.Counter.Team02", "HUD.Counter.Team03" }
for team = 0,3 do
if NumOfWorms[team+1]>0 then
SetData(Data[team+1], NumOfWorms[team+1]-g_DeadWorms[team+1])
end
end
end

function Worm_Died()
-- spawn a replacement if any left
local Id = GetData("DeadWorm.Id")
local worm = lib_QueryWormContainer(Id)
local team = worm.TeamIndex
g_DeadWorms[team+1] = g_DeadWorms[team+1] +1

local GM = QueryContainer("GM.GameInitData")
local NumOfWorms = { GM.T1_NumOfWorms, GM.T2_NumOfWorms, GM.T3_NumOfWorms, GM.T4_NumOfWorms }

if g_DeadWorms[team+1] < NumOfWorms[team+1] then
local nextworm = Id + 1
local lock, worm = EditContainer(lib_GetWormContainerName(nextworm))
worm.Active = true
CloseContainer(lock)
SendIntMessage("Worm.Respawn", nextworm)
end
end


function DoOncePerTurnFunctions()
SendMessage("GameLogic.DropRandomCrate")
end

function TurnEnded()
local RoundTimeRemaining = GetData("RoundTimeRemaining")
if RoundTimeRemaining == 0 then
SendMessage("GameLogic.Draw")
else
CheckOneTeamVictory()
end
end

_Kilburn
7 Oct 2007, 21:00
Capture the crate ? Then there should be fixed coordinates for the crate and the worms starting points. Coordinates = Vectors. Vectors = ... well read my previous post.

I've made a Grenade training gamemode once, where you had to destroy a set number of targets before your opponent, with only grenades and cluster bombs, girders and parachutes to move.

jsgnext
24 Oct 2007, 03:01
Do you really want to know which application they use to make the movies?

...

Notepad. :D

>> data\scripts\OuttakeXXX.lua
>> data\databanks\OuttakeXXX.xml

They dont create the movies with notepad,they create it with another secret(u dont know either me and all wormsfans) program.
U can open it with notepad but that doesnt means that they created movies using it....EXPERIMENT: rename a avi file from .avi to .txt and open it with notepad....u can see the codifiqued info and if u know what that means xD u can create avi files using notepad(i think u already done it coz u appear to have an idea about programming ;) )

yakuza
24 Oct 2007, 03:06
So I can make an .avi file where someone appears punching Matt Damon to death using notepad?

_Kilburn
24 Oct 2007, 08:44
They dont create the movies with notepad,they create it with another secret(u dont know either me and all wormsfans) program.
U can open it with notepad but that doesnt means that they created movies using it....EXPERIMENT: rename a avi file from .avi to .txt and open it with notepad....u can see the codifiqued info and if u know what that means xD u can create avi files using notepad(i think u already done it coz u appear to have an idea about programming ;) )

This is the most stupid thing I've read on this category. Damn, think before posting, do you really think people are THAT stupid ? Do you seriously think I'm pretending you can create AVI files using notepad ?


Never heard about scripted scenes and animations ?

robowurmz
24 Oct 2007, 10:23
They dont create the movies with notepad,they create it with another secret(u dont know either me and all wormsfans) program.
U can open it with notepad but that doesnt means that they created movies using it....EXPERIMENT: rename a avi file from .avi to .txt and open it with notepad....u can see the codifiqued info and if u know what that means xD u can create avi files using notepad(i think u already done it coz u appear to have an idea about programming ;) )

Don't be a complete and total retard. Just don't.

You try opening the .XML and .Lua files with notepad. It works, it's all fully laid out, and anyway, I know a bit about Lua Scripting/Programming, and you CREATE Lua files WITH notepad! Same with XML.

However, AVI is a MOVIE CODEC. You CANNOT open it and see the stuff properly laid out in the text file. It's random ASCII garbage.

Stupid fool.

Hot Gravy
25 Oct 2007, 17:17
Stupid fool.

AH PITEH DA FOOL

Anyways, I think this would be a great idea, but this would be pretty damn complex. What we need, are genius programmers!

Oh wait, I forgot what Team17 are.... *gets sent to jail for being a crawler*

Anyways, Spadge, could you help us out on this question please?

_Kilburn
25 Oct 2007, 17:46
You can create scripted animations by editing the .xml files in "databanks", and the .lua files in "scripts". Kind of...
Never tried to do that though.