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-nmm7 (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-nmm7 (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-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 786 - File: showthread.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/showthread.php 786 errorHandler->error






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Custom Character Profile[Work in Progress]
Author Message
Saint
Apprentice
*

Posts: 14
Likes Given: 3
Likes Received: 4 in 2 posts
Joined: Apr 2012
Reputation: 1



Post: #1
Custom Character Profile[Work in Progress]
Second ever submission so be gentle, I've always wanted to learn to script and one of the things I have always envisioned is a custom character profile, basically a gump with more information than the tabs on the paperdoll provide.

Just the basic layout, figured I'd put this up here before I added more code.
Code:
[DIALOG d_cp]
100,100
page 0

resizepic 0 0 5100 639 600



dtext 20 5 0 Stats
dtext 110 5 0 Skills
dtext 195 5 0 Quests
dtext 280 5 0 Guild
dtext 370 5 0 Titles
dtext 455 5 0 Journal
dtext 545 5 0 Support
dtext 100 320 5850 Hunger Level:

gumppic -2  60 9002 //DRAGON BOARDER
gumppic 341 340 1418



page 1

button 4  30 5007 5007 1 2 800
button 92  30 5006 5007 1 2 801
button 180 30 5006 5007 1 3 802
button 268 30 5006 5007 1 2 803
button 356 30 5006 5007 1 3 804
button 444 30 5006 5007 1 2 805
button 532 30 5006 5007 1 3 806

///////ADD STUFF TO STATS PAGE

text 100 180 0 7
text 100 200 0 8
text 100 220 0 9
text 100 240 134 10
text 100 260 261 11
text 100 280 5 12
text 100 300 1890 13
//text 100 320 2099 14

//show their stats
text 250 180 0 015
text 250 200 0 016
text 250 220 0 017
text 275 180 0 018
text 275 200 0 019
text 275 220 0 020
text 250 240 0 021
text 250 260 0 022
text 250 280 0 023
text 250 300 0 024


[DIALOG d_cp_skills]
100,100
page 0

resizepic 0 0 5100 639 600

dtext 20 5 0 Stats
dtext 110 5 0 Skills
dtext 195 5 0 Quests
dtext 280 5 0 Guild
dtext 370 5 0 Titles
dtext 455 5 0 Journal
dtext 545 5 0 Support
gumppic -2  60 9002

page 1

button 4  30 5006 5007 1 2 800
button 92  30 5007 5007 1 2 801
button 180 30 5006 5007 1 3 802
button 268 30 5006 5007 1 2 803
button 356 30 5006 5007 1 3 804
button 444 30 5006 5007 1 2 805
button 532 30 5006 5007 1 3 806

//////ADD STUFF TO SKILLS PAGE

[DIALOG d_cp_quests]
100,100
page 0

resizepic 0 0 5100 639 600

dtext 20 5 0 Stats
dtext 110 5 0 Skills
dtext 195 5 0 Quests
dtext 280 5 0 Guild
dtext 370 5 0 Titles
dtext 455 5 0 Journal
dtext 545 5 0 Support
gumppic -2  60 9002

page 1

button 4  30 5006 5007 1 2 800
button 92  30 5006 5007 1 2 801
button 180 30 5007 5007 1 3 802
button 268 30 5006 5007 1 2 803
button 356 30 5006 5007 1 3 804
button 444 30 5006 5007 1 2 805
button 532 30 5006 5007 1 3 806

//////ADD STUFF TO QUESTS

[DIALOG d_cp_guild]
100,100
page 0

resizepic 0 0 5100 639 600

dtext 20 5 0 Stats
dtext 110 5 0 Skills
dtext 195 5 0 Quests
dtext 280 5 0 Guild
dtext 370 5 0 Titles
dtext 455 5 0 Journal
dtext 545 5 0 Support
text 545 5 0 6
gumppic -2  60 9002

page 1

button 4  30 5006 5007 1 2 800
button 92  30 5006 5007 1 2 801
button 180 30 5006 5007 1 3 802
button 268 30 5007 5007 1 2 803
button 356 30 5006 5007 1 3 804
button 444 30 5006 5007 1 2 805
button 532 30 5006 5007 1 3 806


//////ADD STUFF TO GUILD

[DIALOG d_cp_titles
100,100
page 0

resizepic 0 0 5100 639 600

dtext 20 5 0 Stats
dtext 110 5 0 Skills
dtext 195 5 0 Quests
dtext 280 5 0 Guild
dtext 370 5 0 Titles
dtext 455 5 0 Journal
dtext 545 5 0 Support
gumppic -2  60 9002

page 1

button 4  30 5006 5007 1 2 800
button 92  30 5006 5007 1 2 801
button 180 30 5006 5007 1 3 802
button 268 30 5006 5007 1 2 803
button 356 30 5007 5007 1 3 804
button 444 30 5006 5007 1 2 805
button 532 30 5006 5007 1 3 806


//////ADD STUFF TO TITLES

[DIALOG d_cp_journal]
100,100
page 0

resizepic 0 0 5100 639 600
dtext 20 5 0 Stats
dtext 110 5 0 Skills
dtext 195 5 0 Quests
dtext 280 5 0 Guild
dtext 370 5 0 Titles
dtext 455 5 0 Journal
dtext 545 5 0 Support
gumppic -2  60 9002

page 1

button 4  30 5006 5007 1 2 800
button 92  30 5006 5007 1 2 801
button 180 30 5006 5007 1 3 802
button 268 30 5006 5007 1 2 803
button 356 30 5006 5007 1 3 804
button 444 30 5007 5007 1 2 805
button 532 30 5006 5007 1 3 806

//////ADD STUFF TO JOURNAL

[DIALOG d_cp_support]
100,100
page 0

resizepic 0 0 5100 639 600

dtext 20 5 0 Stats
dtext 110 5 0 Skills
dtext 195 5 0 Quests
dtext 280 5 0 Guild
dtext 370 5 0 Titles
dtext 455 5 0 Journal
dtext 545 5 0 Support
gumppic -2  60 9002

page 1

button 4  30 5006 5007 1 2 800
button 92  30 5006 5007 1 2 801
button 180 30 5006 5007 1 3 802
button 268 30 5006 5007 1 2 803
button 356 30 5006 5007 1 3 804
button 444 30 5006 5007 1 2 805
button 532 30 5007 5007 1 3 806

//////ADD STUFF TO SUPPORT

////////////////////////////////////////////////////DO NOT CHANGE BELOW THIS LINE

[DIALOG d_cp TEXT]
Stats
Skills
Quests
Guild
Titles
Journal
Support
HP/Max HP:
Stamina/Max Stamina:
Mana/Max Mana:
Bonus Strength:
Bonus Dexterity:
Bonus Intelligence:
Armor:
Attack Damage:
<HITS>
<STAMINA>
<MANA>
<MAXHITS>
<MAXSTAM>
<MAXMANA>
<MODSTR>
<MODINT>
<MODDEX>
<AR>

[DIALOG d_cp BUTTON]
ON=800
    DIALOG d_cp
ON=801
    DIALOG d_cp_skills
ON=802
    DIALOG d_cp_quests
ON=803
    DIALOG d_cp_guild
ON=804
    DIALOG d_cp_titles
ON=805
    DIALOG d_cp_journal
ON=806
    DIALOG d_cp_support

[DIALOG d_cp_skills TEXT]


[DIALOG d_cp_skills BUTTON]
ON=800
    DIALOG d_cp
ON=801
    DIALOG d_cp_skills
ON=802
    DIALOG d_cp_quests
ON=803
    DIALOG d_cp_guild
ON=804
    DIALOG d_cp_titles
ON=805
    DIALOG d_cp_journal
ON=806
    DIALOG d_cp_support

[DIALOG d_cp_quests TEXT]


[DIALOG d_cp_quests BUTTON]
ON=800
    DIALOG d_cp
ON=801
    DIALOG d_cp_skills
ON=802
    DIALOG d_cp_quests
ON=803
    DIALOG d_cp_guild
ON=804
    DIALOG d_cp_titles
ON=805
    DIALOG d_cp_journal
ON=806
    DIALOG d_cp_support

[DIALOG d_cp_guild TEXT]


[DIALOG d_cp_guild BUTTON]
ON=800
    DIALOG d_cp
ON=801
    DIALOG d_cp_skills
ON=802
    DIALOG d_cp_quests
ON=803
    DIALOG d_cp_guild
ON=804
    DIALOG d_cp_titles
ON=805
    DIALOG d_cp_journal
ON=806
    DIALOG d_cp_support

[DIALOG d_cp_titles TEXT]


[DIALOG d_cp_titles BUTTON]
ON=800
    DIALOG d_cp
ON=801
    DIALOG d_cp_skills
ON=802
    DIALOG d_cp_quests
ON=803
    DIALOG d_cp_guild
ON=804
    DIALOG d_cp_titles
ON=805
    DIALOG d_cp_journal
ON=806
    DIALOG d_cp_support

[DIALOG d_cp_journal TEXT]


[DIALOG d_cp_journal BUTTON]
ON=800
    DIALOG d_cp
ON=801
    DIALOG d_cp_skills
ON=802
    DIALOG d_cp_quests
ON=803
    DIALOG d_cp_guild
ON=804
    DIALOG d_cp_titles
ON=805
    DIALOG d_cp_journal
ON=806
    DIALOG d_cp_support

[DIALOG d_cp_support TEXT]


[DIALOG d_cp_support BUTTON]
ON=800
    DIALOG d_cp
ON=801
    DIALOG d_cp_skills
ON=802
    DIALOG d_cp_quests
ON=803
    DIALOG d_cp_guild
ON=804
    DIALOG d_cp_titles
ON=805
    DIALOG d_cp_journal
ON=806
    DIALOG d_cp_support

//CREDIT: SAINT


*UPDATE*
Took some of your suggestions and added some more flair to the stats page.

*Up Next*
Looking to add a hunger gauge only problem is I can't seem to find the function to call or how to do it exactly :/ any ideas?
Was hoping to have it display in different colors depending on how serious (Stuffed: Green) (Could eat: Yellow) (Starving: Red)
(This post was last modified: 08-12-2013 10:20 PM by Saint.)
08-10-2013 05:11 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
Custom Character Profile[Work in Progress] - Saint - 08-10-2013 05:11 AM

Forum Jump:


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