![]() |
Is it possible to edit spells?
I started poking through the editor today, and couldn't find an option to edit spells. If the editor can't edit spells, is there a way to do it manually? I've been peeking in inside various .kfs files trying to find the files that control trap behavior. I'd love to edit traps to make them a bit more potent, and possibly add some additional effects.
If anyone knows where to find such information I'd appreciate it. In addition, if I do find the appropriate files, where do I need to save the new files? Do they have to be packed back into the original compressed .kfs archive, or do I need to just stick them in the data/mods folder? Thanks! |
The main stats database is stored in Sessions\addon\ses.kfs and the file is named "spells.txt". From there search for spell_trap, and there you go. It contains various stats you can modify. As for spell behavior, it's located in .lua files, but I wouldn't recommend you messing with it, as I spent last two days trying to add some cool effects, but without success.
The modified files don't have to go back to .kfs file, they are fine in Mods folder. |
OOTM has an updated spells.txt in orcs.kfs, so you will probably want to use that.
From: http://forum.1cpublishing.eu/showthread.php?t=11656 Quote:
|
Awesome, thanks for the help bladeking and TheOne.
After a bit of tinkering I've managed to lower the cost of the traps a bit (5,7,10 instead of 5,10,15), increased the duration by two, and added a 50% chance for burning effect from 1-3 turns at trap level 2 and above. So far it seems to be working! Any idea how to access the text for the various spells? I've found entries like this: hint=spell_trap_hint hint_header=spell_trap_header but I don't know which file to open to actually change the text strings. |
Quote:
Here are the lines responsible for trap spell: spell_trap_name=Trap SN_trap=^spells_tN^ spell_trap_header=^spells_tC^ spell_trap_small= spell_trap_desc=Places a trap on the battlefield. When falling into a trap, a troop incurs physical damage and loses all of its Action Points. spell_trap_text_1=^spells_tSpell^Damage: [DS16_Damage]. spell_trap_text_2=^spells_tSpell^Damage: [DS16_Damage]. spell_trap_text_3=^spells_tSpell^damage: [DS16_Damage] (poisons). spell_trap_hint=^spells_tEnew^ I hope this helps you. :) |
Perfect, thanks again. Just what I needed!
Everything's working like a charm so far. Flaming traps really help out against those nasty Ancient Ents. http://www.pucemoose.com/pics/trappy1.jpg |
With which programm can i extract the files in de kfs?
|
Quote:
|
Thanks i wonder why my pc didn't said that WinRar can open it. :confused:
|
All times are GMT. The time now is 02:15 AM. |
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2007 Fulqrum Publishing. All rights reserved.