Do not ask me in PM, write here your questions
No me pregunten por MP, escriban aqui sus preguntas[
S4RESOURCE FIXXED!!!!!!DON'T SPAMM MORE.
Hi,I want to create a "library" with all weapons code they are, are putting encountered, and I will be updating.
I know that there is a theme "http://www.elitepvpers.com/forum/s4-league/412001-sammelthread-ressource-hacks.html" but I want to make one more organized, and only for weapons and skills.
[Tutorial ENG]
1- Open

(click 4 go to download)
2- Search in XML(in to the S4Resource.exe), iteminfo.x4
3- Click in iteminfo.x4 and after in Export.
4- Save in a separate folder to keep it tidy, and make a backup elsewhere.
5- Open iteminfo.x4 using, for example a notepad
6- Search a weapon code that you want to replace with a new weapon.
7- replaced the code <weapon> ---------....----- </weapon> as a minimum
8- Save the file and reopen (if you close it), click in XML(and open) and after click in Import, and select the iteminfo.x4 file.
9- Have fun!!!
For Skills is the same but <actions>-.----....</actions> instead of <weapon> ---------....----- </weapon> ^^
[Tutorial ESP]
1- Abre

(apreta para ir descargar)
2- Busca dentro de XML(dentro de S4Resource.exe), el archivo iteminfo.x4
3- Apreta en iteminfo.x4 y despues en Export.
4- Guardarlo en una carpeta separada para que este ms organizado, y haz una copia de seguridad en un sitio seguro.
5- Abre iteminfo.x4 usando, por ejemplo el bloc de notas
6- Busca el codigo de el arma que quieres reemplazar por una nueva arma
7- reemplaza el codigo <weapon> ---------....----- </weapon> como minimo
8- Guarda el archivo y reabre (si lo has cerrado), apreta en XML(y abrelo) y despues en Import, y selecciona el archivo iteminfo.x4.
9- Diviertete!!!
Para los Skills es lo mismo pero es <actions>-.----....</actions> en vez de <weapon> ---------....----- </weapon> ^^
[Weapons]
[Code explanation]
<weapon></weapon>
-Is the most important, if not change the weapon does not really different.
-Es lo mas importante, si no cambias esto no veras el arma distinta.
<client></client>
-This changes the icon of the weapon, in the inventory, in the shop and when you change weapons in the game.
-Esto cambia el icono del arma, en el inventario, en la shop y cuando tu cambias de arma en el juego.
<license require=...
-This is just do license of the weapon that we have changed.
-Esto es solo para hacer la licencia de el arma que hemos cambiado.
<action></action>
-This is as <weapon> </ weapon>, is the most important.
-Esto es como <weapon> </ weapon> , es lo mas importante.
[Claw/Vital Shock]
Img
License (not necessary)
Code:
<license require="LICENSE_ASSASSIN_CLAW" script="license_VitalShock.lua" script_func="OnVitalShockLicenseTest" license_map="104" />
Client (not necessary)
Code:
<client>
<icon image="icon_sword_sudden.tga" />
<attrib comment_key="TIP277" />
<feature comment_key="F_TEXT277" />
</client>
Weapon
Code:
<weapon>
<resources reload_sound_file="Resources/Sound/sword_reload.ogg" slot_image_file="Resources/Image/Weapon/slot_sword_sudden.tga" crosshair_file="Resources/Image/Weapon/crosshair_sword_plasma" crosshair_zoomin_file="Resources/Image/Weapon/crosshair_sword_plasma" auto_target_distance="0.0" />
<ability type="20" rate_of_fire="1" power="5.0" move_speed_rate="1.1" attack_move_speed_rate="1.0" magazine_capacity="-1" cracked_magazine_capacity="-1" max_ammo="-1" accuracy="0" range="250" support_sniper_mode="0" sniper_mode_fov="15" />
<scene value="resources/Model/Weapon/vital_shock.scn" />
</weapon>
[Dragonnade]
by me
Img
Client
Code:
<client>
<icon image="dragonade.tga" />
<attrib comment_key="TIP288" />
<feature comment_key="F_TEXT288" />
</client>
Weapon
Code:
<weapon>
<resources reload_sound_file="Resources/Sound/brail_reload.ogg" slot_image_file="Resources/Image/Weapon/dragonade.tga" crosshair_file="Resources/Image/Weapon/crosshair_gun_connonade" crosshair_zoomin_file="Resources/Image/Weapon/crosshair_gun_connonade_zoomin" auto_target_distance="500" />
<ability type="7" rate_of_fire="0.6" power="18.0" move_speed_rate="1.0" attack_move_speed_rate="0.7" magazine_capacity="5" cracked_magazine_capacity="2" max_ammo="-1" accuracy="0" range="400.0" support_sniper_mode="1" sniper_mode_fov="15" />
<scene value="resources/Model/Weapon/dragonade.scn" />
<float value="2.5" />
<!-- 최대 데미지 대비 최소 데미지 비율 -->
<string value="Resources/Effects/weapon_canon_charge.seq" />
<!-- 조준1 시퀀스 파일 이름 -->
<string value="Resources/Sound/brail_charge.ogg" />
<!-- 조준1 사운드 파일 이름 -->
<string value="Resources/Effects/weapon_canon_charge_loop.seq" />
<!-- 조준2 시퀀스 파일 이름 -->
<string value="Resources/Sound/brail_charge_complete.ogg" />
<!-- 조준2 사운드 파일 이름 -->
<string value="Resources/Effects/weapon_canon_fire.seq" />
<!-- 사격1 시퀀스 파일 이름 -->
<string value="Resources/Sound/brail_blast.ogg" />
<!-- 사격1 사운드 파일 이름 -->
<string value="AreaRailgun_Fire_Dummy" />
<!-- 사격1 부모 노드 이름 -->
<string value="Resources/Effects/weapon_canon_fire_max.seq" />
<!-- 사격2 시퀀스 파일 이름 -->
<string value="Resources/Sound/brail_blast_max.ogg" />
<!-- 사격2 사운드 파일 이름 -->
<string value="AreaRailgun_Fire_Dummy" />
<!-- 사격2 부모 노드 이름 -->
</weapon>
[Semi Cat/Cat Rifle]
by me
Img
Client
Code:
<client>
<icon image="icon_gun_semi_cat.tga" />
<attrib comment_key="TIP282" />
<feature comment_key="F_TEXT282" />
</client>
Weapon
Code:
<weapon>
<resources reload_sound_file="Resources/Sound/smg3_reload.ogg" slot_image_file="Resources/Image/Weapon/slot_gun_dual.tga" crosshair_file="Resources/Image/Weapon/crosshair_gun_revolver" crosshair_zoomin_file="Resources/Image/Weapon/crosshair_gun_rail_zoomin" auto_target_distance="0.0" />
<ability type="21" rate_of_fire="8.0" power="6.0" move_speed_rate="1.0" attack_move_speed_rate="1.0" magazine_capacity="50" cracked_magazine_capacity="10" max_ammo="-1" accuracy="0.025" range="500" support_sniper_mode="0" sniper_mode_fov="15" />
<scene value="resources/Model/Weapon/catdualgun.scn" />
<scene_kid value="resources/Model/Weapon/catdualgun.scn" />
</weapon>
[SMG Fish/DHa-41]
Img
Client (not necessary)
Code:
<client>
<icon image="icon_gun_sub_kid.tga" />
<attrib comment_key="T2010009" />
<feature comment_key="F2010009" />
</client>
Weapon
Code:
<weapon>
<resources reload_sound_file="Resources/Sound/smg_reload.ogg" slot_image_file="Resources/Image/Weapon/slot_gun_sub.tga" crosshair_file="Resources/Image/Weapon/crosshair_gun_revolver" crosshair_zoomin_file="Resources/Image/Weapon/crosshair_gun_revolver" auto_target_distance="0.0" />
<ability type="2" rate_of_fire="8.0" power="7.0" move_speed_rate="1.0" attack_move_speed_rate="1.0" magazine_capacity="30" cracked_magazine_capacity="10" max_ammo="-1" accuracy="0.04" range="" support_sniper_mode="0" sniper_mode_fov="15" />
<scene value="resources/Model/Weapon/gun_r_fish.scn" />
<scene value="resources/Model/Weapon/gun_l_fish.scn" />
</weapon>
[Mine gun/ Launcher]
Img
License (not necessary)
Code:
<license require="license_mine_gun" script="license_MineGun.lua" script_func="OnMineGunLicenseTest" license_map="104" />
Client (not necessary)
Code:
<client>
<icon image="icon_gun_mine.tga" />
<attrib comment_key="TIP292" />
<feature comment_key="F_TEXT292" />
</client>
Weapon
Code:
<weapon>
<resources reload_sound_file="Resources/Sound/grenade_reload.ogg" slot_image_file="Resources/Image/Weapon/slot_gun_mine.tga" crosshair_file="Resources/Image/Weapon/crosshair_gun_mine" crosshair_zoomin_file="Resources/Image/Weapon/crosshair_gun_mine" auto_target_distance="0" />
<ability type="10" rate_of_fire="0.3" power="45.0" move_speed_rate="1.0" attack_move_speed_rate="1.0" magazine_capacity="1" cracked_magazine_capacity="1" max_ammo="4" accuracy="0" range="500.0" support_sniper_mode="0" sniper_mode_fov="15" />
<scene value="resources/Model/Weapon/minegun.scn" />
</weapon>
[Semi ayaya]
by me
Img
Client (not necessary)
Code:
<client>
<icon image="ico_gun_semi_ayaya.tga" />
<attrib comment_key="T2010011" />
<feature comment_key="F2010011" />
</client>
Weapon
Code:
<weapon>
<resources reload_sound_file="Resources/Sound/smg2_reload.ogg" slot_image_file="Resources/Image/Weapon/icon_gun_semi_rifle.tga" crosshair_file="Resources/Image/Weapon/crosshair_gun_revolver" crosshair_zoomin_file="Resources/Image/Weapon/crosshair_gun_rail_zoomin" auto_target_distance="350" />
<ability type="4" rate_of_fire="8.0" power="5.3" move_speed_rate="1.0" attack_move_speed_rate="0.9" magazine_capacity="30" cracked_magazine_capacity="8" max_ammo="-1" accuracy="0.01" range="" support_sniper_mode="1" sniper_mode_fov="25" />
<scene value="resources/Model/Weapon/ayaya.scn" />
</weapon>
[Card Gun]
by blabu I think, Correct me if I'm wrong
Img
Weapon
Code:
<weapon>
<resources reload_sound_file="Resources/Sound/card_reload.ogg" slot_image_file="Resources/Image/Weapon/slot_gun_sub.tga" crosshair_file="Resources/Image/Weapon/crosshair_gun_revolver" crosshair_zoomin_file="Resources/Image/Weapon/crosshair_gun_revolver" auto_target_distance="0.0" />
<ability type="15" rate_of_fire="1.0" power="8.0" move_speed_rate="1.1" attack_move_speed_rate="1.1" magazine_capacity="30" cracked_magazine_capacity="10" max_ammo="-1" accuracy="0.04" range="" support_sniper_mode="0" sniper_mode_fov="15" />
<scene value="resources/Model/Weapon/flycard.scn" />
<scene value="resources/Model/Weapon/card_hand_r.scn" />
<scene value="resources/Model/Weapon/card_hand_l.scn" />
<sequence parent_nodename="card_Dummy01" filename="Resources/Effects/weapon_card_bd.seq" />
<sequence parent_nodename="card_Dummy02" filename="Resources/Effects/weapon_card_bd.seq" />
<sequence parent_nodename="card_Dummy03" filename="Resources/Effects/weapon_card_bd.seq" />
<sequence parent_nodename="Card_hand_R" filename="Resources/Effects/weapon_card_hand.seq" />
<sequence parent_nodename="Card_hand_L" filename="Resources/Effects/weapon_card_hand.seq" />
</weapon>
[Katana/Nippondo]
by I don't remmember sorry
Img
Weapon
Code:
<weapon>
<resources reload_sound_file="Resources/Sound/sword_reload.ogg" slot_image_file="Resources/Image/Weapon/slot_sword_stormbat.tga" crosshair_file="Resources/Image/Weapon/crosshair_sword_plasma" crosshair_zoomin_file="Resources/Image/Weapon/crosshair_sword_plasma" auto_target_distance="0.0" />
<ability type="14" rate_of_fire="1" power="24.0" move_speed_rate="1.1" attack_move_speed_rate="1.0" magazine_capacity="-1" cracked_magazine_capacity="-1" max_ammo="-1" accuracy="0" range="500" support_sniper_mode="0" sniper_mode_fov="15" />
<scene value="resources/Model/Weapon/nippondo.scn" />
<scene value="resources/Model/Weapon/nippondow.scn" />
<scene value="resources/Model/Weapon/nippondozip.scn" />
<!-- 점프 데미지 -->
<float value="30.0" />
<!-- 일섬 기본 데미지 -->
<float value="26.0" />
<!-- 일섬 맥스 데미지 -->
<float value="100.0" />
<!-- 일섬 사정거리 -->
<float value="5000.0" />
<!-- 모으기 노멀 시퀀스 파일 이름 -->
<string value="Resources/Effects/katana_save.seq" />
<!-- 모으기 노멀 사운드 파일 이름 -->
<string value="Resources/Sound/rail_blast.ogg" />
<!-- 모으기 맥스 시퀀스 파일 이름 -->
<string value="Resources/Effects/katana_save_max.seq" />
<!-- 모으기 맥스 사운드 파일 이름 -->
<string value="Resources/Sound/rail_blast.ogg" />
</weapon>
[GS?¿?¿?¿]
by me
Img (put in Railgun)
Weapon (only im find thisn and only change this 2 lines)
Code:
<scene value="resources/Model/Weapon/gs.scn" />
<scene_kid value="resources/Model/Weapon/gs.scn" />
[Skills]
[Metallic]
by blabu
Actions
Code:
<action>
<ability required_mp="10" decrement_mp="5" decrement_mp_delay="2" />
<resources type="7" slot_image_file="Resources/Image/Action/weapon_icon010.tga" feature_image_file="Resources/Image/Action/Skill_info_wall.tga" />
<float value="1.5" />
<float value="1.0" />
<float value="1.0" />
</action>
[Berserker]
by blabu
Actions
Code:
<action>
<ability required_mp="70" decrement_mp="0" decrement_mp_delay="0" />
<resources type="8" slot_image_file="Resources/Image/Action/weapon_icon011.tga" feature_image_file="Resources/Image/Action/Skill_info_wall.tga" />
<float value="20.0" />
<float value="20.0" />
<float value="1.5" />
<float value="1.2" />
<float value="0.5" />
<float value="0.7" />
</action>
later put pictures of each
Pls don't erasy this post, as I said, I think that was more organized.
Don't thx me,Give it to find codes, I only found the "semi ayaya"