Jump to content
Sign in to follow this  
Karmichael

DOMINATION with Stealth UAV and SECOPS

Recommended Posts

Hey All,

Got the UAV working on Dominations Dedi..... details below But i hit a rock,

when you respawn, the UAV modules deactivates. ???? :mad:

Domination: Secops and UAV

http://www.megaupload.com/?d=OCZD0LCU

NOTE: When you died or respawn, say good bye to the UAV system But

still alot of fun......:yay:

SECOPS:

Only support only... Artillery, Air support

AND ONLY Secops Operator call sign RAZOR can access it

Artillery has a boundary limit to it

TIPS: Press space them click communications then request. When you

wanna use the secop.

UAV:

Anyone can use the UAV (only on spy missions not attack missions.)

AND ONLY the UAV operator can ACTIVATE the UAV system and execute

attack missions and spy missions (UAV OPERATOR bottom slot must be

selected before missions start). At missions start a UAV terminal should

spawn near the base flag.

If your NOT the UAV operator do not waste the UAV ammo, ONLY UAV

operator can access it

Karmichael's Predator: (The Stealth Predator)

Predator is packed with GBU bombs (get someone to paint some targets

or laser target) And hellfire missiles. AI will NOT shot you down coz your

stealth.

CONTROLS:

Q = increase set height

Z = decrease set height

W = Increase set speed

S = decrease set speed

B = Set UAV marker

tab = To lock on targets and scroll through targets

- = Zoom out

+ = Zoom in

F = toggle/scroll through wepons

M = Open map

TIP: Open map, you have 4 waypoints, Click on the map untill you have

long straight line to the objective, this makes it easier spot enemies and

shot/lock on targets. Increase set height around mountains.

Scroll/roll middle mouse button for brightness. Scroll/roll up to dull the

brightness.

LEFT MOUSE: Fire rockets, bombs

RIGHT MOUSE: Exit UAV

TIP: To keep yourself safe stay near the flag where its protected by high

sandbags.

CARPET BOMBER:

The C130 is a carpet bomber with GBU's and Mark 8. AND u can also halo

jump from the C130. It spawns at base when shot down.

SUPER VENOM:

The UH-1Y Venom is packed with AIR to GROUND missiles and AIR to

AIR missiles . The venom crew chief can hose down the baddies with a

20mm gatling gun.

Everything else is domination normal......

I only tested it out my dedi server network. WORKS. Can you fellas test it

out for me... with more than 2 people..

Its not the best with the modules but very playable and team work fun with

the UAV......

Suggestions and ideas is welcomed..... Help or Corrections on scripts will

be awesome

Credit and thanks:

To Xeno, kiljoy, sickboy and all the Domination nuts out there.

Enjoy and happy birthday:bounce3:

Karmichael

Edited by Karmichael

Share this post


Link to post
Share on other sites

Is the UAV a module? A wild guess would be that it "unsync" after respawn...

Share this post


Link to post
Share on other sites
Is the UAV a module? A wild guess would be that it "unsync" after respawn...

Yeah could be, i tryed scripts to syn the UAV again... nope nothing. Only if i was good at publicvariables:(

Share this post


Link to post
Share on other sites

Need some advice on what could be causing these Errors, and where in the scripts/config/description/etc would I be able to find them?

I have been trying to fix them for the last couple of hours, but am not able to find the correct files, any help is muchly appreciated.:bounce3:

Error in expression <ynchronizedobjects _logic) then {_logic synchronizeobjectsadd [_x]}} foreach _ru>

Error position: <synchronizeobjectsadd [_x]}} foreach _ru>

Error Type Side, expected Object

File ca\modules\uav\data\scripts\uav.sqf, line 95

Protocol bin\config.bin/RadioProtocolEN/: Missing word light

Edited by Goodboys

Share this post


Link to post
Share on other sites

