How do you mod a class?

LighthammerLighthammer Posts: 60
edited May 2011 in Design
Greetings,

I am trying to figure out how to actually mod a class. The file that looks like the one I should be working with just doesn't seem to have any affects when I change variables in it.

The file I am playing with is: media/units/players/<Class>/<Class>.dat

Could anyone give me some insight on what file I actually need to modify to change the class and what the file I am looking at now actually does ?
Truth is a three edged sword.

Comments

  • kvdkkvdk Posts: 321
    a class exists out of more then a single file, you need to setup the skills, the skilltree, the class, and all its connected attributes...

    the whole of TL exists out of more then just 1 single file, ****, even a shop-NPC takes 3 files to add to town! (the npc, the merge, and the shop-contents)
    dgckdcgecmb.png
  • LighthammerLighthammer Posts: 60
    Oh, I realize that. I'm no stranger to design =).

    I was trying to modify what skills the class has, its base attributes and its skill tree.

    That file looked like the place to be for all those items.

    I'm just looking for someone to point me in the right direction of where to edit these things. I can figure out the pathing myself =).
    Truth is a three edged sword.
  • LighthammerLighthammer Posts: 60
    Oh, also, I wanted to ask, does anyone know if the game is affected (in part or in full) by white space in files?
    Truth is a three edged sword.
  • kvdkkvdk Posts: 321
    go check out some other custom classes, cause they only contain the files unique to the custom class, its easier to use those as a starting area for a new one

    and as far as i know, there should not be a problem with white space aslong as its not in any content, after all, the files have to be converted by the engine before being usable
    so an extra space at the end of an integer SHOULD not be a big problem, same goes for an empty line..
    but no guarantees, cause it might be diferend for some of the files out there....
    dgckdcgecmb.png
  • LighthammerLighthammer Posts: 60
    I've been playing around that already but the files that appear like they manipulate, say, the tech tree, don't seem to have an effect.

    The conclusion I am starting to come to is it looks like that stuff is dictated by another file besides media\units\players\<class>\<class>.dat. That's where all the tech tree information seems to be but no edits I make seem to affect anything.
    &#91;UNIT&#93;
    	&lt;STRING&gt;BASEFILE:			media/units/players/paladin/base.dat
    	&lt;STRING&gt;NAME:				Paladin
    	&lt;STRING&gt;RESOURCEDIRECTORY:		media/models/players/paladin
    	&lt;STRING&gt;DESCRIPTION:			Divine warrior is an expert in melee combat, uses power of light to conquer her foes.
    	&lt;STRING&gt;INTRO_CINEMATIC:		ladyknightintro	
    	&lt;STRING&gt;MANA_GRAPH:			MANA_PLAYER_VANQUISHER
    	&lt;STRING&gt;HEALTH_GRAPH:			media/models/players/paladin/health_player_paladin
    	&lt;STRING&gt;STAT_POINTS_PER_LEVEL:		STAT_POINTS_PER_LEVEL
    	&lt;STRING&gt;SKILL_POINTS_PER_LEVEL:		SKILL_POINTS_PER_LEVEL
    	&lt;STRING&gt;SKILL_POINTS_PER_FAME_LEVEL:	SKILL_POINTS_PER_FAME_LEVEL
    	&lt;STRING&gt;PARTICLE_GETHIT:BLOODHIT
    
    	&lt;STRING&gt;DEATH_SOUND:			VanquisherDeath
    	&lt;STRING&gt;INJURE_SOUND:			VanquisherHit
    
    	&lt;STRING&gt;STEP_SOUND:			FootstepDirt
    	&lt;STRING&gt;ATTACK_SOUND:			Miss
    	&lt;STRING&gt;STRIKE_SOUND:			WoodFlesh
    	&lt;STRING&gt;MISS_SOUND:			Miss
    
    	&lt;STRING&gt;VOICESPELLEARNED_SOUND:		NarratorNewSpell
    	&lt;STRING&gt;VOICEFORTUNEBAD_SOUND:		NarratorMisfortune
    	&lt;STRING&gt;VOICEFORTUNEGOOD_SOUND:		NarratorFortune
    	&lt;STRING&gt;VOICEPETINVENTORYFULL_SOUND:	NarratorPetInventoryFull
    	&lt;STRING&gt;VOICEPETFLED_SOUND:		NarratorPetFleeing
    	&lt;STRING&gt;VOICEPETDEPARTED_SOUND:		NarratorPetDeparted
    	&lt;STRING&gt;VOICEPETRETURNED_SOUND:		NarratorPetReturned
    	&lt;STRING&gt;VOICELEVELUP_SOUND:		NarratorLevelUp
    	&lt;STRING&gt;VOICEFAMEUP_SOUND:		NarratorFameUp
    	&lt;STRING&gt;VOICEQUESTCOMPLETE_SOUND:	NarratorFameUp
    	&lt;STRING&gt;VOICENEWQUEST_SOUND:		NarratorFameUp
    	&lt;STRING&gt;VOICEHEALTHLOW_SOUND:		VQLowHP
    	&lt;STRING&gt;VOICEMANALOW_SOUND:		VQLowMana
    	&lt;STRING&gt;VOICEINSUFFICIENTGOLD_SOUND:	VQLowGold
    	&lt;STRING&gt;VOICEINVENTORYFULL_SOUND:	VQInventoryFull
    	&lt;STRING&gt;VOICETRAPSPRUNG_SOUND:		VQTrap
    	&lt;STRING&gt;VOICEIMPOSSIBLE_SOUND:		VQImpossible
    	&lt;STRING&gt;VOICECANTCAST_SOUND:		VQCantCast
    	&lt;STRING&gt;VOICECANTCASTHERE_SOUND:	VQCantCastHere
    
    	&lt;STRING&gt;QUESTRECEIVED_SOUND:		NarratorNewQuest
    	&lt;STRING&gt;QUESTCOMPLETED_SOUND:		NarratorQuestComplete
    
    	&lt;STRING&gt;UNIT_GUID:			3581273491942019551
    
    	&lt;STRING&gt;MESHFILE:			media/models/npcs/brink_merc/merc.mesh
    
    
    	&lt;INTEGER&gt;STRENGTH:	10
    	&lt;INTEGER&gt;DEXTERITY:	0
    	&lt;INTEGER&gt;MAGIC:		0
    	&lt;INTEGER&gt;DEFENSE:	15
    	&lt;INTEGER&gt;MINDAMAGE:	20
    	&lt;INTEGER&gt;MAXDAMAGE:	20
    	&lt;INTEGER&gt;ARMOR:		0
    	&lt;INTEGER&gt;GOLD:		1000000
    	
    	
    	&lt;BOOL&gt;SOFTBLEND:	false
    
    	&lt;FLOAT&gt;REACH_BONUS:	1.25
    	&lt;FLOAT&gt;RUNNINGSPEED:	10.00
    	&lt;FLOAT&gt;WEAPON_SCALE:	0.65
    	&lt;FLOAT&gt;SHIELD_SCALE:	0.7
    
    	&lt;TRANSLATE&gt;DISPLAYNAME:	Paladin
    	&lt;TRANSLATE&gt;SKILL_TAB1:	Justice
    	&lt;TRANSLATE&gt;SKILL_TAB2:	Guardian
    	&lt;TRANSLATE&gt;SKILL_TAB3:	Divinity
    
    	&#91;QUESTS&#93;
    		&lt;STRING&gt;QUEST:	IntroToGamePT1
    		&lt;STRING&gt;QUEST:	IntroToGamePT1.1
    		&lt;STRING&gt;QUEST:	RandomPeople
    	&#91;/QUESTS&#93;
    
    	&#91;EFFECT&#93;
    		&lt;STRING&gt;NAME:	INNATEARMOR
    		&lt;BOOL&gt;UNIQUE:	true
    		&lt;BOOL&gt;SAVE:	true
    		&lt;STRING&gt;ACTIVATION:	PASSIVE
    		&lt;STRING&gt;DURATION:	ALWAYS
    		&lt;STRING&gt;TYPE:ARMOR	BONUS
    		&lt;FLOAT&gt;MIN:		20
    		&lt;FLOAT&gt;MAX:		20
    	&#91;/EFFECT&#93;
    	
    	&#91;EQUIPMENT&#93;
    		&lt;STRING&gt;RIGHTHAND:	Gothic Short Sword
    	&#91;/EQUIPMENT&#93;
    	
    	&#91;SKILL&#93;
    		&lt;STRING&gt;NAME:		Zeal
    		&lt;INTEGER&gt;LEVEL:		0
    		&lt;INTEGER&gt;LEVEL_REQUIRED:0
    		&lt;INTEGER&gt;PANE:		0
    		&lt;INTEGER&gt;ROW:		1
    		&lt;INTEGER&gt;COLUMN:	2
    	&#91;/SKILL&#93;
    
    	&#91;SKILL&#93;
    		&lt;STRING&gt;NAME:		Offensive Spell Mastery
    		&lt;INTEGER&gt;LEVEL:		0
    		&lt;INTEGER&gt;LEVEL_REQUIRED:5
    		&lt;INTEGER&gt;PANE:		0
    		&lt;INTEGER&gt;ROW:		2
    		&lt;INTEGER&gt;COLUMN:	1
    	&#91;/SKILL&#93;
    
    	&#91;SKILL&#93;
    		&lt;STRING&gt;NAME:		Charge
    		&lt;INTEGER&gt;LEVEL:		0
    		&lt;INTEGER&gt;LEVEL_REQUIRED:5
    		&lt;INTEGER&gt;PANE:0
    		&lt;INTEGER&gt;ROW:2
    		&lt;INTEGER&gt;COLUMN:2
    	&#91;/SKILL&#93;
    
    	&#91;SKILL&#93;
    		&lt;STRING&gt;NAME:Martial Weapons Master
    		&lt;INTEGER&gt;LEVEL:0
    		&lt;INTEGER&gt;LEVEL_REQUIRED:5
    		&lt;INTEGER&gt;PANE:1
    		&lt;INTEGER&gt;ROW:2
    		&lt;INTEGER&gt;COLUMN:3
    	&#91;/SKILL&#93;
    
    	&#91;SKILL&#93;
    		&lt;STRING&gt;NAME:Adventurer
    		&lt;INTEGER&gt;LEVEL:0
    		&lt;INTEGER&gt;LEVEL_REQUIRED:10
    		&lt;INTEGER&gt;PANE:0
    		&lt;INTEGER&gt;ROW:3
    		&lt;INTEGER&gt;COLUMN:1
    	&#91;/SKILL&#93;
    
    	&#91;SKILL&#93;
    		&lt;STRING&gt;NAME:Seal of Light
    		&lt;INTEGER&gt;LEVEL:0
    		&lt;INTEGER&gt;LEVEL_REQUIRED:10
    		&lt;INTEGER&gt;PANE:0
    		&lt;INTEGER&gt;ROW:3
    		&lt;INTEGER&gt;COLUMN:2
    	&#91;/SKILL&#93;
    
    	&#91;SKILL&#93;
    		&lt;STRING&gt;NAME:Blaze
    		&lt;INTEGER&gt;LEVEL:0
    		&lt;INTEGER&gt;LEVEL_REQUIRED:15
    		&lt;INTEGER&gt;PANE:0
    		&lt;INTEGER&gt;ROW:4
    		&lt;INTEGER&gt;COLUMN:2
    	&#91;/SKILL&#93;
    
    	&#91;SKILL&#93;
    		&lt;STRING&gt;NAME:Retribution Aura
    		&lt;INTEGER&gt;LEVEL:0
    		&lt;INTEGER&gt;LEVEL_REQUIRED:15
    		&lt;INTEGER&gt;PANE:0
    		&lt;INTEGER&gt;ROW:4
    		&lt;INTEGER&gt;COLUMN:3
    	&#91;/SKILL&#93;
    
    	&#91;SKILL&#93;
    		&lt;STRING&gt;NAME:Martial Attack
    		&lt;INTEGER&gt;LEVEL:0
    		&lt;INTEGER&gt;LEVEL_REQUIRED:20
    		&lt;INTEGER&gt;PANE:0
    		&lt;INTEGER&gt;ROW:5
    		&lt;INTEGER&gt;COLUMN:2
    	&#91;/SKILL&#93;
    
    	&#91;SKILL&#93;
    		&lt;STRING&gt;NAME:Guardian
    		&lt;INTEGER&gt;LEVEL:0
    		&lt;INTEGER&gt;LEVEL_REQUIRED:25
    		&lt;INTEGER&gt;PANE:0
    		&lt;INTEGER&gt;ROW:6
    		&lt;INTEGER&gt;COLUMN:2
    	&#91;/SKILL&#93;
    
    	&#91;SKILL&#93;
    		&lt;STRING&gt;NAME:Critical Strikes
    		&lt;INTEGER&gt;LEVEL:0
    		&lt;INTEGER&gt;LEVEL_REQUIRED:25
    		&lt;INTEGER&gt;PANE:0
    		&lt;INTEGER&gt;ROW:6
    		&lt;INTEGER&gt;COLUMN:3
    	&#91;/SKILL&#93;
    
    	&#91;SKILL&#93;
    		&lt;STRING&gt;NAME:Shield Smite
    		&lt;INTEGER&gt;LEVEL:0
    		&lt;INTEGER&gt;LEVEL_REQUIRED:0
    		&lt;INTEGER&gt;PANE:1
    		&lt;INTEGER&gt;ROW:1
    		&lt;INTEGER&gt;COLUMN:2
    	&#91;/SKILL&#93;
    
    	&#91;SKILL&#93;
    		&lt;STRING&gt;NAME:Radiance
    		&lt;INTEGER&gt;LEVEL:0
    		&lt;INTEGER&gt;LEVEL_REQUIRED:5
    		&lt;INTEGER&gt;PANE:1
    		&lt;INTEGER&gt;ROW:2
    		&lt;INTEGER&gt;COLUMN:2
    	&#91;/SKILL&#93;
    
    	&#91;SKILL&#93;
    		&lt;STRING&gt;NAME:Block and Parry
    		&lt;INTEGER&gt;LEVEL:0
    		&lt;INTEGER&gt;LEVEL_REQUIRED:5
    		&lt;INTEGER&gt;PANE:1
    		&lt;INTEGER&gt;ROW:2
    		&lt;INTEGER&gt;COLUMN:3
    	&#91;/SKILL&#93;
    
    	&#91;SKILL&#93;
    		&lt;STRING&gt;NAME:Armor Master
    		&lt;INTEGER&gt;LEVEL:0
    		&lt;INTEGER&gt;LEVEL_REQUIRED:10
    		&lt;INTEGER&gt;PANE:1
    		&lt;INTEGER&gt;ROW:3
    		&lt;INTEGER&gt;COLUMN:1
    	&#91;/SKILL&#93;
    
    	&#91;SKILL&#93;
    		&lt;STRING&gt;NAME:Divine Barrier
    		&lt;INTEGER&gt;LEVEL:0
    		&lt;INTEGER&gt;LEVEL_REQUIRED:10
    		&lt;INTEGER&gt;PANE:1
    		&lt;INTEGER&gt;ROW:3
    		&lt;INTEGER&gt;COLUMN:2
    	&#91;/SKILL&#93;
    
    	&#91;SKILL&#93;
    		&lt;STRING&gt;NAME:Holy Nova
    		&lt;INTEGER&gt;LEVEL:0
    		&lt;INTEGER&gt;LEVEL_REQUIRED:15
    		&lt;INTEGER&gt;PANE:1
    		&lt;INTEGER&gt;ROW:4
    		&lt;INTEGER&gt;COLUMN:2
    	&#91;/SKILL&#93;
    
    	&#91;SKILL&#93;
    		&lt;STRING&gt;NAME:Protection Aura
    		&lt;INTEGER&gt;LEVEL:0
    		&lt;INTEGER&gt;LEVEL_REQUIRED:15
    		&lt;INTEGER&gt;PANE:1
    		&lt;INTEGER&gt;ROW:4
    		&lt;INTEGER&gt;COLUMN:3
    	&#91;/SKILL&#93;
    
    	&#91;SKILL&#93;
    		&lt;STRING&gt;NAME:Aegis
    		&lt;INTEGER&gt;LEVEL:0
    		&lt;INTEGER&gt;LEVEL_REQUIRED:20
    		&lt;INTEGER&gt;PANE:1
    		&lt;INTEGER&gt;ROW:5
    		&lt;INTEGER&gt;COLUMN:1
    	&#91;/SKILL&#93;
    
    	&#91;SKILL&#93;
    		&lt;STRING&gt;NAME:Heavly Smite
    		&lt;INTEGER&gt;LEVEL:0
    		&lt;INTEGER&gt;LEVEL_REQUIRED:20
    		&lt;INTEGER&gt;PANE:1
    		&lt;INTEGER&gt;ROW:5
    		&lt;INTEGER&gt;COLUMN:2
    	&#91;/SKILL&#93;
    
    	&#91;SKILL&#93;
    		&lt;STRING&gt;NAME:Vanguard
    		&lt;INTEGER&gt;LEVEL:0
    		&lt;INTEGER&gt;LEVEL_REQUIRED:25
    		&lt;INTEGER&gt;PANE:1
    		&lt;INTEGER&gt;ROW:6
    		&lt;INTEGER&gt;COLUMN:2
    	&#91;/SKILL&#93;
    
    	&#91;SKILL&#93;
    		&lt;STRING&gt;NAME:Treasure Hunter
    		&lt;INTEGER&gt;LEVEL:0
    		&lt;INTEGER&gt;LEVEL_REQUIRED:25
    		&lt;INTEGER&gt;PANE:1
    		&lt;INTEGER&gt;ROW:6
    		&lt;INTEGER&gt;COLUMN:3
    	&#91;/SKILL&#93;
    
    	&#91;SKILL&#93;
    		&lt;STRING&gt;NAME:Holy Bolt
    		&lt;INTEGER&gt;LEVEL:0
    		&lt;INTEGER&gt;LEVEL_REQUIRED:1
    		&lt;INTEGER&gt;PANE:2
    		&lt;INTEGER&gt;ROW:1
    		&lt;INTEGER&gt;COLUMN:2
    	&#91;/SKILL&#93;
    
    	&#91;SKILL&#93;
    		&lt;STRING&gt;NAME:Defensive Spell Mastery
    		&lt;INTEGER&gt;LEVEL:0
    		&lt;INTEGER&gt;LEVEL_REQUIRED:5
    		&lt;INTEGER&gt;PANE:2
    		&lt;INTEGER&gt;ROW:2
    		&lt;INTEGER&gt;COLUMN:1
    	&#91;/SKILL&#93;
    
    	&#91;SKILL&#93;
    		&lt;STRING&gt;NAME:Restoration
    		&lt;INTEGER&gt;LEVEL:0
    		&lt;INTEGER&gt;LEVEL_REQUIRED:5
    		&lt;INTEGER&gt;PANE:2
    		&lt;INTEGER&gt;ROW:2
    		&lt;INTEGER&gt;COLUMN:2
    	&#91;/SKILL&#93;
    
    	&#91;SKILL&#93;
    		&lt;STRING&gt;NAME:Advanced Spellcasting
    		&lt;INTEGER&gt;LEVEL:0
    		&lt;INTEGER&gt;LEVEL_REQUIRED:5
    		&lt;INTEGER&gt;PANE:2
    		&lt;INTEGER&gt;ROW:2
    		&lt;INTEGER&gt;COLUMN:3
    	&#91;/SKILL&#93;
    	
    	&#91;SKILL&#93;
    		&lt;STRING&gt;NAME:Pet Mastery
    		&lt;INTEGER&gt;LEVEL:0
    		&lt;INTEGER&gt;LEVEL_REQUIRED:10
    		&lt;INTEGER&gt;PANE:2
    		&lt;INTEGER&gt;ROW:3
    		&lt;INTEGER&gt;COLUMN:1
    	&#91;/SKILL&#93;
    
    	&#91;SKILL&#93;
    		&lt;STRING&gt;NAME:Silence
    		&lt;INTEGER&gt;LEVEL:0
    		&lt;INTEGER&gt;LEVEL_REQUIRED:10
    		&lt;INTEGER&gt;PANE:0
    		&lt;INTEGER&gt;ROW:3
    		&lt;INTEGER&gt;COLUMN:2
    	&#91;/SKILL&#93;
    
    	&#91;SKILL&#93;
    		&lt;STRING&gt;NAME:Mind Control
    		&lt;INTEGER&gt;LEVEL:0
    		&lt;INTEGER&gt;LEVEL_REQUIRED:15
    		&lt;INTEGER&gt;PANE:2
    		&lt;INTEGER&gt;ROW:4
    		&lt;INTEGER&gt;COLUMN:2
    	&#91;/SKILL&#93;
    
    	&#91;SKILL&#93;
    		&lt;STRING&gt;NAME:Divinity Aura
    		&lt;INTEGER&gt;LEVEL:0
    		&lt;INTEGER&gt;LEVEL_REQUIRED:15
    		&lt;INTEGER&gt;PANE:2
    		&lt;INTEGER&gt;ROW:4
    		&lt;INTEGER&gt;COLUMN:3
    	&#91;/SKILL&#93;
    
    	&#91;SKILL&#93;
    		&lt;STRING&gt;NAME:Charm Spell Mastery
    		&lt;INTEGER&gt;LEVEL:0
    		&lt;INTEGER&gt;LEVEL_REQUIRED:20
    		&lt;INTEGER&gt;PANE:2
    		&lt;INTEGER&gt;ROW:5
    		&lt;INTEGER&gt;COLUMN:1
    	&#91;/SKILL&#93;
    
    	&#91;SKILL&#93;
    		&lt;STRING&gt;NAME:Retribution
    		&lt;INTEGER&gt;LEVEL:0
    		&lt;INTEGER&gt;LEVEL_REQUIRED:20
    		&lt;INTEGER&gt;PANE:2
    		&lt;INTEGER&gt;ROW:5
    		&lt;INTEGER&gt;COLUMN:2
    	&#91;/SKILL&#93;
    
    	&#91;SKILL&#93;
    		&lt;STRING&gt;NAME:Angel
    		&lt;INTEGER&gt;LEVEL:0
    		&lt;INTEGER&gt;LEVEL_REQUIRED:25
    		&lt;INTEGER&gt;PANE:2
    		&lt;INTEGER&gt;ROW:6
    		&lt;INTEGER&gt;COLUMN:2
    	&#91;/SKILL&#93;
    
    	&#91;SKILL&#93;
    		&lt;STRING&gt;NAME:Barter
    		&lt;INTEGER&gt;LEVEL:0
    		&lt;INTEGER&gt;LEVEL_REQUIRED:25
    		&lt;INTEGER&gt;PANE:2
    		&lt;INTEGER&gt;ROW:6
    		&lt;INTEGER&gt;COLUMN:3
    	&#91;/SKILL&#93;
    
    	&#91;SKILL&#93;
    		&lt;STRING&gt;NAME:UNSUMMON
    		&lt;INTEGER&gt;LEVEL:1
    		&lt;INTEGER&gt;PANE:-1
    		&lt;INTEGER&gt;ROW:-1
    		&lt;INTEGER&gt;COLUMN:-1
    	&#91;/SKILL&#93;
    
    &#91;/UNIT&#93;
    

    As much as I have changed it (and the corresponding \media\skills\<class> files, nothing seems to actually change same a few variables such as mana cost.

    This is confusing me greatly.
    Truth is a three edged sword.
  • kvdkkvdk Posts: 321
    is your mod in its own custom /mods/<modname>/ folder? cause many new modders make the mistake of putting the media folder directly in /mods/

    but TL expects each mod to exist in its own sub-directory with inside a "part" of the pak, with only the pieces needed for your mod...
    dgckdcgecmb.png
  • LighthammerLighthammer Posts: 60
    Thats most certainly not the here case.

    But to be more specific, I started by modifying another class mod that has some of what I was already looking for.

    I need some specific guidance of what files do what for classes.

    So there's no mistake here's what I know:
    • I know mods have to have their own folder in <Drive>:\Users\<User>\AppData\Roaming\runic games\torchlight\mods for Windows Vista / 7.
    • I know media\affixes\skills deals with basic options for spells such as what stats affect it
    • I know media\cinematics needs a valid entry for new classes or it will explode when you make it (although you can change another character to that class to avoid this if you have some need to for some reason).
    • I know media\graphs\stats deals with stat increases per level.
    • I know media\itemicons\players\<class> deals with class creation and basic icons for layout although I am iffy about a lot of things in this directory because I dont know what DDS files are.
    • i Know media\missiles sets up graphical affects for missiles. I dont know what CMP files are.
    • I know media\models setups the use of your models. I'm not playing too much with directory yet, although I intend to. I plan for the moment to keep the working models 100% in tact for what I am doing,
    • I know media\particles\players\<class> sets up general effects for your spells.
    • I know media\skills\<class> outlines all aspects about spells including the use of affixes, particles, icons, missile effects. Skills outlined here also have their level defined. I don't understand the layout files though.
    • I haven't played with media\ui much because, once again, I dont understand DDS or Layout files.
    • media\units\players\<class> seems to outline tech trees, but edits I make here don't seem to have an affect.
    • I know media\unitthemes gives more definitions to skills and used as strings for media\skills\<class>.
    • I know media\wardrobe\<class> is for the wardrobe and different variations of each armor the class can ware.

    So in dealing with modifications to the tech tree, what am I missing?
    Truth is a three edged sword.
  • kvdkkvdk Posts: 321
    have you make new unique GUID's for every part of the class, and properly linked everything together through those GUID's?

    TL needs to know what belongs with what, otherwise you get spooky stuff happenin
    dgckdcgecmb.png
  • OmnifasOmnifas Posts: 3,442 ✭✭✭
    Doesn't look like you did this yet for modifying the tech tree.
    The engine reads from the .adm/cmp files(compressed versions of the dat files/layout files), so if you did modifications, and launched the game, the engine creates an ADM file for each DAT file and will read from the ADM file. If you make changes to the DAT file and launch again, the game will not see those changes because its reading from the ADM which still contains the previous version.

    So for the <class>.dat you are editing, delete the accompanying <class>.dat.adm each time you modify something.

    Along with that the game also caches mod data to improve load times, so deleting those caches makes sure everything is reloaded. The first two troubleshoots below handles this.

    Here's some common troubleshooting:
    Manually delete mods.dat.adm and mods.dat(mod load order, deleting them forces Torchlight to reread the mods folder, this is in the mods folder)
    Manually delete massfile.dat and masterresourceunit.dat(mod cache, was implemented in order to improve mod loading time, deleting forces Torchlight to recache the mods folder, this is in the folder before the mods folder)
    Try with a new game to ensure there are no remnants of the last modification.

    Explaining some stuff:
    DDS files are a common format used for textures and images used by games, so only change them if you need new textures/images. You need a plugin from Nvidia for Photoshop to load them, or a plugin from the GIMP plugin repository for GIMP to load them.
    The layout files in the skill folder is basically how the skill looks on the game screen, you need TorchED to edit these.
    ADM/CMP are compressed versions of .dat/.layout which the PC version reads from.

    RGF has compiled a list of most of the tags with brief descriptions on what they do here:
    http://www.runicgamesfansite.com/showwi ... Properties
    Its part of this series:
    http://www.runicgamesfansite.com/showwi ... erty+Lists

    Here's the full series:
    http://www.runicgamesfansite.com/showwi ... ties+Guide

    Most of it is reference material.
Sign In or Register to comment.