i am no expert in these matters

General discussion for players of Oolite.

Moderators: winston, another_commander

Screet
---- E L I T E ----
---- E L I T E ----
Posts: 1883
Joined: Wed Dec 10, 2008 3:02 am
Location: Bremen, Germany

Post by Screet »

Kaks wrote:
You'd have to have a very convincing backstory for things to be otherwise...
You never played Cataclysm! How dare you! DO IT NOW!!! ;)

Screet
User avatar
Diziet Sma
---- E L I T E ----
---- E L I T E ----
Posts: 6312
Joined: Mon Apr 06, 2009 12:20 pm
Location: Aboard the Pitviper S.E. "Blackwidow"

Post by Diziet Sma »

Captain Hesperus wrote:
Consider the hassles the Oresrians get, just for looking like and flying similar ships to the Thargoids...

Captain Hesperus
See Kaks? the convincing backstory already exists.. :mrgreen:

Edit: Make that two convincing backstories.. I'd forgotten about Cataclysm..
Most games have some sort of paddling-pool-and-water-wings beginning to ease you in: Oolite takes the rather more Darwinian approach of heaving you straight into the ocean, often with a brick or two in your pockets for luck. ~ Disembodied
User avatar
Commander McLane
---- E L I T E ----
---- E L I T E ----
Posts: 9520
Joined: Thu Dec 14, 2006 9:08 am
Location: a Hacker Outpost in a moderately remote area
Contact:

Post by Commander McLane »

@ phonebook: First of all I apologize for the bluntness of the following, I really don't intend to offend you.

I'm sorry if this sounds paternalising, but I suggest you do your homework first. How ships look like, and how they interact with each other, is determined in part by their shipdata (especially their scanClass and bounty), and in part by their AI.

If you want to start OXPing, there is no way around studying the existing scripts first. And if you want to do an OXP of your own, you should at least basically understand what let's say an AI does. So the answer to the question (e.g.) "whom, why and how attack the Thargoids" is found no-where else than in thargoidAI.plist, the file inside Oolite's AIs-folder inside Oolite's Resources-folder. Open it and study it. And then, with the help of the publicly available documentation, find out what the AI-method scanForNonThargoids does, and why, and how.

All the answers to your questions from your initial post are there, in the game, in your computer, not here in the boards. And the Wiki enables you to understand what you find there.

And then you can start to work on questions like "what AI do I have to script for a Thargoid ship in order to make it to this-and-that". And then you go ahead and actually do it. By this time you should already know how to assign an AI to your ship in its shipdata. And so on, and so on.

A final word of encouragement: It is all doable, and it's not even that difficult. Many of us have done it before, scripting OXP which do marvellous things. :D

But—to use an analogy—before you start writing a novel in a foreign language, make sure you actually understand that language. For this purpose reading other novels first helps enormously.
phonebook
Deadly
Deadly
Posts: 229
Joined: Sat Aug 15, 2009 10:28 pm

Post by phonebook »

no- jolly sound advice! you are definately not paternalizing- the advice is hardly father to son stuff! and nor are you patronising

i have been looking at the innards of anarchies and black monks- and it seems that the latter provides some of the answers (or could do) in the way that it generates ai ships that are debtors.

in fact everything seems do able apart from the original thargoid delegation changing sides and attacking its escort

out of interest, how much of the wiki should I have absorbed before being able to post on these matters?
User avatar
Thargoid
Thargoid
Thargoid
Posts: 5528
Joined: Thu Jun 12, 2008 6:55 pm

Post by Thargoid »

Wiki on shipdata.plist, how to AI and possibly Javascript would be a start, plus looking inside the AI and shipdata plists in the trunk code at the standard Thargoid craft.

My original answer, whilst "in character" was actually a serious one to the questions you posed.
User avatar
Captain Hesperus
Grand High Clock-Tower Poobah
Grand High Clock-Tower Poobah
Posts: 2310
Joined: Tue Sep 19, 2006 1:10 pm
Location: Anywhere I can sell Trumbles.....

Post by Captain Hesperus »

