Anonymous Login
2021-09-24 15:38 UTC

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0002054OpenClonkEnginepublic2019-03-31 08:09
Assigned To 
PrioritynormalSeverityfeatureReproducibilityhave not tried
Product Version 
Target VersionFixed in Version 
Summary0002054: Feature request: Register custom OCFs
DescriptionMade a separate issue for the OCF proposal from

We could also remove OCF and replace it with these custom bits. In fact the features could be separated and work like this:

static OCF_Prey = RegisterOCF("Prey");
static OCF_Monster = RegisterOCF("Monster");
RegisterCrossCheck(OCF_Monster, OCF_Prey, "OnHitPrey");

It could even be made downwards compatible with some of old OCFs like OCF_Alive, and also work in FindObject(Find_OCF(...)).
TagsNo tags attached.
Attached Files

related to 0001384new Make cross-check script-accessible 



Marky (developer)

I am not sure about the gain of this. Yes, it allows to create custom OCFs, but what is the difference between those and a property (yes, there is a difference implementation-wise)?
After all, either is just a boolean flag (well, properties can be of other types, too). Also, I'd imagine that the amount of custom OCFs could increase very fast in a custom pack?

-Issue History
Date Modified Username Field Change
2019-03-31 08:01 Marky New Issue
2019-03-31 08:02 Marky Relationship added related to 0001384
2019-03-31 08:09 Marky Note Added: 0006212
+Issue History