Difference between revisions of "Project Phoenix"

From Legends of Aria Admin and Modding Wiki
Jump to: navigation, search
(Part 2: Test Tool)
(Part 2: Test Tool)
Line 96: Line 96:
 
==== Part 1: Introduction ====
 
==== Part 1: Introduction ====
 
==== Part 2: Test Tool ====
 
==== Part 2: Test Tool ====
''
 
--------------------------------------------------------------------------------------------------------------------------------
 
--     Functions
 
--------------------------------------------------------------------------------------------------------------------------------
 
-- Arguments
 
-- user - the player to send the dynamic window too
 
-- parentobject - this is the object you wish to handle the event calls
 
function ShowTestWindow(user,controlobject)
 
local dynamicWindow = DynamicWindow("DynamicWindowHandler","",300,300,-150,-150,"TransparentDraggable","Center")
 
dynamicWindow:AddImage(1,1,"Blank",300,300,"Simple","252525")
 
DrawCloseButton(271,5,dynamicWindow)
 
 
--test dynamic window code here
 
 
user:OpenDynamicWindow(dynamicWindow,controlobject)
 
end
 
 
-- Arguments
 
-- x - this is the horizontal location of the close button
 
-- y - this is the vertical location of the close button
 
-- dynamicwindow - this is the dynamic window you wish to place the close button on
 
function DrawCloseButton(x,y,dynamicwindow)
 
dynamicwindow:AddImage(x,y,"Blank",24,24,"Sliced","AA0000")
 
dynamicwindow:AddImage(x+2,y+2,"Blank",20,20,"Sliced","770000")
 
dynamicwindow:AddButton(x,y,"CloseButton","",24,24,"[FF7700]Close\n[FFFF00]closes this dynamic window.","",true,"Invisible")
 
end
 
 
--------------------------------------------------------------------------------------------------------------------------------
 
--     Event Handlers
 
--------------------------------------------------------------------------------------------------------------------------------
 
-- Event Handler
 
-- DynamicWindowResponse - this will handle the response to your dynamic window
 
RegisterEventHandler(EventType.DynamicWindowResponse,"DynamicWindowHandler",
 
function (user,buttonId,fieldData)
 
 
end)
 
 
-- Event Handler
 
-- Message - this will handle the context menu and double click of the attached object
 
RegisterEventHandler(EventType.Message, "UseObject", function(user, usedType)
 
    if(usedType=="Open Window") then
 
    ShowTestWindow(user,this)
 
    end
 
    if(usedType=="Refresh Modules") then
 
ReloadModule(GetCurrentModule())
 
    end
 
    if(usedType=="Test Code") then
 
TestCodeFunction()
 
    end
 
end)
 
 
-- Event Handler
 
-- ModuleAttached - this will handle when the module gets attached to the object
 
RegisterEventHandler(EventType.ModuleAttached, GetCurrentModule(), function()
 
AddUseCase(this,"Open Window",true)
 
AddUseCase(this,"Refresh Modules",false)
 
AddUseCase(this,"Test Code",false)
 
end)
 
''
 
  
 
==== Part 3: Labels ====
 
==== Part 3: Labels ====

Revision as of 04:15, 12 March 2019

Powered By Gizmo

About The Project

Project Phoenix is a mod for the Legends of Aria game. Citadel Studios was kinda enough to create this master piece of work, loaded with examples and a core game in which anybody can twist to their making. Project Phoenix extends up on the framework of Citadel Studios allowing the fully functional creativity of the Citadel Studios team, while allowing you to easily add your own custom content to the game. Project Phoenix comes with tons of development tools to help you spend more time developing, and less time coding. Project Phoenix was designed to be easy and simple to use with in game interfaces, as well as documentation and video examples on how to get you started. If you are an inspiring content creator, or just want to play around and have fun developing, give Project Phoenix a try. Its free, its fun, unleash your imagination with Project Phoenix, your players will thank you for it.

A special thanks goes to the Citadel Studios team, for the creation of such an amazing product. I for one am glad you conjured up this product. I look forward to many hours of slaying demons and solving puzzles. Between the hard working staff at Citadel Studios and the community developers, its gonna be something special.

Current Version

Project Phoenix Version: 1.1.63
Citadel Studios Server Version: 0.7.0.6 CB2 Experimental
Release Date Friday June 22nd, 2018
Last Update Date Tuesday July 11th, 2018

You can download the current version. I will try to keep a clean updated build with any fixes and or upgrades. I am constantly upgrading this project because it is the base of my own server. As my server expands with features, a majority of the features will be give out to the public as free content to help you excite your players and keep them roaming about your server for hours. Project Phoenix "working hard so you don't have too."

