Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: How to setup a Ladder in Oxygen 2?

  1. #1
    Private First Class
    Join Date
    Jan 30 2011
    Location
    NSW, Australia
    Posts
    30

    How to setup a Ladder in Oxygen 2?

    Hello, I have a building, and I have just made a ladder model, but my next step is to actually making the ladder climbable. I looked at other objects and they have a LOD called memory, which is a vertice from the bottom of the ladder to the top (Just 2 dots). With the components name of Start1 and End1

    In the config I have this:

    ladders[] = {{"start1", "end1"}};

    What am I doing wrong? And what is required next?

    Cheers.
    Last edited by Mattaus; Jul 12 2011 at 02:33.

  2. #2
    Yes, two vertices in the memory LOD
    Should work, but maybe your class inheriting needs to be from a building
    Example working ladder;
    PHP Code:
    class CfgVehicles
    {
        class 
    Land_ladder_half;
        class 
    FSF_Ladder Land_ladder_half
        
    {
            
    scope 2;
            
    displayName "Ladder (FSF)";
            
    model "\GNT_FSF\ladder_h.p3d";
            
    mapSize 0.01;
            
    icon "";
            
    armor 150;
            
    ladders[] =
            {
                {
                    
    "start",
                    
    "end"
                
    }
            };
            
    vehicleClass "Misc";
        }; 

  3. #3
    Private First Class
    Join Date
    Jan 30 2011
    Location
    NSW, Australia
    Posts
    30
    Author of the Thread
    Ok then, The model of the ladder is with the actual building itself. Plus there a 4 seperate ladders of various sizes. Do i need to make the ladders as a seperate .p3d and then maybe proxy them into the building? Or is there a way to do it with the setup as I said above?

  4. #4
    No, that was just an example.
    Ladders are defined within the building config.
    This is an example BIS building.
    As you can see, multiple ladders defined also.
    PHP Code:
        class Land_leseni4xHouse
        
    {
            
    ladders[] = {{"start2","end2"},{"start1","end1"}};
            
    model "\ca\buildings\Misc\leseni4x";
            class 
    DestructionEffectsDestructionEffects
            
    {
                class 
    Ruin1
                
    {
                    
    simulation "ruin";
                    
    type "\ca\buildings\ruins\leseni4x_ruins.p3d";
                    
    position "";
                    
    intensity 1;
                    
    interval 1;
                    
    lifeTime 1;
                };
            };
            
    armor 50;
        }; 

  5. #5
    Private First Class
    Join Date
    Jan 30 2011
    Location
    NSW, Australia
    Posts
    30
    Author of the Thread
    Ok cheers thanks. Ill try and get this added in a few days as there were some major setbacks on the model which I can fix but will take a long time -.-

  6. #6
    Private First Class
    Join Date
    Jan 30 2011
    Location
    NSW, Australia
    Posts
    30
    Author of the Thread
    Ok Well, I've tried what you've said and it's not working, this is what I have, the model's memory and the model's config.

    model's memory:

    http://img688.imageshack.us/img688/7277/unledic.jpg

    config:
    http://img811.imageshack.us/img811/8779/unled1nxv.jpg

    Any replies would be helpful

  7. #7
    is this a object you are going to place in the editor or are you adding the object in via Visitor onto a custom map?

    the only other thing i can see that may cause a problem is using the class FlagCarrier

  8. #8
    I know I had to set up some viewGeometry LOD to get the ladder in the back of my carrier working, I might suggest trying that if the action simply isn't showing up.

  9. #9
    Private First Class
    Join Date
    Jan 30 2011
    Location
    NSW, Australia
    Posts
    30
    Author of the Thread
    This object with be placed via the editor, Ok Jdog, I'll try that.

    What might the problem be with FlagCarrier?

    Cheers.

    ---------- Post added at 12:35 PM ---------- Previous post was at 12:34 PM ----------

    What would you place in the view geometry lod?

    ---------- Post added at 01:59 PM ---------- Previous post was at 12:35 PM ----------

    Ok I edited my config properly and is noused classed as a building, (house).

    Still not working, so what View geometry would I need or will i need to add a pathway to it or something maybe?

  10. #10
    Private First Class
    Join Date
    Jan 30 2011
    Location
    NSW, Australia
    Posts
    30
    Author of the Thread
    I have now got the ladders working, after doing a few tweaks in the config, They seem to work fine all 4, although 2 seem to be weird. My charachter always climbs up them on an angle, and am unsure why.

    Any clues?

Page 1 of 2 12 LastLast

Posting Permissions

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