Pirates with huge bounties! Just say no!

An area for discussing new ideas and additions to Oolite.

Moderators: winston, another_commander

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 »

Screet wrote:
If it's done as some "mission" screen upon docking, it re-creates the reward feeling and enhances it at a later time (when there's no action around).

I am sure that it would enhance the feel of it, similar to those scooping rewards when docking. Doesn't it add more fun than it would do if the scooping player would get an instant reward and no further text upon rescuing/capturing other captains?
I think this is the way to go for this, then.

Will have to look into the matter how it has to be done and attempt to implement it.

The mission screen should show the following information:

* Special ships shot down, type and number
* Additional bounties as danger bonus as awarded by GalCop Special Branch
* The sum total of the bounty bonuses

Is this possible without Java Script or am I finally at the point where I have to learn a bit of it :?

Cheers

L
User avatar
LittleBear
---- E L I T E ----
---- E L I T E ----
Posts: 2882
Joined: Tue Apr 04, 2006 7:02 pm
Location: On a survey mission for GalCop. Ship: Cobra Corvette: Hidden Dragon Rated: Deadly.

Post by LittleBear »

Should be do-able fairly easily. Basically just a script to set the special ships and test who killed them (check the R_H scripts for the victims). If a player kill add the money value of the ship to a variable. Then if the variable is > 0 (ie player has killed one or more ships), a script to award the credits when docked and display a mission screen with some mission text like this:-

Code: Select all


<key>lestrade_special_kills_payment</key>
<string>For [lestrade_killing_word] [%Z] [nom], a [lestrade_pirate_word1] [lestrade_pirate_word2] from [%H], [lestrade_cop_word] pays you [lestrade_pirate_bonus] Credits</string>

[%z] and [nom] will automaticaly give the dead bad guy a name. [%H] will give his location. In descriptions you then just throw in a few words for each array. Eg:-

Code: Select all

	<key>lestrade_killing_word</key>
	<array>
	<string>killing</string>
	<string>destroying</string>
	<string>terminating</string>
	<string>on so on and so on</string>
	</array>

	<key>lestrade_pirate_word1</key>
	<array>
	<string>nasty</string>
	<string>horrid</string>
	<string>beastly</string>
	<string>on so on and so on</string>
	</array>

	<key>lestrade_pirate_word2</key>
	<array>
	<string>pirate</string>
	<string>bandit</string>
	<string>criminal</string>
	<string>on so on and so on</string>
	</array>

	<key>lestrade_cop_word</key>
	<array>
	<string>GalCop Special Branch</string>
	<string>the local police</string>
	<string>the Secret Service</string>
	<string>on so on and so on</string>
	</array>

Add as many words to each array as you can think up, even 5 or six in each gives a nice variery. So you get stuff like:-

"For killing Narg McJamefire, a horrid pirate from Lave, the Secret Service pays you 120 Credits."

have fun!
OXPS : The Assassins Guild, Asteroid Storm, The Bank of the Black Monks, Random Hits, The Galactic Almanac, Renegade Pirates can be downloaded from the Elite Wiki here.
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 »

Thanks LittleBear, copied your suggestion and script parts into my To-Do inventory and am going to have a look at the RH scripts you referred to.

I'll see if I can get this to work and will perhaps come back to you for some questions when they arise.
User avatar
Kaks
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 3009
Joined: Mon Jan 21, 2008 11:41 pm
Location: The Big Smoke

Post by Kaks »

A few interesting points for all of us to ponder there, and a reasonably happy L. in the end... Hmm, looks like a win-win situation from where I'm standing... :)

Thanks everybody! ;)
Hey, free OXPs: farsun v1.05 & tty v0.5! :0)
Post Reply