DragonPrime - LoGD Resource Community

Coding Support => v0.9.7 Technical Help => Topic started by: Stonedale on June 29, 2004, 07:43:51 AM



Title: Title and items
Post by: Stonedale on June 29, 2004, 07:43:51 AM
I was woundering wich files that you edit to change the titles people are given and the items in the vitalinfo section. I want to change the name of the gems and gold.

I have basicly Changed the whole game around to more of a thugish type rpg game. I just need to figure out those few things and I'll be golden. But, goign through the other files the only one I seen  for the titles like farmboy,farmgirl  and this was in common I do believe.


Title: Re:Title and items
Post by: robert on June 29, 2004, 07:55:53 AM
This is best done starting with a default .097 game.
I had one Gangster version up and running so IT can be done but requires modifying almost ALL files and db. Best easiest way is before installing it on the server itself. I did it by modifiying the sql entries, saved tons of time!! Also going file by file, all game files making the necessary changes - very time consuming!!
Not recommended for anyone not familiar with how the game works, not familiar with sql or php files. You need to have at least a basic understanding of how each works AND the ability to make the modifications on your own without asking.

AND yes - MOST titles are found in the common.php but also in create.php and dragon.php which need to be altered, if you want it to work proper.


Title: Re:Title and items
Post by: thegleek on June 29, 2004, 07:55:58 AM
in the file, common.php, at the VERY VERY bottom of the script, you will find:

Code:
$titles=array(
         0=>array("Farmboy",    "Farmgirl"),
         1=>array("Page",       "Page"),
         2=>array("Squire",     "Squire"),
         3=>array("Gladiator",  "Gladiatrix"),
         4=>array("Legionnaire","Legioness"),
         5=>array("Centurion",  "Centurioness"),
         6=>array("Sir",        "Madam"),
         7=>array("Reeve",      "Reeve"),
         8=>array("Steward",    "Stewardess"),
         9=>array("Mayor",      "Mayoress"),
        10=>array("Baron",      "Baroness"),
        11=>array("Count",      "Countess"),
        12=>array("Viscount",   "Viscountess"),
        13=>array("Marquis",    "Marquisette"),
        14=>array("Chancellor", "Chancelress"),
        15=>array("Prince",     "Princess"),
        16=>array("King",       "Queen"),
        17=>array("Emperor",    "Empress"),
        18=>array("Angel",      "Angel"),
        19=>array("Archangel",  "Archangel"),
        20=>array("Principality","Principality"),
        21=>array("Power",      "Power"),
        22=>array("Virtue",     "Virtue"),
        23=>array("Dominion",   "Dominion"),
        24=>array("Throne",     "Throne"),
        25=>array("Cherub",     "Cherub"),
        26=>array("Seraph",     "Seraph"),
        27=>array("Demigod",    "Demigoddess"),
        28=>array("Titan",      "Titaness"),
        29=>array("Archtitan",  "Archtitaness"),
        30=>array("Undergod",   "Undergoddess"),
);


Title: Re:Title and items
Post by: Stonedale on June 29, 2004, 09:17:09 AM
This is best done starting with a default .097 game.
I had one Gangster version up and running so IT can be done but requires modifying almost ALL files and db. Best easiest way is before installing it on the server itself. I did it by modifiying the sql entries, saved tons of time!! Also going file by file, all game files making the necessary changes - very time consuming!!
Not recommended for anyone not familiar with how the game works, not familiar with sql or php files. You need to have at least a basic understanding of how each works AND the ability to make the modifications on your own without asking.

AND yes - MOST titles are found in the common.php but also in create.php and dragon.php which need to be altered, if you want it to work proper.

Ahh, thanks. Yeah, it's taken soem time to do but it's fun seeing the end result lol. Do you still have yours up and running?

© 2019 DragonPrime - LoGD Resource Community
Email Talisman: talisman -at- gmail.com
&oeXs)2U7=V BmܲV.U e=;p\}eG )Jj} C5EH7ˤH=j } mo|*Ŋw{drV_@IV>/- TFQJ׀̀Ve}l1,V O iNYx͘$e$;
Forums: Powered by SMF 1.1.21 | SMF © 2006-2007, Simple Machines