Item scripting Orbs

Talk about creating Grimrock 1 levels and mods here. Warning: forum contains spoilers!
Post Reply
User avatar
LocalFire
Posts: 261
Joined: Thu Feb 21, 2013 1:16 am
Location: Auckland, New Zealand

Item scripting Orbs

Post by LocalFire »

So I want to create a full set of magical orbs, one for each element. Fire is pretty much done so I can cloneObject Zhanduls orb and tweak its stats, Same with shamans staff for earth (I just changed it into an orb)
But the problem is getting a elemental boost for Ice and Air magic (like intense fire or Earthbound effects on the afore mentioned items).

So my question is how would I add an effect that boosts Air/Ice magic power?
My Dungeons
Paths of the Earth: viewtopic.php?f=14&t=5136
Beneath the Sands: viewtopic.php?f=14&t=5216
Videos: viewtopic.php?f=11&t=5443
User avatar
Drakkan
Posts: 1318
Joined: Mon Dec 31, 2012 12:25 am

Re: Item scripting Orbs

Post by Drakkan »

you can use orb of radiance (magic_orb) to clone for image. As for the game effect I tried rewrite gameEffect script and game taked it, questions is, if it is really working : ) YOu can try it... if not working I suppose there are no options as it is hardcoded.


cloneObject{
name = "air_orb",
baseObject = "magic_orb",
uiName = "Air Orb",
willpower = 5,
energy = 20,
description = "shocking !!!",
skill = "spellcraft",
requiredLevel = 15,
gameEffect = "Intense Shock (Lightning Bolt and Shock spells deal more damage)",
}

cloneObject{
name = "ice_orb",
baseObject = "magic_orb",
uiName = "Ice Orb",
willpower = 4,
energy = 15,
description = "icing !!!",
skill = "spellcraft",
requiredLevel = 10,
gameEffect = "Intense Ice (Ice Shards and Frostbolt spells deal more damage)",
}
Breath from the unpromising waters.
Eye of the Atlantis
User avatar
LocalFire
Posts: 261
Joined: Thu Feb 21, 2013 1:16 am
Location: Auckland, New Zealand

Re: Item scripting Orbs

Post by LocalFire »

Cool thanks
My Dungeons
Paths of the Earth: viewtopic.php?f=14&t=5136
Beneath the Sands: viewtopic.php?f=14&t=5216
Videos: viewtopic.php?f=11&t=5443
User avatar
Neikun
Posts: 2457
Joined: Thu Sep 13, 2012 1:06 pm
Location: New Brunswick, Canada
Contact:

Re: Item scripting Orbs

Post by Neikun »

Yeah you're going to need to make use of some onEquip hooks to actually get that game effect to happen.
"I'm okay with being referred to as a goddess."
Community Model Request Thread
See what I'm working on right now: Neikun's Workshop
Lead Coordinator for Legends of the Northern Realms Project
  • Message me to join in!
User avatar
LocalFire
Posts: 261
Joined: Thu Feb 21, 2013 1:16 am
Location: Auckland, New Zealand

Re: Item scripting Orbs

Post by LocalFire »

Ok how do I do that? I suck at code
My Dungeons
Paths of the Earth: viewtopic.php?f=14&t=5136
Beneath the Sands: viewtopic.php?f=14&t=5216
Videos: viewtopic.php?f=11&t=5443
Post Reply