Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > CopperCube > Help with CopperCube
empty fishing net or full fishing net?

adteam43
Registered User
Quote
2021-07-17 16:00:53

A lot of people here know's already what game im preparing so many days (almost weeks).

Here is the big deal and chalenge.

I manage to create in blender one small ship crane full rig and animated and its working perfect in my ship.

In some sea areas the cage its up EMPTY. (That's I want it)
Everything its more tha perfect.

But in some other sea areas I create a different fish swimming nice and easy all around in this specific area.

There is some code or some "trick" to CATCH some fish with the cage when its dropped to the sea?

I mean any fish enter to the cage and "Stuck" of there?


Really I need help at this point.

Thanks in advance


VP
Guest
Quote
2021-07-17 16:40:38

Before first draw (and on reload)
Set variable "fish1caught?=0".
Set variable "fish2caught?=0".

For each fish, add an "On Proximity to net" event to change their variable to "caught"

Fish1, on proximity to "net", set variable: "fish1caught?=1.
Fish2, on proximity to "net", set variable: "fish2caught?=1.

The for each fish have an "every few seconds" event to move the fish to the position of the net if caught=1.

Fish1, every few seconds (100ms), If variable "fish1caught?" =1, change position of Fish1 relative to scene "net".
Fish2, every few seconds (100ms), If variable "fish2caught?" =1, change position of Fish2 relative to scene "net".

Do this for every fish.

Now when the net is near to the fish, the fish status is changed to "caught", then every 100ms, the position of the caught fish are moved to the net.

Some important info (which not many people know) about commercial fishing:
2.7trillion sea-lives are caught every year (100 million tonnes). Over 50% of all catches are killed and then discarded back to the ocean as "unwanted" (including 100million sharks every year). There is so much over-fishing that world scientists recently declared the emergency of the 6th mass extinction of our planet. At the current rate of commercial fishing, they predicted that our oceans will be completely empty of life by 2048 (possibly even sooner due to chain-reaction/catalytic events) . As around 50% of our breathable atmosphere is provided by the sea, the human species is also expected to become extinct by around 2048 - unless the human population can be rapidly reduced to under 1 billion people. That's around the same World population we had during 19th Century


adteam43
Registered User
Quote
2021-07-17 18:13:02

This is the best explanation but is seem's very complicated to me...please can you create a very simple ccb file for me.
Please?


VP
Guest
Quote
2021-07-18 11:31:06

Of course, no problem.

I have some free time tomorrow so I'll be able to make it for you and upload it here.

I used this method for my game - enemy wasps capture human survivors and take them to the nest... So I can quickly modify it for you by changing the nest to a "net" and the survivors to "fishes" for you.


adteam43
Registered User
Quote
2021-07-18 17:45:29

Thank you very much for your time.
Im awaiting your ccb file :)


VP`
Guest
Quote
2021-07-18 18:00:33

You're welcome.

Here's the ccb file (and demo.exe)...
https://drive.google.com/file/d/...


adteam43
Registered User
Quote
2021-07-18 22:23:42

Thank you very much for your time.
I study the file at once :)


VP
Guest
Quote
2021-07-18 23:18:32

No problem at all; happy to help.
I hope you find it useful.


adteam43
Registered User
Quote
2021-07-18 23:53:35

Your tutorial its everything what I need.
Great Job and thank you very very much.

The Case are closed! :)


VP
Guest
Quote
2021-07-19 07:31:21

wrote:
Your tutorial its everything what I need.
Great Job and thank you very very much.

The Case are closed! :)


You're welcome :)
Hey, that's awesome! I'm glad it helped.


adteam43
Registered User
Quote
2021-07-21 18:36:20

VEGAN PETE I CREATED NEW THREAD FOR YOU PLEASE RESPOND


veganpete
Registered User
Quote
2021-07-21 22:02:18

Thanks, I replied to the question for you in your other thread.


Create reply:


Posted by: (you are not logged in)


Enter the missing letter in: "Internationa?" (you are not logged in)


Text:

 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


   






Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact