Results 1 to 8 of 8

Quick Question

  1. #1
    Member Blackw00lf's Avatar
    Join Date
    Oct 2008
    Location
    Somewher over the Rainbow...

    Quick Question

    OK in my mod I have Copied the 40mm Bofurs AA Gun (with no Emplacement) over from the British to the US, In it's Construction_ext/on_construction_actions/critical_actions/apply_deformation_action/deform_decal/vertical_scale I have a value of -0.006 (it works like this and it was added in As if the ground was Built up for a more Flatter Platform) How ever the Gun does not Snap to the New Terrain's Height When the Gun is finished being Constructed.

    However I Also have the "Maxson m55D Quad 50cal Emplacement" that was made Available on this forums with the same like the above Construction_ext and this Emplacement does Snap to the New Terrain Height when finished being built.

    Question:
    What must I look For to make the 40mm Bofurs AA Gun Snap to the New Terrain Height? Because right now it stays at whatever the terrain height was when the Gun was when it was being built. With the Ground now being raised it is hiding the Gun's base. What am I missing?
    Last edited by Blackw00lf; 22nd Jun 12 at 10:18 PM.

  2. #2
    Member I_am_a_Spoon's Avatar
    Join Date
    Jan 2010
    Location
    Western Australia
    Maybe try a tiny delay (like 0.01 seconds) between the deformation and the spawning of the gun?

  3. #3
    Member Blackw00lf's Avatar
    Join Date
    Oct 2008
    Location
    Somewher over the Rainbow...
    Hmm I'll have to try that

  4. #4
    Member Blackw00lf's Avatar
    Join Date
    Oct 2008
    Location
    Somewher over the Rainbow...
    Quote Originally Posted by I_am_a_Spoon
    Maybe try a tiny delay (like 0.01 seconds) between the deformation and the spawning of the gun?
    Did not work, the men who man the gun do not Show up with the delay in there which sucks.

  5. Company of Heroes Senior Member  #5
    Moderator Lethal Dosage's Avatar
    Join Date
    Sep 2007
    Location
    In the back of my mind.
    In your Bofors gun's construction_ext, check what the check_terrain field is set to.
    Then in the site_ext, check what the snap_to_terrain field is set to.

    Have a play around, changing either or both of those True/False settings, and see if they make a difference in any combination.

  6. #6
    Member Blackw00lf's Avatar
    Join Date
    Oct 2008
    Location
    Somewher over the Rainbow...
    Quote Originally Posted by Lethal Dosage

    In your Bofors gun's construction_ext, check what the check_terrain field is set to.
    Then in the site_ext, check what the snap_to_terrain field is set to.

    Have a play around, changing either or both of those True/False settings, and see if they make a difference in any combination.

    I have played around with them as well putting Check_terrain to true and Site_ext to false and Reversed them too, also Tried both of them set to True or I have set them to false and the Picture Below is what happens the same thing happens no matter what I set them to.

    Picture


  7. #7
    Moderator Darkbladecr's Avatar
    Join Date
    Nov 2005
    Location
    CoH:Modern Combat
    This is most likely due to the animations of the Bofor, causing it to stay put. Have you tried to add the deformation before the engineers start constructing?

  8. #8
    Member Blackw00lf's Avatar
    Join Date
    Oct 2008
    Location
    Somewher over the Rainbow...
    Quote Originally Posted by Darkbladecr
    This is most likely due to the animations of the Bofor, causing it to stay put. Have you tried to add the deformation before the engineers start constructing?
    no I haven't as I'm not sure where it would go.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

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