Jump to content

Photo
- - - - -

Blake's Sling Loading


  • Please log in to reply
25 replies to this topic
Thread Starter
blakeace
blakeace

    Staff Sergeant

  • Members
  • 353 posts

#1

Posted 06 December 2011 - 05:32

Blake's Sling Loading v0.2.4a


Requirements:

TOH version of CBA.

Media:

sERZpUV1RE0

Posted Image
Sling loading a light aircraft, sling camera example.

Introduction:

I created this for myself. I wanted an out of the box sling loading functionality as I like to quickly throw a few things into the editor and quickly create a basic functional mission for myself.
This allows sling loading operations to be easily created, without effecting any other missions created by others with their own sling loading scripts triggers etc.

History:
Spoiler

Installation:

Same as any other addon. If you are unsure, please search the forums for help.
A good starting point is here.
http://forums.bistud...141&postcount=2


Limitations:

Only tested in single player. Although I did try and code it with MP in mind, I wouldn't be surprised if something didn't work seeing as it had no testing in that area.
This hasn't had a lot of testing, created it more for myself, but happy with the result and thought it might be enjoyed by others in the community.
I find it easier to disable my track ir when using the menus to connect the line to helicopters and objects. It requires you to place the cursor over them to make the menu item visible. The track ir makes knowing where the cursor position is hard.

Features:

Manual connection of the sling line to ensure no conflicts with other missions. To connect the line crawl under the helicopter until you get the menu item.
You can disconnect either by the remote release in the pilots seat(action menu) or crawling under to manually release via the action menu.

Electric hook releases for both loads and the line. Menu items.
Hot key for the menu items can be setup for use as buttons on a joystick if desired.
Found under custom controls in the controls dialog.
  • User 1 = Line release.
  • User 2 = Load release.

The ability to manually connect and un-connect a load to your line if the load is close enough to the helicopter. Menu option becomes available when close enough and looking at the object.

AI Loader unit Found under Civilian -> American -> People -> Blakes Loader in the editor.

  • Loader will move to the nearest load it has been synced with in the editor if it is closer than 100m. Note if the loader is a member of your group you will need to order him to move close the the load. Designed to be in his own group of one ideally.
  • If a helicopter with a sling line is close enough and slow enough the loader will attempt to hook the nearest load onto the line.
  • Distance for connection is between helicopter and Load object. Must be less than the line length. Tried using a token object to track the end of the line, but they would bounce around like tied up rabbits until snapping off the line.


Set AI loader values:

Max hookup speed:
Place the code in the ai loaders initialization field. Units are m/s. Default value is 3
this setvariable ["maxhookupspeed",1.4,true];

Load Time:
Place the code in the ai loaders initialization field. Units are seconds. Default value is 6
this setvariable ["loadtime",10,true];

Sling camera:

Turn on and off at the action menu.
Once on, there will be the option to change the zoom.
At this stage I haven't figured out how to define whether the overlayed version of the camera appears or not. In testing if i spawn the code in the init field, I get the overlay. Running the addon I only get the vehicle's monitor displaying? Hopefully as more people experiment with this a better understanding of how it functions will prevail.

Download:

Posted Image Direct Download | Mod info

Posted Image
Community Base Addons

https://rapidshare.c...ng_v0_2_4_a.rar

Edited by blakeace, 28 January 2012 - 22:23.

Posted Image

-DirTyDeeDs--Ziggy-
-DirTyDeeDs--Ziggy-

    Sergeant Major

  • Members
  • 1854 posts

#2

Posted 06 December 2011 - 06:41

I'll check it out, experiment, and give feedback. thanks for sharing.
Posted Image

BeePee
BeePee

    Sergeant

  • Members
  • 199 posts

#3

Posted 06 December 2011 - 06:43

Great! Downloading now. Thanks m8! Really need to try this today after work.

zentaos
zentaos

    Sergeant

  • Members
  • 102 posts

#4

Posted 06 December 2011 - 13:20

nice! now we just need some Christmas trees and trucks to put them in!

DeadlyDave
DeadlyDave

    Rookie

  • Members
  • 6 posts

#5

Posted 10 December 2011 - 18:47

is there a way to shorten the time the line takes to connect?

great mod by the way.

Thread Starter
blakeace
blakeace

    Staff Sergeant

  • Members
  • 353 posts

#6

Posted 11 December 2011 - 10:30

Sorry for the slow reply, and thanks for the kind words.

-Ziggy-;2067537']I'll check it out, experiment, and give feedback. thanks for sharing.

Cheers constructive feedback is always welcome :)

