"A guide to scripting" - almost ready

The place to discuss scripting and game modifications for X²: The Threat.

Moderators: Scripting / Modding Moderators, Moderators for English X Forum

marklaverty
Posts: 270
Joined: Mon, 23. Feb 04, 15:03
x2

"A guide to scripting" - almost ready

Post by marklaverty »

Hello everyone :)

just to let you know over at http://www.x2source.com we are preparing a guide to the script editor and script writing. It'll take you right through from enabling the script editor to concepts like Arrays, compound conditional statement etc etc.

Should be ready in a week or so and it'll be constantly expanded and updated. If you get the chance you can keep an eye on the thread in the scripting forum as it's updated daily with progress reports.

Whilst it won't teach alot of people in this forum anything new it should be pretty handy for those just starting out.

List of contents so far and progress....

PROGRESS UPDATE:-

1) Introduction DONE
2) Activating and Accessing the Script Editor DONE
3) Basic Script Editor use and Variables DONE
4) Basic Concepts
More variables DONE
Arguments DONE
Script calls DONE
Time outs DONE
Loops and If, If Not, While, While Not, GO TO 30%
Arrays

5) Init and Language files
Adding new commands to the command menus
Creating new scripting wares that people can buy at stations


Any further sugestions on contents/topics would be gratefully recieved :D
For everything you ever wanted to know about X2,
and more......

[ external image ]
User avatar
Kailric
Posts: 985
Joined: Sun, 7. Dec 03, 05:15
x3

Post by Kailric »

Sounds super!! :D
"Try not. Do or do not, there is no try."-Yoda

"[Its] time for the human race to enter the solar system"-Dan Quayle
marklaverty
Posts: 270
Joined: Mon, 23. Feb 04, 15:03
x2

Post by marklaverty »

Sounds super!!
Cheers dude :D

It's taken days just to get it this far, and I'm only on 20 pages (and that's with no screen shots, just text), gonna be more like 40 when it's done. :o
For everything you ever wanted to know about X2,
and more......

[ external image ]
User avatar
Eldorado
Posts: 291
Joined: Mon, 9. Feb 04, 18:10
x2

Post by Eldorado »

Sounds cool! :roll:
Eines ihrer Schiffe wird angegriffen...<<TRANTOR>>!!
Reaper7
Posts: 47
Joined: Wed, 15. Oct 03, 11:57
x3

Post by Reaper7 »

Excellent just whats needed :) :) :)
marklaverty
Posts: 270
Joined: Mon, 23. Feb 04, 15:03
x2

Post by marklaverty »

Thought it would help things out. The 'official' documentation is non existent and everything else is just 'a bit here' and 'a bit there'.

I'll expand it as we go aswell adding to it as I find out new things :D
For everything you ever wanted to know about X2,
and more......

[ external image ]
User avatar
Argonaught.
Posts: 1827
Joined: Wed, 6. Nov 02, 20:31
x4

Post by Argonaught. »

marklaverty wrote:Thought it would help things out. The 'official' documentation is non existent and everything else is just 'a bit here' and 'a bit there'.

I'll expand it as we go aswell adding to it as I find out new things :D
marklaverty.........YOU THE MAN!!!!!!!!!!! please accept these ( infinity x :thumb_up: :thumb_up: :thumb_up: :thumb_up: :thumb_up: :thumb_up: )
[MOD]X3TC No Fog / [MOD]X3AP No Fog / [MD]X3TC Menagerie Shipyard / [MD]X3AP Menagerie Shipyard
<==<<Argonaught>>==>

XBTF>XT>X2TT>X3R>X3TC>X3AP>X4F

I lurk alot for the most part now
:thumb_up:
marklaverty
Posts: 270
Joined: Mon, 23. Feb 04, 15:03
x2

Post by marklaverty »

marklaverty.........YOU THE MAN!!!!!!!!!!! please accept these ( infinity x )
:oops:

Cheers :D

