AtomicTorch Studio Forums

VoidExpanse => Modding info => Topic started by: DLirry on April 04, 2014, 08:58:03 PM

Poll
Question: So, do you need tutorials on modding VoidExpanse?
Option 1: No votes: 1
Option 2: Yes, text tutorials votes: 19
Option 3: Yes, video tutorials votes: 7
Title: Do you need tutorials on VoidExpanse modding?
Post by: DLirry on April 04, 2014, 08:58:03 PM
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?
Title: Re: Do you need tutorials on VoidExpanse modding?
Post by: 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.
Title: Re: Do you need tutorials on VoidExpanse modding?
Post by: deseven on April 06, 2014, 12:46:07 AM
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:
(http://dl.dropbox.com/u/943974/ve-7z.png)
Title: Re: Do you need tutorials on VoidExpanse modding?
Post by: 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?
Title: Re: Do you need tutorials on VoidExpanse modding?
Post by: DLirry on April 06, 2014, 09:11:44 PM
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
Title: Re: Do you need tutorials on VoidExpanse modding?
Post by: deseven on April 07, 2014, 08:01:35 AM
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 :)
Title: Re: Do you need tutorials on VoidExpanse modding?
Post by: Ixby on May 21, 2014, 09:41:36 PM
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
Title: Re: Do you need tutorials on VoidExpanse modding?
Post by: Tyren on July 25, 2014, 01:20:20 AM
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