Sign up Calendar Latest Topics
 
 
 


Reply
  Author   Comment  
Richard

Registered:
Posts: 144
Reply with quote  #1 
Hi,
I have never noticed this until now: pushradius of space stations works only to npc. Is it a bug?
I've added an asteroid base from TSN Expansion to one of my scripts, the model is nice,but the player ships gets "inside" of it no matter how large is the pushradius in vesselData.xml (but it works on the npc ships).
Is there a workaround?
Thanks
Darrin

Registered:
Posts: 434
Reply with quote  #2 
I don't think this is fixable. Even though the vesselData has a PushRadius value, the game's docking code doesn't really use it for anything. The docking beam and how it positions the docked ship is hardcoded in 2.x, so the ship is going to be set at a particular distance regardless of which station you use. 

It might be possible to resize the asteroid base so it's not quite so large (and thus the clipping is not so obvious), but I'm not sure if this would look better or worse. 



__________________
Call Sign (EF/TSN): Bassellope

Richard

Registered:
Posts: 144
Reply with quote  #3 
Thanks, Darrin.
Well, as I usually do in my scripts I force the play area to be bidimentional (I never thought Artemis really works as a 3d simulator), so my solution to avoid ships passing through the station was to tweak the .dxs file using Deled3d: I just moved downwards the model so the bulk of the 3d object is below the horizontal plane Artemis is moving. I just wanted I knew how to actually work in the model to add some sort of Docking Tower... but thats ok.
Darrin

Registered:
Posts: 434
Reply with quote  #4 
I'm not really familiar with the asteroid base, but rather than editing the .dxs file, can you set the y-value so the station is a bit above or below the y=0 plane? Some of the stations with rotating arms or disks can be raised up above or below where the ships usually come in for docking, and you may avoid some of the more blatant clipping that way. You might even be able to set the station up above or directly below where the player ships can go, so they can't actually clip but can still dock directly above/below the station. 
__________________
Call Sign (EF/TSN): Bassellope

Xavier Wise

Registered:
Posts: 1,362
Reply with quote  #5 
Quote:
Originally Posted by Richard
Hi,
I have never noticed this until now: pushradius of space stations works only to npc. Is it a bug?
I've added an asteroid base from TSN Expansion to one of my scripts, the model is nice,but the player ships gets "inside" of it no matter how large is the pushradius in vesselData.xml (but it works on the npc ships).
Is there a workaround?
Thanks


It something I need to update in the Sandbox (and to be honest, may never get round to doing with Cosmos on the horizon), but I have been converting all stations so they spawn as NPCs rather than station. If ships then want to dock, we've used the docking ports in the script to create invisible points to dock at.

As a work around, you could tell your players that they are not allowed to dock directly at the station, and insead must use an appropriate docking port that you spawn fo them to dock at. If they dock at the station, you could then give them a consequence, like turning on the random damage for that ship until they undock.

__________________
Fleet Captain Xavier Wise - TSN Sabre
Link to TSN RP Community Website

Want to follow development of the TSN Sandbox? Head here:
https://ko-fi.com/xavierwise
Previous Topic | Next Topic
Print
Reply

Quick Navigation:

Easily create a Forum Website with Website Toolbox.