COFFEE Editor and Compiler



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 28/03/2006 at 07:30, xxxxxxxx wrote:

    User Information:
    Cinema 4D Version:   9.5 
    Platform:   Windows  ;   
    Language(s) :   C.O.F.F.E.E  ;

    ---------
    Hi everybody,

    I'm quite new to C.O.F.F.E.E. and plugin-programming for Cinema 4D, so please excuse my simple question :-)

    I have an older version of a Plugin (COFFEE for R7) that I want to use under R9.5, however it does not work directly.
    Now I'm trying to make out an editor and compiler for COFFEE. Where do I find that?
    The COFFEE SDK Help mentions "Enhanced syntax coloring in C.O.F.F.E.E. editor" in the changes from R6.3, which editor is this referring to? The Script Manager? That can hardly be called an editor ...

    Also, where can I find a compiler for COFFEE plugins when I don't want to use source code files? I found one for R7, this compiler also works in R9.5, however it compiles the plugin without errors while C4D still can't load it.

    Thanks already. Cheers,
    Juergen



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 28/03/2006 at 11:57, xxxxxxxx wrote:

    The COFFEE editor you get by double clicking the COFFEE Tag in Cinema.
    A 9.5 compiler is included in the SDK documents , examples.
    It is a plugin you install and by clicking it you then navigate to a "myplugin.cof" file (Saved from the COFFE editor or a regular text editor).
    What you then get is a "myplugin.cob" file.

    If the COFFEE plugin (for R7) is a .cof file you can edit it (check any copyright terms), if it is a .cob file then it is "closed" and you can't do anything with it.

    Cheers
    Lennart



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 29/03/2006 at 05:36, xxxxxxxx wrote:

    Thanks for the quick reply .. the plugin is a .cof file and was created here (three years ago), so nor copyright problems. But now I feel even more stupid :-) ...
    Where is the COFFEE Tag supposed to be? Can't find it anywhere in Cinema. I compiled the whole SDK (VC++), but still no sign of any editor ...

    The compiler in the SDK documents is the one I was referring to in my first post, however this one does compile the .cof file to .cob, but Cinema can't load it. So it does seem to accept old syntax that Cinema does no longer support.

    Cheers,
    Juergen



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 29/03/2006 at 06:17, xxxxxxxx wrote:

    Hey .. I think I just found the COFFEE Tag you were referring to. But that does only expand an object with additional code ... I was looking for a more complex editor allowing for the creation of menu plugins, etc.

    Is there something like that? Otherwise seems like I have to use the Visual Studio editor ... although COFFEE code is not supported there :-(



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 29/03/2006 at 17:01, xxxxxxxx wrote:

    I usually start writing parts in the COFFEE editor just to see if what I do works. It is somewhat easier to see what is what in it since there are colors for different objects/parameters/functions etc.

    But very soon I do it straight in the texteditor of OSX since the document then can be in the plugins folder of Cinema and can be reloaded for each edit I do. Plus for any Icons to show up that is the only way I know of.

    I'm no expert of any kind, I only do pretty simple Plugin expressions this way and only use UserData on my tags to stear them.

    Cheers
    Lennart



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 31/03/2006 at 15:23, xxxxxxxx wrote:

    Hi Lennart,
    Could possibly elaborate on your answer a little?
    I'm just getting into programming for C4d and want to know the best route.
    I've got some Javascript/Actionscript background and have learned a bit of Xpresso.

    I'd like to make plug-ins that reside under the plug in menu and have their own icons in the OM.

    -Would C.O.F.F.E.E. allow me to do this or do I need to start with C++?
    -I just installed XCode (Tiger) on my Mac. Based on your answer above I'm now thinking that was not necessary. Can I really just use TextEdit?

    Perhaps I'm mixing things up a little?
    Thanks and sorry Juergen for threadjacking :).



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 31/03/2006 at 20:50, xxxxxxxx wrote:

    -Would C.O.F.F.E.E. allow me to do this or do I need to start with C++?

    Yes. You can make Command plugins (plugins under the plugin menu). On MacOS, you'll need to use the HTML docs which includes an examples folder. Use the examples as a basis for starting to learn and create plugins - as well as the documentation to learn the language. Go the main PluginCafe page (Home above), select SDK Downloads R9.5. Or use this link.

    -I just installed XCode (Tiger) on my Mac. Based on your answer above I'm now thinking that was not necessary. Can I really just use TextEdit?

    For COFFEE, you can use any text editor - as long as it's an ASCII text editor (no RTF or DOC stuff). It is just text scripting where the file extension is .cof (instead of .txt, for example). You can also 'compile' COFFEE code into a binary format with extension .cob. The compile is mainly just to protect your code - yeah, you can sell COFFEE plugins. :) You can also enter COFFEE code interactively with the CommandLine or add it to a COFFEE Expression tag.

    Enjoy!



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 01/04/2006 at 06:45, xxxxxxxx wrote:

    Hi Tiziano.
    I have -no- programming background what so ever so a combination of loads of help here and over at CGTalk (do a search on tcastudios and C.O.F.F.E.E over there, up to about nine months back at least) plus studying the html SDK docs got me put together what I needed, a certain camera rig.

    My base was the SDK > examples > Basic Frameworks > expressiontagplugin.cof.

    Cheers
    Lennart



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 01/04/2006 at 10:32, xxxxxxxx wrote:

    Thanks guys.
    Perfect!



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 28/04/2006 at 20:12, xxxxxxxx wrote:

    I was wondering if this is the editor i can use for diablo 2 LOD .cof files, and if it is where can i download it from.


Log in to reply