Notifications
Clear all

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-

Things related to Scout+

Page 4 / 9
(@dbyspy)
Active Member

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.

ReplyQuote
Posted : April 7, 2014 15:48
Geraldine
(@geraldine)
Famed Member

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?

ReplyQuote
Posted : April 7, 2014 15:48
(@marcel)
Noble Member

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.

ReplyQuote
Posted : April 7, 2014 19:03
Cody
 Cody
(@cody)
Noble Member

Here you go, Geraldine - have an ogg of the intro I use for Oolite.

ReplyQuote
Posted : April 8, 2014 03:38
 Vuzz
(@vuzz)
Reputable Member

 

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) .

ReplyQuote
Posted : April 8, 2014 04:30
(@walterar)
Prominent Member

@dbyspy

 

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:

ReplyQuote
Topic starter Posted : April 8, 2014 14:12
Geraldine
(@geraldine)
Famed Member

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:

ReplyQuote
Posted : April 9, 2014 07:22
Cody
 Cody
(@cody)
Noble Member

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.

ReplyQuote
Posted : April 9, 2014 10:47
Geraldine
(@geraldine)
Famed Member

: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:

ReplyQuote
Posted : April 9, 2014 22:20
(@darkdesire)
Active Member

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

ReplyQuote
Posted : April 12, 2014 23:50
(@walterar)
Prominent Member
Hi @Darkdesire  Thanks for telling me the problem. I've corrected and in a few minutes I'll update the master of Scout+ for all to compile with MSVC2013 

 

Yes, in Scout+, the launching the ship is automatic. But can also do something to make your script "take control". 

If you want you can send the script to my e-mail, which is everywhere. Or you can also post here if you want.

ReplyQuote
Topic starter Posted : April 13, 2014 04:32
(@darkdesire)
Active Member

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)

 

ReplyQuote
Posted : April 13, 2014 05:55
(@darkdesire)
Active Member

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)

 

http://dl.free.fr/n13gZCazT

ReplyQuote
Posted : April 13, 2014 05:58
(@darkdesire)
Active Member

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)

ReplyQuote
Posted : April 13, 2014 06:01
(@walterar)
Prominent Member

@Darkdesire

 

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?



ReplyQuote
Topic starter Posted : April 14, 2014 04:33
(@darkdesire)
Active Member

Hello Waterar

 

yes things can be moved in other thread. Can you do it for me ?

 

Thank's

ReplyQuote
Posted : April 17, 2014 09:16
(@walterar)
Prominent Member

Done. Moved to http://spacesimcentral.com/ssc/topic/4371-proposal-code-autotrader-and-mouse-functions/

ReplyQuote
Topic starter Posted : April 17, 2014 13:47
(@marcel)
Noble Member

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.

ReplyQuote
Posted : May 6, 2014 16:36
(@walterar)
Prominent Member

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:

ReplyQuote
Topic starter Posted : May 7, 2014 06:28
(@marcel)
Noble Member

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?

ReplyQuote
Posted : May 7, 2014 06:57
(@walterar)
Prominent Member
In config.ini, you maybe have "RedirectStdio = 0" Change it to "RedirectStdio = 1" 

 

stderr.txt and stdout.txt long ago that no longer exist, have been replaced by opengl.txt and output.txt

ReplyQuote
Topic starter Posted : May 7, 2014 07:13
(@marcel)
Noble Member

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

ReplyQuote
Posted : May 7, 2014 08:01
(@walterar)
Prominent Member

Thanks Marcel. In the next version of Scout+, RedirectStdio have a value of 1 by default.

ReplyQuote
Topic starter Posted : May 7, 2014 08:15
(@marcel)
Noble Member

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?

ReplyQuote
Posted : May 8, 2014 17:14
(@walterar)
Prominent Member
It is likely that he received a message and had to leave urgently.  :prankster:

 

These things will go better in future versions. The "fine tuning" will take time. But it will improve with each release. 

 

Try this: 

Starts on Earth, Achernar or New Hope.

Sell ​​scanner to not be disturbed with messages of nearby ships. 

Switch to external camera and get away to achieve a panoramic view. 

Speed ​​time progressively. Do not panic if you hear some explosions when you reach the maximum, some ships have problems with collisions and simply explode.  

 

Enjoy a show never seen in an starport.  :popcorn:
ReplyQuote
Topic starter Posted : May 8, 2014 19:14
Page 4 / 9