Newbie Spellweaver
- Joined
- Jul 15, 2014
- Messages
- 24
- Reaction score
- 4
Alright, this can be needed for various reasons, like making Saint stronger if your server has OP Archridium items; or you might want to make a GM weapon, whatever. If you want to edit the force values (bonuses) of these items, read on.
1. Server-side editing
The file we are interested on the server side is SpecialItem.scp. Open it. By default, you should see the below:
Let's first understand what the values in this table mean. This first table does not contain the actual force values, but it is the place where force options are first listed, along with their IDs. There are separate entries for every class: Warrior, Blader, etc. Here is the meaning of each column:
[LKWP_Main] - Increment column, which is common in .scp files.
LKWP_GID - This is the Item Option value for this particular set of force values. For regular Saint's Forcecalibur, this value is 6.
LKWP_ID - This is the individual ID assigned to the particular row in the file. It is useless outside of SpecialItem.scp, while actually giving yourself the item; use the LKWP_GID value. However, we will need it in the next table.
BS - Battle Style value, that determines which class the set of options denoted by the row applies to.
Type - Maybe there is more to this column than I am aware of, but what I determined is that the Type column allows you to set a particular skill ID related to this item. If Type is 2, the character wearing the weapon gets to use the skill specified in SkillID. If you don't want this, just set Type to 1.
SKillID - This should be nonzero if Type is 2. 474 is the Skill ID for the Saint's Force buff. If you want to make a new option set for Saint's Forcecalibur, you should set this to 474, and set Type to 2.
Now let's add a new option here. Just paste this at the bottom of the table:
As you can see, we pasted one row for each class.
After doing this, scroll down and move onto the next table. It should look like this:
Here is the meaning of every column:
[LKWP_Value] - Regular increment variable.
LKWP_ID - This determines which row above we are writing the options of. Use the LKWP_ID value you set above.
Order - This is an increment variable inside each set of option (for each LKWP_ID.) If you change LKWP_ID value, you should reset this to 0; and you should keep incrementing it while referring to the same LKWP_ID.
ForceID - Force ID value. You should be able to find these in your client files, some basic ones are:
Value - The value for the Force ID. For example, ForceID = 8 and Value = 100 means +%100 Critical DMG.
For the purposes of this tutorial, simply past the following code at the bottom of this table:
This will give the following options for every class:
All Attack UP. +1000
Attack Rate +4000
Critical Rate +%50
Critical DMG +%300
All Skill Amp. UP +%100
Now, save SpecialItem.scp, upload to your server and restart the server. However, remember the force values you have inside; we will need it on the client-side editing.
2. Client-side editing
Our client-side editing will be done inside cabal.enc. Unpack your cabal.enc, open it and find the following text using Ctrl+F:
Now, just below </lkwp_main>, paste the following code.
If you read the server-side editing part, you shouldn't need any explanation here. The same values are simply being copied into cabal.enc. If your server-side values were different, you might want to edit my code accordingly.
After this, save and pack your cabal.enc and you are good to go! When you give yourself Saint's Forcecalibur (Item ID: 3101, Item Option: 7 for my code, if you used values for LKWP_GID & LKWP Main ID (these values should be the same) that are different than mine, use that as Item Option.) ingame, you should see the options I mentioned earlier.
Happy developing! If you have any questions, feel free to ask in the reply section.
1. Server-side editing
The file we are interested on the server side is SpecialItem.scp. Open it. By default, you should see the below:
Code:
[LKWP_Main] LKWP_GID LKWP_ID BS Type SKillID
Let's first understand what the values in this table mean. This first table does not contain the actual force values, but it is the place where force options are first listed, along with their IDs. There are separate entries for every class: Warrior, Blader, etc. Here is the meaning of each column:
[LKWP_Main] - Increment column, which is common in .scp files.
LKWP_GID - This is the Item Option value for this particular set of force values. For regular Saint's Forcecalibur, this value is 6.
LKWP_ID - This is the individual ID assigned to the particular row in the file. It is useless outside of SpecialItem.scp, while actually giving yourself the item; use the LKWP_GID value. However, we will need it in the next table.
BS - Battle Style value, that determines which class the set of options denoted by the row applies to.
Type - Maybe there is more to this column than I am aware of, but what I determined is that the Type column allows you to set a particular skill ID related to this item. If Type is 2, the character wearing the weapon gets to use the skill specified in SkillID. If you don't want this, just set Type to 1.
SKillID - This should be nonzero if Type is 2. 474 is the Skill ID for the Saint's Force buff. If you want to make a new option set for Saint's Forcecalibur, you should set this to 474, and set Type to 2.
Now let's add a new option here. Just paste this at the bottom of the table:
Code:
36 7 37 1 2 474
37 7 38 2 2 474
38 7 39 3 2 474
39 7 40 4 2 474
40 7 41 5 2 474
41 7 42 6 2 474
As you can see, we pasted one row for each class.
After doing this, scroll down and move onto the next table. It should look like this:
Code:
[LKWP_Value] LKWP_ID Order ForceID Value
Here is the meaning of every column:
[LKWP_Value] - Regular increment variable.
LKWP_ID - This determines which row above we are writing the options of. Use the LKWP_ID value you set above.
Order - This is an increment variable inside each set of option (for each LKWP_ID.) If you change LKWP_ID value, you should reset this to 0; and you should keep incrementing it while referring to the same LKWP_ID.
ForceID - Force ID value. You should be able to find these in your client files, some basic ones are:
Code:
1 - HP
6 - Attack Rate
8 - Critical DMG.
9 - Critical Rate
16 - Max Critical Rate
97 - Resist Critical Rate
98 - Resist Critical DMG.
113 - All Attack UP.
114 - All Skill Amp UP.
Value - The value for the Force ID. For example, ForceID = 8 and Value = 100 means +%100 Critical DMG.
For the purposes of this tutorial, simply past the following code at the bottom of this table:
Code:
330 37 0 113 1000
331 37 1 6 4000
332 37 2 9 50
333 37 3 8 300
334 37 4 114 100
335 38 0 113 1000
336 38 1 6 4000
337 38 2 9 50
338 38 3 8 300
339 38 4 114 100
340 39 0 113 1000
341 39 1 6 4000
342 39 2 9 50
343 39 3 8 300
344 39 4 114 100
345 40 0 113 1000
346 40 1 6 4000
347 40 2 9 50
348 40 3 8 300
349 40 4 114 100
350 41 0 113 1000
351 41 1 6 4000
352 41 2 9 50
353 41 3 8 300
354 41 4 114 100
355 42 0 113 1000
356 42 1 6 4000
357 42 2 9 50
358 42 3 8 300
359 42 4 114 100
This will give the following options for every class:
All Attack UP. +1000
Attack Rate +4000
Critical Rate +%50
Critical DMG +%300
All Skill Amp. UP +%100
Now, save SpecialItem.scp, upload to your server and restart the server. However, remember the force values you have inside; we will need it on the client-side editing.
2. Client-side editing
Our client-side editing will be done inside cabal.enc. Unpack your cabal.enc, open it and find the following text using Ctrl+F:
Code:
<lkwp id="36" BS="6" type="2" skillid="474" ebm_rhand="\FX\EFX\Item\legacy\gw_1h_bld.efx" ebm_lhand="" >
<value order="0" bforce_id="113" value="400" />
<value order="1" bforce_id="6" value="2000" />
<value order="2" bforce_id="9" value="15" />
<value order="3" bforce_id="8" value="100" />
<value order="4" bforce_id="114" value="10" />
</lkwp>
</lkwp_main>
Now, just below </lkwp_main>, paste the following code.
Code:
<lkwp_main id="7" >
<lkwp id="37" BS="1" type="2" skillid="474" ebm_rhand="\FX\EFX\Item\legacy\gw_2h_bld.efx" ebm_lhand="" >
<value order="0" bforce_id="113" value="1000" />
<value order="1" bforce_id="6" value="4000" />
<value order="2" bforce_id="9" value="50" />
<value order="3" bforce_id="8" value="300" />
<value order="4" bforce_id="114" value="100" />
</lkwp>
<lkwp id="38" BS="2" type="2" skillid="474" ebm_rhand="\FX\EFX\Item\legacy\gw_1h_bld.efx" ebm_lhand="\FX\EFX\Item\legacy\gw_1h_bld.efx" >
<value order="0" bforce_id="113" value="1000" />
<value order="1" bforce_id="6" value="4000" />
<value order="2" bforce_id="9" value="50" />
<value order="3" bforce_id="8" value="300" />
<value order="4" bforce_id="114" value="100" />
</lkwp>
<lkwp id="39" BS="3" type="2" skillid="474" ebm_rhand="" ebm_lhand="\FX\EFX\Item\legacy\gw_stick.efx" >
<value order="0" bforce_id="113" value="1000" />
<value order="1" bforce_id="6" value="4000" />
<value order="2" bforce_id="9" value="50" />
<value order="3" bforce_id="8" value="300" />
<value order="4" bforce_id="114" value="100" />
</lkwp>
<lkwp id="40" BS="4" type="2" skillid="474" ebm_rhand="" ebm_lhand="\FX\EFX\Item\legacy\gw_bow_keep.efx" >
<value order="0" bforce_id="113" value="1000" />
<value order="1" bforce_id="6" value="4000" />
<value order="2" bforce_id="9" value="50" />
<value order="3" bforce_id="8" value="300" />
<value order="4" bforce_id="114" value="100" />
</lkwp>
<lkwp id="41" BS="5" type="2" skillid="474" ebm_rhand="\FX\EFX\Item\legacy\gw_1h_bld.efx" ebm_lhand="\FX\EFX\Item\legacy\gw_shield_keep.efx" >
<value order="0" bforce_id="113" value="1000" />
<value order="1" bforce_id="6" value="4000" />
<value order="2" bforce_id="9" value="50" />
<value order="3" bforce_id="8" value="300" />
<value order="4" bforce_id="114" value="100" />
</lkwp>
<lkwp id="42" BS="6" type="2" skillid="474" ebm_rhand="\FX\EFX\Item\legacy\gw_1h_bld.efx" ebm_lhand="" >
<value order="0" bforce_id="113" value="1000" />
<value order="1" bforce_id="6" value="4000" />
<value order="2" bforce_id="9" value="50" />
<value order="3" bforce_id="8" value="300" />
<value order="4" bforce_id="114" value="100" />
</lkwp>
</lkwp_main>
If you read the server-side editing part, you shouldn't need any explanation here. The same values are simply being copied into cabal.enc. If your server-side values were different, you might want to edit my code accordingly.
After this, save and pack your cabal.enc and you are good to go! When you give yourself Saint's Forcecalibur (Item ID: 3101, Item Option: 7 for my code, if you used values for LKWP_GID & LKWP Main ID (these values should be the same) that are different than mine, use that as Item Option.) ingame, you should see the options I mentioned earlier.
Happy developing! If you have any questions, feel free to ask in the reply section.