phonebook wrote:
no- jolly sound advice! you are definately not paternalizing- the advice is hardly father to son stuff! and nor are you patronising
I dunno, I wish my dad'd taught me the dos and don'ts of scripting:
Daddy Hesperus: "Well, son, uhhm...You see, there's native AIs and custom AIs....Errr, and if you want your shipdata to be compatable with the native code....Look, why don't you ask your mother about this sort of thing...."

Ah, happy memories.

Captain Hesperus
The truth, revealed!!
Image
phonebook
Deadly
Deadly
Posts: 229
Joined: Sat Aug 15, 2009 10:28 pm

Post by phonebook »

haha!

actually i've got as far as working out the native and the custom AI (well their existence)

variables are the way forward!
Screet
---- E L I T E ----
---- E L I T E ----
Posts: 1883
Joined: Wed Dec 10, 2008 3:02 am
Location: Bremen, Germany

Post by Screet »

phonebook wrote:
i have been looking at the innards of anarchies and black monks- and it seems that the latter provides some of the answers (or could do) in the way that it generates ai ships that are debtors.
I would expect that checking Cataclysm would also help you, as that's working with Thargoids already!

Screet
User avatar
Lestradae
---- E L I T E ----
---- E L I T E ----
Posts: 3095
Joined: Tue Apr 17, 2007 10:30 pm
Location: Vienna, Austria

..

Post by Lestradae »

Argh! And here I am, below 4000 rank still :(

Cataclysm does start at 5400, doesn't it?

I really have to think of something :twisted:
Screet
---- E L I T E ----
---- E L I T E ----
Posts: 1883
Joined: Wed Dec 10, 2008 3:02 am
Location: Bremen, Germany

Re: ..

Post by Screet »

Lestradae wrote:
Argh! And here I am, below 4000 rank still :(

Cataclysm does start at 5400, doesn't it?

I really have to think of something :twisted:
Get a Merlin and do some GalNavy missions :twisted: ...and don't forget to clean up remaining thargons with an e-bomb!

Hmmm. I *really* need to get my hands on the source now, for modifications so that my caduceus won't be too powerful with it's MASC and turrets anymore ;)

Screet
User avatar
Lestradae
---- E L I T E ----
---- E L I T E ----
Posts: 3095
Joined: Tue Apr 17, 2007 10:30 pm
Location: Vienna, Austria

Re: ..

Post by Lestradae »

Screet wrote:
... so that my caduceus won't be too powerful with it's MASC and turrets anymore ;)
When OSE is finished, it won't ... comparably :twisted:
User avatar
Diziet Sma
---- E L I T E ----
---- E L I T E ----
Posts: 6312
Joined: Mon Apr 06, 2009 12:20 pm
Location: Aboard the Pitviper S.E. "Blackwidow"

Re: ..

Post by Diziet Sma »

Lestradae wrote:
Argh! And here I am, below 4000 rank still :(

Cataclysm does start at 5400, doesn't it?

I really have to think of something :twisted:
Tionisla Graveyard comes to mind... if you want the quick-n-dirty route.. :twisted: :twisted:
Most games have some sort of paddling-pool-and-water-wings beginning to ease you in: Oolite takes the rather more Darwinian approach of heaving you straight into the ocean, often with a brick or two in your pockets for luck. ~ Disembodied
User avatar
Commander McLane
---- E L I T E ----
---- E L I T E ----
Posts: 9520
Joined: Thu Dec 14, 2006 9:08 am
Location: a Hacker Outpost in a moderately remote area
Contact:

Post by Commander McLane »

Fine that you don't feel patronized (and that was indeed the word I was after). :oops:
phonebook wrote:
out of interest, how much of the wiki should I have absorbed before being able to post on these matters?
Actually, and to be quite honest, you should be aware of everything listed under the Oolite_scripting category.

Of course, "being aware" is not the same as "absorbing", so nobody would expect you to learn every detail by heart. But the absolute basics would be: By the way: All of that is also linked from the Writing OXPs section of the Oolite FAQ in the wiki. We somehow expected that someone interested in scripting might have a look over there, too. :wink:
phonebook
Deadly
Deadly
Posts: 229
Joined: Sat Aug 15, 2009 10:28 pm

Post by phonebook »

well i have been ploughing my way through such stuff

but i wasnt in this thread trying to get anyone to do that for me- merely give me some pointers or ideas, not in computer speak, but in english
Post Reply