SRB2 Message Board

SRB2 Message Board (https://mb.srb2.org/index.php)
-   Mods (https://mb.srb2.org/forumdisplay.php?f=69)
-   -   SRB2PlusC (https://mb.srb2.org/showthread.php?t=42481)

chi.miru 03-19-2017 01:36 AM

SRB2PlusC
 
4 Attachment(s)
This mod is no longer being maintained and is not compatible with versions past 2.1.19.

SRB2Plusc () is a mod that attempts to introduce some small new features for modders to take advantage of
It includes many features and more that I worked on in my spare time

Features & Documentation:

Full Documentation: https://docs.google.com/document/d/1...it?usp=sharing

Full Changelog: https://docs.google.com/document/d/1...it?usp=sharing

SOC/MAINCFG:
  • *titlemap (Maincfg): sets a game map as a title map (ZDooM) (DO NOT TRY TO NAME YOUR MAP TITLEMAP IN ZONE BUILDER)
(*requires Alternate View Point for camera setting)

  • hidetitlepics (Maincfg): hides the title graphics
Usage:
Code:

Maincfg


 # Set titlemap to be Egg Rock Zone 3
titlemap = 25


#Hide Title Screen
hidetitlepics = 1

  • bootmap (Maincfg): loads specified map number on game load, every time
Usage:
Code:

Maincfg
# Automatic Start on Greenflower Zone 1

bootmap = 01

  • levelwipe (Maincfg): loads a premade fade sequence in a wad before a level
  • postlevelwipe (Maincfg): loads a premade fade sequence in a wad after a level
  • wipecolor (Maincfg): wipes the screen to the specified palette index

Usage:
Code:

Level 1
...
levelwipe = 56
postlevelwipe = 57
wipecolor = 247
# wipe down on cyan

Lua:
  • boolean titlemap -- returns the titlemap number
  • boolean titlemapinaction -- returns titlemap active status
  • G_SetDisplayPlayer(player_t *player, int displayNumber, bool setAllDisplays) -- Send a F12 Key event
  • angle_t player.viewrollangle [experimental (use at own risk)|software] -- rolls the view by angle
http://i.imgur.com/ojkguCQ.gif

  • S_SetMusicPosition(int position) [experimental] -- Set music position
  • S_GetMusicPosition() [experimental] -- returns current music position
Usage:
Code:

...
-- Sets (Greenflower Zone 1) 2 seconds in
S_SetMusicPosition(2000)
...

Over time, there may be more features that adds more functionality for cool uses in modding (such as the experimental speedmusic implimentation)


Download Mirror: https://drive.google.com/file/d/0Bwr...ew?usp=sharing

Source:
Last: https://github.com/yellowtd/SRB2-PLU...s_v2.1.18_main
Current: https://github.com/yellowtd/SRB2-PLU...s_v2.1.19_main
http://git.magicalgirl.moe/STJr/SRB2/commits/io (should be netplay compatible until you start writing/reading files in a netgame)



Inazuma 03-19-2017 06:24 AM

An excellent addition to the modding community!

Seriously!! Level fades?! Camera rolling?! A recipe for creative genius!

(that means welcome to releases)

RomioTheBadass 03-19-2017 09:57 AM

angle_t player.viewrollangle and levelwipes are pretty cool additions and might come in handy, although I was hoping bootmap would allow for things similar to ZDoom's TITLEMAP for 3D Menus, everything else seems fun to experiment with, Nice work.

XleederTH 03-19-2017 06:59 PM

That'll make me play SRB2 again!
I love it!

GreenKnight9000 03-20-2017 07:29 PM

Holy shit!
perhaps you can add a mechanic similar to sonic 1/4's special stages?

FuriousDragonZ 03-20-2017 07:51 PM

The Camera rolling reminds me of WarioWare: Twisted!'s microgames. Mostly the Stumblebot one.

chi.miru 04-21-2017 02:00 AM

Version 1.1.0 Released
----------------------------------
Added: titlemap support (eg. ZDooM)


RomioTheBadass 04-21-2017 12:04 PM

Here we go, time to play around with this :) Great work.

chi.miru 04-23-2017 01:18 AM

Version 1.1.1 Released
----------------------------------
Bugfix: -skipintro no longer hangs then crashes the game


stephan1234 04-23-2017 04:07 PM

How do I get the iris in, iris out effect?

chi.miru 04-23-2017 09:11 PM

Quote:

Originally Posted by stephan1234 (Post 791975)
How do I get the iris in, iris out effect?

If you're talking about the first gif, then you need to ask boinciel for it or create it yourself

Death Egg 04-23-2017 10:02 PM

Likely will be using this for my project, this has a ton of great features! If you have the time maybe you could add some of these suggestions at some point?

TailsFan99 04-24-2017 01:02 AM

How can I use the different transitions?

chi.miru 04-24-2017 01:39 AM

Quote:

Originally Posted by Death Egg (Post 792000)
Likely will be using this for my project, this has a ton of great features! If you have the time maybe you could add some of these suggestions at some point?

They sound like nice additions, but even I have limits

Quote:

Originally Posted by TailsFan99 (Post 792010)
How can I use the different transitions?

Read the OP

TailsFan99 04-24-2017 02:33 AM

Quote:

Originally Posted by TailsFan99 (Post 792010)
How can I use the different transitions?

Quote:

Originally Posted by chi.miru (Post 792015)
Read the OP

I'm sorry, what kinds of different transitions can I use?

elvinkonohana 04-24-2017 02:46 AM

Hey about the TITLEMAP...

Is it required a special thing or use a script to set coordinates and make some effects ?

Rapidgame7 04-24-2017 03:05 AM

Quote:

Originally Posted by TailsFan99 (Post 792018)
I'm sorry, what kinds of different transitions can I use?

If you're talking about the fade-in and fade-out animations, those are things you get to design.

chi.miru 04-24-2017 03:17 AM

Quote:

Originally Posted by elvinkonohana (Post 792019)
Hey about the TITLEMAP...

Is it required a special thing or use a script to set coordinates and make some effects ?

You need to use Lua to create scripts for it

TailsFan99 04-24-2017 04:35 AM

Quote:

Originally Posted by Rapidgame7 (Post 792021)
If you're talking about the fade-in and fade-out animations, those are things you get to design.

How do I do that?

K.S. 04-24-2017 06:28 AM

This page on the wiki will tell you.

Conversation about designing screen fades isn't relevant to this mod, however, as it's a vanilla feature.


All times are GMT. The time now is 12:22 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2018, vBulletin Solutions, Inc.