Should be ready by the weekend/early next week. If anyone's got anything they specificly want covered let me know or post over at X2 source.

If I don't know how to do it I'l find out.
For everything you ever wanted to know about X2,
and more......

[ external image ]
User avatar
Witchking
Posts: 698
Joined: Sat, 24. May 03, 19:14
x2

Post by Witchking »

is there a "Scripting for Complete Morons", version planned cos I'll wait for that :D
jnrk
Posts: 231
Joined: Thu, 11. Mar 04, 12:00
x2

Post by jnrk »

@marklaverty
Sounds very familiar to me...

@All
If you are able to understand german language take a look at the United-Script-Tutorial.

http://www.egosoft.com/x2/forum/viewtopic.php?t=38047

Yours,
jnrk
User avatar
R4v3n
Posts: 20
Joined: Fri, 12. Mar 04, 10:28
x2

Post by R4v3n »

Well i can read some german and i can see that it doesnt seem to have a walkthrough on a script, more how to write sections of a script and also, many people in the english community cant read german so and english one wouldnt hurt :)
Mike Dart
X Source Central
Admin/Creator
jnrk
Posts: 231
Joined: Thu, 11. Mar 04, 12:00
x2

Post by jnrk »

of course is an english one a good idea. I guess we can learn a lot from each other...

Yours,
jnrk
_Christian_
Posts: 90
Joined: Tue, 2. Mar 04, 10:52

Post by _Christian_ »

Will this guide be downloadable, or on-line?

I cannot access the Internet from home, so it will be useless to me in the second case. And I suspect that I am far to be the only one in that case.
User avatar
R4v3n
Posts: 20
Joined: Fri, 12. Mar 04, 10:28
x2

Post by R4v3n »

both, the details will be put onto the main site and also be downloadable in pdf format
Mike Dart
X Source Central
Admin/Creator
marklaverty
Posts: 270
Joined: Mon, 23. Feb 04, 15:03
x2

Post by marklaverty »

Almost ready, just being proof read and tested :D



PROGRESS UPDATE:-

1) Introduction DONE
2) Activating and Accessing the Script Editor DONE
3) Basic Script Editor use and Variables DONE
4) Basic Concepts
More variables DONE
Arguments DONE
Script calls DONE
Time outs DONE
While, While Not and GO TO DONE
If, If Not, and Expressions DONE
Arrays DONE

is there a "Scripting for Complete Morons", version planned cos I'll wait for that
This is the scripting for morons guide :lol:

takes you through form enabling the script editor to all kinds of funky stuff. 32 pages of it (no screen shots, just pure tutorial :D ).
For everything you ever wanted to know about X2,
and more......

[ external image ]
samyotix
Posts: 94
Joined: Tue, 3. Feb 04, 21:50
x2

Post by samyotix »

Fantastic stuff man, thanks for the scriptinh tutorial
Howlingmad
Posts: 1252
Joined: Wed, 6. Nov 02, 20:31
x3

Post by Howlingmad »

Please post a link soonest. :D
What no sig or avatar. I wonder why?:(
BradThorn
Posts: 671
Joined: Mon, 3. Nov 03, 23:07
x2

Post by BradThorn »

Looking forward to it dude. 8)
marklaverty
Posts: 270
Joined: Mon, 23. Feb 04, 15:03
x2

Post by marklaverty »

Hey,

.doc and .pdf versions have just been passed to RAVEN ( <-x2 source admin) for uploading at X2 source.com.


Should be available soon.... enjoy! :D
For everything you ever wanted to know about X2,
and more......

[ external image ]
kryptyk
Posts: 483
Joined: Fri, 5. Dec 03, 20:19
x4

Post by kryptyk »

marklaverty wrote:Hey,

.doc and .pdf versions have just been passed to RAVEN ( <-x2 source admin) for uploading at X2 source.com.


Should be available soon.... enjoy! :D
sweet..... :thumb_up: :D

Return to “X²: The Threat - Scripts and Modding”