![]() |
Problem with link gump and script... - Printable Version +- SphereCommunity (https://forum.spherecommunity.net) +-- Forum: General Discussion (/Forum-General-Discussion) +--- Forum: UOP/Mul Editing (/Forum-UOP-Mul-Editing) +--- Thread: Problem with link gump and script... (/Thread-Problem-with-link-gump-and-script) |
Problem with link gump and script... - admin_teclis - 01-12-2013 10:11 AM Hi all, following the tutorial in the sticky to add gump shard I managed to get the pictures and "I" to link the animation ... I just do not understand now the script as it should be ... I have: TILEDATA (S) 0x3F3E ART (S) 0x3F3E Set: weight 10, quality 2 (2-handed weapon), Weapon, Wearable. I used (as an example) the number 200 in body.def. I ran the calculation of the gump male doing +200 50 000 or hexadecimal becomes C418. I went to the tab GUMP (PET) under C418 (as derived above). I inserted the image gump and I received as PET ID 0xC8. I'm back in the tab Tiledata (s) and added in ANIM 0xC8. I saved all the files (and I actually controlling everything with insedeuo). I opened the file BODY.DEF and I added this: 200 {649} 0 Where 200 is the number previously chosen. 649 is the id taken from insede men under weapon.bow. 0 is the color, I used the original. I tried to make a quick script to test the new image but I can not take it ... the script is this: [ITEMDEF i_thunder_Bow] Defname = i_thunder_Bow NAME = Thunder Bow ID = C418 and I put here was not good - and not 3F3E was fine - 200 and was not good - 16190 DAM = 15.25 SPEED = 22 SKILL = Archery REQSTR = 70 TWOHANDS = Y WEIGHT = 6 VALUE = 500 TDATA3 = i_arrow TDATA4 = i_FX_ENERGY_RAY CATEGORY = Other Subsection = Weapons DESCRIPTION = Lightning Bow ON = @ Create Hitpoints = {1000 2010} COLOR = 0087c ON = @ EQUIP IF (<SRC.ARCHERY> <1100) src.ACT.BOUNCE SRC.sysMESSAGE @ 2444 110.0 Archery You need to use return 1 endif if (<src.dex> <= 99) src.act.bounce src.sysmessage @ 2444 You have 100 Dexterity to use return 1 ENDIF ON = @ DCLICK IF (<SRC.ARCHERY> <1100) src.ACT.BOUNCE SRC.sysMESSAGe @ 2444 110.0 Archery You need to use return 1 endif if (<src.dex> <= 99) src.act.bounce src.sysmessage @ 2444 You have 100 Dexterity to use return 1 ENDIF ON = @ Damage IF (RAND (4) == 0) SRC.HITS = (<SRC.HITS> + (-20)) SRC.effect 1,1,1,1 RETURN 0 The item ARTWORK of INSEDEUO clicking on the tile and making 0X3F3E details see this: Overall Index: 32574 (0x7F3E) Tags: 0000 Group: Static Tiles Group Lookup Relative Offset: 13416 (0x3468) Group Index: 16190 (0x3F3E) Flags: Weapon, Wearable (0x400002) Weight: 10 (0xA) Quality: 2 (0x2) Unknown: 0 (0x0) Unknown1: 0 (0x0) Quantity: 0 (0x0) Anim Id: 200 (0xC8) Unknown2: 0 (0x0) Hue: 0 (0x0) Unknown3: 0 (0x0) Height: 0 (0x0) Name: LightBow What's wrong?!?!!!? |