[Release] Lightsabers

Backo

Well-Known Member
Joined
Jan 17, 2009
Messages
1,212
Reaction score
975
Oh no they didn't?

Yup they did. Had this ready for a while just didn't have the time to make a bit of a guide about it. It's basically some blue weapony things that should look like lightsabers. Well I'm not really a fan of em. Anyway doesn't mean you guys aren't.

As always the download contains the needed files for visuals and other stuffs.
DOWNLOAD


Jedi vs Sith battles???

Unless you recolor the textures and add them again as red versions then no. But here's how you add the blue ones as weapon costume items :)

So we've been through this before guys this should be a walk in the park with the data.enc being a possible pile of poo on the walkway.

Item.enc (Data/Item/Item.enc)
Unpack, 010 editor, template. Then go to the end and add this and rerun the template. Just a tip, select this part of code and then in 010 editor do "Paste From -> Hex Text"

Code:
66 78 5C 65 66 78 5C 69 74 65 6D 5C 70 49 74 65
6D 5C 6F 72 62 5F 4C 69 67 68 74 73 61 62 65 72
2E 65 66 78 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 69 74 65 6D
33 31 34 35 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 69 74 65 6D 5F 64 65 73
63 33 31 34 35 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 36 00 00 00 00 00 00 00
FF FF FF FF 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 FB CB 96 40
F9 0F C9 3F 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 C0 3F 00 00 C0 3F 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00
04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
08 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 03 00 00 00 00 00 00 00 00 00 00 00
66 78 5C 65 66 78 5C 69 74 65 6D 5C 70 49 74 65
6D 5C 31 68 5F 6B 61 74 5F 4C 69 67 68 74 73 61
62 65 72 2E 65 66 78 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 69 74 65 6D
33 31 34 36 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 69 74 65 6D 5F 64 65 73
63 33 31 34 36 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 36 00 00 00 00 00 00 00
FF FF FF FF 00 00 00 00 00 00 40 C0 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 33 33 B3 3E
33 33 B3 3F 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 66 66 E6 3E 66 66 E6 3E 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00
05 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
08 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 03 00 00 00 00 00 00 00 00 00 00 00
66 78 5C 65 66 78 5C 69 74 65 6D 5C 70 49 74 65
6D 5C 31 68 5F 62 6C 64 5F 4C 69 67 68 74 73 61
62 65 72 2E 65 66 78 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 69 74 65 6D
33 31 34 37 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 69 74 65 6D 5F 64 65 73
63 33 31 34 37 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 36 00 00 00 00 00 00 00
FF FF FF FF 00 00 00 00 00 00 40 C0 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 33 33 B3 3E
33 33 B3 3F 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 66 66 E6 3E 66 66 E6 3E 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00
06 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
08 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 03 00 00 00 00 00 00 00 00 00 00 00



cabal.enc (Data/cabal.enc)
Unpack, 010, template. Perform a search for 'avatar' and at the end of the type="4" block add this line.

Code:
            <avatar_item    id="8"  armor_item_id=""    armor_item_fx="-1"  weapon_mesh1="\fx\efx\item\pItem\orb_Lightsaber.efx"    weapon_mesh2="\fx\efx\item\pItem\cry_Lightsaber.efx"   astral_id="6"   />

At the end of the type="5" block:

Code:
            <avatar_item    id="8"  armor_item_id=""    armor_item_fx="-1"  weapon_mesh1="\fx\efx\item\pItem\1h_kat_Lightsaber.efx"    weapon_mesh2="\fx\efx\item\pItem\2h_kat_Lightsaber.efx"   astral_id="-1"   />

At the end of the type="6" block:

Code:
            <avatar_item    id="8"  armor_item_id=""    armor_item_fx="-1"  weapon_mesh1="\fx\efx\item\pItem\1h_bld_Lightsaber.efx"    weapon_mesh2="\fx\efx\item\pItem\2h_bld_Lightsaber.efx"   astral_id="-1"   />


Now go down a bit to the <avatar_astral> part and at this to the end of it.

Code:
			<avatar_astral_fx	id="6"	fxcode_on_bow="2224"	fxcode_on_shield="2225"	fxcode_keep_bow="2226"	fxcode_keep_shield="2227"	/>


Item.scp (Serverside)
Add these lines to the bottom and change the ID's to those of the items you added in the item.enc.

Code:
[ID_FROM_item.enc]	@IDT_AVAN	0	1	2	8	0	0	0	0	0	4	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	3	0	0
[ID_FROM_item.enc]	@IDT_AVAN	0	1	2	8	0	0	0	0	0	5	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	3	0	0
[ID_FROM_item.enc]	@IDT_AVAN	0	1	2	8	0	0	0	0	0	6	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	3	0	0


data.enc (Data\cabal_msg.enc)
I've added the latest Korean data.enc in the download so you can try with that. It's called data_lightsaber.enc and you'll find it in your data directory after you unpack everything. Just did that to make sure it doesn't overwrite your files.

If it works, party time, if it doesn't you can open up your own data.enc after unpacking and run the correct template. Go to the EFX ID's 2224, 2225, 2226 and 2227. Change them so they point to the EFX's in the data\FX\EFX\Item\pItem\ folder being:
2226 bow_lightsaber_keep.efx
2224 bow_lightsaber_on.efx
2227 shield_lightsaber_keep.efx
2225 shield_lightsaber_on.efx

Don't forget to edit the data size correctly in the beginning of the file.


Cabal_msg.enc (Data\cabal_msg.enc)
Unpack, open, and this time i'll just let you guys make up the names and descriptions of the items. The Korean wasn't really that good.


Thanks to SpeedDevil!
 

Attachments

  • 1.jpg
    1.jpg
    156.6 KB · Views: 11
  • 2.jpg
    2.jpg
    149.9 KB · Views: 8
  • 3.jpg
    3.jpg
    146.4 KB · Views: 8
  • 4.jpg
    4.jpg
    170.1 KB · Views: 9