Newlines for units description

Newlines for units description

Requests for features in the spring code.

Moderator: Moderators

Post Reply
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Newlines for units description

Post by Forboding Angel »

Not via a lua gadget, built into the engine. The fact that it isn't there already is jsut sad. It's not as if this is a small issue or one we haven't been fighting for quite some time now.
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: Newlines for units description

Post by smoth »

Why not lua?
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: Newlines for units description

Post by Forboding Angel »

Because it should be a default trait within the engine, not one that has to be added to a new mod.
User avatar
Neddie
Community Lead
Posts: 9406
Joined: 10 Apr 2006, 05:05

Re: Newlines for units description

Post by Neddie »

Conversely, why lua rather than in the engine? It seems rather basic.
User avatar
zwzsg
Kernel Panic Co-Developer
Posts: 7052
Joined: 16 Nov 2004, 13:08

Re: Newlines for units description

Post by zwzsg »

I don't even know what you mean by "Newlines for units description". If by that you mean that you think the unit description should be in its own line instead of next to the unit name, separated by a hyphen, like now, then I am strongly against it.

But maybe you mean you want to have new lines in the middle of your unit description? Or something else?
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: Newlines for units description

Post by Forboding Angel »

Yeah in the middle

"This unit is a badass because it does this \n And this \n Oh fuck me, it does this too?!?"
imbaczek
Posts: 3629
Joined: 22 Aug 2006, 16:19

Re: Newlines for units description

Post by imbaczek »

fbi/tdf is rather obsolete and nearly deprecated, so i'm not sure if adding such a feature would make sense from an educational point of view 8)
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: Newlines for units description

Post by Forboding Angel »

I use luadefs and I still can't make a newline in the description tag.

I get your point baczek, but the issue still remains.
User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6242
Joined: 29 Apr 2005, 01:14

Re: Newlines for units description

Post by FLOZi »

Does

Code: Select all

[[This is my unit yo.
This is a newline, yo]]
Not work?

Note that that form of strings do not interpret \n in the lua language, (whereas "..." do) so that may be the problem also.
Post Reply

Return to “Feature Requests”