• Welcome to Freedom Reborn Archive.
 

Some stupid scripting questions by megansunfire

Started by megansunfire, September 10, 2007, 11:53:37 AM

Previous topic - Next topic

megansunfire

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.

wickerman

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...

stumpy

1. Basically, there is

  • <FFEdit_character_name>_01, <name of character>
  • <FFEdit_character_name>_desc_01, <short desc of character that appears when you mouse over the character>
  • <FFEdit_character_name>_desc2_01, <longer desc of character that appears in character editor page for character>
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.


[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]

megansunfire