• 0
NeverAgain

[SOLVED] Concrete Mixer Chernarus

Question

Posted (edited)

Hi i try to set Concrete Mixer,but Concrete Mixer nowhere

I try use M3Editor , hint str (getPosASL player)  or hint str (getPosWorld cursortarget);

But nothing works , please help

 

///////////////////////////////////////////////////////////////////////////////////////////////////
// Concrete Mixers
///////////////////////////////////////////////////////////////////////////////////////////////////

_concreteMixers =
[
    [[9644.56, 13508.4, 86.4228],  35] // athira
];   

{
    _concreteMixer = "Exile_ConcreteMixer" createVehicle (_x select 0);
    _concreteMixer setDir (_x select 1);
    _concreteMixer setPosASL (_x select 0);
    _concreteMixer allowDamage false;
    _concreteMixer enableSimulationGlobal true;
}
forEach _concreteMixers;

Edited by NeverAgain

Share this post


Link to post
Share on other sites

26 answers to this question

  • 0

I use M3 without any Str stuff. Works fine.

Spoiler

_concreteMixers =
[
    [[11452.7,7450.42,221],  35], // Polana
    [[4555.45,4540.56,233.2],  90], // Kozlovka
    [[2872.29,9729.91,271.697], -40] // Lopatino
];

{
    _concreteMixer = "Exile_ConcreteMixer" createVehicle (_x select 0);
    _concreteMixer setDir (_x select 1);
    _concreteMixer setPosASL (_x select 0);
    _concreteMixer allowDamage false;
    _concreteMixer enableSimulationGlobal true;
}
forEach _concreteMixers;

 

1 person likes this

Share this post


Link to post
Share on other sites
  • 0
1 hour ago, Oph said:

I use M3 without any Str stuff. Works fine.

  Hide contents

_concreteMixers =
[
    [[11452.7,7450.42,221],  35], // Polana
    [[4555.45,4540.56,233.2],  90], // Kozlovka
    [[2872.29,9729.91,271.697], -40] // Lopatino
];

{
    _concreteMixer = "Exile_ConcreteMixer" createVehicle (_x select 0);
    _concreteMixer setDir (_x select 1);
    _concreteMixer setPosASL (_x select 0);
    _concreteMixer allowDamage false;
    _concreteMixer enableSimulationGlobal true;
}
forEach _concreteMixers;

 

Ok thanks , you export to sqf or Save project ?

How did you do it exactly. Because. I can not do it .

Share this post


Link to post
Share on other sites
Advertisement
  • 0
1 hour ago, NeverAgain said:

Hi i try to set Concrete Mixer,but Concrete Mixer nowhere

I try use M3Editor , hint str (getPosASL player)  or hint str (getPosWorld cursortarget);

But nothing works , please help

 

///////////////////////////////////////////////////////////////////////////////////////////////////
// Concrete Mixers
///////////////////////////////////////////////////////////////////////////////////////////////////

_concreteMixers =
[
    [[9644.56, 13508.4, 86.4228],  35] // athira
];   

{
    _concreteMixer = "Exile_ConcreteMixer" createVehicle (_x select 0);
    _concreteMixer setDir (_x select 1);
    _concreteMixer setPosASL (_x select 0);
    _concreteMixer allowDamage false;
    _concreteMixer enableSimulationGlobal true;
}
forEach _concreteMixers;

Here is some basic positions for Chernarus: http://pastebin.com/W2kJNz0W

 

Just place this in the initserver.sqf file.

1 person likes this

Share this post


Link to post
Share on other sites
  • 0

Posted (edited)

Changing mode from A2OP to CUP Terrain obviously It will not be compatible with A2OP mode.

Edited by NeverAgain

Share this post


Link to post
Share on other sites
  • 0
50 minutes ago, NeverAgain said:

Changing mode from A2OP to CUP Terrain obviously It will not be compatible with A2OP mode.

Exile_ConcreteMixer Is a Exile asset not CUP or A2OP? or am I miss understanding you?

Share this post


Link to post
Share on other sites
  • 0
6 minutes ago, Jamie said:

Exile_ConcreteMixer Is a Exile asset not CUP or A2OP? or am I miss understanding you?

No, i think that i am having problems because i use the A2OP mod.

Share this post


Link to post
Share on other sites
  • 0
5 minutes ago, NeverAgain said:

No, i think that i am having problems because i use the A2OP mod.

Okay, all you need to do is go into the server, open the debug console and type:

diag_log format["%1", getposATL player];

Run Local!

This will paste the correct coordinates for where you are standing into your clientside RPT log.

 

To find this goto: C:\Users\USERNAMEHERE\AppData\Local\Arma 3

 

At the bottom there is a RPT log file, open it and find the output. it will look something like: [4406.64,2252.42,3.13997]

