[DISCUSSION+REGISTRATION] - MSCI Reference
Moderators: Moderators for English X Forum, Scripting / Modding Moderators
Out of curiosity, what happened to the discussion thread, in the MSCI forum it self?
Also I thought it might be useful to append to the inc/dec commands
Running the command on an enum type, result in converting the enum an integer, and then incrementing that.
e.g. $var = FLRET_DESTROYED, is the equivalent to 1, so incrementing this will result in $var = 2
Running the command on a non integer, or non integer related type, result in returning 0.
Also I thought it might be useful to append to the inc/dec commands
Running the command on an enum type, result in converting the enum an integer, and then incrementing that.
e.g. $var = FLRET_DESTROYED, is the equivalent to 1, so incrementing this will result in $var = 2
Running the command on a non integer, or non integer related type, result in returning 0.
Can I have permission to use your articles please?
I've written an IDE for X scripting and one of the features is displaying the description and usage of each command through tooltips. Since the forum is public I assume it's ok for me to steal all your existing command descriptions but I'd like to include a link in every tooltip to the relevant MSCI page, where those pages exist - I'm not sure who to ask, but may i use your articles please?
tia,
mr.bear
tia,
mr.bear
Rapunzel, Rapunzel, let down your bear...
no internet
Hi,
Is there or will there be an offline version for those of us who do not have internet access? Due to my situation I can only get online once every few months now. I play X3 constant but have to do everything offline and the same between my limited ability to get online. This reference would be great but I need an offline version obviously..
Malakie
Is there or will there be an offline version for those of us who do not have internet access? Due to my situation I can only get online once every few months now. I play X3 constant but have to do everything offline and the same between my limited ability to get online. This reference would be great but I need an offline version obviously..
Malakie
Take it light.....
Malakie
----------------------------------------------------
Malakie
----------------------------------------------------
- X2-Illuminatus
- Moderator (Deutsch)
- Posts: 24965
- Joined: Sun, 2. Apr 06, 16:38
No, there isn't.Is there or will there be an offline version for those of us who do not have internet access?
Creating an offline version would take some time, time which I don't have and based on the rather small activity in the MSCI forum in the last months I guess no other team member, as well. But feel free to create an offline version on your own.
IIRC mark_a_condren already posted a pdf- or word-document somewhere with some pieces of information about several script commands. Maybe that can be used as basis.
Nun verfügbar! X3: Farnham's Legacy - Ein neues Kapitel für einen alten Favoriten
Die komplette X-Roman-Reihe jetzt als Kindle E-Books! (Farnhams Legende, Nopileos, X3: Yoshiko, X3: Hüter der Tore, X3: Wächter der Erde)
Neuauflage der fünf X-Romane als Taschenbuch
The official X-novels Farnham's Legend, Nopileos, X3: Yoshiko as Kindle e-books!
Die komplette X-Roman-Reihe jetzt als Kindle E-Books! (Farnhams Legende, Nopileos, X3: Yoshiko, X3: Hüter der Tore, X3: Wächter der Erde)
Neuauflage der fünf X-Romane als Taschenbuch
The official X-novels Farnham's Legend, Nopileos, X3: Yoshiko as Kindle e-books!
-
- Posts: 1468
- Joined: Wed, 3. Aug 05, 05:05
Links to docsX2-Illuminatus wrote:IIRC mark_a_condren already posted a pdf- or word-document somewhere with some pieces of information about several script commands. Maybe that can be used as basis.
These are the same file just different formats. They are very much a VIP, they were started so i could build an offline version but they never got very far. You are most welcome to look at them and continue them if you like.
MSCI Scripting Code for X3TCv2_5_PDF_v1.pdf
MSCI Scripting Code for X3TCv2_5_Open_Office.odt
They are both hosted on the X3TC Google code site here
MarCon
- EmperorJon
- Posts: 9378
- Joined: Mon, 29. Dec 08, 20:58
- apricotslice
- Posts: 14129
- Joined: Sun, 16. May 04, 13:01
Just as a matter of interest, why are there commands in the indexes with no direct link ?
Without a direct link, its almost impossible to find anything, and I was looking for one of them yesterday to find the meaning of one of the feilds. As I found out later, lack of that field because I didnt understand what it wanted, was why the command failed to work.
The documentation isnt much use if you cant easily find it.
Without a direct link, its almost impossible to find anything, and I was looking for one of them yesterday to find the meaning of one of the feilds. As I found out later, lack of that field because I didnt understand what it wanted, was why the command failed to work.
The documentation isnt much use if you cant easily find it.
- DrBullwinkle
- Posts: 5715
- Joined: Sat, 17. Dec 11, 01:44
Is there a searchable list of MCSI commands anywhere?
I often find myself looking for a command, but do not know which section to check. I search the MCSI Handbook, but that is two games out of date. I can search the individual pages of the MCSI Reference thread, but then I have to search multiple pages every time I want to look something up.
(Which, in my case, happens frequently.)
I often find myself looking for a command, but do not know which section to check. I search the MCSI Handbook, but that is two games out of date. I can search the individual pages of the MCSI Reference thread, but then I have to search multiple pages every time I want to look something up.
(Which, in my case, happens frequently.)
Peace through superior firepower
Bullwinkle's List | Marine Repairs and Training | Mobile Mining Mk2 | Drone Carrier Software 2 (DCS2) | Ship Tricks: Mini-Guides (with Video)
Bullwinkle's List | Marine Repairs and Training | Mobile Mining Mk2 | Drone Carrier Software 2 (DCS2) | Ship Tricks: Mini-Guides (with Video)
There are direct link. But as Scrat said, and as it's written :apricotslice wrote:Just as a matter of interest, why are there commands in the indexes with no direct link ?
Direct link exist in indexes for documented commands (without mark) or with WiP mark(x ... marks unlinked script commands)
+1I often find myself looking for a command, but do not know which section to check.
And another question : should we receive a MP when (and if) we have access to the MCSi forum?
[ external image ]
"On apprend en faisant des erreurs, mais le problème c'est qu'en explosifs, l'erreur est fatale." Aldébaran v10
[ external image ]<-- Clef Des Toilettes Privées Du Forum Français décernée par Thoto le 23/06/07
"On apprend en faisant des erreurs, mais le problème c'est qu'en explosifs, l'erreur est fatale." Aldébaran v10
[ external image ]<-- Clef Des Toilettes Privées Du Forum Français décernée par Thoto le 23/06/07
This is why I applied for registration. ^^
But I can leave the description here, if you prefer :
<RetVar/IF><RefObj> fire missile <Var/Ware> on <Value>
=====================================================
[skip|else] if [not]|while[not]|<no returnvalue>|<RetVar/IF> = <RefObj> fire missile <Var/Ware> on <Value>
[skip|else] if [not]|while [not]| = The possible 'Conditional' statements that can be used with this command.
<no returnvalue>|<RetVar/IF> The possible return of the command
<RefObj> The ship (or variable containing it) which fires the missile
<Var/Ware> missile type (or a variable containing it) which is launched
<Value> Variable containing the targeted object
This command allow a ship to fire a missile on a target.
The Missiles don't need to be installed to be fired, but they need to exist at least in the cargo bay.
Of course, the missile must be compatible with the ship which launch it.
A valid target is needed and, for some missile type, this target must be an ennemy.
The return value if the command fail is null and [TRUE] if it succeed.
------------------
Exemple:
$Target = [playership] -> find nearest enemy ship: max.dist = 5000
$missile = [playership] -> find best missile for target $Target
= [playership] -> fire missile $missile on $Target
-----------------
Note :
Often, the command fails even if all parameters have been checked. (I don't know why)
To force a ship to launch a missile, a while is useful:
$launched = null
while not $launched
| skip if $Ship -> get volume of ware $missile in cargo bay
| | break
| skip if $Target -> exist
| | break
| $launched = $Ship -> fire missile $missile on $Target
| = wait 100 ms
end
Command location:
»» Fly Commands
<RetVar/IF><RefObj> fire missile <Var/Ware> on <Value>
But I can leave the description here, if you prefer :
<RetVar/IF><RefObj> fire missile <Var/Ware> on <Value>
=====================================================
[skip|else] if [not]|while[not]|<no returnvalue>|<RetVar/IF> = <RefObj> fire missile <Var/Ware> on <Value>
[skip|else] if [not]|while [not]| = The possible 'Conditional' statements that can be used with this command.
<no returnvalue>|<RetVar/IF> The possible return of the command
<RefObj> The ship (or variable containing it) which fires the missile
<Var/Ware> missile type (or a variable containing it) which is launched
<Value> Variable containing the targeted object
This command allow a ship to fire a missile on a target.
The Missiles don't need to be installed to be fired, but they need to exist at least in the cargo bay.
Of course, the missile must be compatible with the ship which launch it.
A valid target is needed and, for some missile type, this target must be an ennemy.
The return value if the command fail is null and [TRUE] if it succeed.
------------------
Exemple:
$Target = [playership] -> find nearest enemy ship: max.dist = 5000
$missile = [playership] -> find best missile for target $Target
= [playership] -> fire missile $missile on $Target
-----------------
Note :
Often, the command fails even if all parameters have been checked. (I don't know why)
To force a ship to launch a missile, a while is useful:
$launched = null
while not $launched
| skip if $Ship -> get volume of ware $missile in cargo bay
| | break
| skip if $Target -> exist
| | break
| $launched = $Ship -> fire missile $missile on $Target
| = wait 100 ms
end
Command location:
»» Fly Commands
<RetVar/IF><RefObj> fire missile <Var/Ware> on <Value>
[ external image ]
"On apprend en faisant des erreurs, mais le problème c'est qu'en explosifs, l'erreur est fatale." Aldébaran v10
[ external image ]<-- Clef Des Toilettes Privées Du Forum Français décernée par Thoto le 23/06/07
"On apprend en faisant des erreurs, mais le problème c'est qu'en explosifs, l'erreur est fatale." Aldébaran v10
[ external image ]<-- Clef Des Toilettes Privées Du Forum Français décernée par Thoto le 23/06/07