American Eagles Modding Forums


Hi! You are currently viewing forum as a guest. For more features please login or register!

Member Login



Lost your password?

Forum Stats

Latest Member


Not a member yet? Sign Up!



*



February 23, 2020, 11:00:11 PM

Author Topic: Trailer Support  (Read 1743 times)

0 Members and 1 Guest are viewing this topic.

Offline kj145 (OP)

  • Sr. Member
  • *
  • Posts: 318
Trailer Support
« on: June 22, 2015, 12:58:54 PM »
Making them go up after attaching and coming down after detaching does that need a script?
If It Red Leave It In The Shed







 

Offline farmerboy69

  • ScreaminEagle
  • *
  • Posts: 1327
Re: Trailer Support
« Reply #1 on: June 22, 2015, 01:14:39 PM »
there is a script for it but its just ingame stuff that make it work

you need to have the components for it right and that is this line here

Code: [Select]
<component2 solverIterationCount="15" />
        <joint component1="0" component2="1" index="XX" rotLimit="0 0 0" transLimit="0 0 0" />

and you need the animations

<animation name="moveSupport">
            <part node="xx" startTime="0" endTime="0.1" startTrans="0 0.39994 0" endTrans="0 0.10775 0" />
        </animation>

and you need this line in the xml to
Code: [Select]
<support animationName="moveSupport" />you will have to find the XX thats the index but look at other mods on the site you will get to unstand it







 

Offline kj145 (OP)

  • Sr. Member
  • *
  • Posts: 318
Re: Trailer Support
« Reply #2 on: June 22, 2015, 01:16:34 PM »
So basically just add that or a script?
If It Red Leave It In The Shed







 

Offline farmerboy69

  • ScreaminEagle
  • *
  • Posts: 1327
Re: Trailer Support
« Reply #3 on: June 22, 2015, 01:18:51 PM »
add that thats the ingame one right there this one has the ingame one set up
http://americaneaglesmodding.com/index.php?action=downloads;sa=view;down=1148

this one has the lua for it
http://americaneaglesmodding.com/index.php?action=downloads;sa=view;down=1038
so just look at what one you want done and go from there







 

Offline kj145 (OP)

  • Sr. Member
  • *
  • Posts: 318
Re: Trailer Support
« Reply #4 on: June 22, 2015, 01:21:17 PM »
its has all the ingame stuff u stated no lua
If It Red Leave It In The Shed







 

Offline farmerboy69

  • ScreaminEagle
  • *
  • Posts: 1327
Re: Trailer Support
« Reply #5 on: June 22, 2015, 01:23:04 PM »
right the other trailer has a lua makeing it work







 

Offline kj145 (OP)

  • Sr. Member
  • *
  • Posts: 318
Re: Trailer Support
« Reply #6 on: June 22, 2015, 01:26:04 PM »
My question is it has all the makings u stated to do the job,but it does nothing in game
If It Red Leave It In The Shed







 

Offline farmerboy69

  • ScreaminEagle
  • *
  • Posts: 1327
Re: Trailer Support
« Reply #7 on: June 22, 2015, 01:31:02 PM »
did you index it to the right index and did you set where the Support will land







 

Offline kj145 (OP)

  • Sr. Member
  • *
  • Posts: 318
Re: Trailer Support
« Reply #8 on: June 22, 2015, 01:42:30 PM »
<components count="2">
        <component1 centerOfMass="0 .7 0" solverIterationCount="" />
        <component2 solverIterationCount="15" />
        <joint component1="0" component2="1>" index="0>13|0" rotLimit="0 0 0" transLimit="0 0 0" />
    </components>
   
   <animations>
        <!-- move support -->
        <animation name="moveSupport">
            <part node="0>13" startTime="0" duration="0.3" startTrans="0.00179 0.38791 5.85428" endTrans="0.00179 -0.01 5.85428" />
        </animation>
    </animations>
   
   <support animationName="moveSupport"/>
If It Red Leave It In The Shed







 

 

Related Topics

  Subject / Started by Replies Last post
0 Replies
2237 Views
Last post June 09, 2014, 09:52:52 PM
by slopoke7166
1 Replies
1015 Views
Last post September 26, 2014, 06:36:31 PM
by johndeere 4255
3 Replies
2967 Views
Last post May 09, 2015, 08:33:36 PM
by bgrg500
5 Replies
1896 Views
Last post May 20, 2015, 01:19:12 PM
by farmerboy69
3 Replies
858 Views
Last post December 21, 2016, 09:50:53 AM
by JohnDeere1952

Powered by EzPortal