Bugged hellgate spell

Discussion in 'Modding and Scripting Support' started by Oracle, Apr 30, 2008.

Remove all ads!
Support Terra-Arcanum:

GOG.com

PayPal - The safer, easier way to pay online!
  1. Oracle

    Oracle Member

    Messages:
    219
    Likes Received:
    0
    Joined:
    Sep 25, 2006
    Hello,

    I believe I have a bug in my hellgate summon spell.
    It seems I can only summon level 10 demons while summoning
    orges will give raise to a level 30 destroyer orge.

    anyone one knows what could be wrong with my hellgate spell?
     
  2. team a

    team a New Member

    Messages:
    580
    Likes Received:
    0
    Joined:
    May 10, 2007
    post the lines. Have you edited any spells or protos?
     
  3. Oracle

    Oracle Member

    Messages:
    219
    Likes Received:
    0
    Joined:
    Sep 25, 2006
    yea I did some editing (read messing around) with spells and such. I seem to have lost all knowledge about it now..Though I do not remember editing the hellgate spell.

    I will check my files when i'm home
     
  4. team a

    team a New Member

    Messages:
    580
    Likes Received:
    0
    Joined:
    May 10, 2007
    Here's my Hellgate:

    // 73 -- Hellgate
    {4650}{AoE: Tgt_None, [Begin]AoE: Tgt_Tile_Empty, [End]AoE: Tgt_Summoned, [Callback]AoE: Tgt_Summoned, [EndCallback]AoE: Tgt_Summoned}
    {4651}{Cost: 30, Maintain: (6 @ 10)}
    {4654}{AI_Summon: 4}
    {4655}{[Begin], AoE: Tgt_Tile_Empty, Type: Summon, Proto: 28318}
    {4656}{[Begin], Apply_AoE: Tgt_Summoned, Type: ObjFlag, obj_f_spell_flags, OSF_MIND_CONTROLLED, FLAG_ON}
    {4657}{[Begin], Apply_AoE: Tgt_Summoned, Type: EyeCandy, 2, Add, Play: Callback}
    {4658}{[End], Type: EyeCandy, 2, Add, Play: Reverse | End_Callback} // Dissipating
    {4659}{[Callback], Type: ObjFlag, obj_f_flags, OF_DONTDRAW, FLAG_OFF}
    {4660}{[EndCallback], AoE: Tgt_Summoned, Type: Destroy, Summoned Object}
    // Note: Demon *could* regenerate by having maintain effect to do so...but for now, we don't want this

    If you figure out what went wrong, let me know.

    EDIT: sorry for the double post, slow wireless here
     
  5. Oracle

    Oracle Member

    Messages:
    219
    Likes Received:
    0
    Joined:
    Sep 25, 2006
    Here is mine..

    // 73 -- Hellgate
    {4650}{AoE: Tgt_None, [Begin]AoE: Tgt_Tile_Empty, [End]AoE: Tgt_Summoned, [Callback]AoE: Tgt_Summoned, [EndCallback]AoE: Tgt_Summoned}
    {4651}{Cost: 30, Maintain: (6 @ 10)}
    {4654}{AI_Summon: 4}
    {4655}{[Begin], AoE: Tgt_Tile_Empty, Type: Summon, Proto: 28318}
    {4656}{[Begin], Apply_AoE: Tgt_Summoned, Type: ObjFlag, obj_f_spell_flags, OSF_MIND_CONTROLLED, FLAG_ON}
    {4657}{[Begin], Apply_AoE: Tgt_Summoned, Type: EyeCandy, 2, Add, Play: Callback}
    {4658}{[End], Type: EyeCandy, 2, Add, Play: Reverse | End_Callback} // Dissipating
    {4659}{[Callback], Type: ObjFlag, obj_f_flags, OF_DONTDRAW, FLAG_OFF}
    {4660}{[EndCallback], AoE: Tgt_Summoned, Type: Destroy, Summoned Object}
    // WIP! JLR! Note: Demon could regenerate by having maintain effect to do so

    Does not to to difrent huh... I think my whole arcanum is bugged. Maybe I should re install. anyway tnx for the help!
     
  6. DarkFool

    DarkFool Nemesis of the Ancients

    Messages:
    4,006
    Likes Received:
    5
    Joined:
    Jan 28, 2005
  7. Oracle

    Oracle Member

    Messages:
    219
    Likes Received:
    0
    Joined:
    Sep 25, 2006
    yea, its the first thing I did after installing arcanum.
     
  8. team a

    team a New Member

    Messages:
    580
    Likes Received:
    0
    Joined:
    May 10, 2007
    Could be that you edited a spell before hellgate, and your bracketing is wrong. Do your spells after hellgate work right? Also, did you mess with the proto for the summoned demon (28338), or with arcanum4.dat/monster.txt? the most logical problem is that your monster.txt has the demon at level 10, because there should be no other way it's possible to summon a level 10 demon using hellgate. Note that if you copied the spell for hellgate to try to add your own spell later in spellist.mes, but didn't change the bracket numbers, that could also cause the problem.

    from arcanum4.dat/monster.txt:

    Description: 28318 // Demon
    Level: 30
    Art Number and Palette: 8 1
    Scale: 112
    Alignment: -250
    Critter Flag: OCF_MUTE
    Critter Flag: OCF_MONSTER
    Critter Flag: OCF_DEMON
    Critter Flag: OCF_FATIGUE_IMMUNE
    Critter Flag: OCF_NO_FLEE
    NPC Flag: ONF_KOS
    NPC Flag: ONF_WANDERS
    Basic Stat: Strength 20
    Basic Stat: Dexterity 15
    Basic Stat: Constitution 14
    Basic Stat: Beauty 3
    Basic Stat: Intelligence 11
    Basic Stat: Willpower 6
    Basic Stat: Charisma 3
    Basic Stat: Perception 17
    Faction: 19
    AI Packet: 19
    Material: 4
    Damage Resistance: 30
    Fire Resistance: 40
    Electrical Resistance: 25
    Poison Resistance: 30
    Magic Resistance: 20
    Hit Points: 200
    Normal Damage: 5 15
    Sound Bank: 310
    Category: 10
     
  9. Oracle

    Oracle Member

    Messages:
    219
    Likes Received:
    0
    Joined:
    Sep 25, 2006
    thanks team a! by replacing the hellgate text the demon is now lv 30 again.
    no idea what caused the problem... but it does not matter since its working now

    thanks again!
     
Our Host!