Giter Site home page Giter Site logo

Error after removing new enemies about rampant HOT 6 CLOSED

veden avatar veden commented on May 28, 2024
Error after removing new enemies

from rampant.

Comments (6)

veden avatar veden commented on May 28, 2024

More regions to comment to remove the faction.

https://github.com/veden/Rampant/blob/master/libs/BaseUtils.lua#L544
https://github.com/veden/Rampant/blob/master/libs/Constants.lua#L179
https://github.com/veden/Rampant/blob/master/libs/Constants.lua#L197

You also may want to flush all the caches by triggering a version change.

through the upgrade script

change the constants.VERSION_58 to the number 59
https://github.com/veden/Rampant/blob/master/Upgrade.lua#L220
https://github.com/veden/Rampant/blob/master/Upgrade.lua#L223

keep in mind that any new builds I create will be borked on your system if you use the cache flushing mechanism

otherwise you may should be able to cause a cache flush through modifying the rampant mod settings triggering a configuration change event.

from rampant.

Martok88 avatar Martok88 commented on May 28, 2024

Thanks a lot, changing the version number seemed to fix it. What would it take to make future new versions compatible with my save? Just bumping the new version number up by 1?

Also, I'm not sure how simple it would be to implement, but do you think you could add an option to scale the new enemies separately from the vanilla ones? They are considerably stronger, and I'd prefer to nerf them a bit without affecting the standard enemies.

from rampant.

veden avatar veden commented on May 28, 2024

Potentially bumping it should be fine.

Are you asking for scaling options on the non neutral biters aside form the unit level in the mod settings?

from rampant.

Martok88 avatar Martok88 commented on May 28, 2024

That's exactly what I needed, I just didn't realize that it only affected the non-neutral enemies. How will lowering the end tier affect an existing save?

from rampant.

veden avatar veden commented on May 28, 2024

Unit level affects all new enemy types including neutral, I was asking if that is what you wanted.

The unit level just scales the biter stats, if you raise or lower it in a save, it will modify the enemies in-place as long as you don't change the number of tiers or variations

from rampant.

Martok88 avatar Martok88 commented on May 28, 2024

Ok, I think I understand. I feel like the neutral ones aren't really a threat compared to everything else, but I should be able to make them stronger fairly easily. Thanks again for your help.

from rampant.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.