Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

[Request] Player Triggers, JRPG Combat System (DM-less Playtime) & API-Sided XP/Inventory

1436550071

Edited 1436551169
Hiya everyone, Toothless here! Finally experimenting with the API script as a co-DM after about a year working with macros, super super excited. ^^ I'm pretty adept at coding, and the API isn't something I'm too unfamiliar with, but I just need a push in the right direction however on the scripts I want to use below. First, I want to run a persistent-world 5E MMOTTRPG very similar to how LARPs run their events. Essentially, players are given access to a town and various other maps/locations for them to explore. At town, they can eat, roleplay, make friends, etc, and when exploring, they can find sheets of papers called "modules" which they can later bring to the GM to play when he/she is open. The idea is to make GM-less events so players can play, still get content while the GMs are busy/away, and in the future, even, gain XP and GP while the GMs are running other parties. Alongside that are many other API scripts to make this game as coherise and as fun as possible. ^^ I don't expect anyone to go through all the trouble to do any of this, but I thought I'd like to share some ideas and maybe get a couple tips on how to accomplish this. I have no clue what I'm doing in the API. xD NOTE: If these are already made or included somewhere, please point me in that direction! I'd love that! ^^ Thanks! Town API Scripts - EnterBuilding: Walking into buildings to auto-transition to pages - AdvChat: Seperate chat channels per page (ex. [Town]), easy macros to whisper to individuals and small groups/party chats - Shop: Players on certain pages can access shops and buy items Auto-DMing - ModuleTracker: Players who step on certain locations recieve Modules, which they can later bring to the GM to play later - JRPGCombat: [AMBITIOUS, FUTURE PLANNED] - Stepping on certain location pulls all players on page into combat - All players and monsters roll for Initiative - Monsters will attack any random player (1d20+ATK bonus vs. AC) | (-Damage) - Players get 5 actions: Attack, Cast a Spell Disengage, Dodge, Use an Item - Attack: Picks from list of weapons from Inventory - 1d20 + ATK bonus vs. AC | -(Damage) - Cast a Spell: Picks from popular spells (Cantrips, Healing Word, etc.) - Disengage: Player escapes from combat - Dodge: Disadv. on enemy attack rolls, adv. on DEX saves - Use an Item: Healing potions, antidotes Status - PlayerStatus: Gives Name, Level, XP, and GP. GMs can easily modifiy/tweak values. Used to prevent cheating, as well as stores in the future
1436564279
The Aaron
Pro
API Scripter
I'll have more thoughts for you later, but the first thing I'll point out is you will have a problem with doing this currently as there is a bug with the API server which means it won't stay running between games (generally).
1436570769
The Aaron
Pro
API Scripter
Benson Y. said: Town API Scripts - EnterBuilding: Walking into buildings to auto-transition to pages You can sort of do this, but you will run into a few problems currently. The API cannot use an image source that is not in a player's Library, so creation of Market Place images will not work. That prevents you from creating the token reliably on another page. If you're willing as the GM to create the tokens ahead of time, the script could find the right one on the page and then move it to the desired location. There is a teleport script hanging about on the forum that moves the player's token within the current page. You could look at it for inspiration. It would pre fairly easy to modify it so it gave the appearance of moving a token between pages, while it actually moved players and activated pre-existing tokens on those pages for their use. - AdvChat: Seperate chat channels per page (ex. [Town]), easy macros to whisper to individuals and small groups/party chats You could create characters for each page, then assign players that are on that page to the character, and then have players whisper to the page they are on. A more advanced option would be to implement an API script that has a command for speaking (!s for example), which would automatically whisper to all the other players that are on the current page. - Shop: Players on certain pages can access shops and buy items There is a very old script by Stephen S (which I keep harassing him about updating... =D ) called something like Joe's Trading Post or Trader Joe's, or some such. You might look at it for inspiration. The technique it uses for an interface is not practical (or allowed anymore, really), but the advent of API buttons (you're welcome! =D) means there are better alternatives anyway. Auto-DMing - ModuleTracker: Players who step on certain locations recieve Modules, which they can later bring to the GM to play later Totally doable. There are several trap scripts that trigger on players entering a particular space (like the teleport does, for that matter). I'd recommend looking at those for inspiration. - JRPGCombat: [AMBITIOUS, FUTURE PLANNED] - Stepping on certain location pulls all players on page into combat - All players and monsters roll for Initiative - Monsters will attack any random player (1d20+ATK bonus vs. AC) | (-Damage) - Players get 5 actions: Attack, Cast a Spell Disengage, Dodge, Use an Item - Attack: Picks from list of weapons from Inventory - 1d20 + ATK bonus vs. AC | -(Damage) - Cast a Spell: Picks from popular spells (Cantrips, Healing Word, etc.) - Disengage: Player escapes from combat - Dodge: Disadv. on enemy attack rolls, adv. on DEX saves - Use an Item: Healing potions, antidotes Sounds glorious! =D Status - PlayerStatus: Gives Name, Level, XP, and GP. GMs can easily modifiy/tweak values. Used to prevent cheating, as well as stores in the future Not sure how much different this is from just looking at the character sheets. You could certainly get the values using a macro, but building a larger reporting system would not be difficult, but there would be some definite grunt work involved. Looking forward to seeing what you come up with! Ask us anything! =D
1436575629

Edited 1436575647
Gen Kitty
Forum Champion
Status - PlayerStatus: Gives Name, Level, XP, and GP. GMs can easily modifiy/tweak values. Used to prevent cheating, as well as stores in the future Not sure how much different this is from just looking at the character sheets. You could certainly get the values using a macro, but building a larger reporting system would not be difficult, but there would be some definite grunt work involved. I think this is a desire to have 'character sheets' that players can view and roll from, but not edit. Which is something I can certainly understand!
- EnterBuilding: Walking into buildings to auto-transition to pages Would this be possible, if every area (page) in the module had all the player tokens already on the page but set on the GM layer, when the player or players would be moved to the new page their token would simply be moved from the GM layer to the Token layer? -Ajax
1436583794
The Aaron
Pro
API Scripter
If you're willing as the GM to create the tokens ahead of time, the script could find the right one on the page and then move it to the desired location. Yup
That's awesome, thanks everyone! I'll see if I can't start sketching out some of these ideas and start working them out soon. ^^
I think transitioning pages could be a coding nightmare as I am not sure if there is a create token on trigger script atm. Why don't you just make a massive map with the inside of each building somewhere on that map. Using token collision, it's a trap and teleport trigger which pop's up a pre-set dialogue menu with a NPC. Sounds much easier?