[Video Tutorial] Mission Director Basics

The place to discuss scripting and game modifications for X³: Terran Conflict and X³: Albion Prelude.

Moderators: Scripting / Modding Moderators, Moderators for English X Forum

Post Reply
killerog
Posts: 2582
Joined: Fri, 28. Oct 05, 16:31
x4

Post by killerog » Mon, 21. May 12, 12:28

Very good idea Ketraar, and very nice of you to take the time to do it. Should be a good refresher for me when I come back to AP modding with out me having to nag you every 5mins :D
Image

Alan Phipps
Moderator (English)
Moderator (English)
Posts: 20560
Joined: Fri, 16. Apr 04, 19:21
x4

Post by Alan Phipps » Mon, 21. May 12, 12:32

Thank you also, MD coding was always a complete mystery to me before. I think this thread already deserves a big mention in the Tutorials and Resources listings and even a place as a forum Sticky.
A dog has a master; a cat has domestic staff.

User avatar
Ketraar
Moderator (DevNet)
Moderator (DevNet)
Posts: 8958
Joined: Fri, 21. May 04, 17:15
x4

Post by Ketraar » Mon, 21. May 12, 17:52

Thanks for the feedback :-)

@Alan
You mean you want to hide this topic by making it a sticky? :o
:-D

But yeah, it should be listed in Tutorials, I'll poke a S&M Mod next time I'll catch one.

Ok so next vid will be about cue structure. As in use of parent/child cue (aka sub-cue), their priority, maybe how to cancel and rest cue, respectively what happens when you do. Might be some stuff on the side as usual :-)

MFG

Ketraar
Image

User avatar
EmperorJon
Posts: 7178
Joined: Mon, 29. Dec 08, 21:58
x3tc

Post by EmperorJon » Mon, 21. May 12, 18:06

To clarify on apricotslice's part; subroutines = functions, procedures, code reusability, parameter passing, etc.

Anyway, very nice tutorials!
______
I'm Jon. I'm mostly not around any more. If you want to talk, please message me! It's cool.
______

kurush
Posts: 3955
Joined: Mon, 7. Nov 05, 00:53
x3tc

Post by kurush » Mon, 21. May 12, 19:32

Very nice! I noticed that you use some cheat sheet with {player.name} and other variables that are available in MD. Is it something you can give us a link for?

User avatar
Ketraar
Moderator (DevNet)
Moderator (DevNet)
Posts: 8958
Joined: Fri, 21. May 04, 17:15
x4

Post by Ketraar » Mon, 21. May 12, 19:36

You can extract the director files (that one included) from the catalogue files (cat/dat) using doubleshadows X3Editor 2. mentioned it at the very beginning of the 1st video.

MFG

Ketraar
Image

kurush
Posts: 3955
Joined: Mon, 7. Nov 05, 00:53
x3tc

Post by kurush » Mon, 21. May 12, 19:43

Ketraar wrote:You can extract the director files (that one included) from the catalogue files (cat/dat) using doubleshadows X3Editor 2. mentioned it at the very beginning of the 1st video.
I actually did, just missed that particular file :) And of course I thought I can skip the first part of the video :) Thanks for the tutorial! I can't believe I wrote some MD code without that reference, :lol:

User avatar
Ketraar
Moderator (DevNet)
Moderator (DevNet)
Posts: 8958
Joined: Fri, 21. May 04, 17:15
x4

Post by Ketraar » Tue, 22. May 12, 11:06

One more Tutorial uploaded.

Things addressed in this one are, cue structure, do_if, do_choose and variable usage, among some generic coding stuff.

This one is a bit more advanced than the previous ones, in case some things are not clear, please let me know.

MFG

Ketraar

PS.: The files I'm using in the tutorials are for AP but the procedure apply to TC as well, just that AP has some more commands and variables to use.
Image

LordGaara
Posts: 139
Joined: Tue, 9. Feb 10, 14:23

Post by LordGaara » Tue, 22. May 12, 12:44

OT:
Ok, I can't stand it anymore.. seriously..

