本帖最后由 40252492 于 2020-12-6 19:00 编辑
各位大佬好,我想对一些文本进行处理,但是只会for循环,不会操作文本,大佬救我!靴靴!QAQ
【1、目录树
F:\POE\test\Spells\animate_weapon\Celestial\spawn.aoc
F:\POE\test\Spells\abyssal_cry\abyssal_cry.aoc
这样的很多子文件夹里的很多.aoc文件
【2、批处理放在
F:\POE\test\Spells\批处理.bat
对这个目录及子文件夹里的所有.aoc文件进行操作,aoc文件可以直接用记事本打开
【3、要进行的操作
a、找到所有.aoc文件
b、将其中的复制代码 c、替换为复制代码 【4、aoc文件内容- version 2
- extends "Metadata/Parent"
- ClientAnimationController
- {
- skeleton = "Art/Models/Effects/discharge/fire_discharge/rig.ast"
- }
- SkinMesh
- {
- skin = "Art/Models/Effects/discharge/fire_discharge/firedischarge.sm"
- }
- SoundEvents
- {
- soundbank = "SkillsDischarge.bank"
- animation = "discharge"
- 0 = "Audio/Sound Effects/Skills/Discharge/DischargeFire$(#).ogg@2 120 0 0.1 0.1 0 -1 0 1 1"
- 0 = "Audio/Sound Effects/Skills/Discharge/E_Layer_$(#).ogg@2 119 0 0.1 0.1 0 jnt_soundfx1 0 1 1"
- 0 = "Audio/Sound Effects/Skills/Discharge/Cannon_$(#).ogg@0.14 114 0 0.1 0.1 0 -1 0 1 1"
- 0 = "Audio/Sound Effects/Skills/Discharge/E_Layer_$(#).ogg@2 119 0 0.1 0.1 0 jnt_soundfx2 0 1 1"
- 0.270662 = "Audio/Sound Effects/Skills/Discharge/Stereo_$(#).ogg%80@0.29 110 0 0.1 0.1 0 -1 0 1 1"
- }
- BoneGroups
- {
- bone_group = "line false midjoint joint9 "
- bone_group = "actline false joint4 joint5 "
- bone_group = "botexplode false joint4 joint6 "
- bone_group = "fire false midjoint joint3 "
- }
- ParticleEffects
- {
- animation = "discharge"
- 0 = "line Metadata/Particles/discharge/fire/line.pet"
- 0 = "actline Metadata/Particles/discharge/fire/actual_line.pet"
- 0 = "botexplode Metadata/Particles/discharge/fire/botexplode.pet"
- 0 = "fire Metadata/Particles/discharge/fire/cyl.pet"
- tick_when_not_visible = true
- }
- DecalEvents
- {
- animation = "discharge"
- 0 = "Metadata/Decals/scorchmarks.atlas circlescorch root 180 0.092"
- }
- Lights
- {
- }
- ScreenShake
- {
- animation = "discharge"
- 0 = "30 5 0.5 0 1 0 0"
- }
- WindEvents
- {
- animation = "discharge"
- time = 0.000
- shape = "FireSource"
- size = "185.000 200.000 300.000"
- duration = 1.000
- initial_phase = 6.000
- primary_velocity = 1000.000
- primary_wavelength = 500.000
- secondary_velocity = 1000.000
- secondary_wavelength = 500.000
- is_attached = true
- is_persistent = false
- bone_index = 0
- }
复制代码 【5、杂项
没错,这是流放之路GGPK数据包新架构的技能配置文件,我要做的是让配置不高的电脑流畅运行
好多屏蔽特效的作者都不更了,唯一一个poeNullEffects还收费10刀一个月,我实在是看不惯,电脑不好的人有钱不买显卡订阅他么
A大(aianlinb)研究出了新的解包工具LibGGPK2,我想着年老有为嘛也就做点微薄的贡献吧XD
③里举例的是删除声音,之后我会自己改写几个删除粒子特效ParticleEffects和光效Lights的,然后用choice写在一起233 |