Join us at the Oolite Anniversary Party -- London, 7th July 2024, 1pm
More details in this thread.

Search found 318 matches

by Roberto
Sat Mar 15, 2008 4:47 pm
Forum: Expansion Pack
Topic: Just when I thought I was out...
Replies: 159
Views: 55338

But I thought you were doing the stuff in the planetinfo.plist. This will do it thing only once when the system is entered.
Ahhh. I wasn't aware of this. Would it be worth adding this info to the Wiki?
by Roberto
Sat Mar 15, 2008 4:13 pm
Forum: Expansion Pack
Topic: Just when I thought I was out...
Replies: 159
Views: 55338

I know how to do the 5% bit; it's the "if not in system 0 141" bit I don't know how to express in code. I think I'll just go for the inelegant option, and have it reset in all the surrounding systems.
by Roberto
Sat Mar 15, 2008 2:00 pm
Forum: Expansion Pack
Topic: Just when I thought I was out...
Replies: 159
Views: 55338

If I did that, though, wouldn't it just keep on resetting? Ideally I want a 5% chance of the ship appearing the moment you enter the system, and no more chances until you exit and re-enter. I guess I could always just have it reset under the strings for all the nearby systems, but I bet there's a mo...
by Roberto
Sat Mar 15, 2008 1:19 pm
Forum: Discussion
Topic: Oolite sequals and Nwetonian physics.
Replies: 52
Views: 15920

What I said here.
by Roberto
Sat Mar 15, 2008 1:10 pm
Forum: Expansion Pack
Topic: Just when I thought I was out...
Replies: 159
Views: 55338

Hmm. I'm still not sure how to do it, though:

Code: Select all

<key>conditions</key>
<array>
<string>?????????? notequal "0 141"????</string>
</array>
<do>
<array>
<string>set: taranis_frigate_d100 undefined???</string>
</array>
by Roberto
Thu Mar 13, 2008 11:08 am
Forum: Expansion Pack
Topic: Just when I thought I was out...
Replies: 159
Views: 55338

OK, here's what I have now (I'll add more possibilities later): <string>checkForShips: taranis_frigate</string> <dict> <key>conditions</key> <array> <string>shipsFound_number lessthan 1</string> <string>taranis_frigate_d100 undefined</string> </array> <key>do</key> <array> <string>set: taranis_friga...
by Roberto
Thu Mar 13, 2008 10:17 am
Forum: Expansion Pack
Topic: Just when I thought I was out...
Replies: 159
Views: 55338

Ah! Then I'm an ignorant loon! :oops:
by Roberto
Thu Mar 13, 2008 1:08 am
Forum: Expansion Pack
Topic: Just when I thought I was out...
Replies: 159
Views: 55338

Hmm. I considered that, but I'm guessing it wouldn't work/be practical in planetinfo (or would it?). I suppose I don't *have* to do this in planetinfo... but to my mind the frigate is a "system" thing rather than a "mission" thing :)
by Roberto
Thu Mar 13, 2008 12:06 am
Forum: Discussion
Topic: Rough Guide to the Ooniverse
Replies: 278
Views: 129806

I'll continue to do it: partly to irk Roberto Damn you, sir! Lasers at dawn, etc :) @Lestradae It's not for me to decide what goes into this thing (it's not even my idea), but I think what you've written would be far more suitable if, as Disembodied suggests, you develop it beyond the bare dialogue...
by Roberto
Wed Mar 12, 2008 11:27 pm
Forum: Expansion Pack
Topic: Just when I thought I was out...
Replies: 159
Views: 55338

Check for ships wont work in a planetinfo.plist. It's been working fine for me. But now that I've added another possible location (I plan to have four, so I doubt I can use "else"), the frigate isn't appearing. Not sure if it's a problem with pseudoFixedD100_number or my code-structuring....
by Roberto
Wed Mar 12, 2008 9:28 pm
Forum: Discussion
Topic: Rough Guide to the Ooniverse
Replies: 278
Views: 129806

It's not that I think stuff like this is going to offend - it's that I'm not convinced it's going to do anything for new players, which is the goal here.
by Roberto
Wed Mar 12, 2008 9:18 pm
Forum: Expansion Pack
Topic: Just when I thought I was out...
Replies: 159
Views: 55338

Ah - I understand now. Thanks Eric. I'm almost done on the AI/ship side of things - I just need to modify planetinfo.plist so the frigate doesn't always appear in the same place. Here's what I'm about to test (this is under script_actions): <string>checkForShips: taranis_frigate</string> <dict> <key...
by Roberto
Wed Mar 12, 2008 6:31 pm
Forum: Discussion
Topic: Rough Guide to the Ooniverse
Replies: 278
Views: 129806

At the risk of causing offence... <mr nasty> I don't think this sort of thing is going to enhance the Oolite experience for new players. While more short stories or "vignettes" along the lines of these (for Frontier) would be great, a few hastily written, cliquey, fanboyish lines of dialog...
by Roberto
Wed Mar 12, 2008 5:49 pm
Forum: Expansion Pack
Topic: Just when I thought I was out...
Replies: 159
Views: 55338

Ah! It does work after all. I think when I tested it before there must have been too many other things going on. A very strange entry on the Wiki, then! @Svengali The idea is to launch ships at random intervals (though I think you've already guessed this). A long wait instead would cause launches to...
by Roberto
Wed Mar 12, 2008 3:19 pm
Forum: Expansion Pack
Topic: Just when I thought I was out...
Replies: 159
Views: 55338

OK, as LB suggested (quite a while ago now), I've created a new system station using like_ship in order to launch extra traffic. I've had to modify the AI a bit more than I expected, as the constant switching between IDLE and CHECK_FOR_DEBRIS was messing things up. I've basically combined them into ...