What is MFG, Ketraar?!

ICG
Martin

User avatar
Ketraar
Moderator (DevNet)
Moderator (DevNet)
Posts: 8958
Joined: Fri, 21. May 04, 17:15
x4

Post by Ketraar » Tue, 22. May 12, 13:06

Mit Freundlichen Grüssen (with kind regards in German)

MFG

Ketraar
Image

User avatar
Argonaught.
Posts: 1618
Joined: Wed, 6. Nov 02, 21:31
x3ap

Post by Argonaught. » Wed, 23. May 12, 21:28

Have watched all vids now, really appreciate the time your taking to make them :)


Argo.
[MOD]X3TC No Fog / [MOD]X3AP No Fog / [MD]X3TC Menagerie Shipyard / [MD]X3AP Menagerie Shipyard
<==<<Argonaught>>==>

XBTF>XT>X2TT>X3R>X3TC>X3AP

I lurk alot for the most part now
:thumb_up:

User avatar
Ketraar
Moderator (DevNet)
Moderator (DevNet)
Posts: 8958
Joined: Fri, 21. May 04, 17:15
x4

Post by Ketraar » Thu, 24. May 12, 00:46

My pleasure. :-)

Though would be good to have feedback as to if they are of any help and somewhat understandable. Cant really improve if I don't know what I'm doing wrong or what can be done better. So let me know. :-)

MFG

Ketraar
Image

User avatar
Argonaught.
Posts: 1618
Joined: Wed, 6. Nov 02, 21:31
x3ap

Post by Argonaught. » Thu, 24. May 12, 01:04

Sp far it's all been pretty good, explanations are all good also.

I learned a few things i didn't know like the use of naming and how names can be global or local...didn't know any of that before to be honest. I still wonder how i managed to do my MD stuff and have it work lol.

The way your setting it out though is really good ie: walking through making a MD structure instead of just showing parts of it.

All good so far, if i can think of anything i'll be sure to ask though.

What really has me boggled is Library files and params etc...I have no idea how those are used at all...but carry on as you are.

Note: I think the reason no one has questions is because you've explained it really well.

Whats next with MD tutorial?

Argo.
[MOD]X3TC No Fog / [MOD]X3AP No Fog / [MD]X3TC Menagerie Shipyard / [MD]X3AP Menagerie Shipyard
<==<<Argonaught>>==>

XBTF>XT>X2TT>X3R>X3TC>X3AP

I lurk alot for the most part now
:thumb_up:

User avatar
Ketraar
Moderator (DevNet)
Moderator (DevNet)
Posts: 8958
Joined: Fri, 21. May 04, 17:15
x4

Post by Ketraar » Thu, 24. May 12, 01:38

Argonaught. wrote:Whats next with MD tutorial?
I've not thought of what to do next yet, I could address the libraries I guess, that includes the use of params too so it might be more than two parts. Also doing one on briefings and conversations, includes the use of actors.

So that should be OK for the next few I guess.

If I have time tomorrow I'll do one then, other wise on weekend. :-)

MFG

Ketraar

PS.: also noticed some odd whistling sound that seams to originate from microphone, maybe some sort of echo, will try to get rid of that.
Image

User avatar
Argonaught.
Posts: 1618
Joined: Wed, 6. Nov 02, 21:31
x3ap

Post by Argonaught. » Thu, 24. May 12, 01:56

No rush on making them...one a week would be cool, no need to do one every day/few days.

Yea conversations and actors, i haven't gone near them either.

I'm not sure what way it would go but i imagine, in terms of easy to hard, it'd be actors, conversations and then libraries and params...although it may be the other way around :)

Argo.
[MOD]X3TC No Fog / [MOD]X3AP No Fog / [MD]X3TC Menagerie Shipyard / [MD]X3AP Menagerie Shipyard
<==<<Argonaught>>==>

XBTF>XT>X2TT>X3R>X3TC>X3AP

I lurk alot for the most part now
:thumb_up:

Post Reply

Return to “X³: Terran Conflict / Albion Prelude - Scripts and Modding”