Jump to content


[Resources] Generals.str file - EDIT: Revised yet again


31 replies to this topic

#1 Jordan

    Crazy Modder

  • Gold Member
  • 2704 posts
  • Projects: C&C Crazy Mod Leader

Posted 08 December 2006 - 20:19

Just found this in one of my folders, and decided to make it public, since I couldn't find a download location for it anywhere else.

The generals.str file is a much better change from the stone age of .csf file editing.
--------------------------------
Great things about .str files:

1. Can be edited in notepad or similar programs

2. Can be used inside a .big file, instead of manually copying a generals.csf file into the Data/English directory.

3. It is a lot easier to edit. You don't have to bother with the file/add string functions in the CSF Editor.

---------
Download here.
The Generals.str file goes into your Command & Conquer Generals Zero Hour\Data folder.

Special Notes
----------------
The most recent update fixed the quotation marks problem, which had caused the descriptions of the generals in the skirmish menu to not appear correctly.

To Use:
---------
The string's title is the first line.
The string's text is the second line, ALWAYS surrounded by quotation marks. It's what shows up in-game.
END on the third line closes that particular string entry. Don't forget it.

To enter operators, such as quotation marks, put a backslash (\) in front of them. Otherwise it will cause problems, such as closing a string early, or breaking numerous strings.

To drop down a line, use the command \n separated from any other text with a space.

If the game and/or worldbuilder refuses to start without generating an error, check the very last entry of the .str file. You may have forgotten to enter the last END at the bottom of that particular string, which causes that strange problem.

-Jordan

Edited by Bob, 12 October 2013 - 18:01.

C&C Crazy Mod Version 0.55
^^^^The True Crazy Mod Starts Here^^^^
Posted Image

#2 Futschki

    Duh!

  • Member
  • 2835 posts

Posted 09 December 2006 - 07:37

Thanks A Lot :P
Posted Image

#3 Kris

    <Custom title available>

  • Project Team
  • 3825 posts

Posted 09 December 2006 - 08:21

sweet :P but now its too late :D i have so many string files to remake just to use this in my mod :D







#4 Jordan

    Crazy Modder

  • Gold Member
  • 2704 posts
  • Projects: C&C Crazy Mod Leader

Posted 10 December 2006 - 02:55

I found a major bug in the original generals.str file.

Because the nicknames for the generals had quotes around them, it caused script errors where only part of it was visible, since quotation marks end a script.

For example:

This: General Malcolm "Ace" Granger...

Became: General Malcolm

A quick fix solved this problem, where you had to put a backslash in front of those quotation marks to keep them from closing the script.

Download the attachment above.

Edited by Jordan, 08 April 2008 - 20:53.

C&C Crazy Mod Version 0.55
^^^^The True Crazy Mod Starts Here^^^^
Posted Image

#5 Elezzzark

    Aircare

  • Banned
  • 930 posts

Posted 10 December 2006 - 05:07

Yes..... Thanks
Posted Image

#6 Zeke

    The X General

  • Project Team
  • 3504 posts
  • Projects: Deep Impact (formerly EC)

Posted 15 January 2007 - 02:12

how do you use it?

#7 The_Hunter

    -

  • Gold Member
  • 12402 posts
  • Projects: SWR Productions

Posted 15 January 2007 - 09:06

place it on the ZH data folder and edit it to your own desire.
Posted Image

#8 E.V.E.

    Femme Fatale Of The Army

  • Gold Member
  • 6564 posts

Posted 15 January 2007 - 11:13

Very Nice! Thanks alot.

- E.V.E.

Posted Image

#9 The_Hunter

    -

  • Gold Member
  • 12402 posts
  • Projects: SWR Productions

Posted 15 January 2007 - 16:02

an other thing that's nice to know about this btw is that you can use your own STR file online without getting any errors.

so basicly you can make your own hotkeys for buttons and units if you want to :P
Posted Image

#10 CodeCat

    It's a trap!

  • Gold Member
  • 6111 posts

Posted 15 January 2007 - 17:05

Wait, so the game doesn't check for the STR file when it sees if your versions are compatible?
CodeCat

Posted Image
Posted Image

Go dtiomsaítear do chód gan earráidí, is go gcríochnaítear do chláir go réidh. -Old Irish proverb

#11 pirate

    The friendly scourge of the seven seas

  • Project Leader
  • 1256 posts
  • Projects: GenerationX, Forgotten Fury, European Conflict and more

Posted 20 January 2008 - 18:07

Necro ftw..... :lol:

wtf is this....

http://img250.images...66/fatalcl6.jpg

any help is apreciated
Proud leader of Forgotten Fury and co-leader of European Conflict

Posted Image
Posted Image
Posted Image
Posted Image

#12 Waris

    Endless Sip

  • Gold Member
  • 7458 posts
  • Projects: The End of Days, DTU Donutin Council Co-Chairman

Posted 20 January 2008 - 18:09

