Search the archive:
YaBB - Yet another Bulletin Board
 
   
 
Page Index Toggle Pages: 1
Send Topic Print
I am having trouble defining Parm1 & Parm2 (Read 235 times)
May 4th, 2004 at 11:09am

Wilder   Offline
Lieutenant Colonel
I love YaBB 1G - SP1!
Hawaii

Posts: 8
*****
 
Thanks to all who have helped me in the past.
I am trying to add weapons to an aircraft using Dped110 designed by Yusaku Homma and it asks you to set the Parm1 and Parm2 settings when you enter the Payload settings. I am at a loss to figure this out. I think when I am finished, I am going to write a tutorial on how to use this Dped110 so as to be easier for novices to understand.
Although, I have found, the harder you have to work to understand something, the more knowledgeable you become in the end.
But I just haven't figured this Parm1 & Parm2 yet on my own.

Thank You Very Much,

Wilder
 
IP Logged
 
Reply #1 - May 4th, 2004 at 2:39pm

Hagar   Offline
Colonel
My Spitfire Girl
Costa Geriatrica

Posts: 33159
*****
 
Hi Wilder. Parm 1 & Parm 2 correspond to the last 2 entries in the appropriate Payload entry for external weapons. Here's an example from the default Hellcat DP.

...

This is the corresponding entry in the DP when opened in Notepad.

[PAYLOAD.2]
mount.2=wep_pylon_hellcat, 1, -1
mount.3=WEP_US_250lb_GP, 1, 5

mount.4=wep_pylon_hellcat, 1, -1
mount.5=WEP_US_250lb_GP, 1, -1

Parm 2 with a value of 5 means that this mount is triggered by mount.5. In this case both bombs will drop together. To drop them separately change Parm 2 to -1.

It must be well over 2 years since I did any of this stuff so I had to do a crash refresher course. I find the text files included with MW's weapons libraries a great help. In fact this is where I got most of my knowledge of DP editing. I copied this from Payloads.txt included with his Extra Weapons Package. (wep.zip). http://www.mnwright.btinternet.co.uk/cfs2/weapons.htm

Payload Creation

The CFS2 Dp Payload sections seem to work in the following fashion :-

[PAYLOAD.#]
mount.#=<weapon_name>,<number_of_weapons>,<other_mount_to_fire>

The number_of_weapons will usually be 1 but sometimes (like for Bombs
carried internally) this may be 2 or more. If so then it will act like
"ammunition". You can fire this "weapon" that number of times.

The other_mount_to_fire is -1 if the weapon fires alone (or for pure "mounts"
that don`t actually fire anything) otherwise it is the number of the
companion mount


As with most things in this hobby I find that it's much easier to modify an existing DP than create one from scratch as all the entries should be set up properly. All you need to do is reposition them to suit the aircraft.
 

...

Founder & Sole Member - Grumpy's Over the Hill Club for Veteran Virtual Aviators
Member of the Fox Four Group

Need help? Try Grumpy's Lair

My photo gallery
IP Logged
 
Reply #2 - May 6th, 2004 at 12:06pm

Wilder   Offline
Lieutenant Colonel
I love YaBB 1G - SP1!
Hawaii

Posts: 8
*****
 
Thank You again Hagar
I really appreciate your help.
I have the Parm1 and Parm2 figured out now and I used it to set the firing order of my rockets.

Now I have trouble with a pair of Napalm bombs. I added them to the wing undercarriage. For some reason only one shows up. The one on the Port side.
I have checked everything, the entries in the gunstations, I made 2 seperate entries. I have made a Payload for the bombs with an entry each for Pylons and bombs. I just can't figure it out.
Thanks
Wilder
 
IP Logged
 
Reply #3 - May 6th, 2004 at 12:16pm

Hagar   Offline
Colonel
My Spitfire Girl
Costa Geriatrica

Posts: 33159
*****
 
Glad I could help. As you know I'm a tad rusty with this stuff. I think you only need 1 [GUNSTATIONS] entry for bombs & 1 for rockets no matter how many you use. Make sure that the bombs are correctly positioned & not both on one side. Also remember there is a limit to the number of [HARDPOINTS] entries you can have in a DP. From memory it's something like 22. If you still can't figure it out either mail me the DP or post the appropriate entry here.
 

...

Founder & Sole Member - Grumpy's Over the Hill Club for Veteran Virtual Aviators
Member of the Fox Four Group

Need help? Try Grumpy's Lair

My photo gallery
IP Logged
 
Reply #4 - May 6th, 2004 at 9:45pm

Wilder   Offline
Lieutenant Colonel
I love YaBB 1G - SP1!
Hawaii

Posts: 8
*****
 
Ha, Ha, Ha
Thanks again Hagar, as usual its always something simple that is the cause of most problems.
It was the number of hardpoints that I had. I had 26 and the missing bomb was one of the ones over the limit. Now everything works well and I can't thank you enough. I wish there were something I could do for you.
Thanks
Wilder
 
IP Logged
 
Reply #5 - May 7th, 2004 at 2:31am

Hagar   Offline
Colonel
My Spitfire Girl
Costa Geriatrica

Posts: 33159
*****
 
Glad you fixed it. As you say, it's usually something simple. Wink

One more thing. Remember to delete the corresponding CDP each time you edit the DP. This is easy to forget.
 

...

Founder & Sole Member - Grumpy's Over the Hill Club for Veteran Virtual Aviators
Member of the Fox Four Group

Need help? Try Grumpy's Lair

My photo gallery
IP Logged
 
Page Index Toggle Pages: 1
Send Topic Print