Jump to content
  • 0

{L2Off-Interlude} Multiple Initial Equipment?


Question

Posted (edited)

Hi, 

Im willing to add multiple initial items to newly created characters, can someone point out the syntax to be used?

 

Lets say, I want each char to have 5 Scroll of Escape to Giran, how do i do that given this settings i already have active (see below)?

 

Thanks

//When the player starts initially, having, the equipment list which it starts
initial_equipment_begin
	human_fighter={[hard_leather_helmet];[bone_gaiters];[bone_shield];[bone_breastplate];[bracer];[boots];[sword_breaker];[blue_diamond_necklace];[coral_earing];[coral_earing];[blue_coral_ring];[blue_coral_ring];[escape_scroll_giran];[tutorial_guide]}
	human_magician={[bone_shield];[bracer];[leather_helmet];[tunic_of_devotion];[hose_of_devotion];[boots];[voodoo_doll];[blue_diamond_necklace];[coral_earing];[coral_earing];[blue_coral_ring];[blue_coral_ring];[escape_scroll_giran];[tutorial_guide]}
	elf_fighter={[hard_leather_helmet];[bone_gaiters];[bone_shield];[bone_breastplate];[bracer];[boots];[sword_breaker];[blue_diamond_necklace];[coral_earing];[coral_earing];[blue_coral_ring];[blue_coral_ring];[escape_scroll_giran];[tutorial_guide]}
	elf_magician={[bone_shield];[bracer];[leather_helmet];[tunic_of_devotion];[hose_of_devotion];[boots];[voodoo_doll];[blue_diamond_necklace];[coral_earing];[coral_earing];[blue_coral_ring];[blue_coral_ring];[escape_scroll_giran];[tutorial_guide]}
	darkelf_fighter={[hard_leather_helmet];[bone_gaiters];[bone_shield];[bone_breastplate];[bracer];[boots];[sword_breaker];[blue_diamond_necklace];[coral_earing];[coral_earing];[blue_coral_ring];[blue_coral_ring];[escape_scroll_giran];[tutorial_guide]}
	darkelf_magician={[bone_shield];[bracer];[leather_helmet];[tunic_of_devotion];[hose_of_devotion];[boots];[voodoo_doll];[blue_diamond_necklace];[coral_earing];[coral_earing];[blue_coral_ring];[blue_coral_ring];[escape_scroll_giran];[tutorial_guide]}
	orc_fighter={[hard_leather_helmet];[bone_gaiters];[bone_shield];[bone_breastplate];[bracer];[boots];[iron_hammer];[blue_diamond_necklace];[coral_earing];[coral_earing];[blue_coral_ring];[blue_coral_ring];[escape_scroll_giran];[tutorial_guide]}
	orc_shaman={[bone_shield];[bracer];[leather_helmet];[tunic_of_devotion];[hose_of_devotion];[boots];[voodoo_doll];[blue_diamond_necklace];[coral_earing];[coral_earing];[blue_coral_ring];[blue_coral_ring];[escape_scroll_giran];[tutorial_guide]}
	dwarf_apprentice={[hard_leather_helmet];[bone_gaiters];[bone_shield];[bone_breastplate];[bracer];[boots];[iron_hammer];[blue_diamond_necklace];[coral_earing];[coral_earing];[blue_coral_ring];[blue_coral_ring];[escape_scroll_giran];[tutorial_guide]}
initial_equipment_end
Edited by eKoIce

6 answers to this question

Recommended Posts

  • 0
Posted (edited)

Solved like this:

 

Itemdata

item_begin etcitem 20003 [eko_box_bonus_all] item_type=etcitem slot_bit_type={none} armor_type=none etcitem_type=none recipe_id=0 blessed=0 weight=10 default_action=action_skill_reduce consume_type=consume_type_stackable initial_count=1 maximum_count=20 soulshot_count=0 spiritshot_count=0 reduced_soulshot={} reduced_spiritshot={} reduced_mp_consume={} immediate_effect=0 price=0 default_price=0 item_skill=[s_eko_box_bonus_all] critical_attack_skill=[none] attack_skill=[none] magic_skill=[none] item_skill_enchanted_four=[none] material_type=liquid crystal_type=none crystal_count=0 is_trade=1 is_drop=1 is_destruct=1 physical_damage=0 random_damage=0 weapon_type=none can_penetrate=0 critical=0 hit_modify=0 avoid_modify=0 dual_fhit_rate=0 shield_defense=0 shield_defense_rate=0 attack_range=0 damage_range={} attack_speed=0 reuse_delay=0 mp_consume=0 magical_damage=0 durability=0 damaged=0 physical_defense=0 magical_defense=0 mp_bonus=0 category={} enchanted=0 html=[item_default.htm] equip_pet={0} magic_weapon=0 enchant_enable=0 can_equip_sex=-1 can_equip_race={} can_equip_change_class=-1 can_equip_class={} can_equip_agit=-1 can_equip_castle=-1 can_equip_castle_num={} can_equip_clan_leader=-1 can_equip_clan_level=-1 can_equip_hero=-1 can_equip_nobless=-1 can_equip_chaotic=-1 item_end

