You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: _articles/abilities/modifier-properties-in-tooltips.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,7 @@ some examples:
20
20
```
21
21
"DOTA_Tooltip_modifier_tower_aura_bonus_Description" "Armor increased by %dMODIFIER_PROPERTY_PHYSICAL_ARMOR_BONUS% and health regeneration by %dMODIFIER_PROPERTY_HEALTH_REGEN_CONSTANT%."
22
22
```
23
-
and approximately 560 more examples in valve's [abilities_english.txt](https://raw.githubusercontent.com/SteamDatabase/GameTracking-Dota2/master/game/dota/pak01_dir/resource/localization/abilities_english.txt)
23
+
and approximately 560 more examples in valve's abilities_english.txt.
24
24
25
25
26
26
As you can see, all of those numbers are not manually written into the modifier description, they are dynamically grabbed from the modifier.
@@ -63,7 +63,7 @@ If the contents between the %'s don't match the format then it wont work.
63
63
### The Format
64
64
`%<-><number><d|f>MODIFIER_PROPERTY_%`
65
65
66
-
Snippet from [abilities_english.txt](https://raw.githubusercontent.com/SteamDatabase/GameTracking-Dota2/master/game/dota/pak01_dir/resource/localization/abilities_english.txt):
66
+
Snippet from abilities_english.txt:
67
67
68
68
```
69
69
// substitution for modifier tooltips
@@ -72,8 +72,8 @@ Snippet from [abilities_english.txt](https://raw.githubusercontent.com/SteamData
72
72
// 'f' for float
73
73
// optional '-' to not abs() the values
74
74
// optional number to specify the number of decimals to print after a float
Copy file name to clipboardExpand all lines: _articles/assets/extracting-and-compiling-vtex-files.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ date: 21.01.2015
8
8
Hello everybody. Recently, I've been looking through the .VTEX files used by most of the sprites and particle effects in-game, but I couldn't find any extensive documentation about it. Therefore, I decided to write this little guide in case anybody else finds it useful.
9
9
10
10
### Extracting from VTEX
11
-
1) Extracting images from compiled VTEX files (.VTEX_C) is actually quite simple, but we need those files first. If you haven't already extracted them, you can find them in pak01_dir.vpk, which is located in your dota_ugc\game\dota_imported folder. Use a tool like GCFScape to open and extract the files that you need.
11
+
1) Extracting images from compiled VTEX files (.VTEX_C) is actually quite simple, but we need those files first. If you haven't already extracted them, you can find them in pak01_dir.vpk, which is located in your dota_ugc\game\dota_imported folder. Use a tool like GCFScape or [Source 2 Viewer](https://s2v.app/)to open and extract the files that you need.
### 1. Acquire the **model** and **material** files from the main game VPK (*pak01_dir.vpk*) using GCFScape.
19
+
### 1. Acquire the **model** and **material** files from the main game VPK (*pak01_dir.vpk*) using GCFScape.
20
20
21
21
The following file types are required:
22
22
@@ -33,7 +33,7 @@ Right-click extract into a folder of your choice.
33
33
34
34

35
35
36
-
Color Material files are located in the the *materials/models/* folder. In this example this courier has 3 associated color files, one for each skin, so we'll get
36
+
Color Material files are located in the the *materials/models/* folder. In this example this courier has 3 associated color files, one for each skin, so we'll get
37
37
38
38

39
39
@@ -75,7 +75,7 @@ Result ([IrfanView](https://www.irfanview.com/) is an oldschool image viewer tha
75
75
76
76
Create new folders on each or just drop the files over the respective directories. Make sure to use the content folder (not the /game/). <br />The location of the reference mesh in /content/models/ will determine the location where the .vmdl file will be saved.
@@ -328,11 +328,15 @@ The best GitHub repo to look for Dota 2 spells is [Elfansoer's dota 2 abilities
328
328
329
329
If you want to check the scripts of a certain game on the [Custom Games Workshop](https://steamcommunity.com/workshop/browse/?appid=570&browsesort=trend§ion=readytouseitems) which hasn't made their source public on GitHub (because they are fools), just follow these steps:
330
330
331
-
1. Subscribe to the game. Download [Valve Resource Viewer](https://vrf.steamdb.info/) if you haven't done so yet.
332
-
2. Check the URL, steamcommunity.com/sharedfiles/filedetails/?id=**copy this number**
333
-
3. Go to your Steam folder -> SteamApps -> workshop -> content -> 570 (this is the dota folder)
334
-
4. Search for the copied number folder
335
-
5. Open the .vpk file with GCFScape or VRF and extract its contents anywhere you want. Now you can access its scripts and compiled models/particles/sounds.
331
+
1. Subscribe to the game. Download [Source 2 Viewer](https://s2v.app/) if you haven't done so yet.
332
+
2. Open Explorer in the app.
333
+
3. Open the workshop vpk.
334
+
335
+
Manually:
336
+
1. Check the URL, steamcommunity.com/sharedfiles/filedetails/?id=**copy this number**
337
+
2. Go to your Steam folder -> SteamApps -> workshop -> content -> 570 (this is the dota folder)
338
+
3. Search for the copied number folder
339
+
4. Open the .vpk file with GCFScape or S2V and extract its contents anywhere you want. Now you can access its scripts and compiled models/particles/sounds.
0 commit comments