Register FAQ Search Today's Posts Mark Forums Read
Go Back   JazzJackrabbit Community Forums » Maintenance & Feedback » JJ2+ Issue Tracker

Feature Request Allow mutators to hook into the CUSTOM_HOME gamemode

cooba cooba's Avatar

JCF Veteran

Joined: Jan 2004

Posts: 7,766

cooba is a glorious beacon of lightcooba is a glorious beacon of lightcooba is a glorious beacon of lightcooba is a glorious beacon of lightcooba is a glorious beacon of lightcooba is a glorious beacon of light

Dec 6, 2017, 12:21 PM
cooba is offline
Reply With Quote
Allow mutators to hook into the CUSTOM_HOME gamemode

[21:37:10] PJ CC: a future jj2+ edition should have support for a
[21:37:27] PJ CC: generic custom mode
[21:37:37] PJ CC: designed to be used with mutator custom modes
[21:37:46] cooba[si]: this already exists in a way
[21:37:58] cooba[si]: but should be expanded into what you're saying more or less
Violet CLM Violet CLM's Avatar

JCF Éminence Grise

Joined: Mar 2001

Posts: 10,551

Violet CLM has disabled reputation

Dec 6, 2017, 12:24 PM
Violet CLM is offline
Reply With Quote
My vision of how this would work looks something like this:

In some script module:
Code:
class DoubleDom : jjCUSTOMGAMEMODE {
  //various methods go here
}
And then command:
Code:
/gamemode DoubleDom
which instantiates a member of that class and runs its constructor default or otherwise.

Ideally there would be enough methods and things for any of the native gamemodes to be fully replicable in the script, but I definitely haven't taken the time to think through what all that would require.
__________________
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -8. The time now is 10:15 AM.