Page 28 of 52

Re: Show and Tell (new ships/ ships in progress)

Posted: Wed Nov 16, 2011 5:24 pm
by Killer Wolf
Kaks wrote:
Killer Wolf wrote:
there's a good few freebie "learn java" sites out there, but that leads back to the not having enough free time thing.
Aargh! :)
It's javascript, not java:they're two different programming languages! :P
And that perfectly demonstrates my admitted ignorance in such matters :-D

Re: Show and Tell (new ships/ ships in progress)

Posted: Wed Nov 16, 2011 6:00 pm
by Thargoid
I shouldn't worry, I've had to make that distinction at least twice with the IT helldesk operatives at work - people who really should know better...

And to qualify my previous post a little, it's not that I object in the slightest to writing scripts for other peoples OXPs (as you may be able to tell by the number of mine in such things), especially when other people are contributing bits that you're no good at like texturing or shaders. It's one of the strengths of this place, that such collaborations can occur, often spontaneously.

The only downside is when life gets busy and you have to turn people down, which is never nice to have to do...

Re: Show and Tell (new ships/ ships in progress)

Posted: Wed Nov 16, 2011 9:38 pm
by Okti
Thargoid wrote:
The only downside is when life gets busy and you have to turn people down, which is never nice to have to do...
You mean to be busy with other OXP'S...

I must admit apart from RL, everyone may have some other plans going on. So I can understand your point. And other thing is you may not be able concentrate on other requests for a while, which is the way I feel atm!

Hail All

Oktivius :D

Re: Show and Tell (new ships/ ships in progress)

Posted: Wed Nov 16, 2011 10:30 pm
by mandoman
Okti wrote:
Hail All

Oktivius :D
Hail Caesar Oktivius!!! :)

Re: Show and Tell (new ships/ ships in progress)

Posted: Wed Nov 16, 2011 10:36 pm
by Cmdr. Maegil
mandoman wrote:
Okti wrote:
Hail All
Oktivius :D
Hail Caesar Oktivius!!! :)
...and that, from a barbarian... tsk, tsk! :lol:

Re: Show and Tell (new ships/ ships in progress)

Posted: Wed Nov 16, 2011 10:51 pm
by Smivs
Cmdr. Maegil wrote:
mandoman wrote:
Okti wrote:
Hail All
Oktivius :D
Hail Caesar Oktivius!!! :)
...and that, from a barbarian... tsk, tsk! :lol:
Yeah, but this is the friedndliest board this side of Riedquatium :)

Re: Show and Tell (new ships/ ships in progress)

Posted: Wed Nov 16, 2011 10:52 pm
by RyanHoots
Smivs wrote:
Yeah, but this is the friedndliest board this side of Riedquatium :)
All hail Smivius! :D

Re: Show and Tell (new ships/ ships in progress)

Posted: Wed Nov 16, 2011 11:03 pm
by Cmdr. Maegil
Oh, vana gloria! The previous comment was my one thousandth post on our Friendliest Board!

Re: Show and Tell (new ships/ ships in progress)

Posted: Wed Nov 16, 2011 11:14 pm
by Smivs
Cmdr. Maegil wrote:
Oh, vana gloria! The previous comment was my one thousandth post on our Friendliest Board!
Congrats :D

Re: Show and Tell (new ships/ ships in progress)

Posted: Wed Nov 16, 2011 11:27 pm
by mandoman
Oh Brother! That was my I don't have any idea how many posts I have made on this Friendliest Board. :P

Re: Show and Tell (new ships/ ships in progress)

Posted: Thu Nov 17, 2011 10:16 am
by DaddyHoggy
Cmdr. Maegil wrote:
Oh, vana gloria! The previous comment was my one thousandth post on our Friendliest Board!
Bravo - considering you seem to have spent a significant portion of your time on the BB stranded in nice (but remote) parts of the world that's a remarkable achievement.

Re: Show and Tell (new ships/ ships in progress)

Posted: Sun Nov 20, 2011 11:50 pm
by mandoman
Here are my first tentative attempts at painting the Andricothere. Not sure that I will leave it that way, yet.

