Hello

General discussion for CFS2 - WW 2 Pacific Theater

Hello

Postby vilik » Mon Aug 17, 2009 6:25 pm

Hello my name is Vilic.  I would like to add some long range guns and ... to certain planes both from FS2004 and CFS2 that do not have any guns or just have guns only.
Any idea how this could be done?
Thank you,
Vilic
vilik
Ground hog
Ground hog
 
Posts: 35
Joined: Wed Feb 09, 2005 10:13 pm

Re: Hello

Postby Dirtman » Tue Aug 18, 2009 8:33 am

Yo Vilic;

Guns & other weapon loadouts are controlled by entries in the aircraft .dp file. (damage profile)

No .dp file - No weapons   :( ... simple eh?

- this also applies to any CFS2 object that is destroyable.

The .dp file is fairly easy to modify IF you understand the entries listed in it.

To be able to read & understand these I direct you the "Caleb Klerk's" site.

http://www.cfgse.calebflerk.com/cfgsedownload.htm

Look under the "Downloads Tab" .. there you will find a number of tutorials in e-book (.exe) format.

There are many e-books covering all aspects of sim aircraft.

The best being the: .dp guide ( cfgse_DP.exe )

This will fully explain each entry in the gunstation code plus offers a wealth of info on modifying the .dp

Everything is free to download & use.


For FS2004 planes; first you'll need to convert them to operate in CFS2.

Good Luck Bro .... Have a Blast!!!

;D  ;D  ;D


- Dirt
CFS2 Fulfills my need to "peacefully" blow things up
User avatar
Dirtman
Ground hog
Ground hog
 
Posts: 40
Joined: Wed Jul 22, 2009 2:48 pm
Location: Toronto Canada

Re: Hello

Postby H » Tue Aug 18, 2009 11:01 am

For FS2004 planes; first you'll need to convert them to operate in CFS2.
I'm not familiar with FS9 acft; most FS2k2 and earlier acft can be modied for CFS2 but FS isn't set up to respond to CF guns.


Here is the pertinent section from the CFS2 Corsair's .dp:

[GUNSTATIONS]
gunstation.0=0,24,1,0.08,839,2,0.01,500,2,40,1d1*14,-2.429,-0.66,0.815,0.119651268759032,0,0.463894691272955,0,0,0,0,1.6
gunstation.1=0,31,1,0.08,839,2,0.01,500,2,40,1d1*14,2.863,-0.594,0.749,0.119651268759032,0,-0.546776123639333,0,0,0,0,1.6
gunstation.2=3,21,8,0.00,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0

[guns.0]
gun.0=400,0,0,0,0,0,1,400
gun.1=400,-0.198,0.027,-0.022,0,0,1,400
gun.2=375,-0.403,5.80000000000001E-02,-6.59999999999999E-02,0,0,1,375

[guns.1]
gun.0=400,0,0,0,0,0,1,400
gun.1=400,-0.235,-0.033,4.39999999999999E-02,0,0,1,400
gun.2=375,-0.433,-6.60000000000001E-02,6.59999999999999E-02,0,0,1,375

[guns.2]
gun.0=3,0,0,0,0,0,0,0

Most of my mods have been with CFS1, quite the same. The first/third digits after the gunstation '=' sign designates the trigger button and type of gun. You may assign differently but, usually:
0/1 = machine gun
1/2 = cannon
2/4 = rocket
3/8 = bomb

The 1d1*14 (in this one) assigns the destructive power (um, try to be somewhat realistic here). Use the tutorials to manipulate your trajectories in the gunstation lines, which also positions the particular bank of guns; the [gun] lines position the individual guns in respect to the gunstation locus.



8-)
Last edited by H on Tue Aug 18, 2009 11:02 am, edited 1 time in total.
H
Lieutenant Colonel
Lieutenant Colonel
 
Posts: 5525
Joined: Fri May 27, 2005 1:27 am
Location: NH, USA

Re: Hello

Postby vilik » Tue Aug 18, 2009 2:36 pm

Hello and thank you very much for your concice help and direction.  I will certainly look into that site to learn about CFS2.

By the way aren't you glad that "garbage strike" is over in our city?
Thanks again,
Vilic
vilik
Ground hog
Ground hog
 
Posts: 35
Joined: Wed Feb 09, 2005 10:13 pm

Re: Hello

Postby Dirtman » Tue Aug 18, 2009 4:11 pm

By the way aren't you glad that "garbage strike" is over in our city?
Thanks again,Vilic


Yer a sneaky guy .... from my very own city of Toronto in Kanada!

What part of the city are you in? - I wanna know if the beer in yer fridge is within easy "striking distance"
Last edited by Dirtman on Tue Aug 18, 2009 4:12 pm, edited 1 time in total.
CFS2 Fulfills my need to "peacefully" blow things up
User avatar
Dirtman
Ground hog
Ground hog
 
Posts: 40
Joined: Wed Jul 22, 2009 2:48 pm
Location: Toronto Canada

Re: Hello

Postby Tango_Romeo » Sat Aug 22, 2009 12:38 pm

Welcome!
Many Hands Make Small Work Image P-51 Contract Lost - Build Swifts

FLY FOX FOUR KOREA: http://www.simviation.com/lair/cfs2korea.htm GET FOX FOUR EXTRAS: http://www.simviation.com/lair
User avatar
Tango_Romeo
Major
Major
 
Posts: 1183
Joined: Fri Mar 10, 2006 2:00 am
Location: Tennessee


Return to Combat Flight Simulator 2

Who is online

Users browsing this forum: No registered users and 106 guests