Jump to content

Photo
- - - - -

collisions


  • Please log in to reply
9 replies to this topic
Thread Starter
zak
zak

    Private

  • Members
  • 9 posts

Posted 02 December 2011 - 12:00 #1

(newbie :o)
I transcribed the "simple mission".
How can I enable the collisions to the attached cargo?

thx

hon0
hon0

    Gunnery Sergeant

  • Members
  • 562 posts

Posted 02 December 2011 - 14:59 #2

http://community.bis...SlingLoadAttach

[7,{Hint "YOU FAILED N00B !"; box setDammage 1;}]

Here is the argument I used in my little "mission.."
So If the box hit the ground or something else too hard I fail.

You have to name the cargo and put the same name in the waypoint's argument.
Youtube Channel
Don't Live on the Edge, Jump off it! ♥♫


Posted Image

Thread Starter
zak
zak

    Private

  • Members
  • 9 posts

Posted 05 December 2011 - 19:47 #3

http://community.bis...SlingLoadAttach

[7,{Hint "YOU FAILED N00B !"; box setDammage 1;}]

Here is the argument I used in my little "mission.."
So If the box hit the ground or something else too hard I fail.

You have to name the cargo and put the same name in the waypoint's argument.


Thanks hon0.
I put in the "argument" of the waypoint;
[5, {Hint "You've lost CARGO!!"; pacco setDammage 1, 1000}]
"pacco" is the name of my cargo.
But had no success until I added,
this setDamage 1;
in "initalization" of the cargo (container_in_net).
Ok, now works but I would ask for another thing.

To test I hit the control tower of the ship with the cargo, the cargo came off, I received the message of failure, the ship continued to sail and the package is left hanging in the air :rolleyes:
Can I destroy the cargo when I lose It? Is there any other solution?

thanks
ale

pardon my terrible english

hon0
hon0

    Gunnery Sergeant

  • Members
  • 562 posts

Posted 05 December 2011 - 20:16 #4

Whit this setting the cargo should be destroyed. I think you forget a " ; " at the end.

Try this :

[5,{Hint "You've lost CARGO!!"; pacco setDammage 1;}]
Youtube Channel
Don't Live on the Edge, Jump off it! ♥♫


Posted Image

Thread Starter
zak
zak

    Private

  • Members
  • 9 posts

Posted 06 December 2011 - 18:57 #5

I replaced with your written raising the weight 1000. I think the weight to give problems because in reality the ";" there was (I write bad in the topic).
Now I have remove "setDamage 1;" from "initalization" of the cargo, works well, but the package remains suspended in the air when I lose It. :o

I am sending you a picture when I can capture the video.

Jedra
Jedra

    Warrant Officer

  • Members
  • 2048 posts

Posted 06 December 2011 - 19:08 #6

Here is the argument I used in my little "mission.."
So If the box hit the ground or something else too hard I fail.


This looks like a great training mission, any chance you could upload it to the missions section? A lot of new people are struggling to get to grips with ToH and this is the kind of thing that will help them (and me!).
Jedra's Addons
Arma 2 : Enhanced Skills Slider
Take On Helicopters : Take On Taxi | Jedra's Time Trials | Weapon Indicators | No Radar

Thread Starter
zak
zak

    Private

  • Members
  • 9 posts

Posted 07 December 2011 - 09:42 #7

A lot of new people are struggling to get to grips with ToH and this is the kind of thing that will help them (and me!).

I am struggling with a box flying over a ship! :D

hon0
hon0

    Gunnery Sergeant

  • Members
  • 562 posts

Posted 07 December 2011 - 10:59 #8

Sure Jedra. Here the link. When the box, here it's just a wooden crate get damaged we get a little explosion sound and the box disapear.. :rolleyes:
Youtube Channel
Don't Live on the Edge, Jump off it! ♥♫


Posted Image

Thread Starter
zak
zak

    Private

  • Members
  • 9 posts

Posted 07 December 2011 - 11:46 #9

When the box, here it's just a wooden crate get damaged we get a little explosion sound and the box disapear.. :rolleyes:

I certainly wrong object!

You used;
Vehicle = "Crate_Wood_H";

get damaged we get a little explosion sound


my object fly :bounce3:

Tonight, when I return home, I read your mission well and try to learn something.

Jedra
Jedra

    Warrant Officer

  • Members
  • 2048 posts

Posted 07 December 2011 - 12:04 #10

Sure Jedra. Here the link. When the box, here it's just a wooden crate get damaged we get a little explosion sound and the box disapear.. :rolleyes:


Cool thanks! I need all the training I can get ;-)
Jedra's Addons
Arma 2 : Enhanced Skills Slider
Take On Helicopters : Take On Taxi | Jedra's Time Trials | Weapon Indicators | No Radar