Ambiera Forum

Discussions, Help and Support.

Create a new account, Search, or Login:
Name: Password:
Ambiera Forum > CopperCube > Feature requests and bug reports
Feature request
Author Text

veganpete
Registered User
Quote
2021-08-09 14:05:25

Please add a feature which bundles all the required/used files (textures, sounds, models etc) into a project file which is saved along with the ccb. An example of this is DAW software which exports all the required files into a project folder and then points all the paths to the new project files (instead of the original/temporary/imported files).

This would be handy for 3 main reasons:

1- it would allow projects to be moved from one computer to another without being dependent on the original/local file-paths.

2- it would simplify workflow as all files would be in-project, rather than scattered over different sources/folders on the host OS.

3- it would prevent textures/sounds being corrupted/deleted if a system problem arises, if files are stored with the project, instead of being stored on the affected system.

With my project being nearly 2 years of daily work, thus is the second time that the sounds/textures and models have become affected. I'll have to start again as most of the filepaths/files don't seem to work with the ccb any more.

At the moment coppercube does seem to copy the texture files and models (not sounds) into the ccb but it does not update the paths to the ccb file (they remain pointing to the files on the local machine). This means you have to keep all the files "as is" in their original folders because any changes are reflected when ccb is started. This is usually OK - until there is a problem - as sometimes when coppercube opens, everything is lost and there are simple no filepaths - which means no textures or models. CCB in tact but Game completely destroyed/irreperable.


just_in_case
Moderator
Quote
2021-08-11 06:11:04

+++ , I think one can create something like that , at least for 3D models using the command line interface which comes with professional edition of CopperCube.


DouweDabbe
Guest
Quote
2021-08-24 04:40:38

i would like to see some extra texture files such as:
basic Colors, Numbers and Letters for general usage.

As cc is excellent tool for prototyping, this would help quite a bit in bringing more clarity to gui and moving parts.
When I include them myself in the ambiera program file section they are not found.
Can add them in project section but ... i think should be with engine.

I have a few ready can upload them ?


just_in_case
Moderator
Quote
2021-08-24 07:49:36

Don't know about other texturres but I always find a transparent texture missing, that should be included in the editor, recently I requested it, hope it will be added into next updates.😇


hadoken
Guest
Quote
2021-08-24 09:19:11

so true @just_in_case

I have to keep an external little apha.png (50x50) around all the time ... ;-)


onceforloops3
Registered User
Quote
2022-10-21 17:16:08

How do I use the "[-import:file]: Specifies a static 3d model file to be imported into the current scene in the editor. The file can be of any supported format, like .3ds, .x, .obj, .lwo etc. This is optional." from the documentation in a cc js action?? Are there any commands i need to put first in js file. Can someone help me with an example code snippet??


onceforloops3
Registered User
Quote
2022-10-22 02:31:02

In other words how do I use the command line interface in coppercube actions/behaviors???


hadoken
Guest
Quote
2022-10-22 12:36:51

@onceforloops3

with [b]editorImportStatic3DMesh(filename) [/ b] 3D objects can only be importer in the editor by using the commend from a plugin, not at runtime via action/behavior. You can find the needed plugin here:

https://www.dropbox.com/s/t572c5...

The plugin is so simple that you could also use CopperCube's native import function from the file menu. Nevertheless [b]editorImportStatic3DMesh(filename) [/ b] can be quite powerful for batch scene importing stuff.

Hope that helps.


hadoken
Guest
Quote
2022-10-22 12:39:12

Here's the script link, put the plugin into CopperCube's plugin folder:

https://www.dropbox.com/s/pozc5r...


hadoken
Guest
Quote
2022-10-22 12:52:14

(P.S. sorry for the typos, also want to mention the plugin is simple because it just contains the example from the CC documentation)


DouweDabbe
Guest
Quote
2023-01-27 18:49:50

VP Said:
"Please add a feature which bundles all the required/used files (textures, sounds, models etc) into a project file"

Solution mentioned already elsewhere but for later reference sake I repeat it here:

Export project as webGL regularly:
That will copy all js files, textures and sound files to your project folder but NOT the 3d models.
Then move the stuff in subfolders
And update all you paths in your project with some custom js script that traverses your node explorer tree.

When moving your project to other folder or machine
copy the entire project and run that custom script again.


Robbo
Guest
Quote
2023-01-27 23:01:35

Adding to VP's first comment:

When a different location is made for CC textures, the CCB file when saved takes around 10 times as long to save depending on how many textures have changed location as it seems to try and find them and has to look around or something....seems a bug to me when the textures are already inside of the editor...why bother to search around and take so long to save when its not going to change the texture source directory inside CC anyway ?

It literally might go from 0.5 seconds to save to 5 seconds each and every time - just because the source textures have now changed location...when in fact it doesn't need them as it already has then in the editor....very weird...its a bug as I see it.


Create reply:


Posted by: (you are not logged in)


Enter the missing letter in: "Inte?national" (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© 2020 Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact