LucidMagic.net

Neverwinter Nights => NwN Building => Script Request => Topic started by: Fury on December 21, 2004, 09:31:03 AM

Title: Few Scripts To Download ;-)
Post by: Fury on December 21, 2004, 09:31:03 AM
Hi People ! ... I Thought Some Of These Scripts Might Be UseFul -


This Script You Just Copy-Paste It And Dont Place It Anywhere It Automaticaly Works Bans Hellball.. Very Useful For People Who Hates It :)
Code: [Select]
void main()
{
    location lTarget = GetSpellTargetLocation();
    effect eVis = EffectVisualEffect(SPELL_EPIC_HELLBALL);
    effect eVisHarm = EffectVisualEffect(SPELL_DOOM);
    int nRoll = 1 + d4();
    SignalEvent(OBJECT_SELF, EventSpellCastAt(OBJECT_SELF, SPELL_EPIC_HELLBALL, FALSE));
    ApplyEffectAtLocation(DURATION_TYPE_INSTANT, eVis, lTarget);
    ApplyEffectToObject(DURATION_TYPE_INSTANT, eVisHarm, OBJECT_SELF);
    DelayCommand(0.75, SpeakString("Hellball Has Been Exiled For Eternity."));
}



This Script Allows You To See Where People Are It Shows Account Name & Area Name (Not Tag) Could be Useful ;) Place This Onused (Object)
Code: [Select]
void main()
{
    object oLocationBoard = OBJECT_SELF;

    object oPlayer1 = GetFirstPC();
    object oPlayer2 = GetNextPC();
    object oPlayer3 = GetNextPC();
    object oPlayer4 = GetNextPC();
    object oPlayer5 = GetNextPC();
    object oPlayer6 = GetNextPC();
    object oPlayer7 = GetNextPC();
    object oPlayer8 = GetNextPC();
    object oPlayer9 = GetNextPC();
    object oPlayer10 = GetNextPC();
    object oPlayer11 = GetNextPC();
    object oPlayer12 = GetNextPC();

    string PLAYER1 = GetName(oPlayer1);
    string PLAYER2 = GetName(oPlayer2);
    string PLAYER3 = GetName(oPlayer3);
    string PLAYER4 = GetName(oPlayer4);
    string PLAYER5 = GetName(oPlayer5);
    string PLAYER6 = GetName(oPlayer6);
    string PLAYER7 = GetName(oPlayer7);
    string PLAYER8 = GetName(oPlayer8);
    string PLAYER9 = GetName(oPlayer9);
    string PLAYER10 = GetName(oPlayer10);

    string APLAYER1 = GetPCPlayerName(oPlayer1);
    string APLAYER2 = GetPCPlayerName(oPlayer2);
    string APLAYER3 = GetPCPlayerName(oPlayer3);
    string APLAYER4 = GetPCPlayerName(oPlayer4);
    string APLAYER5 = GetPCPlayerName(oPlayer5);
    string APLAYER6 = GetPCPlayerName(oPlayer6);
    string APLAYER7 = GetPCPlayerName(oPlayer7);
    string APLAYER8 = GetPCPlayerName(oPlayer8);
    string APLAYER9 = GetPCPlayerName(oPlayer9);
    string APLAYER10 = GetPCPlayerName(oPlayer10);

    string LOCPLAY1 = GetName(GetArea(oPlayer1));
    string LOCPLAY2 = GetName(GetArea(oPlayer2));
    string LOCPLAY3 = GetName(GetArea(oPlayer3));
    string LOCPLAY4 = GetName(GetArea(oPlayer4));
    string LOCPLAY5 = GetName(GetArea(oPlayer5));
    string LOCPLAY6 = GetName(GetArea(oPlayer6));
    string LOCPLAY7 = GetName(GetArea(oPlayer7));
    string LOCPLAY8 = GetName(GetArea(oPlayer8));
    string LOCPLAY9 = GetName(GetArea(oPlayer9));
    string LOCPLAY10 = GetName(GetArea(oPlayer10));

    string PLAY1 = "\n Name: " + PLAYER1  + "(" + APLAYER1 + ")" + "\nArea: " + LOCPLAY1;
    string PLAY2 = "\n\n Name: " +PLAYER2 + "(" + APLAYER2 + ")" + "\nArea: " + LOCPLAY2;
    string PLAY3 = "\n\n Name: " +PLAYER3 + "(" + APLAYER3 + ")" + "\nArea: " + LOCPLAY3;
    string PLAY4 = "\n\n Name: " +PLAYER4 + "(" + APLAYER4 + ")" + "\nArea: " + LOCPLAY4;
    string PLAY5 = "\n\n Name: " +PLAYER5 + "(" + APLAYER5 + ")" + "\nArea: " + LOCPLAY5;
    string PLAY6 = "\n\n Name: " +PLAYER6 + "(" + APLAYER6 + ")" + "\nArea: " + LOCPLAY6;
    string PLAY7 = "\n\n Name: " +PLAYER7 + "(" + APLAYER7 + ")" + "\nArea: " + LOCPLAY7;
    string PLAY8 = "\n\n Name: " +PLAYER8 + "(" + APLAYER8 + ")" + "\nArea: " + LOCPLAY8;
    string PLAY9 = "\n\n Name: " +PLAYER9 + "(" + APLAYER9 + ")" + "\nArea: " + LOCPLAY9;
    string PLAY10 = "\n\n Name: " +PLAYER10 + "(" + APLAYER10 + ")" + "\nArea: " + LOCPLAY10;

    string LOC10 = PLAY1 + PLAY2 + PLAY3 + PLAY4 + PLAY5 + PLAY6 + PLAY7+ PLAY8 + PLAY9 + PLAY10;
    string LOC9 = PLAY1 + PLAY2 + PLAY3 + PLAY4 + PLAY5 + PLAY6 + PLAY7+ PLAY8 + PLAY9;
    string LOC8 = PLAY1 + PLAY2 + PLAY3 + PLAY4 + PLAY5 + PLAY6 + PLAY7+ PLAY8;
    string LOC7 = PLAY1 + PLAY2 + PLAY3 + PLAY4 + PLAY5 + PLAY6 + PLAY7;
    string LOC6 = PLAY1 + PLAY2 + PLAY3 + PLAY4 + PLAY5 + PLAY6;
    string LOC5 = PLAY1 + PLAY2 + PLAY3 + PLAY4 + PLAY5;
    string LOC4 = PLAY1 + PLAY2 + PLAY3 + PLAY4;
    string LOC3 = PLAY1 + PLAY2 + PLAY3;
    string LOC2 = PLAY1 + PLAY2;
    string LOC1 = PLAY1;

if(GetIsObjectValid(oPlayer10) == TRUE)
    {
    AssignCommand(oLocationBoard, SpeakString(LOC10));
    }

else if(GetIsObjectValid(oPlayer9) == TRUE)
    {
    AssignCommand(oLocationBoard, SpeakString(LOC9));
    }

else if(GetIsObjectValid(oPlayer8) == TRUE)
    {
    AssignCommand(oLocationBoard, SpeakString(LOC8));
    }

else if(GetIsObjectValid(oPlayer7) == TRUE)
    {
    AssignCommand(oLocationBoard, SpeakString(LOC7));
    }

else if(GetIsObjectValid(oPlayer6) == TRUE)
    {
    AssignCommand(oLocationBoard, SpeakString(LOC6));
    }

else if(GetIsObjectValid(oPlayer5) == TRUE)
    {
    AssignCommand(oLocationBoard, SpeakString(LOC5));
    }

else if(GetIsObjectValid(oPlayer4) == TRUE)
    {
    AssignCommand(oLocationBoard, SpeakString(LOC4));
    }

else if(GetIsObjectValid(oPlayer3) == TRUE)
    {
    AssignCommand(oLocationBoard, SpeakString(LOC3));
    }

else if(GetIsObjectValid(oPlayer2) == TRUE)
    {
    AssignCommand(oLocationBoard, SpeakString(LOC2));
    }

else if(GetIsObjectValid(oPlayer1) == TRUE)
    {
    AssignCommand(oLocationBoard, SpeakString(LOC1));
    }

else if(GetIsObjectValid(oPlayer1) != TRUE)
    {
    AssignCommand(oLocationBoard, SpeakString("Error 001: No Players!"));
    }

}


IS UPDATING

-Vince -X
Title: Few Scripts To Download ;-)
Post by: Sher Reyer on December 23, 2004, 02:33:39 PM
Who made these scripts?
Title: Few Scripts To Download ;-)
Post by: Fury on December 25, 2004, 11:00:42 AM
duh yes Doofer101 just modified the playerlocater with acc name
Title: Few Scripts To Download ;-)
Post by: Sher Reyer on December 25, 2004, 02:48:50 PM
What???? If you didn't make these scripts give credit to those who did make them.
Title: Few Scripts To Download ;-)
Post by: Fury on December 31, 2004, 09:37:30 PM
Quote
What???? If you didn't make these scripts give credit to those who did make them.
[snapback]13838[/snapback]

dumass go learn some english grammer before u speak, i made player locater friend just, modified it see simple ? if u cant understand i suggest u go find a dicitonary knp?
Title: Few Scripts To Download ;-)
Post by: CleTus on January 01, 2005, 12:12:50 AM
Quote
Quote
What???? If you didn't make these scripts give credit to those who did make them.
[snapback]13838[/snapback]

dumass go learn some english grammer before u speak, i made player locater friend just, modified it see simple ? if u cant understand i suggest u go find a dicitonary knp?
[snapback]14476[/snapback]

Dumbass.. Grammar.. Dictionary.. knp?? lol...

Anyways.. Those scripts are alright.. :)
Title: Few Scripts To Download ;-)
Post by: DiVeRsIoN on January 11, 2005, 06:58:41 PM
Here is another scripting function I found very useful in my mod.
Code: [Select]
#include "x2_inc_itemprop"

void CopyItemProperties(object oCopyFrom, object oCopyTo)
{
   int nDurationType;
   itemproperty ip = GetFirstItemProperty(oCopyFrom);
   while (GetIsItemPropertyValid(ip))
   {
      nDurationType = GetItemPropertyDurationType(ip);
      if (nDurationType == DURATION_TYPE_PERMANENT)
         AddItemProperty(nDurationType, ip, oCopyTo);
      ip = GetNextItemProperty(oCopyFrom);
   }
}
Title: Few Scripts To Download ;-)
Post by: nathan on January 11, 2005, 07:09:10 PM
Quote
Quote
What???? If you didn't make these scripts give credit to those who did make them.
[snapback]13838[/snapback]

dumass go learn some english grammer before u speak, i made player locater friend just, modified it see simple ? if u cant understand i suggest u go find a dicitonary knp?
[snapback]14476[/snapback]


you have problems.....
Title: Few Scripts To Download ;-)
Post by: Daniel1975 on January 11, 2005, 09:40:32 PM
oh guys...it seems you all have problems...

as long as there is no copyright on a script you can post it wherever you want or am I totally wrong???
And as long as the poster of a script don't say he did make that script by himself even if he didn't, where is the problem?

This thread is to give a little help or ideas to those who can need it.

Why do guys come here and complain about not giving credit to the one who originally created a script that was posted here???
Are there scripters here that have so little ego or self esteem that they really need to get this credit?! If this is the case then excuse me for writing this but if it's not the case, then why complaining about the missed credit???
Think about it!  :rolleyes:
Title: Few Scripts To Download ;-)
Post by: nathan on January 11, 2005, 10:23:30 PM
ok... I get talons gs filter, probably the greatest nwn filter ever made then post it on a thred, I then get the duel manager as well as talons database banning system and post it on the same thred

it's not about it being illegil or not, it's the pricneapal, it's the respectifal thing to do
Title: Few Scripts To Download ;-)
Post by: Talon on January 12, 2005, 04:14:07 AM
Quote
ok... I get talons gs filter, probably the greatest nwn filter ever made then post it on a thred, I then get the duel manager as well as talons database banning system and post it on the same thred

it's not about it being illegil or not, it's the pricneapal, it's the respectifal thing to do
[snapback]15421[/snapback]


I believe someone posted stolen versions of my scripts last year anyway...
Title: Few Scripts To Download ;-)
Post by: Daniel1975 on January 12, 2005, 04:58:57 AM
Quote
Quote
ok... I get talons gs filter, probably the greatest nwn filter ever made then post it on a thred, I then get the duel manager as well as talons database banning system and post it on the same thred

it's not about it being illegil or not, it's the pricneapal, it's the respectifal thing to do
[snapback]15421[/snapback]


I believe someone posted stolen versions of my scripts last year anyway...
[snapback]15455[/snapback]

Talking about filters and scripts, what do you guys think of this moo's filter 1.3 that can be found here or at nwvault ?
You think it is okay?
Title: Few Scripts To Download ;-)
Post by: Tea-cup on January 12, 2005, 10:13:50 AM
Quote
Quote
Quote
ok... I get talons gs filter, probably the greatest nwn filter ever made then post it on a thred, I then get the duel manager as well as talons database banning system and post it on the same thred

it's not about it being illegil or not, it's the pricneapal, it's the respectifal thing to do
[snapback]15421[/snapback]


I believe someone posted stolen versions of my scripts last year anyway...
[snapback]15455[/snapback]

Talking about filters and scripts, what do you guys think of this moo's filter 1.3 that can be found here or at nwvault ?
You think it is okay?
[snapback]15459[/snapback]
It's ok but you need to fix the 'holes' in it. It's not exactly the perfect filter.

I somethimes cut and paste thing like checks for the skills, but I make calculationsmyself, like ab / hp / stats. I didn't see a good filter on nwvault that calculates things out.

-Mel
Title: Few Scripts To Download ;-)
Post by: Daniel1975 on January 12, 2005, 11:08:49 AM
I like the idea of moo's filter that you have a "setup"-script where you can set things to TRUE or FALSE.

Still Moo's filter seem to be unable to strip bonus feats even when the setting is activated  :(
and I couldn't find the section where you strip things like this d_mn true seeing  :angry2: ...  :glare:
Title: Few Scripts To Download ;-)
Post by: CleTus on January 13, 2005, 10:46:08 AM
Quote
Quote
ok... I get talons gs filter, probably the greatest nwn filter ever made then post it on a thred, I then get the duel manager as well as talons database banning system and post it on the same thred

it's not about it being illegil or not, it's the pricneapal, it's the respectifal thing to do
[snapback]15421[/snapback]


I believe someone posted stolen versions of my scripts last year anyway...
[snapback]15455[/snapback]

How exactly do you steal someones scripts?
Title: Few Scripts To Download ;-)
Post by: Daniel1975 on January 13, 2005, 11:20:00 AM
Quote
How exactly do you steal someones scripts?
[snapback]15622[/snapback]

that's a good question. I think they mean when someone posts a script, another downloads it and post it somewhere else saying he made the script by himself...
but I don't think you were asking this for real CleTus?!  :D