https://bb.oolite.space/viewtopic.ph ... 5&start=30
I'm writing a small OXP (text only) to add a randomly generated Bulllitin Board of Assassinations to Oolite. You'd have to be docked at an "Assassin's Cove" (found only in Anarchies), to access the board. And the jobs available will also depend on your elite rating and repuation.
No new ships, I'm just coding piolts to go in ships that exist the game anyway. This means I need to do a random generator to create the Bullitin Boad Advert offering the hit. I know how to do this in code, help requied with some names and phrases to go in the random generator. You don't need any knowlege of coding to chip in, just imagination! Remember though that its a random generator, so think through the phrase at it needs to make sense when combined with any other phrase!
This is how the Ad is built:-
Code: Select all
[assassination_board_part1] [mark_first_name] [mark_second_name], a [mark_race_part1] [mark_race_part2] [assassination_board_part2] [assassination_board_part3] [level_one_mark_ship] [assassination_board_part4] [mark_system_g1] System. [assassination_board_part5] [level_one_mark_fee] Credits [assassination_board_part6] [mark_gender] [assassination_board_part7].
Code: Select all
<key>assassination_board_part1</key>
<array>
<string>Wanted! Someone for a removal job!</string>
</array>
<key>mark_first_name</key>
<array>
<string>Captain</string>
</array>
<key>mark_second_name</key>
<array>
<string>Hesperus</string>
</array>
<key>mark_race_part1</key>
<array>
<string>Furry</string>
</array>
<key>mark_race_part2</key>
<array>
<string>Feline</string>
</array>
<key>assassination_board_part2</key>
<array>
<string>wanted for numerous petty criminal acts,</string>
</array>
<key>assassination_board_part3</key>
<array>
<string>flying a</string>
</array>
<key>level_one_mark_ship</key>
<array>
<string>battered Python</string>
</array>
<key>assassination_board_part4</key>
<array>
<string>needs removing from the</string>
</array>
<key>mark_system_g1</key>
<array>
<string>Lave</string>
</array>
<key>assassination_board_part5</key>
<array>
<string>A reward of</string>
</array>
<key>level_one_mark_fee</key>
<array>
<string>200</string>
</array>
<key>assassination_board_part6</key>
<array>
<string>will be paid upon</string>
</array>
<key>mark_gender</key>
<array>
<string>his</string>
<string>her</string>
</array>
<key>assassination_board_part7</key>
<array>
<string>termination</string>
</array>
As you can see I only have 1 entry in each of the arrays (apart from gender obviosuly). So ATM this would always give this message:-
Code: Select all
Wanted! Someone for a removal job! Captain Hesperus, a Furry Feline wanted for numerous petty criminal acts, flying a battered Python needs removing from the Lave System. A reward of 200 Credits will be paid upon his termination.
assassination_board_part1 (Ad intro- eg "Wanted! Someone for a removal job!)
mark_first_name
mark_second_name
assassination_board_part2 (a bit of info about the mark or why peep want him dead)
assassination_board_part3 (a phrase comming before the name of the marks ship like "flying a" "currently aboard" "traveling in" etc)
assassination_board_part4 (a emphamism for killing him preceeds the name of the system where he is - "needs removing from" "is no longer required in the" etc)
assassination_board_part5 (A phase comming before the number of Credits that will be paid - eg "A fee of" "A reward of" etc.
assassination_board_part6 (A phase refering to payment - eg "will be paid upon" "is availabe to anyone bringing about")
assassination_board_part7 (A word meaning killing! "murder", "termination", "retirment".)
The other variables in the string are mission_variables (so don't worry about adding to these)!. The more phases added the creater the variety to the message. Eg: If we have 30 names in each list, there are 900 possible different names. 30 phases in each list would generate soming silly like over 1 million possible bullitins!
Thanks!
I add a few myself and post a descriptions file, but just but up a post with a contribution to any (or all!) of the arrays!
[/code]