Hard Light Productions Forums

Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: Krallis on March 17, 2008, 05:08:22 pm

Title: Weapon guides
Post by: Krallis on March 17, 2008, 05:08:22 pm
OKay can anyone point me towards a place with decent weapon creation tutorials for FS2. I am starting to plan a campaign but I want to have the resources available to create weapons and ships. I have the ship tutorials and FRED tutorials I just need weapon tutorials.

Links would be appreciated.
Title: Re: Weapon guides
Post by: Retsof on March 17, 2008, 05:10:34 pm
The Wiki should tell you everything you need about what does what.
Title: Re: Weapon guides
Post by: Krallis on March 17, 2008, 05:15:22 pm
Okay, didn't know freespace 2 had a wiki (I'm a modding noob). Cheers.
Title: Re: Weapon guides
Post by: Zoltan on March 17, 2008, 05:22:37 pm
Look here: http://homepage.ntlworld.com/karajorma/FAQ/intro.html
Title: Re: Weapon guides
Post by: Krallis on March 17, 2008, 05:25:43 pm
I found that ages ago and its set in my homepage tabs. When will e freespace wiki scripting tutorials be completed to cover fighter weapons and missiles or secondary's. I can only find a basic scripting tutorial and a beam creation tutorial.
Title: Re: Weapon guides
Post by: blowfish on March 17, 2008, 05:29:56 pm
Just so you know, for the most part, you won't have to make any new effects, just tables.  If you poke your nose around in MV_Effects, you will see a variety of different effects that can be used, in various combinations.  You can even change the color just using the tables by changing the laser color (for laser weapons).
Title: Re: Weapon guides
Post by: Krallis on March 17, 2008, 05:35:54 pm
Once I've finished my beam table do i just put it in the weapons file. Another problem all my tables are in the VP files. Do I just get the VP viewer to view the tables.
Title: Re: Weapon guides
Post by: Zoltan on March 17, 2008, 05:41:16 pm
Once I've finished my beam table do i just put it in the weapons file. Another problem all my tables are in the VP files. Do I just get the VP viewer to view the tables.

Your have to extract the weapons file, then you can edit them using Notepad. Once you have the file open in Notepad just paste in your weapon and save.
Title: Re: Weapon guides
Post by: blowfish on March 17, 2008, 05:43:19 pm
You can look at the tables with a VP viewer but you really don't want to modify the tables in them.  If you have SCP (which you should), you should put them in a TBM file, named something like myawesomeweapons-wep.tbm (and put it in data/tables).  The inside of the file would look something like this:

Code: [Select]
#Primary Weapons

$Name:                     My Awesome Weapon
...

#End

Title: Re: Weapon guides
Post by: Krallis on March 17, 2008, 05:44:23 pm
Thanks. I needed clarification on that. By the way, do you mean extract the weapons file with VP viewer.
Title: Re: Weapon guides
Post by: blowfish on March 17, 2008, 06:00:58 pm
Something like Maja (possibly others) will just let you view it inside the VP, but if you extract it it is easier to work with.  I find the best way to learn tabling is just poking through existing tables.  Most of the new table entries I make are copies of old ones with many fields changed.
Title: Re: Weapon guides
Post by: Mad Bomber on March 17, 2008, 07:56:45 pm
It might also be helpful to make a chart in Excel (or even Notepad will do) showing the relative effectiveness of the guns/missiles. It's a decent way to keep your MOD balanced.

Something like the attached. I originally wanted to make sure I wasn't going overboard with the redone Prom-R or any new cannons. :)

[attachment deleted by ninja]