Jump to content


Photo

Personalized items


  • Please log in to reply
30 replies to this topic

#21 seanas

seanas
  • Modder
  • 1906 posts

Posted 29 September 2004 - 05:01 PM

well, the extended effect claimed the duration was 'while equipped', but whether i believe it or not...

i just tested the weapon on Minsc, and yes, it replaced his personal script with Dakkon3 (an upgraded version). that's not pretty *at all*. i didn't thnk to see what happens when he's not wielding the weapon, so i'll go and have a look. the best answer would be to stick to baldur.bcs, i'd reckon ;) .

"A simple test of the relative merits of science and religion is to compare lighting your house at night by prayer or electricity" - A. C. Grayling
"EFF files have saves, too." - CamDawg
|| this is radio seanas || BP Series v3 || seanas at work ||


#22 Awake

Awake
  • Member
  • 685 posts

Posted 29 September 2004 - 05:08 PM

ok, what's so wrong with putting it in baldur.bcs in the first place? I think that would just make it a lot simpler. I could be missing something though.
Black Wyrm Forums host of the World Transition Project, Beastial Animations, and much more!

And the raven, never flitting, still is sitting, still is sitting
On the pallid bust of Pallas just above my chamber door;
And his eyes have all the seeming of a demon's that is dreaming,
And the lamp-light o'er him streaming throws his shadow on the floor;
And my soul from out that shadow that lies floating on the floor
Shall be lifted - nevermore!


Like dealing with terrorists by giving them explosives. -NotMrT

If you don't know where you're going, any road will take you there.

#23 Stone Wolf

Stone Wolf
  • Member
  • 1672 posts

Posted 29 September 2004 - 05:08 PM

I don't think the game can store what the original script was, so I'm guessing Minsc thinks he's a sword now.


Come to think of it, who'd notice the difference?

#24 Stone Wolf

Stone Wolf
  • Member
  • 1672 posts

Posted 29 September 2004 - 05:10 PM

It's just "cleaner" to put stuff it it's own script when possible. Balduc.bcs gets very cluttered after a while. Sadly, there isn't too much you can do about it. The DPlayer# scripts are turned off when you turn off Party AI, so there's a chace that some critical point might be missed.

#25 seanas

seanas
  • Modder
  • 1906 posts

Posted 29 September 2004 - 05:14 PM

yep, he's a sword. yr right Stone Wolf, there's no return to a previous AI after un-equipping the weapon.

so i think we can safely conclude that Dakkon's Streaming Blade is a very good example of how not to set a weapon script ;) . extending baldur.bcs is better all round, really.

"A simple test of the relative merits of science and religion is to compare lighting your house at night by prayer or electricity" - A. C. Grayling
"EFF files have saves, too." - CamDawg
|| this is radio seanas || BP Series v3 || seanas at work ||


#26 Stone Wolf

Stone Wolf
  • Member
  • 1672 posts

Posted 29 September 2004 - 05:31 PM

It's also a good place to hide things from nosy players, so they can't much about with restrictions you've built into a mod. ;) :vbat:

#27 SConrad

SConrad

    I swear to drunk I'm not God

  • Administrator
  • 11148 posts

Posted 30 September 2004 - 01:55 AM

Overwriting the override-script is a bad idea, as seanas and Stone Wolf already concluded.

Use another character script, instead, or do it the baldur.bcs-way. ;)

Posted Image Khadion NPC mod - Team leader, head designer
Posted Image Hubelpot NPC mod - Team leader, coder
Posted Image NPC Damage - Coder
Posted Image PC Soundsets - Coder, voice actor
Posted Image Brythe NPC mod - Designer
Posted Image DragonLance TC - Glory of Istar - Designer
Posted Image The NPC Interaction Expansion Project - Writer for Cernd, Sarevok
Posted Image The Jerry Zinger Show - Producer

Iron Modder 5 - Winner


#28 Avenger_teambg

Avenger_teambg
  • Member
  • 604 posts

Posted 01 October 2004 - 08:47 AM

You could probably also create a script that would remove the item from anyones inventory and place it back in your NPC's.

Add a note to the item description saying that if you attempt to take this item the NPC will take it back!

But this might be going overboard as the script would have to be in baldur.bcs to take effect in every area!

Or you could make the weapon undroppable and unmovable and place it in a weapon slot. You would lose this weapon slot then as you would not be able to place any other weapons there at all!

No, it should only be in dplayer2 or 3 (dunno which)
Avenger

#29 Potencius

Potencius
  • Member
  • 114 posts

Posted 01 October 2004 - 09:23 AM

DPLAYER2 affects joinable NPC's. DPLAYER3 affects <CHARNAME>. Updating both is good. If you want to make a weapon only usable by one NPC, you can use something as simple as...

IF
!Name("DeathVariable",Myself)
HasItemEquiped("ITEM",Myself)
THEN
RESPONSE #100
DropItem("ITEM",[0.0])
PickUpItem("ITEM")
END

That will just unequip the item. If you have any nasty effects you want to apply for trying to equip the weapon, just stick 'em in the action list there.
The Glory of Istar - A Dragonlance Total Conversion

I have come to believe that the whole world is an enigma, a harmless enigma that is made terrible by our own mad attempt to interpret it as though it had an underlying truth. - Umberto Eco

The truth of #meeting:
KenTeamBG: a/s/l
Deano: 14/f/in ur heart
* KenTeamBG it's getting hot so i remove my jacket
Daxziz: Oooh
* Echon, MaxTeamBG and Hlidskialf all get naked.
* SimDing0 has joined #meeting
SimDing0: Eew.
* SimDing0 has left #meeting
* KenTeamBG sets mode: +b SimDing0

#30 Stone Wolf

Stone Wolf
  • Member
  • 1672 posts

Posted 01 October 2004 - 10:56 AM

Doesn't turning AI off disable the DPlayer scripts?

#31 igi

igi

    IESDP Guardian

  • Administrator
  • 1059 posts

Posted 01 October 2004 - 11:05 AM

Yes.
Unless you mod DLTC :D

Visit the IESDP