Code Monkey home page Code Monkey logo

Comments (8)

Grover-c13 avatar Grover-c13 commented on August 28, 2024 1

Ive added OnCheckRoundEnd event, it has a new status enum which will give you what youre looking for.

from smod2.

ButterscotchV avatar ButterscotchV commented on August 28, 2024

That's what Smod2 API is for, there's actually even a plugin for doing exactly this

from smod2.

PatPeter avatar PatPeter commented on August 28, 2024

@Dankrushen Is there a repository or listing of plugins anywhere? I'd like to add my completed plugins there as well.

I see IEventDetonate in the Smod2 API, but I don't see any way to forcefully end the round (fire an event).

There's also IEventRoundEnd, but how can that prevent Chaos Insurgency and SCPs from having a shared victory condition?

from smod2.

Grover-c13 avatar Grover-c13 commented on August 28, 2024

We actually just have discord channels for plugins:
image

Its not great, hoping someone else would be brave enough to make a proper repo for plugins (and maybe a plugin management plugin)

from smod2.

Grover-c13 avatar Grover-c13 commented on August 28, 2024

We will enable events for someone to make this into a plugin

from smod2.

PatPeter avatar PatPeter commented on August 28, 2024

@Grover-c13 If you add an OnWinConditionMet that has an enum of the possible win conditions, with one enum being NO_WIN, with an out parameter specifying the new win condition, that should work.

The latter case seems to require firing events capability.

Anyway, I'll create the plugin for this if the events are in place.

from smod2.

laserman367 avatar laserman367 commented on August 28, 2024

The first is possible with my end-conditions plugin, I'll add the second one right now as an option to it right now.

from smod2.

PatPeter avatar PatPeter commented on August 28, 2024

Thanks laserman!

from smod2.

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.