Re: [nbos] [AS] Scripting: What would you like to see?Shade Tree Fri Nov 30th, 2007
Well this is done (other than the size issue)
The script doesn't seem to be letting go of the resource after it exports it on my laptop. Works ok on my work computer.
I want to make sure it's not something stupid i'm doing that is doing that and clean it up a bit before I shoot it your way. If you even want it without the resizing working... Maybe NBOS can shed some light on creating surface maps larger when generated in the meantime.
The naming convention only works so many levels down
it will correctly name
orbiting a planet
that is part of a planetary system
orbiting a star
that is part of a multiple star system.
(Adnius,Adnius,Adnius III,AdniusIII A,Adnius III A.1.png)
It will basically follow up the chain three levels and then add the rootbody name. so if you put a space station orbiting the moon you'll get
It will drop the star since it is 4 levels up. My brain broke after 3 levels and I quit.
> From: dcalford-at-distributel.ca> To: nbossoftware-at-nbos.com> Date: Thu, 29 Nov 2007 21:52:01 -0500> Subject: Re: [nbos] [AS] Scripting: What would you like to see?> > If your script can ask for a delimeter, then we can make something more> universal than just for my specific task.> > I thought that there was a setting for the surface maps - been awhile> since I looked since I have been very busy on a fantasy setting.> > If you think that a home printer uses 300 dpi, the default graphic is> smaller than a 2 inch square, when you may want to have a full page map,> with legend and perhaps overland movement grid/themed display graphic.> You would end up with the need for a graphic in the 4-5 inch to a side> range (1200 pixels or more to a side).> > If the program can generate a single large size, I can use scripts in> GIMP to then create various smaller sized images, add layers, create> rotating gifs etc. I can even take the various images, made into> rotating speres and make a system map..... > > It is easy to manipulate to get smaller/lower resolution images but it> is very hard to make a image look good when it is blown up 4-5 hundred> percent.> > I think many would love this feature, not just myself.> > best regards> > Dalton> > > > On Thu, 2007-11-29 at 19:54 -0600, Shade Tree wrote:> > Working on this.> > couple of Issues> > > > 1. Unfortunately Surface maps are 512x256 when they are generated. I> > cant find anything to generate anything other than this size. Perhaps> > Someone on this list knows more than I do regarding this.> > > > > > 2.Can your html scripts use anything as the delimeter?> > > > ie would this work?> > > > Sol~Earth~Moon.PNG > > > > The problem with using a period is that the default naming can name a> > moon to the name of the planet.#> > > > so you would get> > > > Sol.Earth.Earth.1.png> > > > It's not a problem for me :) but just trying to make sure it works> > on your end> > > > > > A few glitches> > > > > > > > > From: dcalford-at-distributel.ca> > > To: nbossoftware-at-nbos.com> > > Date: Thu, 29 Nov 2007 13:20:30 -0500> > > Subject: Re: [nbos] [AS] Scripting: What would you like to see?> > > > > > I would like a script that goes through all the systems in the as2> > file> > > and exports all the pictures to a pre-defined resolution (ie> > 4096x2048> > > or something else) and a predifined output name mask (ie> > > system1.planet1.moon1 etc).> > > I can then use my gimp scripts to open each file in turn, and> > produce> > > various scales and icons. From that, my html templates can put the> > > whole thing into a preset format.> > > > > > :)> > > > > > best regards> > > > > > Dalton> > > > > > > > > On Thu, 2007-11-29 at 12:11 -0600, Shade Tree wrote:> > > > I really enjoy scripting for AS so I was just wondering what you'd> > > > like to see done.> > > > > > > > BTW has anyone used my traderoutes v3 script? What did you think?> > > > > > > > > > > >> > ______________________________________________________________________> > > > Your smile counts. The more smiles you share, the more we donate.> > Join> > > > in!> > > > _______________________________________________> > > > Nbossoftware mailing list> > > > > > > > > > > > > > _______________________________________________> > > Nbossoftware mailing list> > > > > > > > > > > > ______________________________________________________________________> > You keep typing, we keep giving. Download Messenger and join the iím> > Initiative now. Join in!> > _______________________________________________> > Nbossoftware mailing list> > > > > > _______________________________________________> Nbossoftware mailing list> >
Share life as it happens with the new Windows Live.Download today it's FREE!
Nbossoftware mailing list