Aller au contenu

Photo

NWN Contest: The DRM Monster and the Treasure of GOG (posted OCT 27/2010. Contest ends Nov 24/2010)


  • Veuillez vous connecter pour répondre
168 réponses à ce sujet

#51
uberdowzen

uberdowzen
  • Members
  • 1 213 messages
OK, so friendly NPCs you can turn on don't count as enemies. OK, I should be all good then. Unless something goes spectacularly wrong I'll be submitting my entry tonight.



Just out of interest are you allowed to tell us how many people have entered so far?

#52
uberdowzen

uberdowzen
  • Members
  • 1 213 messages
OK, just one other quick question, how do you trigger a script on the death of more than one creature? I've got 2 NPCs who once they're both dead are meant to trigger a script and I can't find any simple way of doing that. Thanks

#53
Balduvard

Balduvard
  • Members
  • 71 messages
Single OnDeath used by both creatures:

-Set an incrementing killcount local int on the player

-If the killcount reaches a threshold when the next OnDeath fires (in this case, the threshold is 1), trigger the script.

#54
Banshe

Banshe
  • Members
  • 557 messages
I actually do not know any more than what is written in this thread regarding the number of contest entries. No one has taken up my free online storage space offer by using my dropbox referral (see first post). So I assume that most folks have either used the GOG submission guidelines or are still fine tuning their entries.

#55
uberdowzen

uberdowzen
  • Members
  • 1 213 messages

Balduvard wrote...

Single OnDeath used by both creatures:
-Set an incrementing killcount local int on the player
-If the killcount reaches a threshold when the next OnDeath fires (in this case, the threshold is 1), trigger the script.


Right. I was having some problems with the whole PC/NPC variable thing earlier, how do you store variables on the PC as opposed to an NPC? Is it to do with the script you define the variable in or do you need to set it somewhere else?

Sorry for the noobish questions :D

#56
VPJ

VPJ
  • Members
  • 59 messages
Oooo...just saw this.  Looks like a hoot...should jolly well be, in fact...some fantastic mod makers out there.  Forgive me if I missed it, but is there a 2nd and/or 3rd prize or winner take all? 

Also, out of curiousity, who's judging this bad boy? Some of these contests have been known to drag on for a bit due to everyone needing to have their say...just sayin'.  *grin*  At any rate, is it a committee of six bazillion that need to meet to determine the shape of the table or just Banshe and dunniteowl working late nights and drinking lots of coffee to decide who wins? 

#57
olivier leroux

olivier leroux
  • Members
  • 590 messages

uberdowzen wrote...
Just out of interest are you allowed to tell us how many people have entered so far?


Anyone logging in to the ftp server can see that, so I guess it's no secret. As far as I can see only two entries were uploaded so far.



VPJ wrote...
Forgive me if I missed it, but is there a 2nd and/or 3rd prize or winner take all? 


If I'm not mistaken:

For the model contest it's one winner only. And the prize is 3 free games from gog.com.

For the module contest it's five winners, no 2nd or 3rd prizes, all treated equally. And the prize is 5 free games from gog.com for EACH (!) winner.

So 3 games are given to the model contest winner, 25 games in total are divided between the 5 module contest winners.

***

I have an idea for the module contest but I still haven't found the time to actually work on the module and my standards might be too high for my own good; the most simple scripting always gets in the way of what I want to achieve and takes too much time away from actual area building and writing. Considering it's the ideas that count and not the scripting, would it be allowed for newbie builders to use Base Modules with easy-to-use scripting systems to tell their story?

Modifié par olivier leroux, 16 novembre 2010 - 02:15 .


#58
Balduvard

Balduvard
  • Members
  • 71 messages

uberdowzen wrote...
how do you store variables on the PC as opposed to an NPC? Is it to do with the script you define the variable in or do you need to set it somewhere else?


With OnDeath scripts, you can pick up the PC by using GetLastKiller() to set an object oKiller. Once you set the PC object using that function, you can then pass a SetLocalInt function on that object to set the int you want to use for tracking. A caveat to this is if your module has more than one player, your player has henchman, or your player has summoned something, as the object you want to set the int on may not necessarily be the one that lands the killing blow. You can use GetFactionLeader(oKiller) or GetMaster(oKiller) (if for example oKiller returns something that fails GetIsPC(oKiller), it is likely a henchman, or else something really odd is going on with your combat scenario).

If you have further questions regarding scripting, do feel free to post them in the Scripting forum, where builders more savvy than I can see and comment, to keep this thread from going off-topic.

olivier leroux wrote...
Considering it's the ideas that count and not the scripting, would it be allowed for newbie builders to use Base Modules with easy-to-use scripting systems to tell their story?


I extensively used Gestalt's cutscene scripts to tell my story, as with a bit of reading you can do some really powerful things that look great ingame by following a pretty simple three step process:

1. Storyboard out the specific actions that you want to have occur on screen (this is where the reading comes in, distilling down the action of the scene into specific commands you know you can use the scripts for).
2. Convert your storyboard into NWScript using Gestalt's cutscene scripts.
3. Tweaking the cutscene until it looks like you intended (this is usually always a camera problem, fidgety things they are).

Modifié par Balduvard, 16 novembre 2010 - 02:20 .


#59
uberdowzen

uberdowzen
  • Members
  • 1 213 messages
ACK! Still not working!!



OK so this is where I'm at: the script that runs which accepts the quest from the NPCs has this line:



SetLocalInt(GetPCSpeaker(), "nStaffKilled", 0);



