May be cheaper as part of a pack
Average User Rating
Not rated

Description

NOTE: This script will not be updated after 28th February 2019, and will be permanently taken down shortly after that! The author cannot guarantee it will work with GG versions beyond 2018-11-26! The author wishes to send big thank you for your continued support and patience.

This script creates RPG Menu where player can access Inventory, Equipment and Status screens. The options screen give player a possibility to change font size, cursor behaviour, set the info text of RPG Menu and Shop Menu on/off and change the style of dialogue in the game.

If this is used alone without my other RPG Scripts, player starts with 5 Healing Potions, 2 High Potions, 1 Boost Potion and 1 Elixir. These can be used through the Inventory. Healing Potion, High Potion and Elixir fill players health up to MAXHP and Boost Potion can add health over MAXHP. Equipment screen will be empty in 3rd person mode and shows the amount of collected weapons in 1st person mode, and Status screen shows players HP (health), state and lives (and the amount of collected weapons in 1st player mode).

If there is an entity with moshroom_rpg_ai_fantasycharacter.lua on the map, in addition to 4 healing items, player will start with 1 of each State items (Antidote, Stimulant, Tonic, Hourglass, Eye drops and Panacea) and RPG items (Power Source, Vitality Source, Agility Source and Sight Source). The State items remove abnormal states (Venom, Feeble, Weak, Slow and Blind) The RPG items raise corresponding RPG statistics. If player is in 3rd person mode, the equipment window will now be active with possibility to change Weapon, Armor and Accessory. Player will start with 2 weapons, 2 armors and 4 accessories. Status screen will show full RPG statistics and depending on the play mode, Equipment (3rd person) or amount of collected weapons (1st person).

If there is a Survival script on the map, the Survival variables will be visible in the Status screen.

If there is an entity with with moshroom_rpg_shop.lua on the map, player won't have any initial items or equipment, because those can be bought from the shop. The amount of Gold player has will be visible in the Status screen.

How to use:

1) Place an entity into your map
2) Change AI System:Main to moshroom_rpg_menu.lua
3) Change Static Mode boolean to Off and Alway Active to Yes
4) Add sound to the menu by changing the Sound1 variable

5) In game, access menu by pressing Q or middle mouse button

6) Optional, but highly recommended: Place entities with moshroom_rpg_ai_fantasycharacter.lua and moshroom_rpg_shop.lua into your map to create a complete RPG experience

How to customize:

1) Create RPG folder (Game Guru\Files\RPG\)
2) Create dat file to RPG folder to override a default data set (eg. Game Guru\Files\RPG\item_name.dat)
3) Assign new values for the items. Each row represents one record in the table (eg. row 1 = Healing Potion, row 2 = High Potion, etc.)
4) For examples please see the attached video.

Data types:

Sring (item_name.dat, item_description.dat, weapon_name.dat, armor_name.dat, accessory_name.dat, accessory_description.dat, rpg_state.dat): Each row in the dat file represents text or string shown in game.

States (rpg_state.dat)

1 = Normal - no effect
2 = Critical - no effect
3 = Overdrive - no effect
4 = Feeble - reduce Power to 1
5 = Weak - reduce Vitality to 1
6 = Slow - reduce Agility to 1
7 = Blind - reduce Sight to 1
8 = Venom - gradually reduce HP until 1

Quantitative numeric (item_initial.dat, item_effect.dat, item_price.dat, weapon_initial.dat, weapon_price.dat, armor_initial.dat, armor_price.dat, accessory_effect.dat, accessory_price.dat): Each row in the dat file represents countable value. Initial = Amount of items in the start of the game. Effect = How many points of change the item induces. Eg. If Effect in potion type item is 20, the item will heal 20 HP. Price = Price of the item in the shop.

Qualitative numeric (item_target.dat, accessory_target.dat): Each row in the dat file represents type of an item.

Item Types (item_target.dat)

10 = Add HP
11 = Cure
12 = Full Cure
20 = Add Power
30 = Add Vitality
40 = Add Agility
50 = Add Sight
61 = Survival : Food
62 = Survival : Drink
63 = Survival : Adrenaline
70 = Add Life
80 = Remove all negative status changes
84 = Remove Feeble
85 = Remove Weak
86 = Remove Slow
87 = Remove Blind
88 = Remove Venom
99 = No effect

Equipment Types: (accessory_target.dat)

20 = Add Power in level up
30 = Add Vitality in level up
40 = Add Agility in level up
41 = Temporarily add Agility
50 = Add Sight in level up
51 = Temporarily add Sight
80 = Prevent all negative status changes
84 = Prevent Feeble
85 = Prevent Weak
86 = Prevent Slow
87 = Prevent Blind
88 = Prevent Venom
99 = No effect

Weapon = Temporarily add Power (Weapon class only)
Armor = Temporarily add Vitality (Armor class only)

The script is compatible with my open access Save Point / Load Point scripts and Magic script:

https://forum.game-guru.com/thread/213084

For other compatible scripts, please visit this thread in the GameGuru forum:

https://forum.game-guru.com/thread/213751

NOTE: This script may conflict with existing or future implementations of a similar feature provided in the core product, and users are recommended to research any existing functionality provided before purchasing this script.

NOTE: This script will not be updated after 28th February 2019, and will be permanently taken down shortly after that! The author cannot guarantee it will work with GG versions beyond 2018-11-26! The author wishes to send big thank you for your continued support and patience.

Keywords

level up menu rpg inventory exp

Product Details

Artist: Moshroom
Category: GameGuru Scripts
Sub Category: Misc
Sales: 67

Engine Support

GameGuru Classic Yes

File Formats

LUA .lua

Comments

sly
24th Feb '18 06:13
This user owns this product
Hi Moshroom, I purchased this script and I am looking to pick up a key (the key provided with GameGuru), and then have that item appear in the inventory. How can I go about adding an item from the engine so that players can equip the key and use it?

You must Login or Register to leave comments.

Included in

Related Products