Aller au contenu

Photo

Scripting & Problem Solving NWN2 - It Isn't Just A Game Anymore


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

#1
Morbane

Morbane
  • Members
  • 1 883 messages
 I really enjoy scripting NWN2. The possibilities take me to another place; a place where fantasy rp meets high tech. By nature I am a 1st ed guy - but 3.5 is a really nice move into flexible rp pnp gaming. That said, once getting the new rules into my brain, scripting has become a portal into GM-ing a whole different dimension.

How do all you builders feel about ripping at the tendons of pnp rp and fashioning a crpg?

:mellow:

#2
kamal_

kamal_
  • Members
  • 5 258 messages
There's a very high ratio of banging head against screen versus "hey, it works!".

#3
M. Rieder

M. Rieder
  • Members
  • 2 530 messages
I just started making some custom include files for stuff I do regularly and it is wonderful. Like going from walking to hangliding. Scripting adds the sort of stuff that I always loved in fantasy books. I enjoy bringing the story and the game world to life and expanding interactions beyond combat. Despite this, I still hold that story is king and dialog is the prime mover of story.

#4
kamal_

kamal_
  • Members
  • 5 258 messages
#include make_stuff_work is indeed underrated !

#5
Kaldor Silverwand

Kaldor Silverwand
  • Members
  • 1 598 messages
I enjoy writing scripts in part because they can be done as isolated works that benefit not just my own campaigns but those of others. That means that even if my campaigns go unpublished for some reason, my script may end up in someone else's campaign and save them time developing it. So I feel pretty good when other people use my scripts or I can help someone with their development by writing one. But I don't tackle the stuff that is proves to be really difficult to test, because I do not want to introduce bugs.

Regards

Regards

#6
Morbane

Morbane
  • Members
  • 1 883 messages
Ya, #includes really increase scripting flexibility - plus they become a sort of archive for the functions that like Kaldor said save time - for anyone that may need them.

#7
PJ156

PJ156
  • Members
  • 2 986 messages
Some see scripting as a thing of beauty in itself. I wish I could too but, for me it is like fumbling through fog.

Ah well,

PJ

#8
Morbane

Morbane
  • Members
  • 1 883 messages
I like to analyse the "fog" - sure there are always facepalm moments but seeing past them are the moments that lead to humble gratification - and adventure enhancements

#9
M. Rieder

M. Rieder
  • Members
  • 2 530 messages
It is very gratifying when you can get the objects to do what you want. I remember the excitement when I got soldiers to walk in double file down a valley. Lots of fun!

#10
rjshae

rjshae
  • Members
  • 4 505 messages
Yes, scripting can be fun. Wading through the mass of installed scripts trying to find the right routine to call... is less so.

#11
Dann-J

Dann-J
  • Members
  • 3 161 messages
For me, the most satisfying part about scripting is coming up with a simple script with low processing overheads that does what my first long-winded brute-force attempts did (only quicker and more reliably).

This often involves combining several variables into a single variable (sometimes with binary progressions, but not always), then having a single 'switch' instead of a stream of separate compound 'if' statements that all need to be evaluated. Sometimes I'm able to reduce things down to a single 1/0 variable that just requires a single if/else statement - or preferably, an 'if not' statement at the top that returns the script immediately, followed by a string of things to do if the condition is met (especially useful for reducing the processing load of heartbeat scripts, where special conditions aren't met most of the time).

#12
Morbane

Morbane
  • Members
  • 1 883 messages
That is where the aforementioned include comes in - a nice neat compilation of streamlined functions to enhance the flow of execution vs effort.

I need to improve my understanding of binaries as I have seen how they can really reduce 'brute force' if statements and the like.