hi everyone,
so i'm looking to have a set of encounters where:
1. the encounter respawns every 5 minutes,
2. spawns 2-7 enemies when triggered,
3. alternates the spawned creature based on day/night,
4. and has at least 1 of a certain creature to be like a boss figure.
i say set cause edit copy might now work here... but it might.
any help with a script would be appreciated.
any questions, please ask, i do ask for pretty open scripts.
thanks in advance,
zero.
help with encounters...
Débuté par
zero-feeling
, avril 17 2011 09:27
#1
Posté 17 avril 2011 - 09:27
#2
Posté 18 avril 2011 - 02:02
well i would of at least hoped for some type of reply by now. guess i'll have to stick to the lame ass default ones... thanks... i guess.
zero
zero
#3
Posté 18 avril 2011 - 02:09
Those with the appropriate knowledge will eventually get to your question.. You do realize that NWN is quite old and that anyone here assisting with scripts is doing so of their own free will, right? In many cases the questions asked will be answered, or responded to within a few days. Just be patient.
EDIT: In fact, what you're asking for can all be accomplished with the NESS Spawn System found on the Vault. The DL includes a tutorial and some helpful tips.
EDIT: In fact, what you're asking for can all be accomplished with the NESS Spawn System found on the Vault. The DL includes a tutorial and some helpful tips.
Modifié par Evelath, 18 avril 2011 - 02:12 .
#4
Posté 18 avril 2011 - 02:59
Sorry you haven't gotten a reply yet zero. This one might be a bit too open.
Do you want it to be a trigger type encounter that fires if the player enters it or is it just supposed to automatically spawn some creatures whether anyone is near or not?
You want 2 to 7 of one type of creature to spawn at night and then 2 to 7 of another type of creature to spawn during the day?
Is the boss supposed to spawn with these other creatures or by itself and is there just a certain % chance that the boss will spawn or will it always spawn?
Will it be the same boss for day or night or different ones for day/night?
You mention copy/paste? Do you want this script to be reusable with different creatures for day and night in different places?
Also as Evelath pointed out...patience is a virtue. Generally it is good practice to wait at least 24 hours before bumping or reasking for help.
Do you want it to be a trigger type encounter that fires if the player enters it or is it just supposed to automatically spawn some creatures whether anyone is near or not?
You want 2 to 7 of one type of creature to spawn at night and then 2 to 7 of another type of creature to spawn during the day?
Is the boss supposed to spawn with these other creatures or by itself and is there just a certain % chance that the boss will spawn or will it always spawn?
Will it be the same boss for day or night or different ones for day/night?
You mention copy/paste? Do you want this script to be reusable with different creatures for day and night in different places?
Also as Evelath pointed out...patience is a virtue. Generally it is good practice to wait at least 24 hours before bumping or reasking for help.
Modifié par GhostOfGod, 18 avril 2011 - 03:03 .
#5
Posté 19 avril 2011 - 02:02
hey, sorry if i was a bit impatient with my wait, had a bad day and wanted to see something good.
as for ness... i tried that and got way to confused with how to make it work, even though i read the read me and watched the video link. it just didn't click.
i did state in my original post that i tend to leave things open, so ask if theres questions, so i was at least hoping for a question reply.
th encounters i would like to be triggered through a conversation,
through a player opening a door/crate/ect..,
standard painted trigger,
and possibly one that would trigger with a delay upon entering an area.
also, if it can be made to have different creatures for both day and night, that would be great.
a "SET" of encounters.
i'm really horrible with explination of what i want the first time for some reason, sometimes even the second time through as well, so plaese ask questions of me if you need more info.
zero
as for ness... i tried that and got way to confused with how to make it work, even though i read the read me and watched the video link. it just didn't click.
i did state in my original post that i tend to leave things open, so ask if theres questions, so i was at least hoping for a question reply.
th encounters i would like to be triggered through a conversation,
through a player opening a door/crate/ect..,
standard painted trigger,
and possibly one that would trigger with a delay upon entering an area.
also, if it can be made to have different creatures for both day and night, that would be great.
a "SET" of encounters.
i'm really horrible with explination of what i want the first time for some reason, sometimes even the second time through as well, so plaese ask questions of me if you need more info.
zero
Modifié par zero-feeling, 19 avril 2011 - 02:04 .
#6
Posté 19 avril 2011 - 02:09
sorry, posted before i finished reading all your post ghost.
for the creatures, 2-7 of one "group", where there are 2-3 different classes of monster and one "boss" for each group as well, with a chance there will be 2 "bosses". these will be different for night and day. the boss will spawn with the group. different bosses for day/night. and finally, yes, i would like to make the script useable in several areas with different creatures.
zero
for the creatures, 2-7 of one "group", where there are 2-3 different classes of monster and one "boss" for each group as well, with a chance there will be 2 "bosses". these will be different for night and day. the boss will spawn with the group. different bosses for day/night. and finally, yes, i would like to make the script useable in several areas with different creatures.
zero
#7
Posté 19 avril 2011 - 02:44
You Still did not answer if you want the Encounter creating new creature every 5 minutes or just reseting itself every five minutes.
By what Im reading so far it sounds like you can just use standard encounters. Make one for day and one for night. Place both of them in the same spot. set one of them active, the other on not active. Have the encounter that is active check the time of against its Spawn time. If it is not its Spawn time have it set the other one active and deactive itsself.
By what Im reading so far it sounds like you can just use standard encounters. Make one for day and one for night. Place both of them in the same spot. set one of them active, the other on not active. Have the encounter that is active check the time of against its Spawn time. If it is not its Spawn time have it set the other one active and deactive itsself.
#8
Posté 19 avril 2011 - 05:23
NESS is really very good, if you missed this tool, it helps to generate the WP tags for you: http://www.lrjonline.../swg/index.html
It is very easy to set day/night, and time period between respawns.
If you want to use encounters and have a boss, I'd use an encounter that only has the boss, and another for the other NPCs. To do day/night stuff requires a bit more work.
It is very easy to set day/night, and time period between respawns.
If you want to use encounters and have a boss, I'd use an encounter that only has the boss, and another for the other NPCs. To do day/night stuff requires a bit more work.
#9
Posté 19 avril 2011 - 05:43
sorry, resetting is the idea, but how would i use the default encounters in conversations, when placeables are opened, or delay them onenter of an area?
zero
zero
#10
Posté 19 avril 2011 - 05:58
ok, so i've had a few bad days and not much sleep, i realized it would be fairly easy to do spawns from a conversation, maybe even a placeable, but not sure how to make it random and from 3-7 of them spawn, or even reset for that matter.
here is my basic script:
#include "nw_i0_generic"
void main()
{
object oPC = GetPCSpeaker();
object oTarget;
object oSpawn;
location lTarget;
oTarget = oPC;
lTarget = GetLocation(oTarget);
oSpawn = CreateObject(OBJECT_TYPE_CREATURE, "creature_1", lTarget); // standard creature 2-3 random
oTarget = oSpawn;
SetIsTemporaryEnemy(oPC, oTarget);
AssignCommand(oTarget, ActionAttack(oPC));
AssignCommand(oTarget, DetermineCombatRound(oPC));
oTarget = oPC;
lTarget = GetLocation(oTarget);
oSpawn = CreateObject(OBJECT_TYPE_CREATURE, "creature_2", lTarget); // standard creature 2-4 random
oTarget = oSpawn;
SetIsTemporaryEnemy(oPC, oTarget);
AssignCommand(oTarget, ActionAttack(oPC));
AssignCommand(oTarget, DetermineCombatRound(oPC));
oTarget = oPC;
lTarget = GetLocation(oTarget);
oSpawn = CreateObject(OBJECT_TYPE_CREATURE, "creature_3", lTarget); // boss creature, only one needed
oTarget = oSpawn;
SetIsTemporaryEnemy(oPC, oTarget);
AssignCommand(oTarget, ActionAttack(oPC));
AssignCommand(oTarget, DetermineCombatRound(oPC));
}
would also like them to be at a distance from the player and not all bunched in one spot, more like surrounding them.
thanks, zero
here is my basic script:
#include "nw_i0_generic"
void main()
{
object oPC = GetPCSpeaker();
object oTarget;
object oSpawn;
location lTarget;
oTarget = oPC;
lTarget = GetLocation(oTarget);
oSpawn = CreateObject(OBJECT_TYPE_CREATURE, "creature_1", lTarget); // standard creature 2-3 random
oTarget = oSpawn;
SetIsTemporaryEnemy(oPC, oTarget);
AssignCommand(oTarget, ActionAttack(oPC));
AssignCommand(oTarget, DetermineCombatRound(oPC));
oTarget = oPC;
lTarget = GetLocation(oTarget);
oSpawn = CreateObject(OBJECT_TYPE_CREATURE, "creature_2", lTarget); // standard creature 2-4 random
oTarget = oSpawn;
SetIsTemporaryEnemy(oPC, oTarget);
AssignCommand(oTarget, ActionAttack(oPC));
AssignCommand(oTarget, DetermineCombatRound(oPC));
oTarget = oPC;
lTarget = GetLocation(oTarget);
oSpawn = CreateObject(OBJECT_TYPE_CREATURE, "creature_3", lTarget); // boss creature, only one needed
oTarget = oSpawn;
SetIsTemporaryEnemy(oPC, oTarget);
AssignCommand(oTarget, ActionAttack(oPC));
AssignCommand(oTarget, DetermineCombatRound(oPC));
}
would also like them to be at a distance from the player and not all bunched in one spot, more like surrounding them.
thanks, zero
#11
Posté 20 avril 2011 - 07:32
Just use the standrad OC encountes and use TOD Encounter Triggers v1.0 by Axe to augment.
Easiest solution by far.
Easiest solution by far.





Retour en haut