If you have issues finding it, you could do something like: 

diag_log format ["PLAYER posASL OUTPUT: %1", getPosAsL player];

then search the RPT file for "PLAYER posASL OUTPUT"

 

Once you have the coordinates, replace the old ones in the current script with your new ones.

1 person likes this

Share this post


Link to post
Share on other sites
  • 0
3 hours ago, NeverAgain said:

No, i think that i am having problems because i use the A2OP mod.

Not the issue, we use A2OP with no problems.

Share this post


Link to post
Share on other sites
  • 0
1 hour ago, oSoDirty said:

Not the issue, we use A2OP with no problems.

You're right, I added a CUP and the same problem.

Share this post


Link to post
Share on other sites
  • 0

Posted (edited)

5 hours ago, Jamie said:

Okay, all you need to do is go into the server, open the debug console and type:


diag_log format["%1", getposATL player];

Run Local!

This will paste the correct coordinates for where you are standing into your clientside RPT log.

 

To find this goto: C:\Users\USERNAMEHERE\AppData\Local\Arma 3

 

At the bottom there is a RPT log file, open it and find the output. it will look something like: [4406.64,2252.42,3.13997]

If you have issues finding it, you could do something like: 


diag_log format ["PLAYER posASL OUTPUT: %1", getPosAsL player];

then search the RPT file for "PLAYER posASL OUTPUT"

 

Once you have the coordinates, replace the old ones in the current script with your new ones.

This works perfectly on another server.

If i use this concreteMixers nowhere.

Hmm weird, where could be a mistake?

///////////////////////////////////////////////////////////////////////////////////////////////////
// Concrete Mixers
///////////////////////////////////////////////////////////////////////////////////////////////////

_concreteMixers =
[
    [[4751.75, 10334.6, 339], 91] //NE
];

{
    _concreteMixer = "Exile_ConcreteMixer" createVehicle (_x select 0);
    _concreteMixer setDir (_x select 1);
    _concreteMixer setPosASL (_x select 0);
    _concreteMixer allowDamage false;
    _concreteMixer enableSimulationGlobal true;
}
forEach _concreteMixers;

 

Here is mine:

 

///////////////////////////////////////////////////////////////////////////////////////////////////
// Russian Roulette
///////////////////////////////////////////////////////////////////////////////////////////////////

_objects =
[
    ["Land_WoodenTable_large_F", [6331.14,7786.17,18.467293], 0, false],
    ["Exile_Sign_RussianRoulette", [14623.898,16820.336, 18.950966], 0.77240193, false],
    ["Land_HumanSkull_F", [14621.056, 16821.572, 18.476805], 2.0025947, false],
    ["Land_WheelCart_F", [14621.334,16821.477, 18.355867], 4.9935374, false],
    ["Land_Camping_Light_F", [14628.075,16825.77, 19.00408], 0, true]
];

{
    private ["_object"];

    _object = (_x select 0) createVehicle [0,0,0];
    _object setDir (deg (_x select 2));
    _object setPosWorld (_x select 1);
    _object allowDamage false;
    _object enableSimulation (_x select 3);
    _object enableSimulationGlobal (_x select 3);; // :)
}
forEach _objects;

ExileRouletteChairs = [];

ExileRouletteChairPositions =
[   
    [[6332.1, 7787.9, 0.174713], 25.6138],
    [[6330.29, 7784.49, 0.174713], 205.413],
    [[6330.37, 7787.61, 0.174713], 307.266],
    [[6329.71, 7786.37, 0.212921], 299.23],
    [[6332.87, 7786.33, 0.174713], 106.473],
    [[6332.19, 7785.03, 0.174713], 117.522]
];
{
    private ["_chair"];

    _chair = "Land_ChairWood_F" createVehicle [0, 0, 0];
    _chair setDir (deg (_x select 1));
    _chair setPosWorld (_x select 0);
    _chair allowDamage false;
    _chair enableSimulationGlobal true;

    ExileRouletteChairs pushBack _chair;
}
forEach ExileRouletteChairPositions;

///////////////////////////////////////////////////////////////////////////////////////////////////
// Concrete Mixers
///////////////////////////////////////////////////////////////////////////////////////////////////

_concreteMixers =
[
    [[4751.75, 10334.6, 339], 91] //NE
];

{
    _concreteMixer = "Exile_ConcreteMixer" createVehicle (_x select 0);
    _concreteMixer setDir (_x select 1);
    _concreteMixer setPosASL (_x select 0);
    _concreteMixer allowDamage false;
    _concreteMixer enableSimulationGlobal true;
}
forEach _concreteMixers;

Edited by NeverAgain

Share this post


Link to post
Share on other sites
Advertisement

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.