Creating new text in Deus Ex

A refuge for those migrating from the fallen DXEditing.com and a place for general discussion relating to Deus Ex editing (coding, mapping, etc).
Post Reply
GamerX51
NSF
Posts: 56
Joined: Sat Jul 15, 2006 1:26 pm
Location: Somewhere in hell

Creating new text in Deus Ex

Post by GamerX51 »

I'm trying to create new text files to import into the DeusExText.u file, but I'm stuck! :( I know that the files all have to be structured a certain way in the file (in folders), but I don't know exactly how to structure them. Can anyone tell me how to arrange the files so that UCCMake will compile them correctly?
If you're going through hell, then just keep going.
nerdenstein
Illuminati
Posts: 1591
Joined: Thu Apr 24, 2008 7:40 pm
Location: Leicester, England, UK.

Re: Creating new text in Deus Ex

Post by nerdenstein »

I must admit, it isn't something I've ever done within Deus Ex modding.
This might help though; http://www.planetdeusex.com/tack/HowToA ... apers.html
The real trouble with reality is that there's no background music.
User avatar
Neveos
X-51
Posts: 875
Joined: Wed Mar 03, 2010 1:29 am

Re: Creating new text in Deus Ex

Post by Neveos »

Yeah, as it says, you don't have to do it using the DeusExText.u anymore. You just do something like put a 'text' folder in your package's folder, put the text in there and name them like the tutorial states, and then create a class in your class folder called textimport.uc which you'll put import commands like:

class TextImport expands Object
abstract;

// Import Text Files
#exec DEUSEXTEXT IMPORT FILE=text\51_Datacube01.txt
#exec DEUSEXTEXT IMPORT FILE=text\51_Datacube02.txt
#exec DEUSEXTEXT IMPORT FILE=text\51_Datacube03.txt
#exec DEUSEXTEXT IMPORT FILE=text\51_Book01.txt
#exec DEUSEXTEXT IMPORT FILE=text\51_Newspaper01.txt
#exec DEUSEXTEXT IMPORT FILE=text\51_Newspaper02.txt

then run ucc make.
What I do in my other free time:
http://www.youtube.com/watch?v=e3FfPUKuGsQ
GamerX51
NSF
Posts: 56
Joined: Sat Jul 15, 2006 1:26 pm
Location: Somewhere in hell

Re: Creating new text in Deus Ex

Post by GamerX51 »

Thanks for the tips, I'll try that and see what happens.
If you're going through hell, then just keep going.
Darma
UNATCO
Posts: 151
Joined: Wed Apr 15, 2009 2:20 pm

Re: Creating new text in Deus Ex

Post by Darma »

If you're interested, I created the thing I ever dreamed of while I was mapping: Datacubes, Books and Newspapers in which you write the text in the Editor!
Link!

Edit: It's called DLBooks
nerdenstein
Illuminati
Posts: 1591
Joined: Thu Apr 24, 2008 7:40 pm
Location: Leicester, England, UK.

Re: Creating new text in Deus Ex

Post by nerdenstein »

Why haven't you shown me this before?!
That's a fantastic idea! :mrgreen:

Oh, I forgot. Your website doesn't like IE9. #-o
The real trouble with reality is that there's no background music.
Darma
UNATCO
Posts: 151
Joined: Wed Apr 15, 2009 2:20 pm

Re: Creating new text in Deus Ex

Post by Darma »

I created it today, this post remembered me the old days at trying to add text =D
[And yes, That website is not compatible with IE but I'll be working on that the next week]
Edit: Discovered the mod is compatible with DXMP! We're able to use information devices in dxmp now !
User avatar
Neveos
X-51
Posts: 875
Joined: Wed Mar 03, 2010 1:29 am

Re: Creating new text in Deus Ex

Post by Neveos »

Darma wrote:If you're interested, I created the thing I ever dreamed of while I was mapping: Datacubes, Books and Newspapers in which you write the text in the Editor!
Link!

Edit: It's called DLBooks
Wow I'm wiggin out about this. I think the link is wrong though, because it causes me to dl dldxclothes. What is that btw?
What I do in my other free time:
http://www.youtube.com/watch?v=e3FfPUKuGsQ
Darma
UNATCO
Posts: 151
Joined: Wed Apr 15, 2009 2:20 pm

Re: Creating new text in Deus Ex

Post by Darma »

Ah x( I forgot to change the link. (When I create a page, I don't care about creating it from scratch each time, I copy the template from another one I already created. I copyed DLDXclothes's one and forgot to change that link. I'll fix that in a second.)
Here's the right link: http://adf.ly/2CslX
Last edited by Darma on Tue Jul 26, 2011 7:23 pm, edited 1 time in total.
User avatar
Neveos
X-51
Posts: 875
Joined: Wed Mar 03, 2010 1:29 am

Re: Creating new text in Deus Ex

Post by Neveos »

Cool. I really hope this works in Ued2.
What I do in my other free time:
http://www.youtube.com/watch?v=e3FfPUKuGsQ
Darma
UNATCO
Posts: 151
Joined: Wed Apr 15, 2009 2:20 pm

Re: Creating new text in Deus Ex

Post by Darma »

It's done, if the page isn't updating, I posted a direct-adflyed-link in the previous post.

@Nerd: Are you connected somewhere where I can talk with you about something you know I'm talking about ?
nerdenstein
Illuminati
Posts: 1591
Joined: Thu Apr 24, 2008 7:40 pm
Location: Leicester, England, UK.

Re: Creating new text in Deus Ex

Post by nerdenstein »

Darma wrote:It's done, if the page isn't updating, I posted a direct-adflyed-link in the previous post.

@Nerd: Are you connected somewhere where I can talk with you about something you know I'm talking about ?
Catch me through Steam or Facebook. I actually don't know what you are talking about. :P
I left you a fb message the other day. Wasn't anything specific.
If you don't get online tonight, I'll probably be around all day tomorrow too.
The real trouble with reality is that there's no background music.
User avatar
Neveos
X-51
Posts: 875
Joined: Wed Mar 03, 2010 1:29 am

Re: Creating new text in Deus Ex

Post by Neveos »

I just wanted to say that the DLBooks.u has been a big help, and that I was wondering if it were possible to "press enter", like, get it to jump down a space? I tried shift enter, but that didn't work. It's not a big problem, just a curiosity.

-edit- also, is their any significance behind the "textTag" field? I noticed that it won't work without it having some value. Is it just some random value that we have to place in order for the program to associate the txt with the object or something?
What I do in my other free time:
http://www.youtube.com/watch?v=e3FfPUKuGsQ
nerdenstein
Illuminati
Posts: 1591
Joined: Thu Apr 24, 2008 7:40 pm
Location: Leicester, England, UK.

Re: Creating new text in Deus Ex

Post by nerdenstein »

I'm going to assume for it too go down to the next line it's going to require some kind of syntax.
I haven't seen how the thing works myself but I'd imagine some sort of html type thing: try adding this " <br /> " to the end of the line.
Without quotes of course.
The real trouble with reality is that there's no background music.
User avatar
Neveos
X-51
Posts: 875
Joined: Wed Mar 03, 2010 1:29 am

Re: Creating new text in Deus Ex

Post by Neveos »

I just tried your suggestion, and it didnt work unf. I also tried /r and /n and $ symbol. But I assume the syntax is in there because the & symbol does something interesting in the editor... although not in the game.

-edit- Darma's thing is an enormous convenience for things like datacubes which act like datapads or cell phones, but books and newspapers, its like you almost gotta have the line break.
What I do in my other free time:
http://www.youtube.com/watch?v=e3FfPUKuGsQ
Post Reply