Page 3 of 3

...

Posted: Wed Feb 18, 2009 10:34 pm
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

Posted: Wed Feb 18, 2009 11:09 pm
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!

...

Posted: Wed Feb 18, 2009 11:18 pm
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.

Posted: Mon Feb 23, 2009 6:35 pm
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! ;)