To all SSC Station occupants
Thank you for the donations over the past year (2024), it is much appreciated. I am still trying to figure out how to migrate the forums to another community software (probably phpbb) but in the meantime I have updated the forum software to the latest version. SSC has been around a while so their is some very long time members here still using the site, thanks for making SSC home and sorry I haven't been as vocal as I should be in the forums I will try to improve my posting frequency.
Thank you again to all of the members that do take the time to donate a little, it helps keep this station functioning on the outer reaches of space.
-D1-
Audacity I use it too, I just forgot the fact that you can convert so many format and you can have it for Linux and Windows All platform.
@ Walterar, yes indeed, I would like to convert those LMR model for Scout+, so I just need the where to look first and get something started, if I could we the time.
Interesting comment you made as SGM is really different than LMR, so model in LMR need to be converted somehow to fit SGM coding, right? If yes I will need a tool to do the trick or knowledge.
Thanks for the suggestions everyone! Led Zeppelin, Deva Premal , Eagles & Solar Stone will hopefully be appearing soon in my copy of Pioneer! :girlcrazy: That's just for getting on with, later, Mass Effect, Deus Ex and some Amiga classic tracks too once I make up my mind. Perhaps even some episodes from Lave Radio?
dbyspy, You might look at the models in Genesia. http://spacesimcentral.com/ssc/topic/4304-total-mod-genesia/
You can do an SGM dump and do with them whatever you wish. There's lots of possibilities there.
If you are converting LMR models to SGM, have a list for you. :nyam:
Me too, https://www.dropbox.com/sh/064cpvbyx952a6z/V7UYg4TgKC
More than 100 model in LMR from Genesia free to use . (and the LMR modelviewer have a "Dump model to .obj" function) .
Here you will find the information you need to do what you want. http://pioneerwiki.com/wiki/Model_system
There are some graphic.dev, that will surely help. :ok:
Here you go, Geraldine - have an ogg of the intro I use for Oolite.
Thanks Cody! So far, The Doors, Peter Green, Pink Floyd, Cream, CCR, CSN&Y and all of the above in my last post are now playing in Pioneer & Genesia. Makes those long journeys rather cool and adds an unique flavour to the gameplay. :girlcrazy: Now working on adding the Lave Radio ads to the docking music for a laugh. That Audacity is working very well for sniping tracks.
Request to Walterar (and any of the Pioneer devs if they are reading) any chance of a music folder for sun skimming?
EDIT: (After listening) Altman Brothers Cody? Sounds a bit like em and I like it! Added! :girlcrazy:
EDIT: (After listening) Altman Brothers Cody? Sounds a bit like em and I like it! Added! :girlcrazy:
No, Cobra is a Quicksilver Messenger Service track - an old favourite of mine, and suitably titled.
:girlwacko: Ahhhhh! I should have known that! Must be getting old dammit! :girlsad: Still, it's a nice track Cody! :girlsmile: Tracks from the Homeworld series now added too. :girlcrazy:
Hello Walterar,
i've download you code, compile it (some problem but easy to fix for example in your project, it searchs for pioneer.rc and in your source, there is pioneer-sp.rc), works great.
I've written a personnal script to let my vessel do simple thing for instance (for example making local delivery automaticaly to let me eating or go out with my dog, etc...). The script run fine with the las version of pioneer (code + compile from 04112014 or code + compil from 03232014) but it doesn't run correctly with your code.
the problem:
When running the script, if my vessel is docked it must first undock and then go to local station automaticaly to perform various tasks. ok with pioneer
With SCout: if the vessel is docked, it undocks but it seems the AI is not enable to do anything, if after undocking, i disable the script and reactivate it => vessel goes to a station. The problem is only when the vessel is in docking state.
Can i send you the script to have a look ?
Of course to enable this script, i must modify the code.
PS: Scout++ add reality to pioneer
Yo Walterar,
thank's for your prompt reply, here this is the script (it can be activate only with a modification of the source (adding a key and a procedure to activate or desactivate it, if you want i can give you the modified file and you could try) as i said it's only the begining of my script, in fact i'd like to add a finite state machine to increase the AI, and add some autopilot like in x3 (you can go do other thing and your vessel will try to gain money for you) and the next step will be to add more than one vessel for the player.
localtrade.lua in modules
-- Copyright © 2008-2014 Pioneer Developers. See AUTHORS.txt for details
-- Licensed under the terms of the GPL v3. See licenses/GPL-3.txt
local Player = import_core("Player")
local Serializer = import("Serializer")
local Event = import("Event")
local Game = import("Game")
local Space = import("Space")
local Timer=import("Timer")
local Engine=import("Engine")
--
playerstatus=0
sbody=0
starports=0
ports=0
AutoTrade=true
local GoToAnotherPort=function()
if AutoTrade==true then
if Game.player.flightState == "DOCKED" then
print ("docked")
playerstatus=2
Game.player:CancelAI()
ports=Game.player:GetDockedWith()
Game.player:Undock()
else
local station=Space.GetBodies(function (body) return body.type=="STARPORT_SURFACE" end)
if #station>0 then
starports=ports
while starports==ports do
local indice=Engine.rand:Integer(1,#station)
starports=station[indice]
end
Game.player:AIDockWith(starports)
Game.player:SetNavTarget(starports)
print(Game.player.label..' ordering dock with station '..starports.label)
end
end
else
Game.player:CancelAI()
end
end
local onAICompleted=function(ship,error)
if ship==Game.player then
Timer:CallAt(Game.time+15,GoToAnotherPort)
print("Player vessel docked so add money...")
money=Game.player:AddMoney(125)
end
end
local onShipUndocked = function(ship,spacestation)
if AutoTrade==true then
if ship==Game.player then
local station=Space.GetBodies(function (body) return (body.type=="STARPORT_SURFACE" or body.type=="STARPORT_ORBITAL") end)
if #station>0 then
starports=spacestation
while starports==spacestation do
local indice=Engine.rand:Integer(1,#station)
starports=station[indice]
end
ship:AIDockWith(starports)
Game.player:SetNavTarget(starports)
print(ship.label..' ordering dock with station '..starports.label)
end
end
else
Event.Deregister("onShipUndocked",onShipUndocked)
Event.Deregister("onAICompleted",onAICompleted)
end
end
local onActivateAutoTradeOn=function()
local ship=Game.player
AutoTrade=true
Event.Register("onShipUndocked",onShipUndocked)
Event.Register("onAICompleted",onAICompleted)
GoToAnotherPort()
end
Event.Register("onActivateAutoTradeON",onActivateAutoTradeOn)
local onActivateAutoTradeOFF=function()
local ship=Game.player
AutoTrade=false
ship:CancelAI()
print(ship.label..' Cancelling order ')
Event.Deregister("onShipUndocked",onShipUndocked)
Event.Deregister("onAICompleted",onAICompleted)
end
Event.Register("onActivateAutoTradeOFF",onActivateAutoTradeOFF)
And this is the link for the 4 files modified to activate the script (i don't know how call a function in the console to try my script, that's why i must add a key)
If you are interresting, i've posted a request on pioneer ( https://github.com/pioneerspacesim/pioneer/pull/2789
) to modifiy the mouse behavior (with this, you can switch the mouse and when you move it, the vessel follow the mouse movement no need to press button nor continously moving the mouse, put it on the left corner and the vessel will turn continously)
I'm working full-time with the upcoming release of Scout G17. But I took a break and I was watching, very superficially, your job. I have not had time to try it, but I'm on it. I made some diff files, but I think you should open a new thread here to discuss this in a more technical way, there may be many others people interested in trying. Everything that follows, we can move there?
Hello Waterar
yes things can be moved in other thread. Can you do it for me ?
Thank's
Done. Moved to http://spacesimcentral.com/ssc/topic/4371-proposal-code-autotrader-and-mouse-functions/
Here's a bug report for G17. I jumped into the Tau Ceti system on a postal run. I arrived in the middle of a dogfight. I set speed to a very high number and moved away. I attempted to save at that point but got this message;
Lua serializer 'Traffic' tried to serialize an invalid 'SpaceStation' object
There was an OK button so I clicked it and the game crashed.
I will not run the game again until you tell me if you want to see any output files.
Thanks Marcel, you is a true Bug Hunter. :hunter:
I have an idea of what can be, but need to see output.txt to be sure. The fix pack comes out fast. :pioneer:
I don't see a file named output.txt, and I can't see stderr.txt or stdout.txt in my .pioneersp folder. Where should I look?
I made the change to config.ini. Because I don't have any useful output for you I did the flight again. This time there was no dogfight and the game saved normally. The only thing I see in output.txt that looks wrong is this;
LoadSurfaceFromFile: models/ships/wave/wave_spec.png: could not read file
Thanks Marcel. In the next version of Scout+, RedirectStdio have a value of 1 by default.
I noticed some curious behaviour. I was docked at Williams, which orbits Miranda Colony in the Tau Ceti system. It's a hoop station. I was looking out the front view as a ship approached. The station was empty except for me. The ship went into the station, but didn't dock. It turned and went back out. Was this a pirate that caught up with me but wouldn't fire inside a station, or was the ship's AI not working as it should?