something funny.

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

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

D_Zorro
Posts: 2027
Joined: Wed, 6. Nov 02, 20:31
x3tc

something funny.

Post by D_Zorro »

I just created an split traiding station and changed the owner to Julian, but when i created ships, and stated the homebase the split trading station, it automaticly set one of the nova's on board to patrol the sector and the other to attack all enemy, looks like something hardcoded to me.

It's like all ships onboard has a mind of it's own, and i don't have to do a thing here. The only problem i noticed is when i created product to buy and sell, i'm unable to, but i if you look in information screen of the Trading station (u button) the product i created does appear their.


DZorro,
XeHonk
Posts: 1087
Joined: Sun, 7. Mar 04, 23:03
x3tc

Post by XeHonk »

1) did you add your ships as flying ships? or docked ones?
2) trading stations use secondary ressources, not products
D_Zorro
Posts: 2027
Joined: Wed, 6. Nov 02, 20:31
x3tc

Post by D_Zorro »

XeHonk wrote:1) did you add your ships as flying ships? or docked ones?
2) trading stations use secondary ressources, not products

They where docked at the trading station i created, and all of a sudden 1 nova wen't out patrolling the sector, and the other nova where set to attack all enemy's.



DZorro,
D_Zorro
Posts: 2027
Joined: Wed, 6. Nov 02, 20:31
x3tc

Post by D_Zorro »

I also got scanned by my own ship, luckely i did not carry ant illigal goods, would my own ship attacked me if did carry illigal goods ???



DZorro,
XeHonk
Posts: 1087
Joined: Sun, 7. Mar 04, 23:03
x3tc

Post by XeHonk »

show the script you've created the ships with ^^
User avatar
Kailric
Posts: 985
Joined: Sun, 7. Dec 03, 05:15
x3

Post by Kailric »

some things are automatic. Are you sure its your station..are the ships on board the station your race? Cause if you create a ship and give it a race it will start running scripts on its own, according to its class and the race specified.
"Try not. Do or do not, there is no try."-Yoda

"[Its] time for the human race to enter the solar system"-Dan Quayle
D_Zorro
Posts: 2027
Joined: Wed, 6. Nov 02, 20:31
x3tc

Post by D_Zorro »

Kailric wrote:some things are automatic. Are you sure its your station..are the ships on board the station your race? Cause if you create a ship and give it a race it will start running scripts on its own, according to its class and the race specified.
Yes it's mine station, that's what so funny here, i even got scanned by one of my own ships flying in the sector, but i was not carry any illigal goods onboard, i do wonder what would have happend there , would my own ship turned hostile on me or not, could try it again though , and report back here.

And the ship onboard has been mine from the start.

DZorro,
XeHonk
Posts: 1087
Joined: Sun, 7. Mar 04, 23:03
x3tc

Post by XeHonk »

it'd attack..
btw.. how did you
and changed the owner to Julian
do this? that's not possible, is it? ^^

anyway, show us the script you've created everything with
Last edited by XeHonk on Sat, 1. May 04, 14:57, edited 1 time in total.
D_Zorro
Posts: 2027
Joined: Wed, 6. Nov 02, 20:31
x3tc

Post by D_Zorro »

XeHonk wrote:it'd attack..
btw.. how did you
and changed the owner to Julian
do this? that's not possible, is it? ^^

anyway, show us the script you've created everything with

I used a script called station editor, and created a trading station and used the option julian as race creator, and the station was created, then i used script called shipcreator and signed their homebase as trading station, and all of a sudden some ships where sent out to guard the sector and patrol the sector too, it only happens when i create a trading station and set the race as julian.


DZorro,
D_Zorro
Posts: 2027
Joined: Wed, 6. Nov 02, 20:31
x3tc

Post by D_Zorro »

i downloaded those scripts from, x2source.com hopes this helps.



DZorro.
User avatar
Kailric
Posts: 985
Joined: Sun, 7. Dec 03, 05:15
x3

Post by Kailric »

D_Zorro wrote:

I used a script called station editor, and created a trading station and used the option julian as race creator, and the station was created, then i used script called shipcreator and signed their homebase as trading station, and all of a sudden some ships where sent out to guard the sector and patrol the sector too, it only happens when i create a trading station and set the race as julian.


DZorro,
I imagine its something hardcoded and deals with the fact that players can't own trading stations. When you create the trading station its hardcoded scripts start to run automaticly, sending out patrols for the ships it owns and such...that would be my guess.
"Try not. Do or do not, there is no try."-Yoda

"[Its] time for the human race to enter the solar system"-Dan Quayle
XeHonk
Posts: 1087
Joined: Sun, 7. Mar 04, 23:03
x3tc

Post by XeHonk »

i doubt this somehow :)
sounds more like he's forgot to set the owner of the ships (or some strange bug in the code)

maybe he did try to set the homebase on some argon ships? :P
D_Zorro
Posts: 2027
Joined: Wed, 6. Nov 02, 20:31
x3tc

Post by D_Zorro »

XeHonk wrote:i doubt this somehow :)
sounds more like he's forgot to set the owner of the ships (or some strange bug in the code)

maybe he did try to set the homebase on some argon ships? :P

Nope they where my property, and i could still give the ships order , but when i send them back to the trading station, they where send out the patrol the sector again. like some loop.


DZorro,
XeHonk
Posts: 1087
Joined: Sun, 7. Mar 04, 23:03
x3tc

Post by XeHonk »

who knows what kind of script you were running ^^
try creating a station yourself
User avatar
JustHere4Coffee
Posts: 1075
Joined: Wed, 6. Nov 02, 20:31
x2

Post by JustHere4Coffee »

that's what he did!

get hold of OlisJ's GalaxyEditor scripts, they're the ones he's talking about - but it'll happen whether you code the script yourself or download it

I've created my own shipyard and equipment docks, and had the same results - ships owned by me flying from a station run by me, automatically patrolling as if they were AI ships... it'd be really nice if only I could get that patrol loop to work on request instead of just randomly.

don't doubt someone just 'cause you've not done it yourself

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