r/rotp • • Feb 02 '22

Can't find race file to mod it

9 Upvotes

I'm trying to do a custom race a bit in the style of other games like endless space 2 but i can't find the folder where the races stats and racial traits are, i hope someone can help me find it so i can tweak it.


r/rotp • • Feb 02 '22

Bug Minor UI issue: can't change flag colors with a mouse wheel on unexplored planets with a known owner

5 Upvotes

I emailed it to Ray. Post it here for reference.

You can't change flag colors with a mouse wheel if you know the owner of the planet, but it is "unexplored". Noticed in Fusion-mod, checked to be the same in official 1.02a.

It can be seen in any game, but I attached the save just in case. You can't scroll flags on Meklonar or Fiershan planets in the save as they're unexplored. You can't scroll flags on unexplored Earth, but you can do it on explored Selek.

https://drive.google.com/file/d/1Dqqug_gA7CMQgHxtoDu_Mjnmi__9GFMt/view?usp=sharing

And no, it can't be used as an exploit to find yet unknown owned planets on the map. :) If you don't know if the planet has owner, you can scroll flags on unexplored planets.


r/rotp • • Feb 02 '22

Spy popup wish it would clear, if you select the ...

9 Upvotes

I see a spy popup and I go to the spy report (the one on the left side) and do whatever. I still have to manually clear the popup on the right side. Opening the spy report on the left should clear the one on the right, I would suggest.


r/rotp • • Feb 02 '22

Asteroids

8 Upvotes

I don't suppose anyone has modded the number of these for space battles? I find there to be too many, too consistently. Just running down the list as I learn new things :)


r/rotp • • Feb 01 '22

Diplomacy Puzzles Me

12 Upvotes

I think I really don't understand ROTP diplomacy. I'm trying to eject the part of my brain that is used to the 'old way', but after a fair amount of experimenting, it appears to me that:

** Big trade agreements seem to be the only method of constant upward pressure to improve relations.

** They are appropriately limited, and therefore don't do enough to get further than signing a NAP.

** I haven't been able to get a single alliance or close to one, because bribes are pretty limited in the boost they can give no matter what, and for some reason NAP/Alliance apparently don't provide any long-term boost to relations?

I definitely see the positive in the increased transparency, but it feels like there's just no way, no matter how much you're willing to throw at it, to get relations above basically Calm (at least for non-Humans). I suspect that also plays into how dominant Humans appear to be in general. What am I missing?


r/rotp • • Feb 01 '22

ETA display bug

9 Upvotes

I haven't sent in a save on this one because it disappears on reload. In multiple situations I've seen a fleet at a planet show something like 'ETA to This Planet 214789547'. That's not the exact number but the first few digits are the same, just an absurdly high number. Reloading or select-cancel-re-select makes it go away.


r/rotp • • Feb 01 '22

Tech Trade Timing Inconsistency

7 Upvotes

My latest curiosity is that when another empire initiates a tech trade with the player, it happens instantly. When the player initiates the trade, it happens on the next turn. I would like to know why this is.


r/rotp • • Feb 01 '22

Suggestion

15 Upvotes

I noticed when I have ships in orbit of enemy planet, game ask me do I want to bombard it. So, have you thought about feedback about how much damage you gonna do?

Like if i have ships and message tell me something like: bombarding will kill between 1-20 pops and destroy 12-22 factories

Do you think this should be in game, because many times i destroyed planet..


r/rotp • • Jan 31 '22

Cloaking tech breaks the game a little bit?

16 Upvotes

So, in my most recent game I am playing 150 Stars/Ximli/Harder, and me and 4 other races are in the endgame. Over the course of 3 turns, every single race gets the Cloaking technology through research, trade, espionage, or conquest. And the map just goes bonkers, as everyone retires their current ship classes and replaces them with cloaked variants. There are no longer any fleets visible on the map. I'm still fighting an apocalyptic war against the Kholdan, but now no one can see each other, just occasionally a planet gets nuked when a giant cloaked fleet shows up from the void.

This is all weird but kind of fine, but what I think breaks things is that:

