![]() |
you can ctrl+click to disable the last config enabled on a forum
|
Made a few changes to make it easier to remove unwanted pbpg plugins.
- Checkboxes instead of multi select field in forum manager - Clear threads option to reset threads to normal threads - Changed error when deleting a configuration to assist with where it needs to be removed from. (forums or threads) |
I would like to see an addon that adds an RPG to the system. Like a Dungeons and Dragons game or something of that nature. How easy is it to create a game for this?
|
1 Attachment(s)
Writing a dungeons and dragons mod would take a long time. D&D is also very copywrited so i'd not be able to release a direct copy.
My 3.8 forum uses a rpg mod based on the 3.0 rpg integration hack; I'm considering creating something based around that as an addon but thats not likely to happen for some time. I've uploaded a skeleton plugin file. Things you need to do: 1. rename the directory they are in to your plugin name eg rpgsystem 2. open the two files and change the classnames to match the directory name eg rpgsystemPlugin and rpgsystemAdmin 3. insert a db row into pbpg_plugins containing rpgsystem as the dir and a friendly name for title eg RPG System. 4. Create a new product to go with the plugin for the purpose of holding templates phrases etc The admin file is fairly simple to understand, I suggest you just take a look at one of my mods for how to make that work. The plugin file contains three functions: A constructor which is passed in the config settings saved by the admin. The default constructor will work but you may want to set defaults for values that haven't been set and setup the state of the game (eg the chess mod initiallises the board with the pieces in their starting places) A public function parsePost it takes one argument the post array as fetched by vbulletin from the db, its called once for each post in the thread. It should essentially behaive as a state machine, changing the object state based on the contents of the post; you can again look at my mods on for examples of how I do this. An output function, this function is called at the end of processing and its return value is used to replace the postbits part of a thread display. (this means you don't need to worry about navbar, footer etc) I used a template based on the postbit template for my UI's but this is totally upto you. If instead you want to stick a flash video in there showing the two combattants mauling each other, thats upto you. I am tidying up the interfaces so the above information may change in a next release; the only change i'm considering at the moment is adding an ajaxOutput function or a parameter to the output function for returning content for ajax display but there may be other things based on bugs that need changing. |
Quote:
|
post count is a simple one; playing a game of chess or similar requires in the order of 35 posts per player they may be made fairly rapidly over say half an hour, for any board that holds any value to the post count (eg usergroup promotions) will have things skewed by members playing lots of games.
bbcode, smilies and images aren't parsed by the comments display and may confuse the parsers in some of the games. The comments aren't supposed to be huge essays, a sentance or two perhaps but no more, bbcode and smilies aren't really required for them. |
do you have a live demo instead of just screenshots?
|
you can take a look at vb4.giveupalready.com if you want a live demo this thread is a chess game http://vb4.giveupalready.com/forums/...?p=230#post230 bear in mind thou, this is my development area and there may be bugs and features in there that aren't in released versions as they are still under development.
|
can you show an example of this? https://vborg.vbsupport.ru/showthread.php?t=234160
edit: nvm, i see it |
well ive allready made a RPG core for vbulletin 4.0
dice roll, character creation, combat system with xp, level system and a PVE combat simulator, next step is user vs user.. But this core would also be something interesting to incoorperate.. license info ? |
All times are GMT. The time now is 08:23 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|