Image

Image

Image

Image

I have not idea what it looks like in the game, as I have not yet figured out the trick of making ships appear on command. Sheesh, I can model to my hearts content, but it ain't much good than for looking without scripting ability. :wink:

Re: Show and Tell (new ships/ ships in progress)

Posted: Mon Nov 21, 2011 7:52 am
by Killer Wolf
i like the two-tone look.
what's that dark line on the red of the "arm", just about central in the top pic? i can't tell if it's some stray polys that might need cleaning or just a bit of overpainting.

as for spawning, i use a simple script when i'm testing :-

Code: Select all

// Configuration -- customize here 
this.role = "testship"; 
this.count = 1; 

// Standard attributes 
this.name           = "Spawn-" + this.role; 
this.author         = "Jens Ayton"; 
this.copyright      = "This script is hereby placed in the public domain."; 
this.version        = "1.0.1"; 
this.description    = "Script to make several ships of a given role appear outside the station upon launching." 


this.shipWillLaunchFromStation = function() 
{ 
    system.legacy_addSystemShips(this.role, this.count, 1.0); 
    log("testscript.spawn", "Generated " + this.count + " " + this.role + " for testing purposes."); 
} 
in your shipdata, include "testship" in your ship's roles and when you launch one will be spawned in the near vicinity. you can of course change the shipwilllaunch command to the shipwillexitwitchspace one, (change the 1.0 at the end of the addsystemships bit to 0.1 or so) if you want to see it in flight and follow it around to check details etc

proper scripting can be more complex, obviously, but this will get a ship into the game so you can check the look and placement of exhausts etc.

Re: Show and Tell (new ships/ ships in progress)

Posted: Mon Nov 21, 2011 2:33 pm
by mandoman
Killer Wolf wrote:
i like the two-tone look.
what's that dark line on the red of the "arm", just about central in the top pic? i can't tell if it's some stray polys that might need cleaning or just a bit of overpainting.

as for spawning, i use a simple script when i'm testing :-

Code: Select all

// Configuration -- customize here 
this.role = "testship"; 
this.count = 1; 

// Standard attributes 
this.name           = "Spawn-" + this.role; 
this.author         = "Jens Ayton"; 
this.copyright      = "This script is hereby placed in the public domain."; 
this.version        = "1.0.1"; 
this.description    = "Script to make several ships of a given role appear outside the station upon launching." 


this.shipWillLaunchFromStation = function() 
{ 
    system.legacy_addSystemShips(this.role, this.count, 1.0); 
    log("testscript.spawn", "Generated " + this.count + " " + this.role + " for testing purposes."); 
} 
in your shipdata, include "testship" in your ship's roles and when you launch one will be spawned in the near vicinity. you can of course change the shipwilllaunch command to the shipwillexitwitchspace one, (change the 1.0 at the end of the addsystemships bit to 0.1 or so) if you want to see it in flight and follow it around to check details etc

proper scripting can be more complex, obviously, but this will get a ship into the game so you can check the look and placement of exhausts etc.
Hey, thanks a lot. I'll give it a go. It'll be nice to actually be able to see the ship in space. Fatleaf sent me something similar once, but I must have done something to it, because after I used it the first time I couldn't get it to work for me again. Probably forgot how he told me to set up the script. :roll:

As for the blue line.....yeah, it's something I have to clean up. Like I said, that was my first tentative steps at painting. :)

Re: Show and Tell (new ships/ ships in progress)

Posted: Mon Nov 21, 2011 2:40 pm
by Smivs
I did send you this a while ago....probably the simplest one to use - just call it script.js and put it in Config, with your actual ship's role in it.

Code: Select all

// Standard attributes 
this.name           = "script.js"; 
this.author         = "Smivs"; 
this.copyright      = "This script is hereby placed in the public domain."; 
this.version        = "1.0"; 
this.description    = "Script to add an object near player on launching from station." 



this.shipLaunchedFromStation = function() 
{
         
   system.addShips("your-ship's-role", 1, player.ship.position, 10000);
    
};
:)