Do you need tutorials on VoidExpanse modding?

Started by DLirry, April 04, 2014, 08:58:03 PM

So, do you need tutorials on modding VoidExpanse?

No
1 (3.7%)
Yes, text tutorials
19 (70.4%)
Yes, video tutorials
7 (25.9%)

Total Members Voted: 27

Voting closed: April 04, 2015, 08:58:03 PM

DLirry

I decided to make this poll to know, if VE community needs additional information on modding, like video tutorials for instance,
or
http://wiki.atomictorch.com/VoidExpanse/installing_mods
http://wiki.atomictorch.com/VoidExpanse/modding
is enough?
Doubting yourself is the only path to perfection

daselk266

Hi, I've been trying to make various changes to core.cpk and my own .mpk files but when i start up game it says can't read them as a zip file. A tutorial would be useful as I can't seem to make any changes without breaking it. Tried to repack as a zip but no good. Any help appreciated.

deseven

Quote from: daselk266 on April 05, 2014, 11:46:03 PM
Hi, I've been trying to make various changes to core.cpk and my own .mpk files but when i start up game it says can't read them as a zip file. A tutorial would be useful as I can't seem to make any changes without breaking it. Tried to repack as a zip but no good. Any help appreciated.
It's probably about the compression method.
The easiest way is to download 7-zip (http://7-zip.org/) and pack your mod files just like that:
Heaven is out of reach, hell is in sight.
Give it up. Learn to let it go.

deseven

And returning to the topic - i personally would like to see some js scripting examples, related to VE. It's not too clear right now. How to call your own script? Are function calls hardcoded somewhere in the engine?
Heaven is out of reach, hell is in sight.
Give it up. Learn to let it go.

DLirry

Quote from: deseven on April 06, 2014, 01:00:58 AM
And returning to the topic - i personally would like to see some js scripting examples, related to VE. It's not too clear right now. How to call your own script? Are function calls hardcoded somewhere in the engine?
Thanks for your feedback.
There's actually a plenty of information on scripting here: http://wiki.atomictorch.com/index.php?title=VoidExpanse/scripting_api

About your question - there's no way to call your own script from a game. All scripts' functions, however, can be attached to certain events, most of which are listed here: http://wiki.atomictorch.com/VoidExpanse/events
(except for experimental and testing actions). Also, you can attach functions to triggers, there's also info about that in
scripting section.

There are some exceptions, of course - topics, for example, are also scripts, but they don't work like other scripts, in documentation there's plenty of information on that too...
Just remember - there's a difference between internal and global scripts, you'd probably put your scripts to "global" folder
Doubting yourself is the only path to perfection

deseven

Quote from: DLirry on April 06, 2014, 09:11:44 PM
There's actually a plenty of information on scripting here: http://wiki.atomictorch.com/index.php?title=VoidExpanse/scripting_api
Oh, sorry, i didn't think that the wiki already have this info.
No more questions right now :)
Heaven is out of reach, hell is in sight.
Give it up. Learn to let it go.

Ixby

Yes!

More information!
ALL the information!

I tried to add a little bit to the wiki, but I'm sure all us laymen would appreciate an easy-to-understand, big book of knowledge (now with examples!) to refer to  ;D

Tyren

hello  :)

i try to make my first test mod with a minor change

i download 7 zip so as to make my mpk file

i have modified the header of the mod and the mod config file of the game

verified that its encoded in utf 8

removed the unused content

but when i launch the game  a bug appear at start

25.7.14 10:06:55.9587: Important:
Current log severity: Important

25.7.14 10:06:56.1858: Important:
Mods folder: 'C:\Users\Thomas\AppData\Local\AtomicTorchStudio\Launcher\Games\VoidExpanse\Mods'

25.7.14 10:06:56.7722: Error:

La référence d'objet n'est pas définie à une instance d'un objet.

"the object reference is not set to an instance of an object"


i so much would like to make a mod on this game that i had tryed so many times to install unsuccesfully
without understanding this error, which is weird for me  :'(

my header is

<?xml version="1.0" encoding="utf-8"?>
<root>
   <game>VoidExpanse</game>
   <id>endlessuniverse3</id>
   <title>VoidExpanse Endless universe Data</title>
   <author>AtomicTorch Studio, toto</author>
   <description>Extended mod for VoidExpanse. </description>
   <version>1.0.0</version>
   <updated>22.07.2014</updated>
   <modtype>2</modtype> <!-- 1 - server, 2 - client-server, 3 - client -->
</root>

and my mod config is :

<mods>
  <mod>core_1.0.0</mod>
    <mod>endlessuniverse3_1.0.0</mod>
</mods>
</mods>

i try this mod on version  0.8.4.c