News:

SMFNew Installed

+-+-

User+-

Welcome, Guest.
Please login or register.
 
 
 

Login with your social network

Forgot your password?

Site Stats+-

Members
Total Members: 728
Latest: Cho
New This Month: 0
New This Week: 0
New Today: 0
Stats
Total Posts: 10932
Total Topics: 795
Most Online Today: 47
Most Online Ever: 854
(September 18, 2024, 07:49:37 am)
Users Online
Members: 0
Guests: 70
Total: 70

Author Topic: [TL2] Modding Guide Project  (Read 6024 times)

0 Members and 18 Guests are viewing this topic.

[TL2] Modding Guide Project
« on: »
Modding Guide Project

In this thread I will post information on various aspects of TL2 modding. 

Each post will expand on a particular element, and will be updated as new information or corrections come in.  I make no guarantees on the accuracy of the information contained herein. 

Once the content of each post is fully written, proofread, and verified, it will eventually be copied to the Torchmodders Wiki.  The post will then be updated with a link to the appropriate Wiki article.


Please do not post comments, ideas, or suggestions on this thread.  There is a separate topic for those. 
« Last Edit: July 29, 2018, 02:26:06 pm by Lord Nyriox »
I am off to Tamriel, seeking new adventures, great and small.  One day, I might return to Novastraia and show what I have learned.

Share on Bluesky Share on Facebook


[WIP] Scaling Charge Coding
« Reply #1 on: »
Outlander-style Charge Coding (TBA)

WIP:
  • Describe code elements and in-game effects.
  • Describe scaling aspects, and comma-separation.
  • Describe scaling inversion.
  • Describe passive skill application.
  • Demonstrate Share the Wealth adaptations.
  • Explore triggerable coding.



Charge-Bar UI: 

The UI of the Charge Bar is split into 3 pieces. 

You have the base UI coding, under 
Code: [Select]
MEDIA/UI/MENUS/UNITUNIQUEMENUS/<filename>.LAYOUT 
From that file, you can find links to the `imageset` entries that define what the Charge-bar looks like…and a link to the **separate** Layout file in which the Charge-bar tooltip resides. 

If you want to change the "display name" of your Charge-bar (or its description, for that matter), you should edit the "tooltip" Layout file, not the baseline one.

Code: [Select]
[EFFECT]
<STRING>NAME:Wanderer_Passive_CS
<STRING>ACTIVATION:PASSIVE
<STRING>DURATION:ALWAYS
<STRING>TYPE:PERCENT CAST SPEED
<STRING>STATMODIFYNAME:Player Charge Percent
<STRING>STATMODIFYPERCENT:100
<BOOL>SAVE:true
<BOOL>EXCLUSIVE:true
<FLOAT>MIN:0.1
<FLOAT>MAX:0.1
<STRING>STAT_SOURCE_TYPE:ON UPDATE SELF
[/EFFECT]

Code: [Select]
[EFFECT]
<STRING>NAME:Wanderer_Passive_CS_max
<STRING>ACTIVATION:PASSIVE
<STRING>DURATION:ALWAYS
<STRING>TYPE:PERCENT CAST SPEED
<STRING>STAT_SOURCE_TYPE:ON CAST CASTER
<BOOL>SAVE:false
<BOOL>EXCLUSIVE:true
<FLOAT>MIN:5
<FLOAT>MAX:5
[/EFFECT]

Code: [Select]
<INTEGER>CHARGES_MAX:1
<FLOAT>CHARGE_DPSMULT:20
<FLOAT>CHARGE_DEGRADE_SECONDS:3
<FLOAT>CHARGE_DEGRADE_PAUSE:5
[SHOWUI_ALWAYS]
<STRING>MENU:OUTLANDERCHARGEBAR
[/SHOWUI_ALWAYS]
[CHARGE_AFFIXES_TO_WATCH]
<STRING>AFFIX:WANDERER_PASSIVES
[/CHARGE_AFFIXES_TO_WATCH]
[AFFIXES]
<STRING>AFFIX:WANDERER_PASSIVES
[/AFFIXES]
[EFFECT]
<STRING>NAME:Wanderer_Charge_Rate
<STRING>ACTIVATION:DYNAMIC
<STRING>DURATION:ALWAYS
<STRING>TYPE:PERCENT CHARGING BONUS
<BOOL>SAVE:true
<FLOAT>MIN:-25
<FLOAT>MAX:-25
[/EFFECT]
[EFFECT]
<STRING>NAME:Wanderer_Max
<STRING>ACTIVATION:DYNAMIC
<STRING>DURATION:INSTANT
<STRING>TYPE:ADD TRIGGERABLE
<FLOAT>CHANCE:100
[/EFFECT]
[EFFECT]
<STRING>NAME:Wanderer_Unmax
<STRING>ACTIVATION:DYNAMIC
<STRING>DURATION:INSTANT
<STRING>TYPE:ADD TRIGGERABLE
<FLOAT>CHANCE:100
[/EFFECT]
[EFFECT]
<STRING>NAME:Wanderer_Deplete
<STRING>ACTIVATION:DYNAMIC
<STRING>DURATION:INSTANT
<STRING>TYPE:ADD TRIGGERABLE
<FLOAT>CHANCE:100
[/EFFECT]
[EFFECT]
<STRING>NAME:Wanderer_Focus_Hit
<STRING>ACTIVATION:DYNAMIC
<STRING>DURATION:INSTANT
<STRING>TYPE:ADD TRIGGERABLE
<FLOAT>CHANCE:100
[/EFFECT]

Code: [Select]

Code: [Select]

Code: [Select]
« Last Edit: July 27, 2018, 09:41:45 am by Lord Nyriox »
I am off to Tamriel, seeking new adventures, great and small.  One day, I might return to Novastraia and show what I have learned.

[WIP] Model XML Editing
« Reply #2 on: »
Editing Models in XML (TBA)

WIP:
  • List the keys used in MESH.xml and SKELETON.xml files, and describe their properties.
  • Clarify the nature of Shared vs. "Submesh" Geometry (what is its official name?), and describe how to convert between them (also note that due to the "virtualized" nature of Shared Geometry, it can have performance issues, especially with complex skeletons).
  • Describe how to rename Materials, Animations, and other properties by hand.
  • Explain how to identify a Mesh region by tracing bone assignments.
  • Discuss how @Kva3imoda's Retimer interacts with Skeletons.
« Last Edit: July 23, 2018, 02:38:21 pm by Lord Nyriox »
I am off to Tamriel, seeking new adventures, great and small.  One day, I might return to Novastraia and show what I have learned.

 

Recent Topics+-