Skilldata

skill_begin skill_name=[s_eko_box_bonus_all] /* * */ skill_id=10053 level=1 operate_type=A1 magic_level=1 effect={{i_give_item;8916;1};{i_give_item;8753;2};{i_give_item;6408;1};{i_give_item;7126;10};{i_give_item;57;5000000};{i_give_item;728;50};{i_give_item;1539;50}} is_magic=2 operate_cond={{op_can_get_item;20}} mp_consume2=0 item_consume={[eko_box_bonus_all];1} cast_range=-1 effective_range=-1 skill_hit_time=0 skill_cool_time=0 skill_hit_cancel_time=0 reuse_delay=0 attribute=attr_none effect_point=0 target_type=self affect_scope=single affect_limit={0;0} next_action=none ride_state={@ride_none} skill_end

skill_pch

[s_eko_box_bonus_all] = 2572003

skill_pch2

2572003 -1 0 0 0 0 34 -1 0 1 0 0 -12345

Then the client part on itemname and etcgroup.

 

Leaving it here for reference for other people who might need it.

 

Cheers.

Edited by eKoIce
  • 0
Posted (edited)

In leaked GF you would write {[escape_scroll_giran];5} but I'm not sure whether C4 can parse this correctly. What if you put it there 5 times as [escape_scroll_giran]?

Edited by eressea
  • 0
Posted

tried this {[escape_scroll_giran];5} and isnt working.

doing 5 times the same, is working. might find a better solution, maybe a doubleclick package to open and give 5 scrolls...

 

thanks!

  • 0
Posted

tried this {[escape_scroll_giran];5} and isnt working.

doing 5 times the same, is working. might find a better solution, maybe a doubleclick package to open and give 5 scrolls...

 

thanks!

omfg make a fucking code and parse an xml

  • 0
Posted (edited)

omfg make a fucking code and parse an xml

 

 

This is so entertaining.

 

Access the retard will pop up and say something irrelevant and stupid.

 

Mxc 2017

 

xD

Edited by SevenGuards
Guest
This topic is now closed to further replies.


  • Posts

    • try this one instead. The one he shared affects every single NPC/player character in the game, the one I posted only affects player characters  https://drive.google.com/file/d/1UtccbD9e50x3WEnQBab2PTZnBHwpcGYM/view?usp=sharing or perhaps i misunderstood; if you could please post a full explanation of the problem you're having with the files, unfortunately i think whatever you're using to translate to english is a bit bad nevermind, i got what you mean, here's the fix   https://drive.google.com/file/d/1av7OHaGSdnVQtcBgb9MhtiIkxVXy3P2y/view?usp=sharing   CanIngnoreCollision=True CanBeIngnoredCollision=True  
    • <dailyReward days="28" autoOpen="true" minimumOnlineTimeSeconds="30" oneRewardPerIP="true" resetIfMissDay="true">   For now, I have these settings in the XML—this is the V1 version I created, though I plan to make further improvements over time. Of course, I’ll also add more protections—MAC, HWID, and perhaps others like account-based restrictions—to make it more secure. We can also implement non-tradable items to further enhance the system's security. I’ll keep posting updates and refining both the system and the interface. I might make a video tomorrow; if you look at the top, you'll see the "auto-open" feature can be toggled on or off, allowing users to rely solely on the `.daily` command. Cheers! Note: If I sell it in this state, I’ll provide support and roll out updates to users. I’m not forcing anyone to buy anything; I’d even provide the patch files so that anyone with the necessary skills can add features, modify it, or improve it further.
    • If the problem is that the target is lost, the action of aiming at another character, upon losing collision, does not allow aiming.   This one works as it should, allowing you to target characters
    • MICROTEXT AND WATERMARKS BREAK MOST RENDERINGS Microtext and watermarks aren’t just small decorative details. They are one of the most common reasons a document fails verification, even when it looks decent at first glance. The issue is that these elements are almost impossible to reproduce “by eye.” Microtext requires precise geometry and legibility at a very small size, while a watermark needs the correct density, transparency, and accurate placement relative to other security features. Any deviation becomes obvious during detailed inspection. ▪ What’s most often done wrong: - microtext is drawn too thick or blurry - the watermark is made either too visible or almost invisible - the positioning between microtext and watermark is ignored - the original printing technology isn’t taken into account when choosing density and shape - The stronger the document’s security features, the less room there is for approximation. What matters here isn’t visual similarity, but accurate reproduction of the original technical characteristics. If your document contains microtext and watermarks, this is always an area that requires extra attention. Write to us in DMs. We’ll review your case and point out exactly which details need the highest precision during rendering. › TG: @mustang_service_ms ( https:// t.me/ mustang_service_ms ) › Channel: Mustang Service ( https:// t.me/ +JPpJCETg-xM1NjNl ) #drawing #microtext #photoshop #editing #watermarks
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..