Jump to content
  • 0

Source code editing?


BiggestShoelaces

Question

Is there anyway to change the source code?
Two examples:
1) If I comment out the MPBar from playerbox.json the compiler sweeps through and removes my comment-out and replaces it with a boundary of 0,0,1,1, and nullifies everything. Ok, fine whatever, I can deal with nulling it out, however...

2) When I add a fourth bar to the playerbox (Replaced HP to Health, Mp to hunger, exp to thirst, and want a fourth bar for stamina) the compiler sweeps through and just deletes the code. 

What is cleaning this up (where is it in the folders) and can I remove that feature so that I can change the code?

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

The json files are not source code. The json only describes properties for elements within the actual source code. Once loaded the jsons are rewritten with the loaded properties + any new objects since the json was created. Since you are adding objects in the json that do not exist in the code itself they are being removed.

 

Here is the file that describes the PlayerBox.json

https://github.com/AscensionGameDev/Intersect-Engine/blob/development/Intersect.Client/Interface/Game/EntityPanel/EntityBox.cs

 

To edit the actual source we have documentation here (starting with downloading visual studio, cloning the repo, compiling, etc)

https://docs.freemmorpgmaker.com/en-US/developer/start/vs.html

 

Link to comment
Share on other sites

×
×
  • Create New...