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
darksun84
Sir Spamalot
****

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



Post: #2
RE: Custom Character Profile[Work in Progress]
Nice , but it's better to made it a little smaller !
08-10-2013 05:31 AM
Find all posts by this user Like Post Quote this message in a reply
Snaker
Apprentice
*

Posts: 6
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Jul 2013
Reputation: 0

Imperivm Shard

Post: #3
RE: Custom Character Profile[Work in Progress]
It's possible to show this dialog instead of paperdoll? how can I do?
I say also when players click on the bar of the client

IMPERIVM SHARD: ANCIENT ROME, NOW, ON UO!
------------------------------------------------------

My Contacts:
Project Email
Personal Email
Skype: sn4k3r1
08-11-2013 03:08 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Mordaunt
Super Moderator
****

Posts: 1,237
Likes Given: 26
Likes Received: 55 in 43 posts
Joined: Mar 2012
Reputation: 35



Post: #4
RE: Custom Character Profile[Work in Progress]
Curious why you are using text instead of dtext thus making your script longer than it has to be....

by using dtext you can remove the [DIALOG blah TEXT] block and simply put the text at the end of the line

e.g.

dtext 10 10 90 hello world

[Image: 2nis46r.jpg]
08-11-2013 03:57 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Alaric
Journeyman
*

Posts: 227
Likes Given: 7
Likes Received: 9 in 4 posts
Joined: Oct 2012
Reputation: 7



Post: #5
RE: Custom Character Profile[Work in Progress]
(08-11-2013 03:57 AM)Mordaunt Wrote:  Curious why you are using text instead of dtext thus making your script longer than it has to be....

by using dtext you can remove the [DIALOG blah TEXT] block and simply put the text at the end of the line

e.g.

dtext 10 10 90 hello world

Or he can use forcycles to make it shorter Tongue It depends...
08-11-2013 04:06 AM
Find all posts by this user Like Post Quote this message in a reply
Mordaunt
Super Moderator
****

Posts: 1,237
Likes Given: 26
Likes Received: 55 in 43 posts
Joined: Mar 2012
Reputation: 35



Post: #6
RE: Custom Character Profile[Work in Progress]
Regardless.... still gump scripting with outdated methods

[Image: 2nis46r.jpg]
08-11-2013 04:07 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
JeBu
Journeyman
*

Posts: 62
Likes Given: 0
Likes Received: 2 in 2 posts
Joined: Aug 2012
Reputation: 0



Post: #7
RE: Custom Character Profile[Work in Progress]
screenshot?
08-20-2013 05:57 PM
Find all posts by this user Like Post Quote this message in a reply
[+] 1 user Likes JeBu's post
Post Reply 


Forum Jump:


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