PDA

View Full Version : DP Question



skylane
April 19th, 2014, 08:27
Good Afternoon!

I was playing with the MVG Italian Wings CR-42, and found a problem with the fighter-bomber Version:
When I load the bombs, they appear on the visual model, but they do not appear in the bombs count in the HUD mode. I can select and drop them, then they disappear from the visual, but there´s no explosion on the ground, as they are apparently not there.

Here is a copy of the DP;

[BOXES]
box.0=%box_name.0%,-0.74,-1.5,0.99,0.72,0.58,2.46,33,34,35,36,53,54,55,56
box.1=%box_name.1%,-0.73,-1.48,-0.86,0.73,0.59,0.97,37,38,39,40,57,58,59,60
box.2=%box_name.2%,-0.34,-0.91,-1.65,0.34,0.82,-0.92,17,18,19,20,21,22,23,24,97,98,99,100,101,102, 103,104
box.3=%box_name.3%,-4.79,1.11,-1.32,0,1.31,0.83,25,26,27,28,29,30,31,32
box.4=%box_name.4%,-5.8,1.12,-1.01,-4.79,1.32,0.55,1,2,3,4,5,6,7,8,81,82,83,84,85,86,8 7,88
box.5=%box_name.5%,0,1.11,-1.32,4.79,1.31,0.83,9,10,11,12,13,14,15,16,89,90,9 1,92,93,94,95,96
box.6=%box_name.6%,4.78,1.12,-1.01,5.8,1.32,0.55,41,42,43,44,61,62,63,64
box.7=%box_name.7%,-3.75,-1.45,-1.75,-0.74,-1.31,0.6,45,46,47,48,65,66,67,68
box.8=%box_name.8%,0.74,-1.45,-1.75,3.75,-1.31,0.6
box.9=%box_name.9%,-0.73,-1.44,-1.81,0.71,0.6,-0.86
box.10=%box_name.10%,-0.65,-1.24,-3.64,0.63,0.48,-1.8,73,74,75,76,113,114,115,116
box.11=%box_name.11%,-0.44,-0.89,-6.68,0.46,0.2,-5.44,49,50,51,52,69,70,71,72
box.12=%box_name.12%,-0.56,-1.11,-5.44,0.58,0.38,-3.62
box.13=%box_name.13%,-2.4,-0.4,-5.93,-0.45,-0.24,-4.86
box.14=%box_name.14%,0.45,-0.39,-5.93,2.4,-0.24,-4.86
box.15=%box_name.15%,-0.1,0.22,-6.32,0.09,1.74,-4.8
box.16=%box_name.16%,-1.5,-3.05,0.24,-0.7,-1.47,0.97
box.17=%box_name.17%,0.7,-3.05,0.24,1.5,-1.45,0.97
[SYSTEMS]
system.0=%system_name.0%,410,0
system.1=%system_name.1%,205,2
system.2=%system_name.2%,307,3
system.3=%system_name.3%,102,7
system.4=%system_name.4%,76,8
system.5=%system_name.5%,25,9
system.6=%system_name.6%,102,10
system.7=%system_name.7%,410,18
system.8=%system_name.8%,25,19
system.9=%system_name.9%,76,20
system.10=%system_name.10%,76,22
system.11=%system_name.11%,410,23
system.12=%system_name.12%,153,28
system.13=%system_name.13%,410,30
system.14=%system_name.14%,153,35
system.15=%system_name.15%,120,15
system.16=%system_name.16%,128,25
system.17=%system_name.17%,205,45
system.18=%system_name.18%,25,26
system.19=%system_name.19%,153,27
system.20=%system_name.20%,128,29
system.21=%system_name.21%,120,12
system.22=%system_name.22%,205,31
system.23=%system_name.23%,128,32
system.24=%system_name.24%,25,33
system.25=%system_name.25%,153,34
system.26=%system_name.26%,128,36
system.27=%system_name.27%,410,37
system.28=%system_name.28%,410,38
system.29=%system_name.29%,205,41
system.30=%system_name.30%,153,39
system.31=%system_name.31%,153,40

[BOXMAPS.0]
; Box = Nose
boxmap.0=50,0
boxmap.1=40,3

[BOXMAPS.1]
; Box = Fuselage
boxmap.0=30,10
boxmap.1=40,18
boxmap.2=5,7
boxmap.3=10,2
boxmap.4=15,45

[BOXMAPS.2]
; Box = Pilot
boxmap.0=100,8

[BOXMAPS.3]
; Box = Port Wing
boxmap.0=40,23
boxmap.1=5,26
boxmap.2=10,28
boxmap.3=10,29

[BOXMAPS.4]
; Box = Port Wing Tip
boxmap.0=100,28

