A few questions to the scripting and modding freaks here :)

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

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

dicho
Posts: 1
Joined: Mon, 16. Feb 04, 19:21
x2

A few questions to the scripting and modding freaks here :)

Post by dicho »

Hi all

Im a scripting noob and started with my first scripts a few days ago. I made a script that makes my Fighters take of and kill all enemys as soon one enters the range of the satelite. First i had problems to find docked ships :(, now they will take off to "register" at the satelite so he can command the fighter when docked, but now i want to ad some commands to the satelite, and i need a console, but cant find a way to get a console in there :( Sats are not excluded in a Ini script (or i didnt find it) and i tryed to mod it, changed tships, but it didnt help, its propably "connected" to the shiptype, cant figure out how to change that. And actually i still want it to be a satelite, also tried to add a new satelite, failed, can ad factorys , wares and shields, bt no new ships :(

Here my guestions.

Anyone know a way to get Console in satelites?

Or ad a NEW (not moding an old one) ship?

And finally how to find docked ships?


regards
AalaarDB
Posts: 2282
Joined: Thu, 29. Jan 04, 08:19
x3tc

Re: A few questions to the scripting and modding freaks here

Post by AalaarDB »

dicho wrote: And finally how to find docked ships?
Don't think you can. I tried alot of different things then finally gave up. The only thing I can think of that *might* would be to create an array for each individual station or carrier (in my case this was at least plausible since I was only considering carriers). And whenever a ship was landing append that to the array, whenever something took off it was removed from array. For obvious reasons I gave up at this point; I doubt it'll work and so again, I don't think you can.

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