Aller au contenu

Photo

NWN Scripting


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

#1
Hoffneous001

Hoffneous001
  • Members
  • 14 messages
so i started to dabble with scripts in NWN1, i poked around for a while in NWN2 (mostly just played the OC), and now i feel the call for Mod building in Dragon Age... I have several questions.

1. How diffrent is the scripting from Dragon Age to NWN1? What are the major 'at a glance' changes?

2. Can some of the tools i used, in the NWN days, work with DA? I also remember a script maker (cant recall the name) it was very helpful in getting to understand script writing. The tools Icon was a christmass tree i think...

3. Are there tools to help write scripts for Dragon Age untill i can get a better grip on the DA script?

I find the scripting to be the biggest personal obsticle in my quest to write and complete some rather neat story mods. I usualy become overwhealmed when i try scripting, I know what i want the script to do, but my skills are still too weak to accomplish the goal.... then the intrest flounders, and the mod never gets done.. *le sigh*

#2
FalloutBoy

FalloutBoy
  • Members
  • 580 messages
I haven't dug into it deeply yet, but from what I have seen, the syntax is the same as NWN. I would suggest for someone who is unfamiliar with it to try and make something simple that doesn't require much scripting. Set realistic goals based on what you know the toolset can do (play the OC to get an idea of what that is if you don't already know).


#3
Jassper

Jassper
  • Members
  • 571 messages
The 2 main differences that always first pop to mind are;

* No local variables, i.e. there is no SetLocal*() and GetLocal*() function. Variables must first be defined in the 2da files. However there are "Extras" that can be used. Some function names have changed as well, example instead of GetFirstPC() we have GetHero()



* DA include arrays, but for a beginner - that is a none issue for you.



As of yet, there is no tool to create scripts for you, but I see some one down the road creating such a tool.



What you know from NWN you can apply to DA. The DA toolset wiki has a lot of the DA functions and examples of there use is sure to follow.


#4
Axe_Murderer

Axe_Murderer
  • Members
  • 279 messages
All game objects are significantly different in DA. Event routing is also very different. So while the syntax of scripts is virtually identical, with a few new features like arrays added in to boot, the way you go about doing most things is hardly like it was in NWN...similar in places but still quite different.


#5
Hoffneous001

Hoffneous001
  • Members
  • 14 messages
thanks for the input... ill need to look into DA arrays...