[BOXMAPS.5]
; Box = Starboard Wing
boxmap.0=40,30
boxmap.1=10,31
boxmap.2=15,32
boxmap.3=5,33
boxmap.4=10,34
boxmap.5=10,35
boxmap.6=10,36

[BOXMAPS.6]
; Box = Starboard Wing Tip
boxmap.0=100,35

[BOXMAPS.7]
; Box = Lower Port Wing
boxmap.0=40,23
boxmap.1=10,23

[BOXMAPS.8]
; Box = Lower Starboard Wing
boxmap.0=40,30
boxmap.1=10,35

[BOXMAPS.9]
; Box = Cockpit
boxmap.0=5,19
boxmap.1=5,22
boxmap.2=30,18
boxmap.3=10,9

[BOXMAPS.10]
; Box = Fuselage rear section
boxmap.0=5,19
boxmap.1=5,22
boxmap.2=90,18

[BOXMAPS.11]
; Box = Tail
boxmap.0=5,19
boxmap.1=5,22
boxmap.2=90,37

[BOXMAPS.12]
; Box = Tailcone
boxmap.0=5,19
boxmap.1=5,22
boxmap.2=90,38

[BOXMAPS.13]
; Box = Port Elevator
boxmap.0=100,39

[BOXMAPS.14]
; Box = Starboard Elevator
boxmap.0=100,40

[BOXMAPS.15]
; Box = Rudder
boxmap.0=100,41

[BOXMAPS.16]
; Box = Port Gear
boxmap.0=20,27

[BOXMAPS.17]
; Box = Starboard Gear
boxmap.0=20,34

[EFFECTS.0]
; System = Nose Structure
effect.0=10,LIBRARY,fx_smkpuff_s,
effect.1=30,LIBRARY,fx_engfire_s,
effect.2=60,LIBRARY,fx_engfire_m,
effect.3=95,LIBRARY,fx_airexpl_l,
effect.4=100,BREAK,6,

[EFFECTS.1]
; System = Oil Reservoir
effect.0=10,LIBRARY,fx_oilleak_s,
effect.1=30,LIBRARY,fx_oilleak_m,
effect.2=60,LIBRARY,fx_wingfire,
effect.3=95,LIBRARY,fx_airexpl_m,
effect.4=100,BREAK,,

[EFFECTS.2]
; System = Engine
Location = 0,0,0
effect.0=10,LIBRARY,fx_fuelleak_s,
effect.1=30,LIBRARY,fx_engfire_m,
effect.2=60,LIBRARY,fx_engfire_l,
effect.3=95,LIBRARY,fx_airexpl_m,
effect.4=100,BREAK,7,

[EFFECTS.3]
; System = Hydraulics Reservoir
effect.0=10,LIBRARY,fx_fuelleak_m,
effect.1=60,LIBRARY,fx_intsmoke,
effect.2=95,LIBRARY,fx_airexpl_m,
effect.3=100,BREAK,,

[EFFECTS.4]
; System = Pilot
effect.0=95,LIBRARY,fx_smkpuff_m,
effect.1=100,DEATH,,

[EFFECTS.5]
; System = Radio
effect.0=95,LIBRARY,fx_smkpuff_s,
effect.1=100,BREAK,,

[EFFECTS.6]
; System = Fuel Tank
effect.0=10,LIBRARY,fx_fuelleak_s,
effect.1=60,LIBRARY,fx_gastank_l,
effect.2=95,LIBRARY,fx_airexpl_s,
effect.3=100,BOMB,,

[EFFECTS.7]
; System = Fuselage Structure
effect.0=10,LIBRARY,fx_oilleak_s,
effect.1=30,LIBRARY,fx_engfire_s,
effect.2=60,LIBRARY,fx_engfire_m,
effect.3=95,LIBRARY,fx_airexpl_l,
effect.4=100,BREAK,,

[EFFECTS.8]
; System = Rudder Cntrl Cable
effect.0=95,LIBRARY,fx_smkpuff_s,
effect.1=100,BREAK,,

[EFFECTS.9]
; System = Bomb Release
effect.0=95,LIBRARY,fx_smkpuff_s,
effect.1=100,BREAK,,

[EFFECTS.10]
; System = Elevator Cntrl Cable
effect.0=95,LIBRARY,fx_smkpuff_s,
effect.1=100,BREAK,,

[EFFECTS.11]
; System = Port Wing Structure
Location = 0,0,0
effect.0=10,LIBRARY,fx_smkpuff_s,
effect.1=30,LIBRARY,fx_intsmoke,
effect.2=60,LIBRARY,fx_wingfire,
effect.3=95,LIBRARY,fx_airexpl_s,
effect.4=100,BREAK,1,