Then I've added to the onDeath script of the NPCs:



if (GetLocalInt(oKiller, "nStaffKilled") == 1)

{

object oPC = GetPCSpeaker();

AssignCommand(oPC, ClearAllActions());

SetCutsceneMode(oPC, TRUE);

ApplyEffectToObject(DURATION_TYPE_TEMPORARY, EffectCutsceneDominated(), oPC, 100.0f);

SetCameraMode(oPC, CAMERA_MODE_TOP_DOWN);

DelayCommand (2.0f, AssignCommand(oPC, FadeToBlack(oPC, FADE_SPEED_SLOWEST)));

DelayCommand (3.0f, AssignCommand(oPC, EndGame("")));

}



SetLocalInt(oKiller, "nStaffKilled", 1);



Can anyone see what's not working? I can't.

#60
Balduvard

Balduvard
  • Members
  • 71 messages

uberdowzen wrote...
object oPC = GetPCSpeaker();


This function will only return a valid value when used as part of a conversation, not an OnDeath. Use oKiller instead of oPC or use another function that finds the PC object (if you used oPC instead of oKiller in the event that oKiller was not a PC). And when in doubt, debug--throw a SendMessageToPC(GetFirstPC(),"feedback goes here"); into that if case to see whether or not it's actually firing.

As another reminder, the forum for scripting help is this way.

#61
Banshe

Banshe
  • Members
  • 557 messages
Using other people's content is a bit of a tricky subject. However, I assume that people will use content from the vault such as scripts etc. And that is ok. Mainly because the "entertainment" is really coming from the story being told. Not clever scripts and superbly designed areas etc. Mostly for the reason that one never knows whose work they are really judging. As the story "DRM monster and the Treasure of GOG" is a rather unique one, one can expect to see the bulk of the author's work in the story itself.



So new builders can use base mods.



As for the judges, the list is not final. When it is final we'll announce it. At the very latest, when the contest ends. That is the NWN1 community side. For the GOG side, I assume some of their employees will do it.

#62
Banshe

Banshe
  • Members
  • 557 messages
By the way guys. I will have to get the contest submissions from the GOG guys. The ones that are put up on their ftp. So, please let me know at some point before the contest ends that you have submitted your entry so that I can collect it from them. Please post here to let me know.



So far, I know that Superfly has submitted an entry.

#63
uberdowzen

uberdowzen
  • Members
  • 1 213 messages
I've finished!! Yay!



Anyway, I was wondering what I need to include? Do I simply need to copy the .mod file from the modules folder in the Neverwinter Nights directory or do I need to compile it somehow?



I'll be posting it within the next couple of hours...

#64
Tarot Redhand

Tarot Redhand
  • Members
  • 2 669 messages
@uberdowzen



Don't forget to include the pre-generated character that you are supposed to make to accompany the mod. I think you are allowed to encapsulate them in an archive.



TR

#65
uberdowzen

uberdowzen
  • Members
  • 1 213 messages
@ Banshe, Finished. My folder name on the FTP is Lord Uber Dowzen.

#66
Banshe

Banshe
  • Members
  • 557 messages

uberdowzen wrote...

@ Banshe, Finished. My folder name on the FTP is Lord Uber Dowzen.


Ok. I got your pm and answered your question on how to use Dropbox. And thank you for using that. I got an extra 250 mb of free space from it and so did you. Woohoo!

#67
Rubies

Rubies
  • Members
  • 292 messages
Just so I can keep myself to my own word, I'm going to take a step and say mine'll be submitted tomorrow.

#68
Banshe

Banshe
  • Members
  • 557 messages

Rubies wrote...

Just so I can keep myself to my own word, I'm going to take a step and say mine'll be submitted tomorrow.



Great!

#69
Balduvard

Balduvard
  • Members
  • 71 messages
I have finished my entry to the point I am satisfied with, so it has been submitted. Good luck to all that entered and I hope to see some interesting takes on the premise!

#70
Eat2surf

Eat2surf
  • Members
  • 17 messages
Ok.. I'm gonna try to rush one of these... though, my boys birthday Sunday takes priority.. hmm.. maybe he can be my alpha tester... hmm...

#71
olivier leroux

olivier leroux
  • Members
  • 590 messages
When does the contest officially end? I mean when EXACTLY, GMT? I need every minute, lol. :D

#72
Banshe

Banshe
  • Members
  • 557 messages
Well luckily, I am in the same time zone (but different country) as GOG HQ. So I think it is safe to say that the end of the 24th is the same for them as for me. So midnight on the 24th of November. Time zone is CET. If you are in the UK, that is 11 PM. If you are on the U.S. East Coast (EST) it is 6 PM. So figure it out from there.



Also folks, and this is IMPORTANT, you have to post here before that time to announce the submission of your entry. I cannot tell the difference between a GOG entry and a NWN1 entry by going to their ftp.



Officially, only two people have submitted their NWN1 entries:



Superfly

Balduvard



If you are not one of these two people, you have not yet officially submitted your entry.

#73
Tyndrel

Tyndrel
  • Members
  • 185 messages
Hi,



Entry submitted a few mins back using your dropbox referral. The link is in a PM.



Thanks, this was fun.

#74
Tarot Redhand

Tarot Redhand
  • Members
  • 2 669 messages
@Banshe submitted and pm'ed.



Please let me know of any problems as soon as possible.



TR

#75
Rubies

Rubies
  • Members
  • 292 messages
PMed you a link, please let me know if there's any issues of any form. :)



-S