Jump to content

Vinny

Vintarian
  • Posts

    4
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Vinny's Achievements

Wolf Bait

Wolf Bait (1/9)

0

Reputation

  1. I am adding block behavior to every block on start (haven't found another way to control mining speed yet. Been told this is not a great solution) that intends to control mining speed based on the position of the block. I simplified to this function to see if it will work: public override float GetMiningSpeedModifier(IWorldAccessor world, BlockPos pos, IPlayer player) { return 0.001f; } But still blocks are broken at the same mining speed. Some functions like OnBlockBroken seems to work, and others like OnBlockBreaking don't seem do be giving any output. In the discord someone said certain block behavior functions are just not called by the block class. Any alternatives to this? Ways to control mining speed programmatically? If it helps, I am making a mod like Minecraft factions. I am storing the positions of claims, and if the player is breaking a block inside a claimed chunk, their mining speed is drastically reduced.
  2. Yes to both of those. Fence yourself off so no one can kill you and you'll be good, given that 'power loss on death' is enabled by the server owner. And if you end up losing enough power your claim is at stake, just chill online for a while and the power will go back up. Calculating tributes is the tricky part. Not sure how they will be sent either. A mailbox designated by the faction? Was going to worry about after I finished the claiming system. I haven't been playing much recently but my idea was to make it an item, something always useful to everyone, cheap, and the amount being small but proportional to faction power. Something like: RoundedToInteger((factionPower * someFactor) / 4) of some item. Kinda just spitballing ideas, but if you keep asking questions you could definitely illuminate any gray areas.
  3. How MC factions worked is probably be too extreme for Vintage story. My memory might be a bit off but here's how it works: You individually have power. As a faction member this power is considered a part of the total faction power. Power is gained through being online and PVP/PVE I believe. Is also lost to PVP if you lose. Say there is a faction of two members with 20 power each, so the total faction power is 40. A claim is maybe worth 5 power. The faction can claim 40/5 = 8 chunks of land. Let's say they have claimed 8 chunks. A faction member dies and you loses 1 power, decreasing the faction's overall power. This mean now the faction can only hold 7 chunks 39/5 = 7.(rounded down to a whole number since you can't claim part of a chunk). So another faction can claim 1 land since they have 8 claims but have the power to support 7. Proposed in my mod: You don't pay tribute you lose power basically. Unless you kill one of their members, then the tribute is gone, you gain power and they lose power. I have the factions-esque part about done in case anyone was wondering.
  4. Hello I have been creating a mod similar to Minecraft's 'Factions' mod but more so designed for RP as much as PVP. It will have adjustable settings but by default I am making it very hard to raid, due to the nature of the game. Basically players can demand a generated-and-affordable tribute of one-another. Keep your power by responding violently or just paying the tribute. Then there is a cooldown from tributes. I wanted to make a poll to see if people would be interested in this or something like this already exists. I personally have been looking for a server like this and can't find any.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.