Excelsior Bridge v1.2 - Chernarus

Discussion in 'Map Additions' started by Excelsior, Jun 1, 2013.

  1. Fully

    Fully Member

    Joined:
    Feb 4, 2013
    Messages:
    33
    Likes Received:
    6
  2. Sandbird

    Sandbird Valued Member!

    Joined:
    Feb 1, 2013
    Messages:
    182
    Likes Received:
    39
    Lol yeah i know , its a weird ass building...trying to make barricade for a city.
    I know it 'runs' fine, but did you see the client (not the server's) RPT log?
    It says 'this' as 'any' causing a generic error for every building.
    Thanks for going in the trouble though :)
    Got any idea why the error?
    It looks fine to me.
     
  3. Fully

    Fully Member

    Joined:
    Feb 4, 2013
    Messages:
    33
    Likes Received:
    6
    Were do I look for the client rpt log?

    Why don't you use this, to set the building heights?
    _bldObj setVehicleInit "this setPosASL [getposASL this select 0, getposASL this select 1, 40]"; //what height you want!

    Code:
    if (isServer) then {
            _bldObj = objNull;
           if (true) then
           {
              _bldObj = createVehicle ["land_nav_pier_c_270", [7974.354,13693.311,0], [], 0, "CAN_COLLIDE"];
        _bldObj setDir 0;
              _bldObj setVehicleInit "this setPosASL [getposASL this select 0, getposASL this select 1, 40]";
              _bldObj setPos [7974.354,13693.311,0];
              _bldobj setVectorUp [0, 0, 1];
           }
    
            _bldObj = objNull;
           if (true) then
           {
              _bldObj = createVehicle ["land_nav_pier_c_270", [7974.3579,13623.012,0], [], 0, "CAN_COLLIDE"];
              _bldObj setDir 90;
              _bldObj setVehicleInit "this setPosASL [getposASL this select 0, getposASL this select 1, 40]";
              _bldObj setPos [7974.3579,13623.012,0];
              _bldobj setVectorUp [0, 0, 1];
           };
            _bldObj = objNull;
           if (true) then
           {
              _bldObj = createVehicle ["land_nav_pier_c", [7984.2456,13653.235,0], [], 0, "CAN_COLLIDE"];
    _bldObj setDir 0;
              _bldObj setVehicleInit "this setPosASL [getposASL this select 0, getposASL this select 1, 40]";
              _bldObj setPos [7984.2456,13653.235,0];
              _bldobj setVectorUp [0, 0, 1];
           };
         
            _bldObj = objNull;
           if (true) then
           {
              _bldObj = createVehicle ["land_nav_pier_c", [7984.2954,13666.067,0], [], 0, "CAN_COLLIDE"];
    _bldObj setDir 0;
              _bldObj setVehicleInit "this setPosASL [getposASL this select 0, getposASL this select 1, 40]";
              _bldObj setPos [7984.2954,13666.067,0];
              _bldobj setVectorUp [0, 0, 1];
           };
    };
    Just need to define the correct direction, to make it all align nicely. Otherwise it just gets a random direction on restarts =)
     
    Last edited: Feb 24, 2014
  4. Sandbird

    Sandbird Valued Member!

    Joined:
    Feb 1, 2013
    Messages:
    182
    Likes Received:
    39
    Log file for client is here: C:\Users\YOURPROFILE\AppData\Local\ArmA 2 OA\arma2oa.RPT
    or type in windows search : %appdata% to get to the Appdata file.

    I'll try it....but i need the rest of the buildings to grab the 1st objects' getposASL position...so they align perfectly, otherwise they dont.
    I think the value 'this' is causing all this trouble.....but i got no idea why it shows up on the client's RPT log....since there is a huge (ifServer) at the top of the file....meaning dont run at client side ffs.
     
  5. Fully

    Fully Member

    Joined:
    Feb 4, 2013
    Messages:
    33
    Likes Received:
    6
  6. Soul

    Soul Valued Member!

    Joined:
    Mar 24, 2013
    Messages:
    196
    Likes Received:
    34
    What's the reason to rename the variables all to the same one? Like what does it do or in what way is it better or preferable
    over the vanilla arma sqf way of doing things???
     
  7. Fully

    Fully Member

    Joined:
    Feb 4, 2013
    Messages:
    33
    Likes Received:
    6
    You can remove 1 line of code. Probably not a big deal to some.
    But when you have a file with 20 k of lines it does take less time to read.
     
  8. EchoZone

    EchoZone New Member

    Joined:
    Apr 10, 2014
    Messages:
    2
    Likes Received:
    0
    Kinda new to this, I have a Admin Tool script that needed me to put coding "At the very end of the lint.sqf file. How do I add BOTH to the bottom? Just paste your code after the ";" of the admin tools code? (Sorry for bump)
     
  9. Zombiegirl

    Zombiegirl Member

    Joined:
    Apr 2, 2014
    Messages:
    32
    Likes Received:
    0
    Very nice addition!
     
  10. KARMA JOE

    KARMA JOE New Member

    Joined:
    Jan 26, 2014
    Messages:
    10
    Likes Received:
    1
    Andre go away


    Sent from my iPhone using Tapatalk
     
  11. Excelsior

    Excelsior Valued Member!

    Joined:
    Nov 5, 2012
    Messages:
    238
    Likes Received:
    53
    Dear Survival Servers,

    Why are you selling this bridge code for $10? Where is my cut of that? Actually, I DON'T WANT $, but what would like to see is a refund for those who paid given to anyone that has already purchased it. I understand that it listed as a charge for the installation, but I do believe that this charge for doing so is overpriced.
     
    New Calpis likes this.
  12. Royal

    Royal Member

    Joined:
    Jun 9, 2013
    Messages:
    96
    Likes Received:
    12
    Hahahaha wtf. How dare they.

    Btw I have to say I still have this bridge on my server. For over a year now and I still love it. Amazing job.
     
  13. Excelsior

    Excelsior Valued Member!

    Joined:
    Nov 5, 2012
    Messages:
    238
    Likes Received:
    53
    Thanks. Maybe I should see about adding one on the SA ;)
     
    mankeysocks likes this.
  14. mankeysocks

    mankeysocks New Member

    Joined:
    Apr 16, 2013
    Messages:
    12
    Likes Received:
    1
    i would be keen to help excel. sad to see Survival Servers using your files like this -10 points i did hear they were been sued by few people
     

Share This Page