Hard Light Productions Forums
Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: FlareBaffled on December 17, 2006, 05:49:42 pm
-
No readme downloaded with the SCP build I have, and I can't track one down. Ther ealso doesn't seem to be a section in the WIKI I can find that explains it.
I want to use a load of the SCP features, starting with the ballistic primaries, but I can't see where I set them up. Do I just change the table? I want the barrels to animate when firing if possible to make a proper chaingun... does this work? What is the naming convention for the model etc.
Now I have the conversions working with the Max plugin, it's time to start packing in the features ;)
-
Do a search in fswiki for "ballistic primaries". You will need the Pbank capacity variable in ships.tbl, and the flags in both weapons.tbl and ships.tbl.
I'm not sure how to setup a model for rotating barrels. I'm pretty sure that you will need the barrel to be a separate subobject, though, and then use the animation stuffs to set the trigger for it. I don't know if there's a trigger for the actual firing of a weapon, though.
Unfortunately there is very little focus on making SCP features accessible to the end user, you must generally search through the forums or piece together information from the wiki. Although I think that you asking may make more people realize just how difficult it is to actually learn to use some of these features.
-
You hit the nail right on the head there.... The features people are spending their time creating DESERVE to be used, but if you have to be an expert to use them, they will never make the impact they could.
The WIKI needs a section on SCP features, with clear instructions how to make them work. I have seen mentions of ballistic primaries, with weapon ammo etc. and I am sure I read somewhere that the barrels of the guns could be made to spin. I also read something about visible weapon payloads for missiles...so you could hang them on racks etc.
Would love to use all this stuff.... but I just don't know how. All the tutorials relate back purely to stock FS2 methods and features.
Show me how, and I will add it all to the WIKI myself!
-
This is the main reason why i started adding all the tables to the FSwiki.. Also if you want to make tutorials add those the 'Tutorials' category. http://www.hard-light.net/wiki/index.php/Category:Tutorials
Ballistic primaries:
- Add "ballistic" flag to the weapon in weapons.tbl
- Set ammo related weapons.tbl options
- Set capacity of the primary weapon banks in ships.tbl
Visible primary weapons:
- Set $External Model File: in weapons.tbl
- (AFAIK) Use $Submodel Rotation Speed: & $Submodel Rotation Acceleration: to set the gatling things for non turret weapons in weapons.tbl.
- Set $Show Primary Models: in ships.tbl
Visible secondary weapons:
- Set $Show Secondary Models: in ships.tbl
-
Thanks Wanderer ... thats more info than I have got in 2 days of searching! I will try and put some of this into practice and write it up when I have sorted it