RPG coding help
Posted: March 16th, 2010, 2:23 am
Hey. I'm currently trying to figure out how to code in RPG.
1. Using the Village_rpg map, I've found examples of ENT_ITEM and ENT_SPELL.
But according to the description in the rpg files, there are a total of 4 entities.
ENT_CHAR = 0
ENT_ITEM = 1
ENT_SPELL = 2
ENT_OBJECT = 3
Can anyone give me an example script of ENT_CHAR and ENT_OBJECT?
I could use those scripts to figure out how to use the two remaining entities.
2. Something else popped up. When I'm writing the description for items and spells in the Inventory, I face two problems.
2.1 - How do I make paragraphs of my descriptions ( this also applies to when I'm typing out dialogue using r_response ). For example, I want to type a dialogue that looks like :
How was your day Jim?
I wanted to visit you the other day but I got caught up in work. Sorry.
Meaning, I want to start a new sentence on a new line and not connect directly from the previous sentence. So i DON"T want something that looks like this
How was your day Jim? I wanted to visit you the other day but I got caught up in work. Sorry.
2.2 - How do I change the other descriptions of the item and spells? When I type a description of an item, the description appears in the top left corner of the inventory. In the top right corner and also under the icon of the item, it always says " This area will eventually be filled with what the item can do " or something like that.
How do I change the description in the top right corner and in the area below the icon of the item to something of my own?
Please and thanks so much in advance! I realize its a lot, but it'll be a tremendous help to me. ^ ^
1. Using the Village_rpg map, I've found examples of ENT_ITEM and ENT_SPELL.
But according to the description in the rpg files, there are a total of 4 entities.
ENT_CHAR = 0
ENT_ITEM = 1
ENT_SPELL = 2
ENT_OBJECT = 3
Can anyone give me an example script of ENT_CHAR and ENT_OBJECT?
I could use those scripts to figure out how to use the two remaining entities.
2. Something else popped up. When I'm writing the description for items and spells in the Inventory, I face two problems.
2.1 - How do I make paragraphs of my descriptions ( this also applies to when I'm typing out dialogue using r_response ). For example, I want to type a dialogue that looks like :
How was your day Jim?
I wanted to visit you the other day but I got caught up in work. Sorry.
Meaning, I want to start a new sentence on a new line and not connect directly from the previous sentence. So i DON"T want something that looks like this
How was your day Jim? I wanted to visit you the other day but I got caught up in work. Sorry.
2.2 - How do I change the other descriptions of the item and spells? When I type a description of an item, the description appears in the top left corner of the inventory. In the top right corner and also under the icon of the item, it always says " This area will eventually be filled with what the item can do " or something like that.
How do I change the description in the top right corner and in the area below the icon of the item to something of my own?
Please and thanks so much in advance! I realize its a lot, but it'll be a tremendous help to me. ^ ^