EPIC FAIL

#13 Whitey

    <Custom title available>

  • Member
  • 8743 posts

Posted 20 January 2008 - 18:14

I fucking lol'd

Looks like you jacked up your STR file.

#14 pirate

    The friendly scourge of the seven seas

  • Project Leader
  • 1256 posts
  • Projects: GenerationX, Forgotten Fury, European Conflict and more

Posted 20 January 2008 - 18:23

I figured it out already... :lol:

I forgot the END on the end :P
Proud leader of Forgotten Fury and co-leader of European Conflict

Posted Image
Posted Image
Posted Image
Posted Image

#15 Mere_Mortal

    Visitor

  • Member
  • 28 posts
  • Projects: Armageddon - The Final Hour

Posted 28 January 2008 - 16:04

Err, in respect of a year-old post...if you need to use operators in the text, I think a single backslash before the character should suffice.

Example...

"General Malcolm \"Ace\" Granger"

#16 Jordan

    Crazy Modder

  • Gold Member
  • 2704 posts
  • Projects: C&C Crazy Mod Leader

Posted 08 April 2008 - 20:53

UPDATED

I really should've caught that sooner.

Sorry for any inconviences.
C&C Crazy Mod Version 0.55
^^^^The True Crazy Mod Starts Here^^^^
Posted Image

#17 Mr Doom

    Newbie

  • Member
  • 5 posts

Posted 02 November 2008 - 14:48

Thanks. Now use in my mod.
But why ModDB cancelled my mod? all is right :) 8|

#18 dlpcruzer

    Newbie

  • Member
  • 1 posts

Posted 08 November 2008 - 10:07

Jordan,

Just want to say THANK YOU for sharing the string file.
It works GREAT. A lot of tedious work went into creating this.

None of the CSF editors I tried worked properly.
One editor cut off strngs, another changed strings around
and caused the game to crash when loading.
I have spent hours searching for and downloading CSF editors that failed the tests.

Now I can easily update the control bars and tooltips for tbe
ICBM Silo, and Tomahawk Storm, which I finally got to work.
I used the map.ni file from beng's TomahawkStorm map, but created new
objects instead of using other objects in the game. Now both work great on all maps.

I can also add the things EA left out for the Cruise Missile and get it working.

Anyways, mostly wanted to say thanks for doing this work and making it availble to the world.

#19 cccdfern

    Professional

  • Member
  • 318 posts
  • Projects: FoxMod

Posted 17 September 2009 - 23:48

Sorry for a major necro, but it doesn't work for me.

 OBJECT&#58;LAZR_AmericaPopupPatriotBattery
&#34;Popup Laser&#34;
END

CONTROLBAR&#58;ConstructLAZR_AmericaPopupPatriotBattery
&#34;Popup Laser&#34;
END

CONTROLBAR&#58;ToolTipUSABuildPatriotBattery
&#34;Laser from the Earth&#34;
END



Thats right isn't it?
To listen and learn, or contribute and teach.

#20 BeefJeRKy

    Formerly known as Scopejim

  • Gold Member
  • 5114 posts
  • Projects: Life

Posted 18 September 2009 - 08:17

Heads up, a thread is stickied so that necro isn't an issue.
Posted Image

#21 cccdfern

    Professional

  • Member
  • 318 posts
  • Projects: FoxMod

Posted 18 September 2009 - 09:53

delete here

Edited by CCCD, 19 December 2009 - 00:05.

To listen and learn, or contribute and teach.

#22 GuardianTempest

    Regular

  • Member
  • 180 posts

Posted 19 July 2010 - 12:32

Can you use semicolons (:P to make comments there? I'm making a line to distinguish the stock from my pile of strings.

More like a yarnball.
OC's and stuff
DeviantArt
*RWUAAARAAUGHRWAGH!!*
--------------------------
Posted Image
"I am an artist of daydreams. With just a little material, be it a picture, audio or a simple thought, it could fuel a derivative masterpiece."
And I also do Walfas Comics...when I feel like it.

#23 Zeke

    The X General

  • Project Team
  • 3504 posts
  • Projects: Deep Impact (formerly EC)

Posted 19 July 2010 - 12:48

you can't use comments in the .str IIRC

#24 R3ven

    Veteran

  • Project Team
  • 468 posts

Posted 19 July 2010 - 16:12

You can, but it has to be on an empty line and has to start with // which is how you comment an STR file.

#25 GuardianTempest

    Regular

  • Member
  • 180 posts

Posted 19 July 2010 - 20:43

K I'm trying it.
OC's and stuff
DeviantArt
*RWUAAARAAUGHRWAGH!!*
--------------------------
Posted Image
"I am an artist of daydreams. With just a little material, be it a picture, audio or a simple thought, it could fuel a derivative masterpiece."
And I also do Walfas Comics...when I feel like it.



11 user(s) are reading this topic

0 members, 11 guests, 0 anonymous users