is there a way to shorten the time the line takes to connect?

great mod by the way.

Will be in the next version now :)

I almost have an update ready.

Changes will include:

More flexible speed tolerance for ai hookups. Ability to set the desired speed, for those that like to not rely on autohover.
Ability to set the time required for an ai hookup.
Increased the range that the ai can hookup an object. Current version didn't allow the ai to move close enough to trigger the hooking sequence for large objects.
Added Sling load camera in the monitors. Can be turned off and on in the action menu.

Edited by blakeace, 11 December 2011 - 11:06.

Posted Image

sickboy
sickboy

    Colonel

  • Members
  • 9947 posts

#7

Posted 11 December 2011 - 10:36

Added to Six Updater Network.
Posted Image Direct Download | Mod info

@blake: Please use BI Tools v2.5.1 or later so that the signatures are v2 instead of the deprecated v1.
http://sickboy-six.b...ey-what-is.html

Thread Starter
blakeace
blakeace

    Staff Sergeant

  • Members
  • 353 posts

#8

Posted 11 December 2011 - 11:03

Added to Six Updater Network.
Posted Image Direct Download | Mod info

@blake: Please use BI Tools v2.5.1 or later so that the signatures are v2 instead of the deprecated v1.
http://sickboy-six.b...ey-what-is.html


Cheers, and I'll sort out updating the tools asap :) .
Posted Image

DeadlyDave
DeadlyDave

    Rookie

  • Members
  • 6 posts

#9

Posted 11 December 2011 - 11:52

blake thats the things id like improved this mod deserves more credit than you are getting its great fun.

Thread Starter
blakeace
blakeace

    Staff Sergeant

  • Members
  • 353 posts

#10

Posted 11 December 2011 - 22:44

Edit: HotFix Uploaded
Sorry I found a small logical error which caused only the heavy helicopters menu items to not appear correctly.
Light and medium were ok.
If you downloaded before you saw this edit please re-download.



Ok I have uploaded a new version.

First post updated with the new download.

Blake's Sling Loading v0.2a

History:

  • Made speed more flexible, meaning less tolerance for ai hookups.
  • Created the ability to set the desired speed, for those that don't like to rely on autohover.
  • Created the ability to set the time required for an ai hookup.
  • Increased the range that the ai can hookup an object. Current version didn't allow the ai to move close enough to trigger the hooking sequence for large objects.
  • Added Sling load camera in the monitors. Can be turned off and on in the action menu.
  • Added two zoom settings for the camera accessed via the action menu.

blake thats the things id like improved this mod deserves more credit than you are getting its great fun.

Cheers, I'm glad you like it.

@Sickboy - I have updated my tools, so sigs should be ok now.

Edited by blakeace, 11 December 2011 - 23:41.

Posted Image

themaster303
themaster303

    Gunnery Sergeant

  • Members
  • 540 posts

#11

Posted 12 December 2011 - 01:56

found a little bug. if you activate the sling cam and get out the chopper without disabling it, than you have the sling cam on the left mirror of the suv.

should be a check do switch it of when you leave the chopper.

the addon is really great. testing it soon in MP.

greetz

Thread Starter
blakeace
blakeace

    Staff Sergeant

  • Members
  • 353 posts

#12

Posted 12 December 2011 - 03:49

found a little bug. if you activate the sling cam and get out the chopper without disabling it, than you have the sling cam on the left mirror of the suv.

should be a check do switch it of when you leave the chopper.

the addon is really great. testing it soon in MP.

greetz


Cheers, much appreciated.

Fixed Version now available in the first post

First post has been updated with a version that doesn't retain a persistent sling cam in all vehicles if left on when leaving the helicopter.
Posted Image

[EVO] Dan
[EVO] Dan

    Master Gunnery Sergeant

  • Members
  • 1269 posts

#13

Posted 14 December 2011 - 12:11

Awesome mod, just tried it out. Good work with it.

Can I make some missions for release on the forums using this mod please? I have had a few ideas for missions and I am going to start working on them soon.
My custom missions:
TOH - COOP5 Operation Pegasus http://forums.bistud...eration-Pegasus
TOH - COOP Convoy attack (both Hinds and stock versions) http://forums.bistud...O-Convoy-Attack
A2CO Multi-mission Template http://forums.bistud...048#post2182048
Basic Vehicle respawn script (A3 Alpha) http://forums.bistud...272#post2389272

[EVO] Multigaming Clan is recuiting at ts3.evoclan.net

sickboy
sickboy

    Colonel

  • Members
  • 9947 posts

#14

