Jump to content


Photo

More units in the transport ships


  • Please log in to reply
5 replies to this topic

#1 yakuzaBoss

yakuzaBoss
  • Members
  • 85 posts

Posted 19 December 2015 - 11:14 AM

I never liked how few units can enter in a transport ship. So the old code in commandset.ini was:

 

CommandSet TransportShipCommandSet
    1 = Command_ExitGarrisonNoRadial
    2 = Command_ExitGarrisonNoRadial

End

 

...and I changed it into:

 

CommandSet TransportShipCommandSet
    1 = Command_ExitGarrisonNoRadial
    2 = Command_ExitGarrisonNoRadial

    3 = Command_ExitGarrisonNoRadial

    4 = Command_ExitGarrisonNoRadial

    5 = Command_ExitGarrisonNoRadial

    6 = Command_ExitGarrisonNoRadial
End

 

The problem is that only 2 units can still enter in it. What is wrong?



#2 Echo

Echo

    T3A:Online

  • T3A Staff
  • 1,069 posts
  • Location:Germany
  • Projects:Lot3A
  •  ~~
  • Division:BFME
  • Job:T3A Moderator
  • Donated

Posted 19 December 2015 - 04:17 PM

Go to the ini of the ship that you want to change, and look for this piece of code:

    Behavior = HordeTransportContain  ModuleTag_Contain
        ObjectStatusOfContained                = UNSELECTABLE ENCLOSED
        Slots                                = 2
        EnterSound                            = GarrisonEnter
        ExitSound                            = GarrisonExit
        DamagePercentToUnits                = 0%
        PassengerFilter                        = TRANSPORTSHIP_PASSENGER_OBJECTFILTER
        AllowOwnPlayerInsideOverride        = Yes ; Normally, the Allies check encompasses OwnPlayer.  but we reeeeally only want our own guys.
        AllowAlliesInside                    = No
        AllowEnemiesInside                    = No
        AllowNeutralInside                    = No
        ExitDelay                            = 0
        NumberOfExitPaths                    = 0        ;2 ; Defaults to 1.  Set 0 to not use ExitStart/ExitEnd, set higher than 1 to use ExitStart01-nn/ExitEnd01-nn
        ForceOrientationContainer            = No    ; otherwise contained units can't orient themselves towards their targets...
        PassengerBonePrefix                    = PassengerBone:SAIL_BONE KindOf:INFANTRY
        ShowPips                            = Yes
        EjectPassengersOnDeath                = No

        ;FadeFilter                = ALL
        ;FadePassengerOnEnter    = Yes
        ;EnterFadeTime            = 1000
        ;FadePassengerOnExit        = Yes
        ;ExitFadeTime            = 1000
    End

Change the number of slots.


Edited by Echo, 19 December 2015 - 04:17 PM.

26285.png


#3 yakuzaBoss

yakuzaBoss
  • Members
  • 85 posts

Posted 19 December 2015 - 06:50 PM

Thanks, now I can't find the ini of the transport ship. Where is it? I've searched in neutral, obsolete, evilfaction (both units and structures) and goodfaction but nothing



#4 Echo

Echo

    T3A:Online

  • T3A Staff
  • 1,069 posts
  • Location:Germany
  • Projects:Lot3A
  •  ~~
  • Division:BFME
  • Job:T3A Moderator
  • Donated

Posted 19 December 2015 - 11:35 PM

Depends on the faction I guess (?). I'm not very much into BFME 2 so I would have to search for it as well, but the ship for elves is in goodfaction\units\elven\ :)


26285.png


#5 Excelsior

Excelsior
  • Project Team
  • 63 posts
  • Location:United Kingdom
  • Projects:Rise of the Witch-king patch 2.02
  •  Cave Troll

Posted 20 December 2015 - 12:13 PM

Good faction transport ship:

Yes, you'll find 'elventransportship.ini' in the file pathway expressed above. :)

Evil faction transport ship:
You'll find 'transportship.ini' in data > ini > object > evilfaction > units > evilmen

#6 yakuzaBoss

yakuzaBoss
  • Members
  • 85 posts

Posted 21 December 2015 - 03:04 PM

Thanks guys, I'll try it later  :thumbsuphappy:






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users