[EFFECTS.12]
; System = Port Wing Tip Structure
Location = 0,0,0
effect.0=10,LIBRARY,fx_smkpuff_s,
effect.1=30,LIBRARY,fx_wingfire,
effect.2=60,LIBRARY,fx_engfire_m,
effect.3=95,LIBRARY,fx_airexpl_m,
effect.4=100,BREAK,4,

[EFFECTS.13]
; System = Starboard Wing Structure
Location = 0,0,0
effect.0=10,LIBRARY,fx_smkpuff_s,
effect.1=30,LIBRARY,fx_engfire_s,
effect.2=60,LIBRARY,fx_wingfire,
effect.3=95,LIBRARY,fx_airexpl_s,
effect.4=100,BREAK,2,

[EFFECTS.14]
; System = Starboard Wing Tip Structure
Location = 0,0,0
effect.0=10,LIBRARY,fx_smkpuff_s,
effect.1=30,LIBRARY,fx_intsmoke,
effect.2=60,LIBRARY,fx_wingfire,
effect.3=95,LIBRARY,fx_airexpl_m,
effect.4=100,BREAK,5,

[EFFECTS.15]
; System = Port Fuel Tank
Location = 0,0,0
effect.0=10,LIBRARY,fx_fuelleak_s,
effect.1=60,LIBRARY,fx_gastank_m,
effect.2=95,LIBRARY,fx_airexpl_l,
effect.3=100,BOMB,,
effect.4=30,LIBRARY,fx_fuelleak_s,
effect.5=60,LIBRARY,fx_gastank_l,
effect.6=95,LIBRARY,fx_airexpl_s,
effect.7=100,BOMB,,

[EFFECTS.16]
; System = Port Flap
effect.0=95,LIBRARY,fx_smkpuff_s,
effect.1=100,BREAK,,

[EFFECTS.17]
; System = Machine Guns
effect.0=50,LIBRARY,fx_intsmoke,
effect.1=100,BREAK,,

[EFFECTS.18]
; System = Port Ail. Cntrl Cable
effect.0=95,LIBRARY,fx_smkpuff_s,
effect.1=100,BREAK,,

[EFFECTS.19]
; System = Port Gear
effect.0=95,LIBRARY,fx_smkpuff_m,
effect.1=100,BREAK,,

[EFFECTS.20]
; System = Port Aileron
effect.0=95,LIBRARY,fx_smkpuff_s,
effect.1=100,BREAK,,

[EFFECTS.21]
; System = Starboard Fuel Tank
Location = 0,0,0
effect.0=10,LIBRARY,fx_fuelleak_s,
effect.1=60,LIBRARY,fx_gastank_l,
effect.2=95,LIBRARY,fx_airexpl_l,
effect.3=100,BOMB,,
effect.4=10,LIBRARY,fx_fuelleak_s,
effect.5=60,LIBRARY,fx_gastank_s,
effect.6=95,LIBRARY,fx_airexpl_m,
effect.7=100,BOMB,,

[EFFECTS.22]
; System = Starboard Guns
effect.0=50,LIBRARY,fx_gastank_s,
effect.1=95,LIBRARY,fx_airexpl_l,
effect.2=100,BREAK,,

[EFFECTS.23]
; System = Starboard Flap
effect.0=95,LIBRARY,fx_smkpuff_m,
effect.1=100,BREAK,,

[EFFECTS.24]
; System = Starboard Ail. Cntrl Cable
effect.0=95,LIBRARY,fx_smkpuff_s,
effect.1=100,BREAK,,

[EFFECTS.25]
; System = Starboard Gear
effect.0=95,LIBRARY,fx_smkpuff_s,
effect.1=100,BREAK,,

[EFFECTS.26]
; System = Starboard Aileron
effect.0=95,LIBRARY,fx_smkpuff_m,
effect.1=100,BREAK,,

[EFFECTS.27]
; System = Tail (fwd) Structure
effect.0=95,LIBRARY,fx_smkpuff_s,
effect.1=100,BREAK,,

[EFFECTS.28]
; System = Tail (rear) Structure
Location = 0,0,0
effect.0=10,LIBRARY,fx_smkpuff_s,
effect.1=30,LIBRARY,fx_intsmoke,
effect.2=40,LIBRARY,fx_wingfire,
effect.3=95,LIBRARY,fx_airexpl_s,
effect.4=100,BREAK,3,

[EFFECTS.29]
; System = Rudder
effect.0=95,LIBRARY,fx_smkpuff_s,
effect.1=100,BREAK,12,

[EFFECTS.30]
; System = Port Elevator
effect.0=95,LIBRARY,fx_smkpuff_s,
effect.1=100,BREAK,,

[EFFECTS.31]
; System = Starboard Elevator
effect.0=95,LIBRARY,fx_smkpuff_m,
effect.1=100,BREAK,,

