Results 1 to 10 of 10

Thread: T34 and T55 Configs

  1. #1

    T34 and T55 Configs

    Hello everyone.

    Looking at the configs for these two tanks. T55 and T34, I cannot see the variable which sets the T34 to be able to tab target and the T55 to not be able to do so. Scanning the lsit of vehicle config variables here, I can't see anything that would determine this.

  2. #2
    Moderator [FRL]Myke's Avatar
    Join Date
    May 27 2007
    Location
    Yay, Rank 34 of 47119 and catching up.
    Posts
    5,694
    I guess this is because this isn't a vehicle definition but a weapon definition. Probably the canLock does determine if tab target works or not.

  3. #3
    I've looked at that too! And it dodesn't work out either.
    ZiS S 53
    D81
    D10T2S
    All three weapons do not have the "Canlock = 2" line and the same goes for thier ammos aswell. So for that parameter to be what determines that, neither the T34, T72 or T90 should be able to tab lock. Looking at thier superclasses I don't see any inheritance that would give them that either. The only redfor weapon that has the "Canlock = 2" line that i've seen is the 2A42autocannon on the BMP2.
    Last edited by Xerxes-17; Oct 1 2010 at 00:28.

  4. #4
    You didn't look correctly:

    Code:
    class Default
    {
        ...
        canLock = 2;
        ...
    };
    
    class CannonCore: Default;
    class ZiS_S_53: CannonCore
    {
        ...
        // no canLock override
        ...
    };
    
    class D10: CannonCore
    {
        ...
        canLock = 0;
        ...
    };
    CannonCore inherits it from Default. ZiS_S_53 and D10 both inherit it from CannonCore, but D10 overrides it.

    It's also pretty obvious ingame: the ZiS can lock and the D10 can't (just zooms in instead).

    Also, you're totally looking at the wrong config (ACE, not native).
    VBS2 Designer

    Quote Originally Posted by Armored_Sheep View Post
    I like to call Arma a sandbox game that works pretty much like LEGO - you buy it not just because you want to have a nice car from the main picture on its box, do you?

  5. #5
    Dammit, I forget that it defaults to the ACE view sometimes. But my current weapon cfg is the following:

    Code:
    class cfgweapons {
    
    class CannonCore;	//external class reference
    
    class D10: CannonCore {
    ballisticscomputer = 1;
    canlock = 2;
    displayname = "D-10";
    }; 
    
    };
    Results in no change to the display name of the gun and no locking. Only the ballistic computer works for some reason.

  6. #6
    Then something is wrong with your config. Post the whole thing.

  7. #7
    But that is the whole config The same change done to the D30 122mm results in tablock being possible.

  8. #8
    I dunno. Might be related to OA's addon structure. Your config might be getting overridden by OA.

  9. #9
    .....That's a good point. I'll check it.

    Edit: Ugh, changing my mod list every which way does not help. Starting it up pure vanilla nad using the ingame mod management to load it after starting does not work either. How do you get around this problem?
    Last edited by Xerxes-17; Oct 1 2010 at 03:12.

  10. #10
    Anyway, now resolved. The issue was with not properly setting cfgpatches.cpp.

Posting Permissions

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