Jump to content

sineme

Members
  • Posts

    3
  • Joined

  • Last visited

  • Days Won

    1

sineme last won the day on January 5

sineme had the most liked content!

sineme's Achievements

1

Reputation

  1. On windows 10/11 you can do the following: given the following directories WorkDir = %AppData%\Avorion\mods\YourMod GitDir = ..\Documents\GitHub\Avorion\YourModRepo open cmd (as administrator on Windows 10) navigate to GitDir type mklink /J FolderNameInRepo WorkDir Note: I recommend to use the same folder name in your repo as your mod, so FolderNameInRepo = YourMod now move all your non-mod files into YourModRepo and you are done. after mklink your repository should look like this: .\ Documents\ GitHub\ Avorion\ YourModRepo\ .git\ FolderNameInRepo\ ReadMe.md .gitignore .gitattributes other files and/or folders ... and WorkDir would remain untouched. Now git should find the files pointed to by the junction FolderNameInRepo, i.e. the files in WorkDir. If you ever clone your repo, it won't create a junction and you will have to move FolderNameInRepo to %AppData%\Avorion\mods and then create the junction again. If you named FolderNameInRepo differently, you'll have to rename it to YourMod again.
  2. # Add method getEngineProperties to ShipDatabaseEntry local acceleration, decceleration, maxVelocity, yaw, pitch, roll = ShipDatabaseEntry:getEngineProperties() Could be used to estimate per sector duration of map commands. # Add required energy to the return values of ShipDatabaseEntry:getHyperSpaceProperties local jumpRange, canJumpRifts, hyperspaceCooldown, isHyperspaceEngineImpaired, requiredEnergy = ShipDatabaseEntry.getHyperspaceProperties Could be used to calculate the travel time between sectors for a map command. i.e. the maximum between the hyperspace cooldown and the time it takes to recharge the energy required for the jump. # Document behaviour of Galaxy:getSectorView seems to only return a sectorView for the sector you are in and sectors that are connected to your current sector. Fortunately there is Player:getKnownSector, otherwise the mod I am working on would've turned out to be a waste of time.
  3. @Psycho Romeo I can't find anything about blocks within the radius sharing health, do you have any reliable source? @Shrooblord According to patch 0.10.2: "'Integrity fields now work more the way they were intended to in the first place.[...]' Integrity field blocks only increase durability and no longer make blocks invincible. Blocks inside integrity fields can now take 10 times as much damage before they explode. This does NOT change the ship's overall HP or damage taken, it only makes the blocks harder to destroy."
×
×
  • Create New...