[GUNSTATIONS]
; Machine Guns
gunstation.0=0,45,1,0.09,760,2,0.02,400,2,40,1d1*1 3,0,0.45,1.2,0.149810345982293,0,0,0,0,0,0,1.29
; Bomb
gunstation.1=3,21,8,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0

[guns.0]
gun.0=500,-0.1,0,0,0,0,1,500
gun.1=500,0.1,0,0,0,0,1,500

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

[HARDPOINTS]
mount.0= 2.06,-0.55, 0.45
mount.1=-2.06,-0.55, 0.45

[PAYLOADS]
payload.0=Guns Only
payload.1=50kg Bombs
payload.2=100kg Bombs

[PAYLOAD.0]

[PAYLOAD.1]
mount.0=WEP_WD_IT_50kg, 1, 1
mount.1=WEP_WD_IT_50kg, 1, -1

[PAYLOAD.2]
mount.0=WEP_WD_IT_100kg, 1, 1
mount.1=WEP_WD_IT_100kg, 1, -1

[MISC_DATA]
unit_family=1
category=1
allegiance=2
max_group_size=8
min_speed=240
cruise_speed=405
max_speed=607
min_alt=50
cruise_alt=5893
max_alt=8839
entered_service=11/1/40
crew=1

[STRINGS]
"box_name.0"=Nose
"box_name.1"=Fuselage
"box_name.2"=Pilot
"box_name.3"=Port Wing
"box_name.4"=Port Wing Tip
"box_name.5"=Starboard Wing
"box_name.6"=Starboard Wing Tip
"box_name.7"=Lower Port Wing
"box_name.8"=Lower Starboard Wing
"box_name.9"=Cockpit
"box_name.10"=Fuselage rear section
"box_name.11"=Tail
"box_name.12"=Tailcone
"box_name.13"=Port Elevator
"box_name.14"=Starboard Elevator
"box_name.15"=Rudder
"box_name.16"=Port Gear
"box_name.17"=Starboard Gear
"system_name.0"=Nose Structure
"system_name.1"=Oil Reservoir
"system_name.2"=Engine
"system_name.3"=Hydraulics Reservoir
"system_name.4"=Pilot
"system_name.5"=Radio
"system_name.6"=Fuel Tank
"system_name.7"=Fuselage Structure
"system_name.8"=Rudder Cntrl Cable
"system_name.9"=Bomb Release
"system_name.10"=Elevator Cntrl Cable
"system_name.11"=Port Wing Structure
"system_name.12"=Port Wing Tip Structure
"system_name.13"=Starboard Wing Structure
"system_name.14"=Starboard Wing Tip Structure
"system_name.15"=Port Fuel Tank
"system_name.16"=Port Flap
"system_name.17"=Machine Guns
"system_name.18"=Port Ail. Cntrl Cable
"system_name.19"=Port Gear
"system_name.20"=Port Aileron
"system_name.21"=Starboard Fuel Tank
"system_name.22"=Starboard Guns
"system_name.23"=Starboard Flap
"system_name.24"=Starboard Ail. Cntrl Cable
"system_name.25"=Starboard Gear
"system_name.26"=Starboard Aileron
"system_name.27"=Tail (fwd) Structure
"system_name.28"=Tail (rear) Structure
"system_name.29"=Rudder
"system_name.30"=Port Elevator
"system_name.31"=Starboard Elevator
; DPED Version 1.20


Could someone with a good knowledge of DPs please tell me what is wrong here?

Thanks!

skylane

bearcat241
April 19th, 2014, 08:51
Skylane, the second payload summary is missing. Don't know why its necessary, but the end of the DP should look like this:

"system_name.31"=Starboard Elevator
"payload_name.0"=Guns Only
"payload_name.1"=50kg Bombs
"payload_name.2"=100kg Bombs

; DPED Version 1.20

Captain Kurt
April 19th, 2014, 10:10
Your bombs gun station is numbered 1 - gunstation.1

Your bomb stations description [Guns.2] is numbered 2. It is looking for a gun station number 2 -- which you don't have. Change it to [Guns.1]


Although it is out of sequence, the payload names are in the .dp file.
[PAYLOADS]
payload.0=Guns Only
payload.1=50kg Bombs
payload.2=100kg Bombs
So I bet the names do show up in the HUD once the gunstation and the bomb description match numbers. Regardless, they do belong at the end of the [STRINGS] section like Bearcat says.

Let us know , OK?

bearcat241
April 19th, 2014, 11:04
I'm pretty sure you nailed it Cap. Any sequence error in the DP can be critical.

skylane
April 19th, 2014, 22:43
Thank you, Bearcat and Kurt!

I corrected the sequence and added the information at the end.
Now everything works as it should! I have my bombs!

Cheers,
Skylane