For anyone seeing this on the frontpage of Armaholic 20091116, I don't think this is a new version. Unfortunately, it hasn't been updated since 20090712. Although, a lot of people look for a working UAV in multiplayer, so this could be a welcome re-release.

In answer to your question, Goodboys, I would try this change:

UAV.sqf (in the mission folder, not the module)

Changes instance of _UAVterminal into UAVterminal (global not local)

setVehicleInit is passing a string with a local variable that will lose its meaning when it is actually execute.

Also, this line needs to have its extra trailing quote removed:

_UAVterminal addeventhandler ["dammaged", {_this select 0 setdamage 0}]";

Corrected code:

//////////////////////////////////////////////////////////////////
// UAV Terminal script for Armed Assault 2
// Created by: Karmichael
//////////////////////////////////////////////////////////////////
if (!isServer && (player != player)) then
{
 waitUntil {player == player};
 waitUntil {time > 10};
};

UAVterminal = createVehicle ["USMC_WarfareBUAVterminal", [4689.45,10247.7,0.00143433], [], 0, "CAN_COLLIDE"];
UAVterminal setDir -188.7659;
UAVterminal setVehicleInit "BIS_UAVSystem synchronizeObjectsAdd [uAVterminal, UAV, UAVplane]";
UAVterminal addeventhandler ["hit", {_this select 0 setdamage 0}];
UAVterminal addeventhandler ["dammaged", {_this select 0 setdamage 0}];
UAVterminal setPos [4689.45,10247.7,0.00143433];

processInitCommands;

Edited by tcp

Share this post


Link to post
Share on other sites

Hi thx for the assistance, but I still get a lot of other errors that create more when I change what arma2.rpt says is wrong. For example;

File ca\modules\uav\data\scripts\uav.sqf, line 95

Error in expression <////////////////////////////////////////>

Error position: <////////////////////////////////////////>

Error Invalid number in expression

Error in expression <// UAV Terminal Script for Armed Assault>

Error position: <// UAV Terminal Script for Armed Assault>

Error Invalid number in expression

Error in expression <// Created by: Karmichael>

Error position: <// Created by: Karmichael>

Error Invalid number in expression

Error in expression <////////////////////////////////////////>

Error position: <////////////////////////////////////////>

Error Invalid number in expression

Error in expression <f (!isServer && (player != player)) then>

Error position: <>

Error Invalid number in expression

Error in expression <};>

Error position: <};>

Error Missing {

Suspending not allowed in this context

Error in expression <waitUntil {time > 10};>

Error position: <> 10};>

Error Generic error in expression

And when I add what is missing it continues with more errors.

Also is there a good tutorial were I can better understand sqf/sqs files?

Share this post


Link to post
Share on other sites

Use createVehicleLocal instead of createVehicle.

The trigger that calls UAV.sqf needs to read:

Nul = execVM "UAV.sqf"; [this] exec "HOW.sqs";

Also, use isNull.

//////////////////////////////////////////////////////////////////
// UAV Terminal script for Armed Assault 2
// Created by: Karmichael
//////////////////////////////////////////////////////////////////
if (!isServer && (isNull player)) then
{
 waitUntil {!isNull player};
 waitUntil {time > 10};
};

UAVterminal = createVehicleLocal ["USMC_WarfareBUAVterminal", [4689.45,10247.7,0.00143433], [], 0, "CAN_COLLIDE"];
UAVterminal setDir -188.7659;
UAVterminal setVehicleInit "BIS_UAVSystem synchronizeObjectsAdd [uAVterminal, UAV, UAVplane]";
UAVterminal addeventhandler ["hit", {_this select 0 setdamage 0}];
UAVterminal addeventhandler ["dammaged", {_this select 0 setdamage 0}];
UAVterminal setPos [4689.45,10247.7,0.00143433];

processInitCommands;

Share this post


Link to post
Share on other sites

Thx tcp, I have found by using this script you supplied and changing a line in mission.sqm it has fixed a good lot of the errors.

