Freedom Reborn Archive

Freedom Force Forums => Scripting Forum => Topic started by: megansunfire on September 10, 2007, 11:53:37 AM

Title: Some stupid scripting questions by megansunfire
Post by: megansunfire on September 10, 2007, 11:53:37 AM
These are probably simple to answer, but here we go anyway. :rolleyes:

1. What is the layout for a description of character info? (I know it involves something like 'DESC_01' or something)

2. Are power descriptions done the same way?

3. Do descriptions (like the attribute descriptions) only appear as one constant line of text or can you have several rows or paragraphs?.... :blink: I hope I said that right.

e.g. Instead of 'Throws shards of ice at enemies causing cold damage. 12-17 cold damage. 5 second freeze.' it would be:
Throws shards of ice at enemies causing cold damage.
12-17 cold damage
5 second freeze


4. Were those some of the dumbest questions asked?.....er :unsure:, don't answer that.
Title: Re: Some stupid scripting questions by megansunfire
Post by: wickerman on September 10, 2007, 01:42:40 PM
The text you are looking for is in the strings.txt file int he lang folder.

It goes like so:

superman_desc_01, The man of steel

this would make 'the man of steel' appear when the cursor is held over him in game.

superman_desc2_01, an orphan from the planet Kryton, Kal_El fight to defend the people of earth as Superman!

This would appear under his material type on the info card when viewing his character data.

Powers do indeed work the same way:

heat vision_desc_01, A powerful blast of solar radiation

As for question 3, I have no idea, i never tried it.  My guess is that you can't make paragraphs like that.


4 - No, someone once emailed me and asked me if I would burn a copy of Freedom Force and send it to them with a CD key...
Title: Re: Some stupid scripting questions by megansunfire
Post by: stumpy on September 10, 2007, 01:53:40 PM
1. Basically, there is phaze_01, phaze
phaze_DESC_01, dimension-straddling heroine
phaze_DESC2_01, karen jesniki was nearby when MICROWAVE tried to remove a volatile alien canister by displacing it.  it exploded anyway, bathing karen in dimension shifted ENERGY-X and transforming her into PHAZE, mistress of energy at the dimensional boundaries.


2. Power descriptions are the same way, but there is no desc2_01 entry.
phaze Plasma Disk_01, plasma disk
phaze Plasma Disk_DESC_01, excite a disk of matter into white-hot plasma and send it off in a chained attack


Attribute descriptions are the same as power descriptions except that they have attrib_ prepended to their FFEdit names.
attrib_steelworker_01, steel worker
attrib_steelworker_desc_01, when you shave, iron filings fill the sink.  combines INVULNERABLE (10), METAL EATER, and IRON JAW.


3. I don't know of any way to include a paragraph marker in the string descriptions. I have tried including \n and \x0d in the file and not gotten any results. If you find a way, post it!

4. Fortunately, my first posts to the board are unavailable right now, or you could see a level of dumb questions that put yours to shame. (http://home.graffiti.net/stumpyanker:graffiti.net/emoticons/blushing2.gif)


[edit]wickerman beat me to the punch. The preview warned that someone else had posted while I was testing a string generation, but it didn't show me the new post... Oh, well.[/edit]
Title: Re: Some stupid scripting questions by megansunfire
Post by: megansunfire on September 10, 2007, 01:57:31 PM
Thanks for the info.  :thumbup: