• Home
  • Index
  • Search
  • Download
  • Server Rules
  • House Roleplay Laws
  • Player Utilities
  • Player Help
  • Forum Utilities
  • Returning Player?
  • Toggle Sidebar
Interactive Nav-Map
Tutorials
New Wiki
ID reference
Restart reference
Players Online
Player Activity
Faction Activity
Player Base Status
Discord Help Channel
DarkStat
Server public configs
POB Administration
Missing Powerplant
Stuck in Connecticut
Account Banned
Lost Ship/Account
POB Restoration
Disconnected
Member List
Forum Stats
Show Team
View New Posts
View Today's Posts
Calendar
Help
Archive Mode




Hi there Guest,  
Existing user?   Sign in    Create account
Login
Username:
Password: Lost Password?
 
  Discovery Gaming Community Discovery Development Discovery Developers Forum Discovery Unofficial Development
« Previous 1 2 3 4 5 Next »
Introducing Repair Ships to POBs

Server Time (24h)

Players Online

Active Events - Scoreboard

Latest activity

Pages (3): 1 2 3 Next »
Introducing Repair Ships to POBs
Offline Its Raisu
07-06-2020, 06:11 AM, (This post was last modified: 07-06-2020, 06:20 AM by Its Raisu.)
#1
Member
Posts: 174
Threads: 14
Joined: Jul 2018

So... I got curious about whether i could make the Repair Ship something that was usable for POB construction.

And here's the result.

In the video, due to my offline test server's repair_per_repair_cycle being 60,000. With the other settings being used, this comes out to 1500 healed per shot, which is 30k healed after 20 shots.

Why?
Because, currently, it takes quite some time to get a new POB established. You're entirely at the mercy of the repair tick timer and whether the base is found by those who would siege it. This allows POB builders to invest into actively constructing the POB by using repair ships after it has been deployed.

In addition, currently, when there is a siege against a POB, attackers can attack a base at any time of the day and it's only a matter of whether defenders are available and capable of clearing them out. With the threat of POBs being able to be repaired by repair ships at any time of the day, attackers will also need to be vigilant rather than waiting for player counts to drop before attacking.

At the moment, this doesn't check whether the POB's shields are up and I sort of like that it can work even when its shields are active. However I could see changing that to where the repair rate is reduced to 1/2 or 1/4 when defense shields are active.


Development process stuff...

Initially, I was just getting the repairgun code to work on POBs in general because I was having trouble getting hits to register on POBs when the Nanotool Gun was set to 1 damage.

I wasn't able to find the cause, but I was able to work around it by setting the gun's damage to 2 and having the repair gun work on damage values between 0 and 2 instead of just values between 0 and 1.

Then, I wanted it to repair the same way a normal POB repair cycle would by consuming 2 Robotic Hardware, Reinforced Alloy, or Hull Segments and then applying the same repair amount as defined in the plugin. However, this was now allowing a 4 shot per second gun to do the equivalent of 20 repair cycles in just 10 seconds. So I started looking at ways to slow down the repair rate while keeping the consumption rate the same -- such as by using the commodity's health similarly to how commodities with decay are lost over time.

In absence of that however, I was able to use RNG chance for a similar effect.
Code:
repairship_chance = 0.05 //Chance that 1 repair commodity is consumed when applying the repair from a Nanotool gun on a repair ship.
repairship_rate = 0.025 //The fractional amount of a repair cycle that is healed for each shot from a Nanotool gun on a repair ship.
These two base.config variables allow control over POB repairs through repair ships to either speed up / slow down their repair rate or increase / reduce the amount of commodities consumed.

The ones listed above result in 1 commodity being consumed roughly every 20 shots and 50% of a passive repair cycle every 20 shots.
After 40 shots, this will typically consume 2 commodities and heal 100% of what a passive repair cycle would.
Note about the variables on my offline test server moved to video
Reply  
Offline Busy Miner
07-06-2020, 06:28 AM,
#2
Gold-digger
Posts: 147
Threads: 5
Joined: Oct 2017

Wow. Impressive work. Hope this gets implemented into the mod. But the base must be green, otherwise it counts as attack, mustn't it?
Reply  
Offline Xenon
07-06-2020, 06:29 AM,
#3
Member
Posts: 2,355
Threads: 190
Joined: Feb 2016

[Image: this-is-a-5c199e.jpg]

[Image: 2aD52st.png]
NEBULA INFORMATION BOT ☆ NEBULA DISCORD SERVER
XENON WEAPONS MARKET ☆ NEBULA GRAND PLAZA ☆ NEBULA TECHNOLOGIES

THE DISCOVERY POBCAST ☆ DISCOVERY SERVER RULES

Reply  
Offline Hawksmoor
07-06-2020, 06:30 AM,
#4
Member
Posts: 79
Threads: 7
Joined: Jul 2014

[Image: thumbs_up_waynes_world.gif]
Reply  
Offline Hemlocke
07-06-2020, 06:34 AM,
#5
Wolf in the Night
Posts: 1,160
Threads: 106
Joined: May 2017

As much as I despise POBs, I do enjoy that something practical, InRP and a new gameplay opportunity with commodities for POBs being far more integrated than usual.

You've stolen my heart with making repair ships more useful.

Though the placement of the nanotool is stupid, why is it on the grabbing hand instead of on the actual welding arm. EXPLAIN DEMMIT
Reply  
Offline Typrop
07-06-2020, 06:37 AM,
#6
Emperor's Wrath
Posts: 422
Threads: 25
Joined: Sep 2016

I'm of two minds on this.

On the one, sieges can be even longer, which is very painful.

On the other, just like shoot the repair ship lol.

Apathetic, though I guess I wouldn't mind the implementation.

User was banned for: They will know.
Time left: (Permanent)
  Reply  
Offline Groshyr
07-06-2020, 06:47 AM,
#7
Member
Posts: 3,804
Threads: 377
Joined: Mar 2018

What Hem said. Great work!
Reply  
Offline Lemon
07-06-2020, 06:49 AM,
#8
The Legendary Lemon
Posts: 2,360
Threads: 114
Joined: Apr 2020

Thanks for the effort, implementing this seems like a no-brainer
Reply  
Offline sasapinjic
07-06-2020, 06:56 AM,
#9
Member
Posts: 1,693
Threads: 32
Joined: Apr 2015

I belive this will be good for gameplay,nice work.
Reply  
Offline LuckyOne
07-06-2020, 06:59 AM,
#10
Armed to the Teeth
Posts: 494
Threads: 13
Joined: Apr 2020

Oh no, here come the followers of POBism... Tongue


Personally, this seems great to me, now during a base siege the defenders can ninja repair the POB (if the attackers can't keep up the siege for the whole time, or get driven off).

The consumption rate numbers could be tweaked, I suppose if it ends up too much of a buff to the defenders, promoting more RM shipping and giving the siegers more time to destroy the repair / supply ships. Or simply as you said, reduce the effectiveness if the base shield is up, so attackers can keep up the pressure even with a single smaller ship.
Reply  
Pages (3): 1 2 3 Next »


  • View a Printable Version
  • Subscribe to this thread


Users browsing this thread:
1 Guest(s)



Powered By MyBB, © 2002-2025 MyBB Group. Theme © 2014 iAndrew & DiscoveryGC
  • Contact Us
  •  Lite mode
Linear Mode
Threaded Mode