[ALP] BountyBoost 1.2 21/2/10

The place to discuss scripting and game modifications for X³: Terran Conflict and X³: Albion Prelude.

Moderators: Moderators for English X Forum, Scripting / Modding Moderators

Rate the Plugin

5/5
86
62%
4/5
16
12%
3/5
11
8%
2/5
1
1%
1/5
2
1%
I hate LV
23
17%
 
Total votes: 139

User avatar
LV
Sith Lord
Posts: 8255
Joined: Wed, 6. Nov 02, 20:31
x3tc

[ALP] BountyBoost 1.2 21/2/10

Post by LV » Sun, 23. Nov 08, 14:56

Bounty Boost




Name : AL Plugin BB

Description : Plugin which allows more cash for killing ships
Version : 1.2 TC
Date : 21/2/10
Author : LV




[ external image ] download unpacked version

[ external image ]

cycrow installer version

================================
Imperial Library Scripts Must be Installed!

You must install the lib scripts latest v1.8 22/11/09
-===============================

Detailed description:
A simple AL Plugin that add additional payouts for killing ships.

There are 3 levels
Low Payouts
Medium
High
The payouts can be logged and this can be switched on and off quickly via turning the plugin on and off.

The smaller the ship your in the higher the payout also, Khaak + Xenon also give more

Example

Code: Select all

Your Nova (M3) Kills a Khaak M3 : Payout may be 15k
Your Centaur (M6) Kills a Khaak M3 : Payout may be 5k
Your Argon Nova (M3) Kills a Boron M3 : Payout may be 8k
Your Centaur (M6) Kills a Boron M3 : Payout may be 2k

***************
Please feeback on payouts peeps, it's hard to equate all the variables with so many shipclasses

*****************

------
1.2 update

changes to payouts
streamlined for less cpu load
bugfixes
now attaches to secondary signals making safer for use of other scripts utilising signals
menu interface at pirate bases showing kills of race ships in their core sectors.
No longer writes to player logbook if logging is enabled but writes to log file 8831 in mydocs/egosoft from now on.
uninstaller (turn the plugin off) up to **forcegrip** standards

changes to payout

I'm open to feedback but now the initial baseline value is 100th of the price of the ships (checked through my lib scripts, so install them!), There are many magical values after this but that's where the costing now starts instead of pre-defined values for object classes.



Uninstall
______
Just turn the plugin off, It runs every couple of minutes and you will recieve an uninstalled message

How to turn the plugin on and off
__________________________________


8831-L044 : t

No Commands used
Last edited by LV on Sun, 21. Feb 10, 17:36, edited 5 times in total.
LV's TC Scripts
Readme's For All My Scripts


I felt a great disturbance in the forum, Like millions of voices cried out in terror, then were silenced

si tacuisses, philosophus mansisses

User avatar
jocan2003
Posts: 629
Joined: Tue, 6. Mar 07, 17:48
x4

Post by jocan2003 » Mon, 24. Nov 08, 01:26

Oh crap its out!!

Man i got to try this out as soon i can, but not right now.... 3 hour of sleep in the last 60 hour, i came just for the kick of it before going to bed, you cant imagine how happy i am my friend :D!!

Thanks a big big big bunch :D

Dr. Dan
Posts: 17
Joined: Sat, 15. Nov 08, 23:33

Post by Dr. Dan » Mon, 24. Nov 08, 06:05

Does this also my other ships in my wing destroying ships bring in bounty?

Thanks!

User avatar
TSM
Not a Moderator
Posts: 2947
Joined: Thu, 1. Jul 04, 12:31
x4

Post by TSM » Mon, 24. Nov 08, 14:12

Dr. Dan wrote:Does this also my other ships in my wing destroying ships bring in bounty?

Thanks!
Yes it does :)

Nice one LV after killing 217 pirate ships I can almost afford another m6 :)

I am keeping my eye on prices only odd thing I seen so far is in my M2 I got paid more for killing M7 than I did for and M1.
FAQ's Egosoft Interactive FAQ
Egosoft Wiki

User avatar
spacefueladdict
Posts: 508
Joined: Thu, 12. Jun 08, 15:42
x3tc

Post by spacefueladdict » Mon, 24. Nov 08, 15:12

Another fine one from the Imperial Laboratories! :D

Dr. Dan
Posts: 17
Joined: Sat, 15. Nov 08, 23:33

Post by Dr. Dan » Mon, 24. Nov 08, 16:51

I am keeping my eye on prices only odd thing I seen so far is in my M2 I got paid more for killing M7 than I did for and M1.
Maybe it had some particularly skilled pilots on board, or it was a mercenary with a bounty on his head so they paid out more. :P

Thanks a lot for this mod, now I can actually dogfight during payout missions instead of sitting in my M1 and watching the turrets do all the work.

User avatar
LV
Sith Lord
Posts: 8255
Joined: Wed, 6. Nov 02, 20:31
x3tc

Post by LV » Mon, 24. Nov 08, 19:36

spacefueladdict wrote:Another fine one from the Imperial Laboratories! :D
I think you have just solved my problem of getting my ego into the the game without having "Lord Vader/The Empire" connotations

From now on you will all be seeing "Imperial Laboratories" ingame, maybe even as a new aggressive faction in time.

Give yourself a badge sfa :thumb_up:

these are the basic variations which have alot more math multiplying and dividing before a payout is made but it explains the m1/,7 differential

Code: Select all

043   if $obj == TS
044   |$pay = 5000
045   else if $obj == TP
046   |$pay = 6000
047   else if $obj == TL
048   |$pay = 100000
049   else if $obj == M6
050   |$pay = 75000
051   else if $obj == M5
052   |$pay = 10000
053   else if $obj == M4
054   |$pay = 15000
055   else if $obj == M3
056   |$pay = 50000
057   else if $obj == M2
058   |$pay = 300000
059   else if $obj == M1
060   |$pay = 150000
061   else if $obj == M7
062   |$pay = 325000
Feel free to offer suggestions and you will see no M8 is built in yet :roll:
LV's TC Scripts
Readme's For All My Scripts


I felt a great disturbance in the forum, Like millions of voices cried out in terror, then were silenced

si tacuisses, philosophus mansisses

User avatar
corhen
Posts: 338
Joined: Thu, 16. Oct 08, 08:45
x3tc

Post by corhen » Mon, 24. Nov 08, 20:16

Code: Select all

|$pay = 325000 
Whats that for? taking out a M1 in a M6???

kipstafoo
Posts: 86
Joined: Fri, 7. Nov 08, 00:08
x3tc

Post by kipstafoo » Mon, 24. Nov 08, 20:30

Thanks LV!

BTW, the readme says to run the PCK... but the zip file hs it already exploded ... no PCK file.

User avatar
LV
Sith Lord
Posts: 8255
Joined: Wed, 6. Nov 02, 20:31
x3tc

Post by LV » Mon, 24. Nov 08, 20:31

Take a look at the Script and it will explain.
LV's TC Scripts
Readme's For All My Scripts


I felt a great disturbance in the forum, Like millions of voices cried out in terror, then were silenced

si tacuisses, philosophus mansisses

jams
Posts: 86
Joined: Fri, 20. Feb 04, 10:05

Post by jams » Mon, 24. Nov 08, 21:44

How do I change the bounty level once I get it started?

User avatar
LV
Sith Lord
Posts: 8255
Joined: Wed, 6. Nov 02, 20:31
x3tc

Post by LV » Mon, 24. Nov 08, 21:45

just turn the plugin off until you are msg'd that it has uninstalled (approx 3-4 mins) then back on again

jams
Posts: 86
Joined: Fri, 20. Feb 04, 10:05

Post by jams » Mon, 24. Nov 08, 21:48

Sorry to be a complete noob, but how do I turn it off? Already tried doing it via Plugin Manager but it didn't seem to work :(

EDIT: NVM - should pay more attention to the first post I guess :(...sorry. Delete this if you want.

edit LV

nah, many more will not see the wood for the trees
Last edited by jams on Mon, 24. Nov 08, 21:55, edited 1 time in total.

User avatar
LV
Sith Lord
Posts: 8255
Joined: Wed, 6. Nov 02, 20:31
x3tc

Post by LV » Mon, 24. Nov 08, 21:55

Along time ago in a forum far away a Sith Lord at the top of the thread wrote:
Uninstall
______
Just turn the plugin off, It runs every couple of minutes and you will recieve an uninstalled message

Amazingly enough underneath that was a link to an idiots guide to turning a plugin on and off

look up ;)
LV's TC Scripts
Readme's For All My Scripts


I felt a great disturbance in the forum, Like millions of voices cried out in terror, then were silenced

si tacuisses, philosophus mansisses

jimhsu77479
Posts: 168
Joined: Sun, 25. Nov 07, 22:39
x4

Post by jimhsu77479 » Mon, 24. Nov 08, 23:50

057 else if $obj == M2
058 $pay = 300000
059 else if $obj == M1
060 $pay = 150000
061 else if $obj == M7
062 $pay = 325000

If im reading that right, an M7 is worth more than an M2 (and twice as much as an M1)? Seems weird. Would think a M2 is worth 1m, give or take.

User avatar
LV
Sith Lord
Posts: 8255
Joined: Wed, 6. Nov 02, 20:31
x3tc

Post by LV » Tue, 25. Nov 08, 00:37

was written in X3R where M7's were rare i'll adjust it lower than m2+1

i've updated the payouts and fixed the m7 issue as well as building in m8's

refresh the link i posted above for the script (ctrl+f5) and you will see the new code

download 1.1 via first post
LV's TC Scripts
Readme's For All My Scripts


I felt a great disturbance in the forum, Like millions of voices cried out in terror, then were silenced

si tacuisses, philosophus mansisses

jams
Posts: 86
Joined: Fri, 20. Feb 04, 10:05

Post by jams » Tue, 25. Nov 08, 11:56

LV wrote:Amazingly enough underneath that was a link to an idiots guide to turning a plugin on and off

look up ;)
I already felt like one, thanks for rubbing it in :P

I don't have the setup script on hand, and don't know if it was intentional, but you Low payments gives the most money, and high the least. I think when I looked at it yesterday it seemed like the Easy, Med, Hard setup was messed up.

EDIT: found a way to view it:

029 ║║add custom menu item to array $menu: text='Low Payouts' returnvalue='easy'
030 ║║add custom menu item to array $menu: text='Medium Payouts' returnvalue='med'
031 ║║add custom menu item to array $menu: text='High Payouts' returnvalue='hard'

Shouldn't High payments be easy :D

001 if $value == 'hard'
002 set global variable: name='lv.bb.setg' value=1
003 else if $value == 'med'
004 set global variable: name='lv.bb.setg' value=2
005 else if $value == 'easy'
006 set global variable: name='lv.bb.setg' value=3

So definitely a bug, you multiply with 3 for Low payments.

ThisIsHarsh
Posts: 1135
Joined: Sun, 19. Oct 08, 18:46
x3tc

Post by ThisIsHarsh » Sun, 30. Nov 08, 15:20

A minor suggestion. The messages put in the logbook would be better if the author was the race, e.g. 'Federal Argon Military' instead of 'Shipcomputer'. In fact, in general the messages could be a bit better phrased for the sake of immersion. Maybe even race-specific wording.

Also it would be good to have an option for a subtitle message. Even better would be to use the Betty audio for the police license kills, surely there are sample numbers for them?

I'm playing in medium setting and to me it seems a good balance. Still less money than would be realistic IMO, but at the same time not so much that it feels like you're changing the game mechanics wildly. So a good balance of two evils. Only been in fighter group vs. fighter group battles so far, though.

Sticks
Posts: 216
Joined: Thu, 29. Nov 07, 15:35
x4

Post by Sticks » Thu, 11. Dec 08, 14:19

does this give me extra money, if my non-player controlled ships like M7m (i own them, but i'm not sitting in it) kills enemies during patrol missions?

sry for my bad english :oops:

crazydeath
Posts: 8
Joined: Wed, 29. Aug 07, 19:42

Post by crazydeath » Sat, 13. Dec 08, 01:20

spk-file-host iss down. could you plz reupp/fix that? i prefer the spk to keep things clena.

thx

Post Reply

Return to “X³: Terran Conflict / Albion Prelude - Scripts and Modding”