Is the "black knave" a zombie?

General discussion for players of Oolite.

Moderators: winston, another_commander

Post Reply
User avatar
Slartibartfast
Deadly
Deadly
Posts: 175
Joined: Mon Jan 21, 2008 3:54 pm

Is the "black knave" a zombie?

Post by Slartibartfast »

Hi

I think i have killed ( or -better- destroid his ship ) him 5 times
( without any escape capsule leaving the destroyed ship )

but he allways returns, trying to kill me :(


matthias

--- edit:
corrected the title " knight -> knave"
Last edited by Slartibartfast on Wed Aug 24, 2022 9:15 am, edited 1 time in total.
Oolite 1.91 / Imp. Trader ( slighly modified :wink: ) on Lubuntu 22.04 LTS on AMD64 2x 3800+ ,
ATI Radeon R7240 XFS / Samsung TV 40" 1080p
C-Media CMI8738 / Yamaha RX-V575 / DIY-Speaker
Logitech Attack3 & standard german keyboard
User avatar
montana05
---- E L I T E ----
---- E L I T E ----
Posts: 1166
Joined: Mon May 30, 2016 3:54 am
Location: lurking in The Devils Triangle (G1)

Re: Is the "black knight" a zombie?

Post by montana05 »

Slartibartfast wrote: Tue Oct 12, 2021 12:18 am
Hi

I think i have killed ( or -better- destroid his ship ) him 5 times
( without any escape capsule leaving the destroyed ship )

but he allways returns, trying to kill me :(


matthias
Its an order, not an individual. :wink:

http://wiki.alioth.net/index.php/Cobra_ ... ack_Knaves
Scars remind us where we've been. They don't have to dictate where we're going.
User avatar
Slartibartfast
Deadly
Deadly
Posts: 175
Joined: Mon Jan 21, 2008 3:54 pm

Re: Is the "black knight" a zombie?

Post by Slartibartfast »

Hello

O.K.

but i am flying just an iron-assed Rockhopper ( and before an Imp. Courier )
# i hope iron-assed is correct - my english vocabulary has a lot of gaps
and i am "dangerous"

the "black knights" are only "canon-food" -- no .. better "laser-food"

did they never learn? :wink:

mattthias


P.S.
and killing them makes no bounty
Oolite 1.91 / Imp. Trader ( slighly modified :wink: ) on Lubuntu 22.04 LTS on AMD64 2x 3800+ ,
ATI Radeon R7240 XFS / Samsung TV 40" 1080p
C-Media CMI8738 / Yamaha RX-V575 / DIY-Speaker
Logitech Attack3 & standard german keyboard
User avatar
Slartibartfast
Deadly
Deadly
Posts: 175
Joined: Mon Jan 21, 2008 3:54 pm

Re: Is the "black knave" a zombie?

Post by Slartibartfast »

Hi

To make an end to the suicide of the brave black knaves
i have added a new condition to the script. ( oolite.oxp.CaptSolo.Cobra_Mk3-XT.oxz / spawnknave-script.js )

original:

Code: Select all

if (Math.random() >= 0.975 && player.score >= 512)
new:

Code: Select all

if (Math.random() >= 0.975 && player.score >= 512 && player.score <= 1500)  // tweak by Slartibartfast
now the black knave(s) give up, if the player has a score more than 1500

matthias
Oolite 1.91 / Imp. Trader ( slighly modified :wink: ) on Lubuntu 22.04 LTS on AMD64 2x 3800+ ,
ATI Radeon R7240 XFS / Samsung TV 40" 1080p
C-Media CMI8738 / Yamaha RX-V575 / DIY-Speaker
Logitech Attack3 & standard german keyboard
dybal
---- E L I T E ----
---- E L I T E ----
Posts: 499
Joined: Mon Feb 10, 2020 12:47 pm

Re: Is the "black knave" a zombie?

Post by dybal »

Slartibartfast wrote: Wed Aug 24, 2022 10:15 am
Hi

To make an end to the suicide of the brave black knaves
i have added a new condition to the script. ( oolite.oxp.CaptSolo.Cobra_Mk3-XT.oxz / spawnknave-script.js )

original:

Code: Select all

if (Math.random() >= 0.975 && player.score >= 512)
new:

Code: Select all

if (Math.random() >= 0.975 && player.score >= 512 && player.score <= 1500)  // tweak by Slartibartfast
now the black knave(s) give up, if the player has a score more than 1500

matthias
If you want a challenge, you might try upping their accuracy if player.score > 1500...
User avatar
Cholmondely
Archivist
Archivist
Posts: 5365
Joined: Tue Jul 07, 2020 11:00 am
Location: The Delightful Domains of His Most Britannic Majesty (industrial? agricultural? mainly anything?)
Contact:

Re: Is the "black knave" a zombie?

Post by Cholmondely »

Would Skilled NPCs also improve their accuracy etc.?
Comments wanted:
Missing OXPs? What do you think is missing?
Lore: The economics of ship building How many built for Aronar?
Lore: The Space Traders Flight Training Manual: Cowell & MgRath Do you agree with Redspear?
dybal
---- E L I T E ----
---- E L I T E ----
Posts: 499
Joined: Mon Feb 10, 2020 12:47 pm

Re: Is the "black knave" a zombie?

Post by dybal »

Cholmondely wrote: Wed Aug 24, 2022 4:26 pm
Would Skilled NPCs also improve their accuracy etc.?
I guess yes, but I don't think it would do it based on the player score, and without looking at its code I can't say which subsets, if any, of NPCs will be "upgraded", nor by how much!

If one is already tweaking scripts, one can as well go all the way and control the skill upgrade :D
User avatar
Slartibartfast
Deadly
Deadly
Posts: 175
Joined: Mon Jan 21, 2008 3:54 pm

Re: Is the "black knave" a zombie?

Post by Slartibartfast »

Hi
If you want a challenge,....
no - i do not!
If one is already tweaking scripts, one can.....
yes ..... he can - but he don't want to...

---- for other, who will get rid of this bugging "knave"
buy another ship than the cobra xt III and remove the cobra xt III oxz.

bye
Oolite 1.91 / Imp. Trader ( slighly modified :wink: ) on Lubuntu 22.04 LTS on AMD64 2x 3800+ ,
ATI Radeon R7240 XFS / Samsung TV 40" 1080p
C-Media CMI8738 / Yamaha RX-V575 / DIY-Speaker
Logitech Attack3 & standard german keyboard
Post Reply