News: Go to the front page portal to create a Torchmodders account | Visit the wiki!
August 26, 2019, 06:48:59 AM
collapse

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

Offline Lord Nyriox

  • Moderator
  • Rare
  • *
  • Posts: 161
  • Country: us
    • status busy
    • View Profile
    • Github Profile
  • Mood: mood evil
[TL2] Modding Guide Project
« on: July 23, 2018, 12:03:17 AM »
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, 09:26:06 PM by Lord Nyriox »

Offline Lord Nyriox

  • Moderator
  • Rare
  • *
  • Posts: 161
  • Country: us
    • status busy
    • View Profile
    • Github Profile
  • Mood: mood evil
[WIP] Scaling Charge Coding
« Reply #1 on: July 23, 2018, 01:12:08 AM »
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, 04:41:45 PM by Lord Nyriox »

Offline Lord Nyriox

  • Moderator
  • Rare
  • *
  • Posts: 161
  • Country: us
    • status busy
    • View Profile
    • Github Profile
  • Mood: mood evil
[WIP] Model XML Editing
« Reply #2 on: July 23, 2018, 09:35:30 PM »
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, 09:38:21 PM by Lord Nyriox »

 

* Quick Search


* Member Information

 
 
Welcome, Guest. Please login or register.

* Mod Boards Activity

* Who's Online

  • Dot Guests: 2
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.

* Calendar

August 2019
Sun Mon Tue Wed Thu Fri Sat
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 [26] 27 28 29 30 31

No calendar events were found.

* Recent Topics

FEP+ April 2019 Update by Sch123
[August 24, 2019, 09:40:03 AM]


Learning Quest Making by Phanjam
[August 21, 2019, 02:46:04 AM]


Fionna model needs some skills! by Kva3imoda
[August 14, 2019, 04:41:53 AM]


Floaty Torchlight Cube by Vkoslak
[August 04, 2019, 05:11:09 AM]


[IDEA] Dungeon Run by Phanjam
[August 04, 2019, 12:26:45 AM]


[MODEL] Syl the Sage 2.0 by Kva3imoda
[August 01, 2019, 09:36:57 PM]


Hacker / Trickster Class Mod by Sch123
[July 26, 2019, 03:23:22 PM]


Variant Classes Mod Information by Actkqk
[July 21, 2019, 08:27:17 AM]


Custom Charge Bar... by Phanjam
[July 19, 2019, 07:22:31 AM]


Heya folks! by steffire3
[July 15, 2019, 07:07:58 PM]


Tenebris class, I need to know... by Phanjam
[July 14, 2019, 03:28:27 AM]


Would like to complete the Wiki Lore by steffire3
[July 13, 2019, 03:35:54 AM]


Skills Expansion: Rebalanced Native Skills by lemon 'nade
[July 08, 2019, 03:33:01 PM]


Hosting for 2019 by Kva3imoda
[July 07, 2019, 11:01:48 AM]


Need Help: a problem in GUTS by Sch123
[July 03, 2019, 08:27:13 AM]

* Popular Topics