TTLG|Thief|Bioshock|System Shock|Deus Ex|Mobile
Results 1 to 7 of 7

Thread: CONVERSATION TUTURIAL (this is)

  1. #1
    Jered
    Guest

    CONVERSATION TUTURIAL (this is)

    BASIC CONVERSATION TUTORIAL
    BY: Jered
    Date: 9-23-00
    Caffiene Used: 4 Cans
    Legal Stuff: Read Bottom

    This Tutorials Scope is creating a basic conversation through the use of ConEdit and ExEd (UnrealEd)

    THINGS NEEDED:
    The DeusEx SDK
    A map with people (Explained later)
    Patience
    NotePad
    Windows Explorer

    OKay, first off load up the ConEdit program. You will be presented with a cool logo screen. Click 'File -> New', and it will bring up a data entry box. Under the Missions Tab, pull over 'Mission16'. Under Misc -> Audio Package, type 'contut'. Click the okay butten. The first thing we need is actors for our conversation. Click 'Conversation -> Add Conversation'. This will bring up a data entry box. The first thing is 'conversation name'. This is where you can type in the name of your conversation. DO NOT USE SPACES OR SPECIAL CHARECTERS! This will screw it up. Lets use the name 'HiPaul' for a conversation name. Skip the description panal, and goto the 'Conversation Owner' Entry Slot. Type in 'PaulDenton', minus qoutes. It will ask if you would like to add it. Answer 'yes'. Then go to the 'Notes' space and type in Meeting Paul in tutorial or somehing of the like. It doesn't really matter this is for you to help keep track of things. Ignore the 'Flags' Tab and go to The 'Invoke' Tab. There are a number of options [checkable boxes] here.

    They are:
    PC frobs NPC
    PC bumps NPC
    NPC sees player
    NPC enters PC radius

    The first two should be checked.
    they mean in oreder:

    PC frobs NPC - The player frobs, or uses, the NPC to intiate the conversation
    PC bumps NPC - The player has to bump into the player to intiate the conversation
    NPC sees player - The NPC (Non PLayer Charecter) can see the PC (PLayer Charecter, JCDenton
    NPC enters PC radius - When the PC is a certain distence from the NPS the conversation will start. This is best used for barks (later). (Note: 16 ExEd Units equals 1 foot)

    For this conversation, we want to check only the first one, PC frobs NPC. CLick the Tab 'Options' This brings Up yet anther set of checkboxes:

    Display Conversation Only Once
    DataLink Conversation
    Non-Interative Conversation
    Remain in First-Person Mode
    Random Camera Placement
    Can be Interupted by another conversation
    ABSOLUTLY CANNOT be interupted

    Heres what they do:

    Display Conversation Only Once - Conversation can only happen once.
    DataLink Conversation - COnversation occurs through the datalink.
    Non-Interative Conversation - The player Keeps moveing and nothing happnes. The text just appears and the NPC talks
    Remain in First-Person Mode - Don't Leave First Person
    Random Camera Placement - DON'T TOUCH! It was never finished and was never used in the game
    Can be Interupted by another conversation - DON'T TOUCH!
    ABSOLUTLY CANNOT be interupted - DON'T TOUCH!

    We only want the first one checked for now. After this has been done click 'OK'. You are now ready to begin the conversation itself. Under the Conversations Box (Far Left) tow things should have appeared. A Thing saying 'PaulDenton' which expands to 'HiPaul'. Click 'HiPaul' ONCE. Then goto 'Events -> Add -> Speech' on the top menu bar. A new box should pop up. The first one is 'Event Label' This is for use in jumps. For now enter 'Begin'. The next thing should say 'Event Type -> Speech' Leave this normal. The next is 'Actor To Speak' This is who will be speaking. Type 'JCDenton' minus qoutes. When promted answer 'yes'. Now you can use the pull down menus to select your actors. The next one is 'Speaking To' this is who the speaker will be speaking to (looking at). Select 'PaulDenton'. The next field is 'Speech' this is the big one. This is the text that wll be displayed at the bottom of the screen. ONly one person should say what you type. Lets put in 'Hi' minus the qoutes. UNder that is the 'audio file' box. THANKS TO ION STORM/EIDOS THE DX AUDIO FILES WERE NOT INCLUDED! You can create your own, but for now, leave it blank. Leave the font box alone as well. When this is done click 'Update' NOT CLOSE! After you click update then click close.

    A box should have appeared in the Events field (far Right). It has some basic informtion. It says Whos speaking (JCDenton) the action (Speech) and what is being said (Hi). We all know that conversations need more then one line so goto 'Events -> Add -> Speech' Again Leave the first two boxes alone. Then FOr the actor speaking, choose 'PaulDenton' and the person being spoke to to 'JCDenton'. Then change the speech filed to say 'Hi JC' Then Click 'Update' followed by 'Close' ANother box should have appeared on the Events field on the mainscreen. As of now, when we get this into ExEd and eventuelly play it, You will Click Paul and Say 'hi', then he will say 'Hi JC' Then you will sare at each other beacause your conversation needs an end. This ones easy. Click 'Events -> Add -> End' Click 'Update' at the bottem and then close. We now have our first 2 line conversation! Yay! But now comes the pain in the ass part of getting it to ExEd (Ued) Click 'File - > Save' and Create a new folder in the DeusEx directory called 'MyMap' Save the file in 'MyMap' as "Mission16.con" (use the qoutes ) then close ConEdit.

    Open Up windows explorer. Goto C:\DeusEx\System. There should be a fiel called DeusEx.ini in there. Open it with notepad or a similar application. And Holy Crap! Complicated stuff! (NEW!: Look for the line called "cdpath=[yourcddrive]" and change it to "cdpath=c:" VERYIMPORTANT!) we are loooking for a specific section of the document near the bottom (.75 down) that looks like:

    ...
    EditPackages=Core
    EditPackages=Engine
    EditPackages=Editor
    EditPackages=Fire
    EditPackages=IpDrv
    EditPackages=Extension
    EditPackages=DeusExUI
    EditPackages=ConSys
    EditPackages=DeusExConversations
    EditPackages=DeusExSounds
    EditPackages=DeusExItems
    EditPackages=DeusExDeco
    EditPackages=DeusExCharacters
    EditPackages=DeusExText
    EditPackages=DeusEx
    EditPackages=IpServer

    [DeusEx.DeusExGameInfo]
    bNoMonsters=False
    bHumansOnly=False
    ...


    See all those Edit Packages things? We need to create a package for your 'MyMap' folder so that uicc knows to compile it. Edit the document so that it reads:

    ...
    EditPackages=Core
    EditPackages=Engine
    EditPackages=Editor
    EditPackages=Fire
    EditPackages=IpDrv
    EditPackages=Extension
    EditPackages=DeusExUI
    EditPackages=ConSys
    EditPackages=DeusExConversations
    EditPackages=DeusExSounds
    EditPackages=DeusExItems
    EditPackages=DeusExDeco
    EditPackages=DeusExCharacters
    EditPackages=DeusExText
    EditPackages=DeusEx
    EditPackages=IpServer
    EditPackages=MyMap

    [DeusEx.DeusExGameInfo]
    bNoMonsters=False
    bHumansOnly=False
    ...

    Now close it and save it. This will tell Ucc that theres a package called Mymap that needs to be made. Now go to notepad. What you need to creat now is a Unreal COmpile file (.uc) that tells UCC to put Mission16.con in your maps .u file. Type up this file EXACTLY like this:

    class DeusExConversations expands Object
    abstract;

    // Import conversations
    #exec CONVERSATION IMPORT FILE="Mission16.Con"

    // shared conversations

    // Intro/Endgame

    // AI Barks

    defaultproperties
    {
    }


    the '#exec CONVERSATION IMPORT FILE="Mision16.con" is telling UCC to put that file into your .u file. Save this file as "DeusExConversations.uc" WITH the qoutes. Put it in the 'DuesEx -> MyMap -> Classes' IT MUST GO IN CLASSES! This are the files that UCC runs. Now exit and go to DOS mode. Get to the c:\> by typing 'cd\;' minus qoutes. Then type 'cd\deusex\system'. This puts you in the system directory. type the command 'ucc make' (no qoutes) and watch it do its thing. This WILL take a while. IF you finish with zero errors (if youve followed you shouldnt have any) exit dos and head to Windows Explorer. Note that in the 'DeusEx -> System' directory theres a file called 'MyMap.u' Thats your file in a way that ExEd can understand it. NOw we are ready to add the conversation to a level. Open up ExEd and build your basic square room remembering to put in your 'PLayerStart' and 'DeusExLeveInfo' objects. Make sure that for 'DeusExLeveInfo' you set 'missionnumber' to '16'. Now go to "Object -> Actor -> Pawn -> ScriptedPawn -> HumanMilatary -> PaulDenton" place paul denton somewhere in your level and edit his properties. "Conversation -> BindName" Should be PaulDenton NO SPACE! This is the name we set for him back in ConEdit. now that this is done jump into the game and click on him! Isn't that cool? He doesn't verbally speak but you can read the text at the bottom! Wow! Thats it for now. I will probably have a Advanced Conversations Tutorial Up within the week.

    Notes: To redo your .u (to add to it) oyu will have to delete it form your system folder and re ucc make it. UCC will only update a file if its missing (Delete=Missing).
    If NAyone has a way to get importing mp3s tp work let me now.

    Webmasters: Feel free to post this tutorial anywhere you wnat just be sure i get and email and a link to where its posted please. Send it to matrixhunter2199@yahoo.com . Feel free to email me if you need help as well. And if oyu use this tutorial and build a level, please put my name somewhere. Thanks for all that you've done.

    "Give us the Tools, and we will build worlds" ~ Jered

    ------------------
    Interior Designer
    Thievery UT

    [This message has been edited by Jered (edited September 26, 2000).]

  2. #2
    Despot
    Guest

    Good work. I'll refer to this once I figure out the )(*%^&^* interface...

    ------------------
    Eschew obfuscation.

  3. #3
    Brother Murus
    Guest

    I just emailed you with the problem I am having when running the ucc application bit.
    It's finishes, without errors but dosn't make the MyMap.u file and I get an error when Unrealed starts up saying that the mymap package can not be loaded. I've put everything in the right folders and gone through it several times. Any idea whats wrong?

  4. #4
    Jered
    Guest

    i don't know. send my your file structure for c:/deusex and i'll see what i can do


    ------------------
    Interior Designer
    Thievery UT

  5. #5
    Brother Murus
    Guest

    What you mean the names of all the files in c:/Deusex and all the subfolders e.g System,maps etc

  6. #6
    Jered
    Guest

    okay. the mymap.u is created in the c:\deusex\systme directory, along with all the other .u files. If it is put anywhere else, you should trya nd search for it, using search *.u under find through windows. Other then that, i cannot think of anything. Im not an expert I will be soon but not yet.

    ------------------
    Interior Designer
    Thievery UT

  7. #7
    Jered
    Guest

    whoops. my bad.

    Jered hits himself in the head.

    look for the line

    cdpath=[yourcddrive]

    and change it to

    cdpath=c:

    in your DeusEx.ini
    unfortunutly you ay haveto change it back to play the full game.

    ------------------
    Interior Designer
    Thievery UT

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •