Hello,
I'm new to OpenClonk, so I'm sorry if this question seems somehow... stupid. I've been playing Clonk since Clonk Planet became Freeware, and I also was developing objects and scenarios. But how do I access the editor mode in OC? I can't find any "Editor.exe" in my dir like with Clonk?
Thanks in advance! Great Work!
I'm new to OpenClonk, so I'm sorry if this question seems somehow... stupid. I've been playing Clonk since Clonk Planet became Freeware, and I also was developing objects and scenarios. But how do I access the editor mode in OC? I can't find any "Editor.exe" in my dir like with Clonk?
Thanks in advance! Great Work!
![](https://attach.openclonk.org/avatars/65-0196.png)
Then you should follow the instructions here and get Eclipse
PS: The first step basically means installing TortoiseHG and cloning http://hg.openclonk.org/openclonk/ via rightclick->clone
PPS: Or just Mercurial for Linux of course, as you like
![](https://attach.openclonk.org/avatars/24-4666.png)
![](https://attach.openclonk.org/avatars/65-0196.png)
>The editor is started with clonk --editor.
Guenther is not talking about Editor.exe here, though. I think you should head for Eclipse, TheLinuxist
Thank you. I will work myself into that. By the way, is there already a way to build and settle?
I was going to create a test scenario with flat landscape and an airplane. But how can I spawn objects? I already tried using the "Material" and "Vehicle" values in the Scenario.txt file and the script.c itself (using Create Object):
That's the scenario script. What am I doing wrong?
// EDIT: Got it working using the "Vehicle" value in the Scenario.txt. But why isn't the script working?
/*-- Neu --*/
#strict 2
func Initialize()
{
var cp = FindObject(Find_ID(Clonk));
var plane = CreateObject(Plane, cp->GetX(), cp->GetY(), 1);
return 1;
}
That's the scenario script. What am I doing wrong?
// EDIT: Got it working using the "Vehicle" value in the Scenario.txt. But why isn't the script working?
![](https://attach.openclonk.org/avatars/65-0196.png)
You can use InitializePlayer(int player) that is called whenever a player joins
Thanks. I created a test object now, which is saved as TestObject.c4d. I wrote the definition file to the Scenario.txt file (it is found, at least according to the engine log) and add a "Material" definition like this:
[Player1]
(...)
Material=Shovel=1;Test=1
Why does this not work?
[Player1]
(...)
Material=Shovel=1;Test=1
Why does this not work?
![](https://attach.openclonk.org/avatars/79-5162.png)
also, feel free to join #openclonk-dev for questions.
Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill