EnglishGermanFrenchRussianItalianSpanish
Log inRegister
 
[PROGRAM] X-Studio Script Editor [v1.08 : 14th Feb 14]
Post new topic Reply to topic Goto page Previous  1, 2, 3 ... , 46, 47, 48  Next
View previous topic :: View next topic
Author Message
X2-Illuminatus
Moderator (Deutsch)
Moderator (Deutsch)

MEDALMEDALMEDAL

Joined: 02 Apr 2006
Posts: 20508 on topic

Thank you for registering your game
PostPosted: Mon, 13. Apr 15, 13:59    Post subject: Reply with quote Print

GlassDeviant wrote:
Where is the types folder? My X3AP has no such folder.


Like most game files, the types folder can be found within the cat/dat files. Use the Virtual File System (VFS) from X3 Editor 2 to extract the newest files from that folder.


_________________
Besteht Interesse an einem Nopileos-Hörbuch?

Farnhams Legende und Nopileos als E-Books!

"People who think they know everything are a great annoyance to those of us who do." - Isaac Asimov

"If it's not impossible, there must be a way to do it." - Sir Nicholas Winton
Back to top
View user's profile Send private message Visit poster's website
GlassDeviant





Joined: 04 Nov 2012
Posts: 234 on topic

Thank you for registering your game
PostPosted: Mon, 13. Apr 15, 14:13    Post subject: Reply with quote Print

Cool, thanks!


_________________
bibo ergo sum
Back to top
View user's profile Send private message
GlassDeviant





Joined: 04 Nov 2012
Posts: 234 on topic

Thank you for registering your game
PostPosted: Mon, 13. Apr 15, 17:24    Post subject: Reply with quote Print

So I run X3 Editor 2, choose "Open From VFS", then just save it to a types folder in the uh..folder where I am going to be holding my mods while I edit them?


_________________
bibo ergo sum
Back to top
View user's profile Send private message
jack775544





Joined: 13 Dec 2011
Posts: 1116 on topic
Location: Australialand
Thank you for registering your game
PostPosted: Tue, 14. Apr 15, 00:19    Post subject: Reply with quote Print

The X VFS does not require the types folder to be in a cat/dat pair.
If you want you can create a types folder in your game directory (X3TC/addon for X3AP) and place it in there and it will load into the game.

The best example of this being done in the game is the t folder. Most scripts will store their text files in the t folder of the game directory, but if you go through the base game cat/dat files then you will see that in either 01.cat or 02.cat there will be a t folder holding all of the vanilla strings. In the end the principal is the same for thing that are to be saved in then types folder as well.


_________________
1940s - Various "computers" are "programmed" using direct wiring and switches. Engineers do this in order to avoid the tabs vs spaces debate.
Back to top
View user's profile Send private message
GlassDeviant





Joined: 04 Nov 2012
Posts: 234 on topic

Thank you for registering your game
modified
PostPosted: Tue, 14. Apr 15, 02:30    Post subject: Reply with quote Print

I discovered that I can just let it use the game files where they sit, and then wander through my uninstalled mod folders however I please, so that makes things easier. Unfortunately two of the three conflicts I found are just whitespace issues, the code is identical. The third one can't even be investigated as nothing will open the file from one of the two mods, so I think it might be corrupted.

...which puts me back to square one, trying to find out why my game is always messed up internally in some way that I cannot discern, but breaks CAG/CLS waypoint setup.

Well, back to the drawing board.


_________________
bibo ergo sum


Last edited by GlassDeviant on Tue, 14. Apr 15, 13:44; edited 1 time in total
Back to top
View user's profile Send private message
GlassDeviant





Joined: 04 Nov 2012
Posts: 234 on topic

Thank you for registering your game
PostPosted: Tue, 14. Apr 15, 13:44    Post subject: Reply with quote Print

How can I view two XML files in X-Studio side by side rather than having to flip between tabs?


_________________
bibo ergo sum
Back to top
View user's profile Send private message
jack775544





Joined: 13 Dec 2011
Posts: 1116 on topic
Location: Australialand
Thank you for registering your game
PostPosted: Wed, 13. May 15, 08:11    Post subject: Reply with quote Print

mr bear,
I am finally learning how to properly do C programming (even though it is for an 8-bit micro controller but the principals are the same) and I have one observation.
How the hell are you still sane?

Ok, now I have that out of my system you can carry on Wink


_________________
1940s - Various "computers" are "programmed" using direct wiring and switches. Engineers do this in order to avoid the tabs vs spaces debate.
Back to top
View user's profile Send private message
Gqqnbig





Joined: 12 Jul 2013



PostPosted: Tue, 8. Sep 15, 01:24    Post subject: Reply with quote Print

IDS_SCRIPT_PROPERTY_MISSING: One or more of the mandatory extended script properties are missing or invalid
IDS_SCRIPT_ARGUMENT_TYPE_NAME_INVALID: The script argument 'targetRace' uses an unknown data type 'Var/种'
IDS_ERROR_APPEND_LOCATION: createArgumentFromNode(..) has encountered an IDS_SCRIPT_ARGUMENT_TYPE_NAME_INVALID error (ID: 0214) in Script Arguments.cpp, line 56

The script I want to open is here.

https://www.dropbox.com/s/x3yjlm1mwovacux/gqqnbig.nationalFinance.rebel.xml?dl=0

Back to top
View user's profile Send private message
mr.bear





Joined: 11 Dec 2010
Posts: 427 on topic
Location: UK
Thank you for registering your game
PostPosted: Sat, 12. Sep 15, 11:56    Post subject: Reply with quote Print

@Gqqnbig,

Looks like it was edited using a Chinese language installation. X-studio doesn't support Chinese. You'll have to open it in eXscriptor on a non-Chinese installation, save it, then load it in X-Studio.

mr.bear


_________________
Rapunzel, Rapunzel, let down your bear...
Back to top
View user's profile Send private message Visit poster's website
mr.bear





Joined: 11 Dec 2010
Posts: 427 on topic
Location: UK
Thank you for registering your game
PostPosted: Mon, 14. Sep 15, 21:42    Post subject: Reply with quote Print

@jack775544: sorry for taking 6 months to reply!
yes, writing all that C did make me loopy. I tried to keep it as structured as possible by having producer, destruction, mutator, and observer functions. I taught me a lot about Win32 developement at least. Although I'd never, ever do it again.

You're writing for 8-bit micro-controllers? cool. what are they for?
I got very much into C++, and I'm currently writing a textbook on it.

mr.bear


_________________
Rapunzel, Rapunzel, let down your bear...
Back to top
View user's profile Send private message Visit poster's website
nekoexmachina





Joined: 03 Apr 2014
Posts: 53 on topic

Thank you for registering your game
PostPosted: Sun, 10. Jan 16, 22:07    Post subject: Reply with quote Print

Any linux guys have a fix for this: http://imgur.com/yZrCaxX ?
P.s.
Does game actually requires every item to be in <xml tags>? I hate this and I only use wine/x-studio due to this strange thing in scripts. Can I code scripts without XML? It's a pain to write XML by-hand in VIM, which I usually use for everything.


_________________
Back to top
View user's profile Send private message
X2-Illuminatus
Moderator (Deutsch)
Moderator (Deutsch)

MEDALMEDALMEDAL

Joined: 02 Apr 2006
Posts: 20508 on topic

Thank you for registering your game
PostPosted: Sun, 10. Jan 16, 22:18    Post subject: Reply with quote Print

You can only write scripts in a dedicated editor, such as the ingame Script Editor or a respective external Script Editor. In case, you haven't already, you could try out X Studio 2 and see whether the bug persists.

The xml part of a script file is actually just used for displaying the script in your browser. The actual code is stored in the codearray of the script, which is hardly readable.


_________________
Besteht Interesse an einem Nopileos-Hörbuch?

Farnhams Legende und Nopileos als E-Books!

"People who think they know everything are a great annoyance to those of us who do." - Isaac Asimov

"If it's not impossible, there must be a way to do it." - Sir Nicholas Winton
Back to top
View user's profile Send private message Visit poster's website
nekoexmachina





Joined: 03 Apr 2014
Posts: 53 on topic

Thank you for registering your game
PostPosted: Sun, 10. Jan 16, 22:25    Post subject: Reply with quote Print

Thanks! Second version doesn't have this problem.


_________________
Back to top
View user's profile Send private message
jack775544





Joined: 13 Dec 2011
Posts: 1116 on topic
Location: Australialand
Thank you for registering your game
PostPosted: Mon, 11. Jan 16, 02:12    Post subject: Reply with quote Print

That looks like it is just a bug in wine. The X-Studio 1 interface seems to be done in a very custom fashion and it wouldn't surprise me if it broke on different platforms, where X-Studio 2 was done using more generic components.

Back to top
View user's profile Send private message
sicknezz





Joined: 18 Jul 2009
Posts: 40 on topic

Thank you for registering your game
PostPosted: Tue, 16. Feb 16, 00:43    Post subject: Reply with quote Print

Hello mr.bear

If you are interested i would like to support the X-Studio a bit with a better German Translation since about 20% of the Translation is weird and not properly done Wink

If you are interested just msg me Cool

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic Reply to topic Goto page Previous  1, 2, 3 ... , 46, 47, 48  Next
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum
Control Panel
Login Data
The time now is Sat, 20. Jan 18, 11:15

All times are GMT + 2 Hours


Board Security

Copyright © EGOSOFT 1989-2018
Powered by phpBB © 2001, 2005 phpBB Group
Template created by Avatar & BurnIt!
Debug: page generation = 0.08651 seconds, sql queries = 29