Posted 14 December 2011 - 12:16

Updated on SU, couple of issues:
- You created a new BlakeAce.Bikey - now your mods cannot be combined on the same server anymore, because you have addons signed with old blakeace.bikey, and now also with new blakeace.bikey.
If you want to update your key, you should version it (e.g blakeace1, blakeace2, blakeace3).

- The bisign included is still v1. The only thing you have to do to get v2 is use the OA 2.5.1 or newer tools to sign the pbo. Creating a new key was not needed.

Hopefully you still have your old blakeace.bikey and biprivatekey, so you can sign this mod again with your old key :D

BeePee
BeePee

    Sergeant

  • Members
  • 199 posts

#15

Posted 15 December 2011 - 10:16

Just tried it yesterday evening. Great mod! Works like a charm. I've made small mission for everyone to try it. Nothing fancy, no triggers or waypoints, no mission finish. You have to trasport cargo to cargo ship, both marked on the map. The worker is there to help you attach the boards. Off course all credits go to blakeace :)

Cargo mission

Enjoy.
Posted Image

Thread Starter
blakeace
blakeace

    Staff Sergeant

  • Members
  • 353 posts

#16

Posted 16 December 2011 - 03:08

First Post updated.

Version 0.2.2a
Fixed incorrect signature files.

Updated on SU, couple of issues:
- You created a new BlakeAce.Bikey - now your mods cannot be combined on the same server anymore, because you have addons signed with old blakeace.bikey, and now also with new blakeace.bikey.
If you want to update your key, you should version it (e.g blakeace1, blakeace2, blakeace3).

- The bisign included is still v1. The only thing you have to do to get v2 is use the OA 2.5.1 or newer tools to sign the pbo. Creating a new key was not needed.

Hopefully you still have your old blakeace.bikey and biprivatekey, so you can sign this mod again with your old key :D


DOH!, yes very silly of me. First post now updated with old keys, signed using the new tools. Hopefully I've got it right this time.
Thanks for being so on the ball :). Apologies for the stuff up.

Dan;2072042']Awesome mod, just tried it out. Good work with it.

Can I make some missions for release on the forums using this mod please? I have had a few ideas for missions and I am going to start working on them soon.


Definitely. The only thing I would suggest is a disclaimer as this is still in a testing phase. My development methodology rely's on member usage to help test my addons :).
If you are thinking of multiplayer missions, bear in mind this has had no testing in that environment, so I would be amazed if it didn't fall over somewhere in MP.

Just tried it yesterday evening. Great mod! Works like a charm. I've made small mission for everyone to try it. Nothing fancy, no triggers or waypoints, no mission finish. You have to trasport cargo to cargo ship, both marked on the map. The worker is there to help you attach the boards. Off course all credits go to blakeace :)

Cargo mission

Enjoy.


Cheers I'm glad you like it.
Posted Image

Thread Starter
blakeace
blakeace

    Staff Sergeant

  • Members
  • 353 posts

#17

Posted 29 December 2011 - 02:15

Small Update

Will not effect single player. Fixed a small problem where using the new tools to pack the files, I overlooked ticking the created signature file box. New download just includes the correct signature file.

First post updated with new download.
Posted Image

Thread Starter
blakeace
blakeace

    Staff Sergeant

  • Members
  • 353 posts

#18

Posted 26 January 2012 - 05:58

Updated

Version 0.2.4a available in the first post.

  • Added ability to show the sling cam in the action screen.
  • Decreased the time it takes the loader to attach loads to six seconds.
  • Increased the maximum speed while the loader is loading to better suit players not using autohover.
  • Changed the camera code to be compatible with my Mobile parts cameras.
  • Camera requires batties to be on before being able to turn on.

Posted Image

darkxess
darkxess

    First Sergeant

  • Members
  • 813 posts

#19

Posted 28 January 2012 - 16:08

Release frontpaged on the Modsaholic homepage.

Posted Image
Blake's Sling Loading v0.2.4a


Edited by DarkXess, 28 January 2012 - 22:55.

Posted Image

Posted Image

daikan
daikan

    Staff Sergeant

  • Members
  • 285 posts

#20

Posted 16 February 2012 - 17:49

Any idea how this mod can be made MP compatible (e.g. running on dedicated server)?

Currently it seems that server-side objects cannot be sling loaded (sling attaches but the object won't move).

I suspect server objects have to be made local to the player's client upon attaching for this to work in an MP environment but I have no idea how this can be done.

Great mod btw ;)


"Nothing is so firmly believed as what is least known." - Michel de Montaigne