The one problem I did get was that the UAV module didnt spawn on the map.

Also not sure which file isNull or Nul= was meant to go UAV or mission, tried both and still couldn't control UAV.

class Sensors

expActiv="[this] execVM ""UAV.sqf""; [this] exec ""HOW.sqs"";";

Corrected code:

//////////////////////////////////////////////////////////////////
// UAV Terminal script for Armed Assault 2
// Created by: Karmichael
//////////////////////////////////////////////////////////////////
if (!isServer && (player != player)) then
{
 waitUntil {player == player};
 waitUntil {time > 10};
};

UAVterminal = createVehicle ["USMC_WarfareBUAVterminal", [4689.45,10247.7,0.00143433], [], 0, "CAN_COLLIDE"];
UAVterminal setDir -188.7659;
UAVterminal setVehicleInit "BIS_UAVSystem synchronizeObjectsAdd [uAVterminal, UAV, UAVplane]";
UAVterminal addeventhandler ["hit", {_this select 0 setdamage 0}];
UAVterminal addeventhandler ["dammaged", {_this select 0 setdamage 0}];
UAVterminal setPos [4689.45,10247.7,0.00143433];

processInitCommands;

Still seem to get these two, so not sure if they are related yet. But will have to live with these till I can workout what me or the scripts doing wrong:rolleyes:

Error in expression <ynchronizedobjects _logic) then {_logic synchronizeobjectsadd [_x]}} foreach _ru>

Error position: <synchronizeobjectsadd [_x]}} foreach _ru>

Error Type Side, expected Object

File ca\modules\uav\data\scripts\uav.sqf, line 95

Share this post


Link to post
Share on other sites

Please look at post #8.

It needs to be:

Nul = execVM "UAV.sqf"; [this] exec "HOW.sqs";

or as read in mission.sqm:

expActiv="Nul = execVM ""UAV.sqf""; [this] exec ""HOW.sqs"";";

Also, look at the new code for use of createVehicleLocal.

Not saying it will fix all the errors, but its a further step in the right direction.

Share this post


Link to post
Share on other sites
Please look at post #8.

It needs to be:

Nul = execVM "UAV.sqf"; [this] exec "HOW.sqs";

or as read in mission.sqm:

expActiv="Nul = execVM ""UAV.sqf""; [this] exec ""HOW.sqs"";";

Also, look at the new code for use of createVehicleLocal.

Not saying it will fix all the errors, but its a further step in the right direction.

Well I have tried using both the codes you supplied, but neither allow me to use UAV in my local server during testing. Wish i had a dedicated server to test missions with. Anyhow I have made a mission, that I have got working to an level im happy with. Test it out and i will see if I can fix anymore of the bugs.

http://www.filefront.com/14971689/DOM-UAVSECOPS-117-Missions.rar/

Edited by Goodboys

Share this post


Link to post
Share on other sites

Sorry fellas, I like to help but my laptop or notebook is damaged, since Arma 2 version 1.02. So don't forget to add what UAV & SECOPS version it is, when you update it. :)

Share this post


Link to post
Share on other sites

Hello) Who knows as to write ammo A10 ? PLZ.

this addweapon "M197"; this addMagazine "750Rnd_M197_AH1";

this addweapon "GAU8"; this addMagazine ..........................

Share this post


Link to post
Share on other sites
Hello) Who knows as to write ammo A10 ? PLZ.

this addweapon "M197"; this addMagazine "750Rnd_M197_AH1";

this addweapon "GAU8"; this addMagazine ..........................

Add artillery ammo, it will give the user a surprise :D

Share this post


Link to post
Share on other sites
Hello) Who knows as to write ammo A10 ? PLZ.

this addweapon "M197"; this addMagazine "750Rnd_M197_AH1";

this addweapon "GAU8"; this addMagazine ..........................

Hey, here you go and more on a A10 :D

Weapon Class(1) = GAU8

