Prothyon - 16

Moderators: speed2, KeyBlue

Re: Prothyon - 16 [WIP] Coop Mission

Postby Sovietpride » 22 May 2015, 14:55

Sovietpride
Avatar-of-War
 
Posts: 258
Joined: 13 Aug 2013, 17:44
Has liked: 7 times
Been liked: 109 times
FAF User Name: Sovietpride

Re: Prothyon - 16 [WIP] Coop Mission

Postby nine2 » 22 May 2015, 16:21

isn't UEF more asshole-american than posh-english? how about morax?
nine2
Councillor - Promotion
 
Posts: 2416
Joined: 16 Apr 2013, 10:10
Has liked: 285 times
Been liked: 515 times
FAF User Name: Anihilnine

Re: Prothyon - 16 [WIP] Coop Mission

Postby speed2 » 22 May 2015, 17:57

I need someone with coding skill to make those videos and sounds working.
Game takes them from:
Code: Select all
Supreme Commander - Forged Alliance\movies

and
Code: Select all
Supreme Commander - Forged Alliance\sounds\Voice\us


puts them together using function Dialogue in ScenarioFramework.lua

Only way how I got them working was putting my custom files into these folders.What I'd need is, to change that function so it also looks into map folder for there files. Or ofc any other solution you come up with.
Image
User avatar
speed2
Contributor
 
Posts: 3189
Joined: 05 Jan 2013, 15:11
Has liked: 636 times
Been liked: 1119 times
FAF User Name: speed2

Re: Prothyon - 16 [WIP] Coop Mission

Postby quark036 » 22 May 2015, 23:07

I'm not sure how to do from your map, the only way I see to do it would be to hook ScenarioFramework.lua. That said, this is the code you would want to change:

It's actually under the function PlayDialogue, which Dialogue calls.
It's line 718 in ScenarioFramework, and you would want to replace where is says '/movies/' with your own file path.
quark036
Avatar-of-War
 
Posts: 165
Joined: 11 Mar 2015, 03:17
Has liked: 10 times
Been liked: 26 times
FAF User Name: Quark036

Re: Prothyon - 16 [WIP] Coop Mission

Postby Domino » 22 May 2015, 23:32

i could give a long answer, best thing to do would be look at dms at the video parts. one function and a script file to rule them all.

look at the function in simsync called
Code: Select all
DoMFD
it doesnt look in the maps folder but it does look in all mod folders, take it and adjust the paths, map paths are mounted so you can call them directly /maps/mapname/folder/video.sfd .. its not as simple as that though because as you prolly know the sound is seperate to the video.
so you have to create a table with the video cue and sound files ect.. look in dms initialize.lua for how i populate the video tables from mod folders.

the code is not hard to understand.

https://www.youtube.com/watch?v=JYGWXrdJ8aE

all my video
[url]
https://www.youtube.com/results?search_query=thed0m1n0[/url]
Last edited by Domino on 22 May 2015, 23:40, edited 1 time in total.
Domino
Priest
 
Posts: 315
Joined: 14 Mar 2012, 21:07
Has liked: 3 times
Been liked: 75 times

Re: Prothyon - 16 [WIP] Coop Mission

Postby Vee » 22 May 2015, 23:37

A UEF scientist would fit soviet's voice, like Q is 007.
Vee
Evaluator
 
Posts: 677
Joined: 04 Dec 2013, 20:43
Has liked: 275 times
Been liked: 225 times
FAF User Name: Vee

Re: Prothyon - 16 [WIP] Coop Mission

Postby speed2 » 22 May 2015, 23:43

Thank you Domino, I ll look at it.

Vee wrote:A UEF scientist would fit soviet's voice, like Q is 007.

Yes, that's what I was thinking, already wiritng down some scripts...
User avatar
speed2
Contributor
 
Posts: 3189
Joined: 05 Jan 2013, 15:11
Has liked: 636 times
Been liked: 1119 times
FAF User Name: speed2

Re: Prothyon - 16 [WIP] Coop Mission

Postby Domino » 23 May 2015, 00:10

hey,

im interested in what you did to achieve this from start to finish. :D

what have you done?

what tools are you using?

how did you place your units,

AI pathing?

scripting?

how are you populating the save file?
Last edited by Domino on 23 May 2015, 00:28, edited 1 time in total.
Domino
Priest
 
Posts: 315
Joined: 14 Mar 2012, 21:07
Has liked: 3 times
Been liked: 75 times

Re: Prothyon - 16 [WIP] Coop Mission

Postby Domino » 23 May 2015, 00:26

a few things to note here is that if:

seeing as your doing everything manually (cause i cant think of you doing any other way)

why not use my editor for unit placement/orientation initial setup.

infact i would be really "REALLY" impressed if you created a mini mission using the current version of the editor, a mission something similar to the fa tutorial, it excites me you have gotten this far and also that someone is trying/doing something constructive regarding our own scenario's, you just need to simplify your tecniques a little to make it easier for yourself. ;)
Domino
Priest
 
Posts: 315
Joined: 14 Mar 2012, 21:07
Has liked: 3 times
Been liked: 75 times

Re: Prothyon - 16 [WIP] Coop Mission

Postby speed2 » 23 May 2015, 01:23

Im using map editor to place units, markers, create marker chains and then writing script to make everything move. More like copy pasting from FA missions and altering to my names, values.
I was like studying script files of FA missions for a week and then started to create this.

Yeah your editor, I need to make it work somehow :D last time I tried it, it didnt work. Or I was dumb to make it work.

Btw. what file should I look at? excatly? I didnt find it :|
User avatar
speed2
Contributor
 
Posts: 3189
Joined: 05 Jan 2013, 15:11
Has liked: 636 times
Been liked: 1119 times
FAF User Name: speed2

PreviousNext

Return to Coop

Who is online

Users browsing this forum: Google [Bot] and 1 guest