Defent

DMS - Defent's Mission System

3258 posts in this topic

On 10/07/2018 at 0:34 PM, Sgt Smash said:

Did you change anything that looks a bit like this

(_pos select 0) - 20, (_pos select 1),-0.1

The only thing i can think of, But i'm still quite new to this DMS mission editing

Sorry i didn't see this... i will check this later on.. thx!

1 person likes this

Share this post


Link to post
Share on other sites
On ‎10‎/‎07‎/‎2018 at 7:14 PM, Sgt Smash said:

What i ended up doing was removing the top part so it looked like this

  Hide contents

if (_VehicleChance >= (random 100)) then {
                                                _vehicle = [_VehicleClass,[(_pos select 0) -10, (_pos select 1) +10]] call DMS_fnc_SpawnNonPersistentVehicle;
                                                _msgWIN = ['#0080ff',"Convicts have successfully taken care of the bandit group and taken their cash!"];
                                            };

And it worked, i now have a APC Bandit mission with the Gorgan and it despawns after restarts and can not be locked :-)

if you are using this statement make sure you vehicle chance is set to 100 or things could go wonky,

best to remove

if (_VehicleChance >= (random 100)) then {

};

completely, just leave the _vehicle and _msgWIN lines on their own

1 person likes this

Share this post


Link to post
Share on other sites
Advertisement
On ‎11‎/‎07‎/‎2018 at 10:45 PM, chiconanni said:

Sorry i didn't see this... i will check this later on.. thx!

As DMS picks the position itself you have to make things relative to that.

DMS sets the centre of the mission to "_pos" -> [X,Y,Z]

you then can play with the relative position from that but first you have to separate out the XYZ components with

[(_pos select 0), (_pos select 1), (_pos select 2)] but you don't really need the Z often (unless positioning air support above the mission)

*note* remember Arma starts counting from 0 so the 1st item in a string is always 0

+/- 10 = 10 meter shift in a direction (_pos select 0)+10 = X+10 in position (i.e. 10m East)

1 person likes this

Share this post


Link to post
Share on other sites

I make 2 server with DMS the windows server all works fine, but in linux server the enemies STAY SIT IN AIR ... lol

all DMSunits spawn this form and never move, only points me and shoot...

ilustration image:

Spoiler

wwPFYok.jpg

HELP!

Edited by UraNuS

Share this post


Link to post
Share on other sites
17 hours ago, UraNuS said:

I make 2 server with DMS the windows server all works fine, but in linux server the enemies STAY SIT IN AIR ... lol

all DMSunits spawn this form and never move, only points me and shoot...

ilustration image:

  Reveal hidden contents

wwPFYok.jpg

HELP!

sounds like you need to make sure that all mission files only contain lower case, I think there may be some DMS functions with a mix, so make sure if you call Mission_x that Mission_x isn't Mission_X etc

Share this post


Link to post
Share on other sites

Mercenary and Slum Base only for altis, please?
I tried then out on Tanoa and the 2 stays out of the map lol.

Thank you!

Edited by joew00

Share this post


Link to post
Share on other sites
2 hours ago, joew00 said:

Mercenary and Slum Base only for altis, please?
I tried then out on Tanoa and the 2 stays out of the map lol.

Thank you!

They’re Altis missions so you’d need to edit them if you want them on Tanoa.

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.