Console Commands

Skaldarnar

Development Lead
Contributor
Art
World
SpecOps
I've created a wiki page for developers who are interested in creating their own console commands.

I hope it can be useful for those who are not familiar with the system already, providing the good starting point for console command creation.

Here's the link:
--> Wiki-page
 

Esereja

Active Member
Contributor
Thank you I was wondering that one, will add some for AI control and such. Ty

and some one needs to make us mcedit for TS.(anyone willing?) That is must later on. commands like copy,paste,sellect, fill, shapes, errosion fill be extremely usefull.
 

Esereja

Active Member
Contributor
tadaa:
[SEVERE] (12-14 04:02:11)
org.terasology.game.Terasology:main() - Uncaught Exception (Thread: 1)
java.lang.NullPointerException
at org.terasology.asset.sources.DirectorySource.scanFiles(DirectorySource.java:52)
at org.terasology.asset.sources.DirectorySource.loadAssetsFrom(DirectorySource.java:48)
at org.terasology.asset.sources.DirectorySource.<init>(DirectorySource.java:40)
at org.terasology.logic.mod.ModManager.refresh(ModManager.java:140)
at org.terasology.logic.mod.ModManager.<init>(ModManager.java:76)
at org.terasology.game.TerasologyEngine.initManagers(TerasologyEngine.java:424)
at org.terasology.game.TerasologyEngine.init(TerasologyEngine.java:109)
at org.terasology.game.Terasology.main(Terasology.java:42)
AL lib: ReleaseALC: 1 device not closed

BUILD SUCCESSFUL
my new mod wasn't so sucsesful. :cry:

edit: Ught I found bug. if there is no asset directory in mod it will crash game.:confused:
 

Cervator

Org Co-Founder & Project Lead
Contributor
Design
Logistics
SpecOps
Thanks Skaldarnar ! Perfect fit for the Modding API page :D

A standalone world editor - yeah, probably need that eventually. Big project :)

Immortius might be able to sort out the assets thing, he just committed some changes there recently
 

Immortius

Lead Software Architect
Contributor
Architecture
GUI
I would wait until our world save format is improved, the current one is rubbish for integration. (Ideally it would be compressed protobuf, what we have is compressed java serialized classes).

Yeah, I'll look into the asset directory bit.
 

Esereja

Active Member
Contributor
i would like to make commands mod but last time I tried it didn't work when activated so can you make example mod of commands. Name of that could be developer commands, I could start filling it up whit commands.

And anyidea how make command to change night to day? that would be realy usefull.
 

Skaldarnar

Development Lead
Contributor
Art
World
SpecOps
I'll try that out when I find the time for it... So you have to wait 'til christmas days are over. ;)
 
Top