Weapon Class(2) = MaverickLauncher

Weapon Class(3) = SidewinderLaucher_AH1Z

Weapon Class(4) = BombLauncherA10

Weapon Class(5) = FFARLauncher_14

Magazine Class(1) = 1350Rnd_30mmAP_A10

Magazine Class(2) = 2Rnd_Maverick_A10

Magazine Class(3) = 2Rnd_Sidewinder_AH1Z

Magazine Class(4) = 4Rnd_GBU12

Magazine Class(5) = 14Rnd_FFAR

this addweapon "GAU8"; this addMagazine "1350Rnd_30mmAP_A10";

For more classnames go to

http://www.armatechsquad.com/ArmA2Class/

Share this post


Link to post
Share on other sites

Karmichael Thank you for your help! I was looking for precisely this!) THX!)

Share this post


Link to post
Share on other sites
Hey All,

Got the UAV working on Dominations Dedi..... details below But i hit a rock,

when you respawn, the UAV modules deactivates. ???? :mad:

Domination: Secops and UAV

http://www.megaupload.com/?d=OCZD0LCU

NOTE: When you died or respawn, say good bye to the UAV system But

still alot of fun......:yay:

SECOPS:

Only support only... Artillery, Air support

AND ONLY Secops Operator call sign RAZOR can access it

Artillery has a boundary limit to it

TIPS: Press space them click communications then request. When you

wanna use the secop.

UAV:

Anyone can use the UAV (only on spy missions not attack missions.)

AND ONLY the UAV operator can ACTIVATE the UAV system and execute

attack missions and spy missions (UAV OPERATOR bottom slot must be

selected before missions start). At missions start a UAV terminal should

spawn near the base flag.

If your NOT the UAV operator do not waste the UAV ammo, ONLY UAV

operator can access it

Karmichael's Predator: (The Stealth Predator)

Predator is packed with GBU bombs (get someone to paint some targets

or laser target) And hellfire missiles. AI will NOT shot you down coz your

stealth.

CONTROLS:

Q = increase set height

Z = decrease set height

W = Increase set speed

S = decrease set speed

B = Set UAV marker

tab = To lock on targets and scroll through targets

- = Zoom out

+ = Zoom in

F = toggle/scroll through wepons

M = Open map

TIP: Open map, you have 4 waypoints, Click on the map untill you have

long straight line to the objective, this makes it easier spot enemies and

shot/lock on targets. Increase set height around mountains.

Scroll/roll middle mouse button for brightness. Scroll/roll up to dull the

brightness.

LEFT MOUSE: Fire rockets, bombs

RIGHT MOUSE: Exit UAV

TIP: To keep yourself safe stay near the flag where its protected by high

sandbags.

CARPET BOMBER:

The C130 is a carpet bomber with GBU's and Mark 8. AND u can also halo

jump from the C130. It spawns at base when shot down.

SUPER VENOM:

The UH-1Y Venom is packed with AIR to GROUND missiles and AIR to

AIR missiles . The venom crew chief can hose down the baddies with a

20mm gatling gun.

Everything else is domination normal......

I only tested it out my dedi server network. WORKS. Can you fellas test it

out for me... with more than 2 people..

Its not the best with the modules but very playable and team work fun with

the UAV......

Suggestions and ideas is welcomed..... Help or Corrections on scripts will

be awesome

Credit and thanks:

To Xeno, kiljoy, sickboy and all the Domination nuts out there.

Enjoy and happy birthday:bounce3:

Karmichael

Hello Karmichael,

I saw your nice post and was wondering if I could get just the part of your script that keeps the "UAV Destroyed" message from showing up when I try to access the UAV terminal on my dedicated server. My UAV system works fine if I start the game in multiplayer on my own computer but all users see "UAV Destroyed" when they access the UAV terminal on the dedicated server. The UAV is still flying fine when the "UAV Destroyed" message shows.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×