Thank you for the reply; I think I understand now (partly) how the AlcScript should look like.
But I still feel a bit helpless. What is a pythonfilemod?
I have browsed the forums to get an answer, and found that such a pythonfilemod does call a python file finally. Is this correct?
And, besides that, "which" function in a python file is called then?
So, how do I "create/use/install/attach" such a pythonfilemod? Is it a Python file as well, or another AlcScript part, or a Blender object? Or something totally different, or part of an existing function in plasma?
Although I've written some Python import/export scripts for Blender in the past, I feel stupid now.
What I currently understand (hopefully) is:
a) The AlcScript defines that when a region is entered, the "NameOfYourLogicModifier_Enter" pythonfilemod is called. (Is saying "called" right?)
b) ...
?)
f) Finally a function in a script I do write by myself is called, which does for example change the fog density:
- Code: Select all
def MySetFogDensity_onEnter(self, ...):
fogStart = -20
fogEnd = 100
fogDens = 0.5
PtFogSetDefLinear(fogStart, fogEnd, fogDens)
But, umm, what needs to be done between ?
Seems I need an example, or a reference / link where to get further information.