Hard Light Productions Forums
Community Projects => The FreeSpace Wiki Project => Topic started by: ARSPR on December 29, 2008, 01:37:21 am
-
I think $Name entry in Ships.tbl and Weapons.tbl, (and any other table???), should contain the description about the special characters you can use in it.
I don't mind updating Wiki myself but I'm no expert.
This is my little knowledge about these characters:
- #. It's used in the middle of the name. It makes the right part of the name not being shown in the ship/weapon class info of the target window, (or beside the target brackets in FS_Open builds). It allows making different versions of a ship or weapon while showing the same class name inside the game.
An example from FSPort Freespace 1: "SF Dragon#weakened" ship, used in "Enter the dragon" mission, appears to the player just as another "SF Dragon", although, as its name suggests, it is less powerful than the original one.
- @. It's used at the begining of the name and it doesn't appear ingame in ship/weapon class. What does it do?
- Any others?
Could anyone confirm this info and post a lesson about the rest?
-
@ Is used to denote ships and weapons that were in the demo.
I don't know of any others.
-
;; semicolon can be used anywhere to **** things up
-
I've made a test with @ and it seems pretty useless...
In FS2 retail ships.tbl you have:
...
$Name: @GTDR Amazon
...
$POF file: Drone01.pof
...
$Closeup_pos: 0.0, -2.0, -49
$Closeup_zoom: 0.5
...
$Name: GTDR Amazon Advanced
...
$POF file: Drone02.pof
...
$Closeup_pos: 0.0, 19.0, -190
$Closeup_zoom: 0.5
...
Over that table I've used the next -shp.tbm which switches @ between both ships:
#Ship Classes
$Name: GTDR Amazon
+nocreate
$POF file: Drone02.pof
$Closeup_pos: 0.0, 19.0, -190
$Closeup_zoom: 0.5
$Name: @GTDR Amazon Advanced
+nocreate
$POF file: Drone01.pof
$Closeup_pos: 0.0, -2.0, -49
$Closeup_zoom: 0.5
#End
And voilĂ , you end with an Amazon looking like an Amazon Advanced, and vice versa.
So it really seems that @ is fully useless.
Could someone confirm it? Or does it have another kind of hidden effect?
-
@ Is used to denote ships and weapons that were in the demo.
-
The game does not read the '@' at all.
You can use it to mark ships, that say, are placeholders in your mod or something.
Its essentially like a comment, but only a single character.
-
;; semicolon can be used anywhere to **** things up
/* Comment */ as well.
-
;; semicolon can be used anywhere to **** things up
/* Comment */ as well.
Thanks guys, but I don't think they are $Name special characters but general ones.
OTOH there's just one question missing. Is there any other table, (but ships.tbl and weapons.tbl), where # and @ can be also used?
EDITED
Done. Ships.tbl and Weapons.tbl modified in Wiki