Need some help

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

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

holo_doctor
Posts: 860
Joined: Fri, 26. Mar 04, 12:20
x3tc

Need some help

Post by holo_doctor »

I know officaly there is no script support for X2 but someone out there must be able to tell we what ive done wrong

I making a script and I set my TS a Hamebace as my crystal fab

Now when i assign the script for my shio the arv

VAR/HOmebase and Wares

Only gives me NULL

now Am i wront that it should give me

Crystals
Entergy
Cahoonas
and Silicon

Any links info would be nice. XML was such a bad choice. give me PHP or java anyday.
i7-930 2.8Ghz quad core
6gig DDR3-1600 3 channel Ram
Nvida GTX470
64gig SSD / 1TB Hitachi
User avatar
LV
Sith Lord
Posts: 8255
Joined: Wed, 6. Nov 02, 20:31
x3tc

Post by LV »

pm me and i'll give u my mail addy and i'll take a look for ya ;)
LV's TC Scripts
Readme's For All My Scripts


I felt a great disturbance in the forum, Like millions of voices cried out in terror, then were silenced

si tacuisses, philosophus mansisses
NeverSnake
Posts: 5159
Joined: Thu, 9. Oct 03, 20:44
x3tc

Post by NeverSnake »

If you are trying to make a script that sets you ship a homebase then I'd guess it doesn't already have one so the homebase variable can't return anything.
"There's an old story about the person who wished his computer were as easy to use as his telephone. That wish has come true, since I no longer know how to use my telephone" — Bjarne Stroustrup
User avatar
moggy2
Posts: 5505
Joined: Wed, 6. Nov 02, 20:31
x3ap

Post by moggy2 »

sounds like the home base hasn't been set on the ship you're running the script on.

remember you can't set homebase for the ship you're flying, and the hombase setting is removed from any ship you fly.
holo_doctor
Posts: 860
Joined: Fri, 26. Mar 04, 12:20
x3tc

Post by holo_doctor »

Ive set it to a TS just siting in space and set the homebase to tmy crystal fab but no matter what HOmebase and ware only gives me NULL for my ware
i7-930 2.8Ghz quad core
6gig DDR3-1600 3 channel Ram
Nvida GTX470
64gig SSD / 1TB Hitachi
holo_doctor
Posts: 860
Joined: Fri, 26. Mar 04, 12:20
x3tc

Post by holo_doctor »

Anyone KNow if the scripting in the AUS 1.3 patch has been stuffed and thats why itsd not working. I don't think i can use th US patch on the Australian version
i7-930 2.8Ghz quad core
6gig DDR3-1600 3 channel Ram
Nvida GTX470
64gig SSD / 1TB Hitachi
User avatar
moggy2
Posts: 5505
Joined: Wed, 6. Nov 02, 20:31
x3ap

Post by moggy2 »

Only the AUS patch will work on the AUS version because of the different copy protections use.

Where does it say null? and how are you checking?

When I looked yesterday, the select homebase and ware option only returns the ware, but select station and ware returns an array with two entries. array[0] is the ware I think, and array[1] the station. It isn't that causing a problem is it?
holo_doctor
Posts: 860
Joined: Fri, 26. Mar 04, 12:20
x3tc

Post by holo_doctor »

I goten it fixed finaly seam to get it to work right its got to be bound to the menu not just run from the script console.
i7-930 2.8Ghz quad core
6gig DDR3-1600 3 channel Ram
Nvida GTX470
64gig SSD / 1TB Hitachi

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