Download Current Version Here Project Phoenix Downloads

Files

Project Phoenix has many files, use the following to help find information about your current query on where something is, or how it works.

Header text Link
Script Files ProjectPhoenix File Structure Scripts
Script Overrides ProjectPhoenix File Overrides Scripts
Templates ProjectPhoenix File Structure Templates
Data Files ProjectPhoenix Data Files

Spawners

Spawner Documentation
Project Phoenix comes with a spawning system unlike any out there. It is well, far more advanced then Citadel Studios basic spawning system. The spawning system gives you control over every aspect of your spawned objects. Color, Name, Objvars, you name it can be directly modified from the spawning system. Spawn a chest with custom loot? No problem, run a classic Ultima Online Champ spawn? No problem. The spawner comes with 28 spawned object commands, 14 object targeting commands, 3 object list targeting commands, WaitFor, Trigger, Broadcasting, Goto and many many more programmable options to help you create sequential content to lead your players astray, or to untold adventures.

Merchants

Merchant Documentation
Project Phoenix delivers a easy to use merchant system. As much as I kinda like the Citadel Studios version of merchants. I decided to create a merchant system that reflects your standard MMORPG merchant. The merchant system also allows you to use custom currency, tokens. So you can set up nifty badge rewards or whatever system you want to put into place. The merchant system will accept it with some restrictions. If you are tired of looking through files, trying to change out 1 item on a vendor. Then you will love the quick efficiency of this merchant system.

Regions

Regions Documentation
The region system allows you to create a quick custom region in game to notify players they entered or left an area with custom text. Currently the region supports messaging to players on enter and exiting, fire scripts on objects who enter and leave the region. When firing scripts, you an choose to just fire scripts on monsters or players. It comes with a nice initializer that allows you to make permanent region objects as well. With this basic functionality you can create neat region based events. It also has a property tooltip to show you basic region information like how many mobiles, and objects are in the region. And stores it in a list to query. This tool has thousands of applications, together we might find them all.

Quests

Quest Documentation
The Minister of Eldier Village wants you to go out and handle the Turtle Neck Gang members, when you come back after the task given you will earn a bag of goods for your efforts. Who doesn't like quests? In most MMORPGS quests are essential to unlocking lore and other things for players. It gives them direction and allows you to lead your players through your world any way you see fit. The problem is Citadel Studios could not give us a quest system as of yet because it was not in the scope of the current version of the game. Thankfully, Project Phoenix has your back. The quest system allows you to build...

  • Slay Quests
  • Harvest Quests
  • Crafting Quests
  • Taming Quests

This isn't the limit of the Quest System. Looking through the quest handling code, you will see how easy it is to add new objective types. I will leave that for you to explore because that is more fun right? I love this system, it works, its easy to use and simple to set up.

Item Properties

Item Properties Documentation
OMG A +5 Strength Saber!!! Who doesn't like sifting though corpses for hopes of finding that magical gem? Don't have time to work with complicated loot tables and just want to generate the stuff you want? No problem. Project Phoenix comes with multiple easy to edit and change loot system that works in parallel with the MobileMods System provided by Citadel Studios. That way you can customize your loot to your taste, the drop rates, the percentages.. everything. You also get a in game item editor user interface craft item templates instantly, so you can put it where you want your player to find it. Once your players get a hold of the stuff you start making, they wont be able to stop playing.

Factions

Faction Documentation
The faction system allows you to quickly add/subtract factions. Increase/Decrease the faction values with a easy to use User Interface for both players and the staff to use. Also you get a simple command to target and edit a individual players faction values.

Script Commands

Script Commands Documentation
Here is a list of commands that come with project phoenix.

Videos

Dynamic Windows

Video List

Title Link
Introduction Dynamic Windows Tutorial Part 1
Test Tools Dynamic Windows Tutorial Part 2
Labels Dynamic Windows Tutorial Part 3
Images Dynamic Windows Tutorial Part 4
Buttons Dynamic Windows Tutorial Part 5
TextFields Dynamic Windows Tutorial Part 6
StatBars Dynamic Windows Tutorial Part 7
UserActions Dynamic Windows Tutorial Part 8
HotbarActions Dynamic Windows Tutorial Part 9
SkillSliders Dynamic Windows Tutorial Part 10
ProgressBars Dynamic Windows Tutorial Part 11

Part 1: Introduction

Part 2: Test Tool

Part 3: Labels

Part 4: Images

Part 5: Buttons

Part 6: TextFields

Part 7: StatBars

Part 8: UserActions

Part 9: HotbarActions

Part 10: SkillSliders

Part 11: ProgressBars