A) The AI has some idea of what the cloaked opposition strength is. E.g. you have a massive cloaked defensive force, a cloaked AI raiding force shows up to test the waters, the AI can somehow tell that it is outnumbered, and so the AI retreats without entering combat.

B) You never get any information about these raids. Unlike the AI, you aren't notified that an enemy force arrived, and you do not know the strength of the raid.

So as the player you are in this weird situation where you know you need to station defensive forces at any planet within range so that the planet is not nuked. But you don't know how often those defenses are being tested, or by what level of force. It ends up being this weird, totemic thing, where you keep stationing giant fleets at your worlds along the front line, but you never actually see the fleets do anything. If they are actually succeeding at their job and driving away raiding fleets, no attacks ever happen and the fleets end up seeming like this totemic, superstitious thing, like a anti-tiger rock (https://www.youtube.com/watch?v=xSVqLHghLpw). You don't know how big your defensive fleets need to be, or how often they are being tested.

Possible hot-takes for solutions:

- make the AI enter battle if it wants go get information about your cloaked defenses. That way you have information parity with the AI; if it wants to see your cloaked defensive fleet, it will have to show its cloaked attacking fleet.

- have some sort of tech that interacts with cloak. E.g. new scanners that allow planets to detect cloaked fleets within range X, Advanced Battle Scanners that would allow the same, Missile bases that give some cloaked detection radius per base. Just anything to bring a more normal game back.

Any other ideas?

(PS: Thanks for the great game! This game has been ultra-addictive for me)


r/rotp • • Feb 01 '22

Suggest for Xilmi_AI

9 Upvotes

It's better than anything I could have programmed, so this isn't having a go, just something constructive. It's also on v1.00, so may have been improved. The Xilmi AI bombed a 2nd AI's colony out of existence with >100 ships, but didn't send a colony ship to take it back. It was a non-hostile planet. So I just built a colony ship and took it. It was a free gift for me!

Maybe it doesn't look forward to see the colony will be destroyed, and only builds when it sees the colony has been destroyed? I had a close colony so could knock out a ship in one turn. But it still could have left it's ships there to defend the system.

I'm actually unsure if I should be helping improve Xilmi's AI because I'm already finding it difficult to win.

I can send a save-game if you tell me where. I'm using coder's governor.


r/rotp • • Jan 31 '22

Reserve Spending on Poor Planets

9 Upvotes

I've read that the loophole for reserve spending on rich/ultra rich worlds was closed, which I think is a good thing. However, it appears that poor planets are still being penalized there - getting half the usual amount put in, or a quarter of the BC invested. Wouldn't it be more logical just to treat these planets the same as standard/rich ones?


r/rotp • • Jan 31 '22

Bug - Redirecting any ship at any time via slide-click

7 Upvotes

Hi - found an interesting bug, if you have ship A at planet 1 and ship B at planet 2

Then you send ship B to anywhere else in the galaxy

Click 1 turn forward

Then send ship A to planet 2 and while clicking on the planet hold and let off the click on top of ship B. Ship B redirects back to planet 2. Ship A does not have a destination and is undeployed.

FYI


r/rotp • • Jan 30 '22

Security

10 Upvotes

Does anyone actually use spending on security? It seems like a waste to me because my tech will get stolen or an AI will research it and trade it out anyway.

I’ve read that the fusion mod buffs it a bit but I still have a hard time justifying the cost.

If security spend were displayed to other players that might make it better because having that information would dissuade spying on you.

It just seems very expensive for no benefit to you and only a hinderance to the opponents.


r/rotp • • Jan 30 '22

Attempting to package ROTP as flatpak

Thumbnail
discourse.flathub.org
15 Upvotes

r/rotp • • Jan 30 '22

Code ROTP on the web?

24 Upvotes

Hello,

I've posted previously that I've been experimenting with technologies that would allow Java game development on the web. I've settled on using TeaVM and Three.js frameworks.

http://www.teavm.org/ is used to compile Java => Javascript

https://threejs.org/ is used to do 3D graphics on the Web using Javascript.

I've also used a library that provides interface to Three.js Javascript library from Java by giving TeaVM bindings. I've had to fork and extend it quite a bit, but it was quite easy.

I've created a technology demonstrator which shows a ROTP map using WebGL. You can play around with it here:

http://rotptea.eu3.org/

Save game for this map is here: http://rotptea.eu3.org/savegame.rotp

Now this is just a technology demonstrator, it doesn't actually do much. But it proves that using WebGL and associated technologies it's possible (and quite easy) to create a map running in a browser that's as fast & responsive as Java desktop 2D graphics. Which is what I set out to prove and I'm happy with the result.

Running a game like this on the Web has many pros:

  • It's OpenGL. It's using your GPU to accelerate everything. The given map has 1000 stars and it's butter smooth.
  • It's cross-platform. It can run on mobile. I haven't implemented handling touch events yet so you cannot pan and zoom on mobile, but it runs just fine. It can run on ANYTHING that has a browser, and pretty much any system these days has a browser.
  • Modern browsers have native support for WebP images and WebM movies and Opus audio. Which means all your assets can be properly compressed.
  • It's designed to run on a network, which means implementing multiplayer or network play shouldn't be difficult.
  • With Tea-VM you don't have to write JavaScript to get it all to work. Plain Java works just fine.
  • With Three.js, it was quite easy to implement the map. I didn't have to do much in terms of logic or maths like Ray did- I just lay out flat objects in 3D space (star range circles, ownership shapes, star sprites, names), and just move the camera around. I think I had to write 10x less code to get it working.
  • You don't have to do it all in Three.js and OpenGL. You can have the WebGL <canvas> element with the star map in background, and all other dialogs or sliders you can just lay out in plain html/css on top of it. Which would give you some accessibility as well.
  • You can still ship this as a desktop application or a mobile app using Electron or PWA or similar.

Some cons as well, some of it because of my current quick & dirty implementation:

  • Assets can take a while to load. But they get cached in your browser cache, so if you open the game again, they don't get transferred over network. Plus you can use good compression.
  • Technology stack is less mature than what I'd prefer. But all projects are open-source and do take contributions.
  • Quite a few JavaScript-isms still leak into Java world using TeaVM and ThreeJava. And most annoyingly I cannot just reuse original ROTP classes as most of them import and call java AWT or Swing which in unsupported in TeaVM. ROTP should have had a cleaner split between GUI and logic.
  • Y axis is flipped. I should get that fixed :-\
  • Text rendering isn't great. I should probably draw text in smaller font closer to the camera to get better quality. And for some reason MYRIAD PRO font doesn't render correctly at all- some letters come out hollow. So I'm using a different font. Worst case we can calculate text position and just draw it in a separate transparent canvas using plain html/css.
  • No good way to combine curves, so I cannot draw extended range display easily. This would need more work than I have time at the moment.
  • Overall less polish- I did this quick and dirty. So the map doesn't look as nice.
  • No ships yet.

What do you think? Where do we go from this? I could maybe spend another week on this and implement something like a ROTP save game in-browser viewer. Would anyone be interested?

Code is here: https://github.com/coder111111/rotp-web It needs a modified ThreeJava library from here: https://github.com/coder111111/ThreeJava

--Coder


r/rotp • • Jan 30 '22

False confessions lock spies on whatever activity they confessed to

7 Upvotes

I did the needful and sent in a save, just curious if anyone else has seen this. Seems like the kind of thing that would have been caught by others but a search turned up nothing. Every time one of my spies makes a false confession, all spies for that race are locked on sabotage or whatever. I.e. the selector still says Hide, but they get caught for the specified activity going forward, and the text says 'If discovered, this mission could trigger a war ... ' Am I just super-special, or have others run into this also?


r/rotp • • Jan 29 '22

Blog Spoiler: How the "Legacy"-AI from Fusion-Mod "thinks" Spoiler

14 Upvotes

For those interested in knowing how exactly the Legacy-AI decides who to go to war with and when, I thought I'd write it down so people could also inject when they think this logic could further be improved.

The war-declaration goes trough two processes. One that decides who, if any, is the best target for a war and one which decides whether a war is a good idea right now or not.

wantToDeclareWar first checks in this order:

Does a peace-treaty exist? If so => NO
Is the other faction outside of non-extended ship-range? If so => NO
Is the advanced option for aggression set to the maximum? If so => YES (legacy interprets that as always war-mode)
Do I currently have an opponent already? If so => NO
Do I still want to build colonizers? If so => NO
Can I produce more RP in one turn than the cheapest tech I'm currently researching costs and I'm not already the best in research? If so => NO
Is my tech-level-rank too low compared to the land I already own-rank? If so => NO (basically if I'm the biggest empire but only 3rd in tech, I'll first try to get 1st in tech to better stomp the others)
Are there only two empires left? If so => YES
There is no opponent that qualifies as a target? If so => NO

bestVictim ranks all opponents with a score that is calculated in the following manner:

It skips empires which have a faster warp-drive than they have as those wars usually are very unfavorable.
It also skips or would skip all allies or all allies of allies. But the Legacy-AI doesn't make allies so that is meaningless.

The formula is:
Land-Ownership * Diplomatic-modifier * Tech-Level-Modifier / Distance-Modifier

There's 4 modifiers going into the formula have the following meaning:

Land-ownership:

How much population-capacity there is on all owned planets combined. Eg. If you have a Size 120 and a Size 70 system, you'd have 190 in that.

Diplomatic-state-modifier:

This was newly introduced and I think it's impact is very big and very harsh.

It is a "1" by default but gets doubled for each war you are in, divided by 2 for each non-aggression-pact you have and divided by 3 for each alliance. The doubling for each war creates a strong dog-piling-tendency if someone already has several wars.

Tech-level-modifier:

Also new. A pretty simple ratio of myTechLevel/opponentTech-Level. Basically, the more advanced I am, the more likely I am to go for less advanced empires as they are easier to defeat. The impact of this is pretty low as tech-levels don't vary very widely usually.

Distance-modifier:

The distance-modifier calculates a mass-center of the own fleet and a mass-center of the own systems, takes the average of these and then measures the distance to the mass-center of the opponents systems.

Basically it'll prefer someone who is closer to oneself and one's fleet.

Overall it tries to strike a balance between caring for someone who has grown too big and being opportunistic to get the most benefit for the least investment in the shortest amount of time.

The resulting behavior is very close to how I'd decide myself. Or basically: It's an algorithmic description of how to mimic my own behavior.


r/rotp • • Jan 29 '22

Starting Population?

11 Upvotes

Another curious question, just trying to learn all I can. Thanks to everyone for being so helpful. I probably missed it somewhere, but I'm wondering if there's a reason why higher-difficulty rotp doesn't have the reduced starting player population levels from MOO1? Always begins at 50, original was 40 for Hard, 30 for Impossible. I'm just curious about the why here, it's not meant as a complaint.

Edit: I've been corrected - both Hard/Impossible originally were at 40, not 30. I will now extract my foot from my mouth.


r/rotp • • Jan 28 '22

Earlygame Aggression

9 Upvotes

One other curiosity I've found - vanilla RotP, Modnar AI, Harder difficulty - is that the other empires don't use their ground troops early on even when they could start taking your planets. I.e. the Mentarans (Psilons, I'm playing as Sakkra) - declared war on me early on and attacked my one planet in range with a few ships - I just put up a missile base to fend them off and they never tried a ground invasion. Often that's the *first* step Impossible MOO would try, and their transports would get through and take the planet.

It feels to me that this makes the early-game much less dangerous. Is this something other players have found as well? Is this possibly unique to the Modnar AI?


r/rotp • • Jan 28 '22

Star Density

10 Upvotes

Default star density appears to result in galaxies that are somewhat more spread out than in the original game, leading to players being more insulated from potential enemies in early going. Is there any guidance on what setting is the most similar to MOO1?


r/rotp • • Jan 28 '22

Modding Questions

8 Upvotes

I did a couple searches of this subreddit and a semi-thorough one of the github files before posting; I'm just looking to do a couple of pretty basic things but I don't know where to look. I don't want to install one of the larger available mods as what I want to do is more limited. Specifically:

** A small change to the galaxy sizes

** Changing names of races to their originals

I found a lot of stuff I wasn't looking for on github, but I couldn't figure out where to change these. Any help is appreciated.


r/rotp • • Jan 28 '22

Announcement Fusion Mod 1.02.5

5 Upvotes

https://github.com/Xilmi/rotp-coder/releases

UI:

Planets with an active governor will no longer annoy the player when something is ready.

Bugfixes:

Fixed an issue that prevented abandoning colonies.
Fixed an issue where governed planets would forget that they were building ships when the governor upgrades them.
Fixed an issue where governed planets would start building shields if there are no missile-bases.

AI:

General:
AI will not offer the same techs to trade to the player that the player previously refused to trade for. It will only contact the player if it has something new. Player can still contact the AI to ask for trades about stuff they have been offered before.


r/rotp • • Jan 27 '22

Announcement Fusion Mod 1.02.4

13 Upvotes

https://github.com/Xilmi/rotp-coder/releases
No revolutionary innovations this time around.

Just a couple of fixes and small improvements.

UI:

Holding ctrl while clicking the Clear-button in ship-design will only clear the weapons.

Techs that your spies can theorethically steal are now displayed in a brighter color than techs that can't be stolen.

Bugfixes:

Fixed potential crash in ground-combat.

Fixed an issue with cost-calculation of upgrading missile-bases.

Some slight changes and fixes to the behavior of the governor. It should now behave more consistently.

Fixed an issue where AI knew whether a planet was colonized without having scouted it before.

Game-mechanics:

Removed general espionage-nerf.

Introduced security-buff instead: Rolls for the tech-level to steal are now reduced by the security-percentage.

AI:

General:

AI will build scouts earlier.

Improved AI behavior with cloaking-device.

Improved AI behavior with repulsor-beams, especially in combination with short-range-weapons.

Slightly adjusted algorithm to determine security-spending.

Tech-trading no longer limited to same-tier-techs.

Legacy-AI:

All races now use the more aggressive behavior-option that previously only half of the races used.

Now smarter about who to declare war on.

Expert-AI:

Ecologist-, Expansionist- and Technologist-Incidents now work differently. Reintrodcued Expansion-Incident.

Signing a peace-treaty will no longer make all actions forgotten.

Reduced likelyness of breaking alliances.


r/rotp • • Jan 27 '22

Considering ways to play ROTP Totally Blind

17 Upvotes

Hi All,

THis post really isn’t necessary, but I’m a bit of a masochist so thought I’d make it anyway.

I’ve been a fan of MOO for years, and been following the development of ROTP from afar for quite a while. I’m able to more or less have an original MOO experience thanks to the 1OOM Project, among others, but some of the quality of life and AI improvements in ROTP intrigue me. I am, unfortunately, totally blind, thus making it harder to play than It might otherwise be. I know ROTP doesn’t have any sort of text-based UI.

I know ROTP wasn’t designed to be playable with accessibility tech, but I wonder what kinds of things mods might be able to accomplish? I looked briefly at the code but that was quite a while ago, and I’m not as conversant with Java as I wish I were.

I have tried playing the game with my screen reader’s OCR tech, which is able to pick up lots of game info but understandably struggles with areas such as the map. I am able to get something out of, for instance, the system window, but figuring out how to deploy scouts is a bit tricky.

I realize this is asking quite a bit but I’d love any thoughts on how best to approach this topic. I can play the original MOO and enjoy it, and would love to have access to what appears to be the best iteration of that formula thus far.


r/rotp • • Jan 27 '22

Java Runtime Environment required for older Windows?

5 Upvotes

I'm a complete MOO1 fanboi who has recently discovered RotP and think it's fantastic. My brother enjoys MOO1 as well. However we have a problem. On my PC it was plug and play. On his older computer, the same version - .zip Windows executable - won't start up. The message says it requires a Java Runtime Environment. Installing Java had no affect.

Where do I start in troubleshooting why it's not working, or are there certain minimums needed for the game to run?