Skocz do zawartości

[RSS] [L4D2, Any Source] RPGMaker 2 (beta v1.0.1 feb42023)


GameNation

Rekomendowane odpowiedzi

68747470733a2f2f692e696d6775722e636f6d2f68747470733a2f2f692e696d6775722e636f6d2f

Credits
AtomikStryker
panxiaoxiao
mr.zero
Asherkin
Silvers
Soul

If I haven't credited you, let me know so I can add your name to the list (and the change.log)


Note:

RPGMaker2 still requires my ReadyUp plugin due to its extensive api that I have been using with RPGMaker2. Removing it would require incorporating its functionality directly into RPGMaker2, and that would be incredibly time-consuming, and is not necessary since ReadyUp already exists and does its job well.
However, if you don't want or need the front-end functionality of ReadyUp, ReadyUp has an option to run in IPC-only mode.

RPGMaker2 is coded using old syntax, and was tested using Sourcemod v1.10.6502.
It currently does not work (or compile) on the latest version of Sourcemod due to several reasons:
1. Several methods I use in 1.10 are deprecated in newer versions.
2. Several dependencies are not compatible with their newer counterparts (such as L4Downtown and L4D_Direct)

I am in the process of porting RPGMaker2 to new syntax, but it will take some time to make the changes to support the newer versions of dependencies and to replace deprecated methods. This is a huge undertaking, as this plugin is several years in the making. If you're interested in helping, I could use additional contributors on the project; see the bottom of this post for my github.

Thank-you for your understanding.



Description

RPGMaker 2 is the sequel to my RPGMaker plugin.

As with the previous version, it is configured out of the gate for Left 4 Dead 2, but will work with all Source games.

RPGMaker2 is essentially a GIGANTIC parser; RPGMaker 2 is extremely customizable... maybe too-customizable. It can take quite a while to setup, especially if you want to build your own RPG with your own talents, menus, etc., but you can do it.

To add support for games other than Left 4 Dead 2, you'll need to edit the /configs/readyup/rpg/events.cfg and add any appropriate/necessary events.
Unique to this version of RPGMaker is that you can create custom ability triggers for each event.

This plugin is configured by modifying 9 different config files, found in /configs/readyup/rpg/:
Unused, but still required: chatsettings.cfg, pets.cfg and maprecords.cfg
I will be removing the dependencies for these in the future.

commonaffixes.cfg : This is where you design the super commons, which are commons with special abilities.
config.cfg : this is the main config file, similar to the cvar files that plugins typically create in the /cfg/sourcemod/ folder.
events.cfg : this is where you add events and any custom ability triggers for those events. Left 4 Dead 2 events are already coded.
mainmenu.cfg : this is where you create your main menu, when people type your !rpg command into chat.
points.cfg : this config file is for the !usepoints/!buy module. This module can be completely disabled, or the plugin can run in !usepoints only mode, if RPGs aren't your thing but you still want all the customization.
store.cfg : this config file is for store menu options, and is another module that can be disabled.
talentmenu.cfg : the largest of all the files, and I mean in the thousands to tens of thousands of lines, depending on the # of nodes you create. Up to you, and the limitations of SM/Engine, really.
trails.cfg : this is where you set the trail colors for the different survivors; there will be custom trail colors in the future.
weapondamages.cfg : this config file manages the damage overrides for any weapon listed in the config. You can also set the maximum range of weapons, where being outside this range (units) results in the weapons damage falling off. You can also set an absolute range, where if the victim is outside the range, weapon damage is reduced to 1. Effectively, weapon distance drop-off.

Attributes (CARTEL) are no longer hard-coded. Instead, they are defined in the talentmenu.cfg ; open the file and search for "constitution i" to see how to construct your own attributes. You also decide which nodes(talents, abilities, spells, etc.) are affected by which attributes.





Required Plugins
ReadyUp v7.5 is required for RPGMaker2 v0.0.5.5+
I've added it to the attachments on this post; the github link is here:
https://github.com/exskye/left-4-dea...y)/ReadyUp-7.5
New IPC calls(forwards/natives) added:
https://github.com/exskye/left-4-dea...4642146ab70792

The required extensions/plugins has not changed from RPGMaker1 to RPGMaker2. However, when I do get this ported to new syntax, this list should change, as several of these, tmk (can someone verify?) are incorporated into newer SM versions.

Code:

#include <sdktools>
#include <sdkhooks>
#include <smlib>                            // required for chat colors.
#include <l4d2_direct>                  // ancient

#include "wrap.inc"                        // my own wrappers.
#include "left4downtown.inc"          // ancient.
#include "l4d_stocks.inc"                // ancient.

#undef REQUIRE_PLUGIN
#include <readyup>                      // still required.
#define REQUIRE_PLUGIN






Installation

MySQL is required for the saving/loading of player data.
I'm often-asked if RPGMaker2 supports localhost servers. Yes, as long as you're connected to a database.

You must add an entry for /configs/databases.cfg equal to your config.cfg value for "database prefix?"
The default value is "rum_rpg"
the mod will not work if it is not connected to a database. You will see errors in your logs.
the mod will not work on newer versions of Sourcemod until it is ported to new syntax. I'm not sure which version it stops being compatible.





You can download the source/binaries from my github repo

So that I only have to update one location with the files, I'm linking directly to my repo @ https://github.com/exskye
You can find the source files and always up to date binaries on there!

Przeczytaj cały wpis na stronie AlliedModders

Odnośnik do komentarza
Udostępnij na innych stronach

Dołącz do dyskusji

Możesz dodać zawartość już teraz a zarejestrować się później. Jeśli posiadasz już konto, zaloguj się aby dodać zawartość za jego pomocą.

Gość
Dodaj odpowiedź do tematu...

×   Wklejono zawartość z formatowaniem.   Usuń formatowanie

  Dozwolonych jest tylko 75 emoji.

×   Odnośnik został automatycznie osadzony.   Przywróć wyświetlanie jako odnośnik

×   Przywrócono poprzednią zawartość.   Wyczyść edytor

×   Nie możesz bezpośrednio wkleić grafiki. Dodaj lub załącz grafiki z adresu URL.

  • Ostatnio przeglądający   0 użytkowników

    • Brak zarejestrowanych użytkowników przeglądających tę stronę.
×
×
  • Dodaj nową pozycję...

Powiadomienie o plikach cookie

Umieściliśmy na Twoim urządzeniu pliki cookie, aby pomóc Ci usprawnić przeglądanie strony. Możesz dostosować ustawienia plików cookie, w przeciwnym wypadku zakładamy, że wyrażasz na to zgodę.