Hard Light Productions Forums
Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: Unknown Target on January 06, 2006, 10:42:51 pm
-
There used to be a very helpful list of all the new table entries created by the SCP, along with what they did and how to implement them. Is there another one around? If there isn't, it would be really helpful :)
-
http://www.hard-light.net/wiki/ :nervous:
-
Ah...I looked in Source Code Project, where I assumed it would be :p Thanks :)
-
Sorry to double post, but I just wanted this answered, what does $Glide: do?
The wikki just says:
"Allows gliding in game"
-
If you add a entry $Glide: YES you can change with alt-g (default) the glide on. When glide is enabled you can turn the facing of the ship without ships flight direction actually changing, kinda like in I-War with manual thrusters. Downside is that normal thruster controls won't function either. Makes possible to strafe.. but you will be sitting duck while doing so.
-
Ah...also, why is it that I cannot get the particle thrusters to work? I put all the data in, and I don't get an error, but I still don't get any particley-ness.
-
Have you defined both normal and abthrusters?
And try this one for starters:
$Thruster Particles:
$Thruster Particle Bitmap: particleexp01
$Min Radius: 0.1
$Max Radius: 0.1
$Min created: 0
$Max created: 0
$Variance: 0.12
$Thruster Particles:
$Afterburner Particle Bitmap: exp04
$Min Radius: 5.0
$Max Radius: 10.0
$Min created: 25
$Max created: 50
$Variance: 0.025
-
Nope.
Error: ships.tbl(line 232:
Error: Required token = [#End], [$Subsystem:] or [$Name], found [$Thruster Particles:].
File:\Documents and Settings\Administrator\My Documents\My Source Code\fs2_open\code\parse\parselo.cpp
Line: 591
[This filename points to the location of a file on the computer that built this executable]
Call stack:
------------------------------------------------------------------
------------------------------------------------------------------
Using the fs2_open_C23122005.exe build.
-
Are you sure you have the particle thrusters in right order and in the right place? That particular entry worked for me just fine, i even tested it before posting. IIRC same entry worked in November too.
-
Yea, I got it - was in the wrong place. Do you get a big slowdown though? I must say I do, although it might just be my comp.
-
With that one... Yes i do get... it was designed for poorer quality anis, not the adveffect stuff ;) . There are far too many particles in it of that quality. I just swapped the entries from the original one so that it would work anywhere.
-
A bump because I need more help with the Species_defs table.
I create my own brand new table, put both the syntax in the wikki and the syntax posted by Nuke in this thread:
http://www.hard-light.net/forums/index.php/topic,37620.0.html
But I still get errors, nomatter what. I use the 3.6.7, and the latest build with both syntax's, I get that the Shivans don't have their flybye sounds defined; I extracted the default table to the tables directory, and it still says it.
This is what I get:
Error: The following species are missing flyby sounds in sounds.tbl:
Shivan
File:\fs2_open\code\gamesnd\gamesnd.cpp
Line: 556
[This filename points to the location of a file on the computer that built this executable]
Call stack:
------------------------------------------------------------------
------------------------------------------------------------------
Can someone PLEASE help me on this? It SHOULD work but it doesn't. I checked all my directories to make sure there were no conflicting tables; there aren't any. Some help please?
-
I would say that your problem is not the species_defs.tbl but sounds.tbl. Seems like you are missing the flyby sounds from the end of the sounds.tbl. Every species must have these defined.
Normally there are following entries:
#Flyby Sounds Start
$Terran: 0 T_flyby1.wav, 0, 0.75, 1, 200, 400 ; * Terran ship1 flyby player sound (3d sound)
$Terran: 1 T_flyby2.wav, 0, 0.75, 1, 200, 400 ; * Terran ship1 flyby player sound (3d sound)
$Vasudan: 0 V_flyby1.wav, 0, 0.85, 1, 200, 400 ; * Vasudan ship1 flyby player sound (3d sound)
$Vasudan: 1 V_flyby2.wav, 0, 0.85, 1, 200, 400 ; * Vasudan ship1 flyby player sound (3d sound)
$Shivan: 0 S_flyby1.wav, 0, 0.75, 1, 200, 400 ; * SHIVAN ship1 flyby player sound (3d sound)
$Shivan: 1 S_flyby2.wav, 0, 0.75, 1, 200, 400 ; * SHIVAN ship1 flyby player sound (3d sound)
#Flyby Sounds End
If you added a new species, make sure you have entries for that particular species. And also correct changes in asteroids.tbl and icons.tbl. If you like you can PM the table to me and i can take a look at it.
-
I have that; like I said, I get the error with unmodified Volition sound tables.
-
Did you add any species? i mean how many species do you have on your species_defs.tbl? I'm using CVS 08/01/06 and i have a bit modified species_def.tbl in use without any complaints (nearly the same as what Nuke had).
-
All I did was remove the Vasudans from the species_defs.
-
You'll need to remove Vasudans from the sounds table then. Because it doesn't use "$Species: Terran", the parser can't handle species names.
-
All I did was remove the Vasudans from the species_defs.
If you change the number of species in species_defs.tbl you will have to do respective changes in asteroids, icons and sounds tables.
EDIT: Missed WMCs posting? Shouldn't the new board warn if this was happening?
-
Oh noes, a buggy error message. :sigh:
Mantis, please, and assign to me. :)
-
Ok, so I put in Nuke's species, removed the Vasudans from both there and the sound table, and it gave me the error that I needed $Numspecies:
I put that in as 2, then launched, and got this error:
---------------------------
Error!
---------------------------
Error: species_defs.tbl(7):
Error: Required token = [+Debris_Texture:], found [$Default IFF: Friendly] .
File:parse/parselo.cpp
Line: 551
[This filename points to the location of a file on the computer that built this executable]
Call stack:
------------------------------------------------------------------
------------------------------------------------------------------
[ This info is in the clipboard so you can paste it somewhere now ]
Use Ok to break into Debugger, Cancel exits.
---------------------------
OK Cancel
---------------------------
This is the typical error. I'm using 3.6.7, P4 2.2 Ghz, Geforce FX 5200 w/128 mb RAM, and 512 mb system RAM, Windows XP.
-
You're using an older build with the newer format table, that doesn't need NumSpecies and has the IFF stuff.