Vague debug log- need help!

Freeform discussion about anything related to modding Transcendence.
RPC
Fleet Admiral
Fleet Admiral
Posts: 2876
Joined: Thu Feb 03, 2011 5:21 am
Location: Hmm... I'm confused. Anybody have a starmap to the Core?

The actual line that creates the station is line 33, the line

Code: Select all

(setq pos (sysVectorPolarOffset gSource (random 0 360) (random 800 1200)))
is to spawn the freighter far away, so that stations don't respawn instantly (although they still technically do:P )
I'm thinking about just doing a check for the nearest station, and if the location is (0,0), I'll kill it.

And for some reason, lines 248 and 256 don't spawn an escort fleet either :(
Tutorial List on the Wiki and Installing Mods
Get on Discord for mod help and general chat
Image
Image
Der Tod ist der zeitlose Frieden und das leben ist der Krieg
Wir müssen wissen — wir werden wissen!
I don't want any sort of copyright on my Transcendence mods. Feel free to take/modify whatever you want.
shanejfilomena
Fleet Officer
Fleet Officer
Posts: 1533
Joined: Tue Mar 22, 2011 8:43 pm
Location: Alaska
Contact:

digdug wrote:
Why do stations respawn at the sun?
I suspect that you are trying to do this:
(setq pos (sysVectorPolarOffset gSource (random 0 360) (random 800 1200)))
when gSource is already a destroyed station, so it causes the respawning to happen at the center of the system (on the sun)
" What he said " .
It looks to me like the very order I used on the patrols to Orbit the star......except you do not have a target. No target to the order = comes out at the star like your escape ships do if the ship is destroyed and they no longer have that focus point to spawn from.

( i tested this by giving a Ranx GunShip "escape pods" of Ronin : they came out at or near the star because the GunShips basically turn to dust ; where as the Phobos released Ronin at or near their Destiny point)
Are your stations that spawn ( I never looked at which ones do or not ) being taken off the map ? if so the code is loosing it's focus.
My original ideal of this was that the object stays put : escape pods jet out and build the new one. ( deploy the CSA );

I understand you are trying to lock the location but MAYBE: instead of that, drop a bogey...a marker on Destroy for the spawn to lock onto regardless of what happens to the station itself?
(TESTED: Shenlong was created and ordered to Hold : so had the station itself gone to particles Shenlong would have been the Bogey to target ( and not one that would die easy before the new spawn is made which is why I chose it ))
For actual game use, Naturally Shenlong would not be usable, but maybe a Hornet, Log Buoy(?) --Now there is an adventure!!!!!!
Destroyed station deploys Log Buoy with data: message, notes to friends......oh I got to stop I got my own .xml ideas to fight with tonight.
Flying Irresponsibly In Eridani......

I don't like to kill pirates in cold blood ..I do it.. but I don't like it..
Post Reply