The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
A custom spellbook dialog
Author Message
falsemirage
Apprentice
*

Posts: 13
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: May 2013
Reputation: 0



Post: #1
A custom spellbook dialog
Hello all,
I want to make a custom spellbook and was wondering is it possible to make a spellbook that works like normal one ? What I mean is dragging runes out of the book and putting on screen so player can just click and cast the spell ?

If not then can open 2 dialogs at once like, a dialog for spellbook and another one just for rune so they can drag the rune dialog and close the book dialog. But I have a feeling this could be a bit laggy.
05-10-2013 04:14 AM
Find all posts by this user Like Post Quote this message in a reply
Gil Amarth
Journeyman
*

Posts: 189
Likes Given: 2
Likes Received: 1 in 1 posts
Joined: May 2012
Reputation: 0



Post: #2
RE: A custom spellbook dialog
The first one is not possible, because drag a spell icon is client side, and client only knows standard spells, not custom ones.

The sencod is possible, but not very useful, because if you create only a dialog with a button, this button is not movable, and if you put a background and a button, you can only move it through the background...
05-10-2013 06:35 AM
Find all posts by this user Like Post Quote this message in a reply
Non-GMO
Apprentice
*

Posts: 3
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Aug 2017
Reputation: 0



Post: #3
RE: A custom spellbook dialog
Hello there,

I was looking at something similar, custom spellbooks. Probably you can tell me whether and I hope how my project is feasible.

I understand that there are several spellcasters: paladin, mage, necromancer, ninja, spellweaver, gargoyle, each with a specific skill and a different set of spells. Did I forget any?

I am a fan of character class systems, but I have always found some spellcaster classes to be unbalanced. I would like to define my own classes and re-dispatch the spells according to what I believe is more coherent + I would like to promote teamplay and interaction with characters that must complement each other.

For example, I would first like to make a difference between profane and divine magery. Divine magery would be used by a priest and would include paladin + the healing, curing and blessing spells from the mage that would be removed from the mage's spells.
With the profane spells, I would create a system using specialization schools similar to the system in Baldur's Gate, i.e. a specialist can use spells from all the schools except the school opposite its specialization.
http://baldursgate.wikia.com/wiki/Specialist_Mage

Including the bushido book, I count 6 books available (bushido, ninjistu, chivalry, magery, necromancy, spellweaving), thus 6 possible specialization schools.
And as the result of the solely exclusion of the opposite school, each profane spell would be used by the 5 remaining schools.

There is still the case of the bard. I have not decided yet what to do with this one.
08-17-2017 12:39 PM
Find all posts by this user Like Post Quote this message in a reply
darksun84
Sir Spamalot
****

Posts: 1,687
Likes Given: 245
Likes Received: 162 in 151 posts
Joined: Mar 2012
Reputation: 35



Post: #4
RE: A custom spellbook dialog
Yes it's feasible, you just can't make drag&drop icons and so on.
08-17-2017 06:36 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 2 Guest(s)