Game Freezes whwn firing MG
Results 1 to 6 of 6

Thread: Game Freezes whwn firing MG

  1. #1

    Game Freezes whwn firing MG

    Hi All
    I have been working on a pilotable ship for Ravenna.
    The Ship_Ac floats (with assistance of the excellent 'Invisible Tender'), it moves, turns speeds up and slows down.

    Having never made an 'aircraft' before I have run into a couple of problems.
    I used one of the pilotable ship DP's as a template.

    The two problems are:
    1. I have a small callibre MG on the 'ship_AC'. When I fire the gun the game freezes. I assume that tis is Dp related but I am not sure why.
    Here is the DP file.

    ; Created or Modified by DPED.

    [BOXES]
    box.0=%box_name.0%,-3.42,-3.57,-39.15,3.39,2.34,-10.16
    box.1=%box_name.1%,-3.89,-3.71,10.99,3.9,5.43,38.65

    [SYSTEMS]
    system.0=%system_name.0%,500,-1
    system.1=%system_name.1%,500,-2
    system.2=%system_name.2%,50,-3

    [BOXMAPS.0]
    ; Box = for
    boxmap.0=100,-1

    [BOXMAPS.1]
    ; Box = aft
    boxmap.0=100,-2

    [EFFECTS.0]
    ; System = for
    effect.0=10,LIBRARY,fx_smkpuff_s,
    effect.1=30,LIBRARY,fx_ship_,s
    effect.2=50,LIBRARY,fx_ship_,s
    effect.3=100,LIBRARY,airexpl_m,
    effect.4=100,break,,

    [EFFECTS.1]
    ; System = aft
    effect.0=10,LIBRARY,fx_smkpuff_s,
    effect.1=30,LIBRARY,fx_ship_s,
    effect.2=50,LIBRARY,fx_ship_s,
    effect.3=100,LIBRARY,airexpl_s,
    effect.4=100,break,,

    [EFFECTS.2]
    ; System = Gun0

    [GUNSTATIONS]
    ; Gun0
    gunstation.0=0,-3,1,0,0,0,0,0,1,0,1d1*7,0,0,0,0,0,0,180,-180,85,0,1

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


    [PAYLOADS]
    payload.0=%payload_name.0%

    [PAYLOAD.0]


    [MISC_DATA]
    unit_family=5
    category=18
    allegiance=2
    min_speed=0
    cruise_speed=15
    max_speed=30
    entered_service=12/1/15

    [EXTRA.0]
    location=0,0,5.549
    effect=fx_wake_ss

    [STRINGS]
    "box_name.0"=for
    "box_name.1"=afr
    "system_name.0"=for
    "system_name.1"=aft
    "system_name.2"=Gun0
    "payload_name.0"=Guns Only

    ; DPED Version 1.21

    2. The second problem is that the Ship_AC seems to sit a bit high on the water as it moves. I assume it is the contact points in the CFG File??
    I know that changing a particular value lowers the way and aircraft sits on the flightdeck/runway.

    This is the Airfile, Again it is from one of the pilotable ships

    [fltsim.0]
    title=KM_FLBoat_AC
    sim=KM_FLBoat_AC
    model=
    panel=
    sound=
    texture=
    kb_checklists=

    [contact_points]
    static_pitch = 0.983
    static_cg_height = .45
    max_number_of_points = 8

    point.0 = 4.000,46.499, -10.300, -1.909, 1600.000, 0.000, 0.000, 0.000, 0.850, 2.500, 0.650, 0.000, 0.000, 0.000, 0.000, 0.000
    point.1 = 4.000,46.498, 10.300, -1.909, 1600.000, 0.000, 0.000, 0.000, 0.850, 2.500, 0.650, 0.000, 0.000, 1.000, 0.000, 0.000
    point.2 = 4.000, -46.745, -5.059, -1.711, 1600.000, 0.000, 0.000, 20.000, 0.950, 2.500, 0.650, 0.000, 0.000, 2.000, 0.000, 0.000
    point.3 = 4.000, -46.745, 5.059, -1.711, 1600.000, 0.000, 0.000, 20.000, 0.950, 2.500, 0.650, 0.000, 0.000, 3.000, 0.000, 0.000
    point.4 = 2.000, -14.086, 0.000, 1.941, 1800.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 9.000, 0.000, 0.000
    point.5 = 2.000, 8.563, 0.000, 1.359, 1800.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 4.000, 0.000, 0.000

    [Views]
    eyepoint=4.955,0,24.5


    Any help would be appreciated.
    Cheers
    Stuart

  2. #2
    SOH-CM-2019 Ravenna's Avatar
    Join Date
    Jun 2005
    Location
    Newcastle, Australia
    Age
    67
    Posts
    1,870
    Hi Stuart,

    Does the gun fire when the boat/aircraft is set as an AI? If it does will it make the game freeze? The explosion effect can be triggered in the mission. I haven't had a chance to test this but a torpedo payload mounted inside the boat/ aircraft should explode against the target.
    Have a look at UncleTGT's post in the thread on Exploding Boats.

  3. #3
    Hi Ravenna
    I have only tested it as an aircraft model.
    It freezes as soon as you press the trigger.
    You then have to re-boot.
    Cheers
    Stuart

  4. #4
    Looks like the gunstation entry has you shooting bullets with zero speed & nil time of flight ( the zeroes after the -3, 1, ) - probably not a good combination for the Sim to calculate what to do next after you press the trigger then.

    Try pasting in a gunstation entry from any aircraft that you know is good. If it then works & doesn't freeze, you know it's something to do with the values for the Gunstation entry.

  5. #5
    Tiller of Soil MaskRider's Avatar
    Join Date
    Jun 2005
    Location
    Alpine, CA in San Diego's beautiful back country!
    Age
    67
    Posts
    2,272

    Icon22

    Ah hah! I had this same thing happen to me a couple of weeks ago. Some plane I had downloaded and installed. Every time I pressed the machine gun trigger the game froze.

    I'll be danged if I can remember which AC it was, it was a nice one- except for that little glitch. Finally ended up dumping it.

    But don't let me side track this discussion, Stuart. I mention it only because the phenom was so out of the ordinary and seeing this post stirred up the memory.

    I am interested to see if you get it resolved.

    MR
    "The nice part about being a pessimist is that you are constantly being either proven right or pleasantly surprised."

    - George Will


    MR Downloads at SOH
    MR Scenery SlideShows (View with IE) MR Albums at SOH MR Web Site

  6. #6
    Hi All
    Thanks for the replies.
    UncleTgt was on the ball with this.
    I actually solved it earlier this afternoon.
    I removed the payloads.
    No Joy!
    I put in some ammo.
    No Joy.
    I did think that guns a 0,0.0 may not be a good place so I put them at hand-gun co-ordinates above the model.
    Not sure whether this worked because, at the same time I put in some info into the dp as Uncletgt suggested and Bingo!! it worked.
    I also fixed the height of the ship.
    I lowered the GMax model (which I had originally raised)
    Cheers
    Stuart
    PS I will probably have to pick some brains over the next couple of days

Members who have read this thread: 0

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •