Jump to content


Photo

Timeframe for learning WeiDU


  • Please log in to reply
12 replies to this topic

#1 VIIIofSwords

VIIIofSwords

    I like women treacherous and manipulative.

  • Member
  • 594 posts

Posted 30 October 2007 - 11:14 PM

I've recently gotten the option of taking a long weekend for myself (roughly 4 days), which I only get to do about...twice a year. I've been toying with a possible home-made NPC mod in my head, but I can't code to save my life outside of some basic functions on a specialized derivative of Python. I'm not talking about making anything complex or overly long. Probably just a banter per Bioware NPC, a couple of interjections, and a portrait.

Is it possible to get a basic grasp of WeiDU (and make a working-but-bare-bones NPC mod) on one's own within a 4-day timespan, barring real life interference?
"What do you do when there is an evil that your justice cannot defeat? Do you continue as you are, and allow the evil to fester? Or do you embrace one evil to defeat an evil greater still?"

"I used to dislike the idea of an unfair universe. Then I got to thinking: what if we did deserve all the awful things that happened to us, and didn't deserve any of the good? Suddenly, I found myself taking comfort in the thought of an inherently hostile and unfair universe."

VIII of Swords - my general, anything-goes blog

#2 theacefes

theacefes

    Probably swearing

  • Modder
  • 1782 posts

Posted 30 October 2007 - 11:33 PM

Yes.
DO ~SetGlobal("omgBbqRomanceActive","GLOBAL", 2)~

 
Gibberlings Three - IE Modding Community


#3 Azkyroth

Azkyroth
  • Modder
  • 3496 posts

Posted 30 October 2007 - 11:36 PM

Should be, yeah.

"Tyranny is a quiet thing at first, a prim and proper lady pursing her lips and shaking her head disapprovingly, asking, well what were you doing (wearing that dress, walking home at that hour, expressing those inappropriate thoughts) anyway? It's subtle and insidious, disguised as reasonable precautions which become more and more oppressive over time, until our lives are defined by the things we must avoid. She's easy enough to agree with, after all, she's only trying to help -- and yet she's one of the most dangerous influences we face, because if she prevails, it puts the raping, robbing, axe-wielding madmen of the world in complete control. Eventually they'll barely need to wield a thing, all they'll have to do is leer menacingly and we fall all over ourselves trying to placate them." -godlizard


#4 Tassadar88

Tassadar88

    Templar in Flames

  • Member
  • 1302 posts

Posted 30 October 2007 - 11:51 PM

Make sure you make good use of the tutorials here for the start.
The Mind is its own place and in itself - can make a Heaven of Hell, a Hell of Heaven. -John Milton, Paradise lost

#5 Jarno Mikkola

Jarno Mikkola

    The Imp in his pink raincoat.

  • Member
  • 10911 posts

Posted 31 October 2007 - 12:07 AM

Is it possible to get a basic grasp of WeiDU (and make a working-but-bare-bones NPC mod) on one's own within a 4-day timespan, barring real life interference?

Yes, there are quite few one day NPCs, and quite much source material and handy help if needed. But remember, all your n00biness belongs to us. :devil:

The best way of doing the this(at first), is copy/paste-and-modify some other mod that works!!!! to avoid the basic bugs of not knowing what the H#¤%& you are doing, for testing purposes. :lol:
And keep in mind, you might get stuck into the project, so remember that the one day mod shall take years to complete!!

Deactivated account. The user today is known as The Imp.


#6 Kulyok

Kulyok
  • Modder
  • 2450 posts

Posted 31 October 2007 - 12:12 AM

Just download a NPC mod(Gareth or Tiax from One-Day NPC Section) sound nice, rename their dialogue files and insert your dialogue lines instead of theirs. You also need to replace a .cre file - a tutorial should help you with that(or you can just find a close enough .cre among all NPC mods available).

I'd say "clean" Weidu learning(i.e. you read all the tutorials, ask questions in Modding Q&A and create your own mod from scratch) takes considerably longer than that - a few weeks, if you're quick.

#7 Azkyroth

Azkyroth
  • Modder
  • 3496 posts

Posted 31 October 2007 - 12:14 AM

Just download a NPC mod(Gareth or Tiax from One-Day NPC Section) sound nice, rename their dialogue files and insert your dialogue lines instead of theirs. You also need to replace a .cre file - a tutorial should help you with that(or you can just find a close enough .cre among all NPC mods available).

I'd say "clean" Weidu learning(i.e. you read all the tutorials, ask questions in Modding Q&A and create your own mod from scratch) takes considerably longer than that - a few weeks, if you're quick.


I don't know, if I'd been able to concentrate and wasn't embroiled in such an ungodly ambitious mod I could probably have gotten something decent put together in an uninterrupted 4-day weekend. Of course, I do have some coding experience...

PS: I'm personally a bit disconcerted by the duplication suggestions, frankly.

Edited by Azkyroth, 31 October 2007 - 12:15 AM.

"Tyranny is a quiet thing at first, a prim and proper lady pursing her lips and shaking her head disapprovingly, asking, well what were you doing (wearing that dress, walking home at that hour, expressing those inappropriate thoughts) anyway? It's subtle and insidious, disguised as reasonable precautions which become more and more oppressive over time, until our lives are defined by the things we must avoid. She's easy enough to agree with, after all, she's only trying to help -- and yet she's one of the most dangerous influences we face, because if she prevails, it puts the raping, robbing, axe-wielding madmen of the world in complete control. Eventually they'll barely need to wield a thing, all they'll have to do is leer menacingly and we fall all over ourselves trying to placate them." -godlizard


#8 Rabain

Rabain

    God

  • Member
  • 653 posts

Posted 31 October 2007 - 12:47 AM

The duplication suggestion is the best option for those strong on writing but lacking the necessary experience or time for learning weidu coding.

Also inserting your own dialog into existing code will teach you what you are doing so that as you grow and wish to try more you will have some idea of how things work.

Consider duplication the same as having a template for prospective modders. It would encourage production...yes there might be a lot of dross produced but weighing dross against prospective modders walking away from IE modding due to weidu complexity, I know which I'd prefer.

My suggestion would be to download Tiax, it's probably more up to date coding wise than Gareth and has the basics of everything you need. Plus it's organised well in both tp2 and folder structure.
A knight without armour in a savage land...

#9 Azkyroth

Azkyroth
  • Modder
  • 3496 posts

Posted 31 October 2007 - 01:18 AM

Eh, perhaps you're right.

Though this kind of suggestion, when handed to a coding newbie without the explicit instruction to change the variables as well as the dialogue lines and such, could potentially wind up being the equivalent of a fizzing red stick with "ACME" written on the side. O.o

Edited by Azkyroth, 31 October 2007 - 01:19 AM.

"Tyranny is a quiet thing at first, a prim and proper lady pursing her lips and shaking her head disapprovingly, asking, well what were you doing (wearing that dress, walking home at that hour, expressing those inappropriate thoughts) anyway? It's subtle and insidious, disguised as reasonable precautions which become more and more oppressive over time, until our lives are defined by the things we must avoid. She's easy enough to agree with, after all, she's only trying to help -- and yet she's one of the most dangerous influences we face, because if she prevails, it puts the raping, robbing, axe-wielding madmen of the world in complete control. Eventually they'll barely need to wield a thing, all they'll have to do is leer menacingly and we fall all over ourselves trying to placate them." -godlizard


#10 VIIIofSwords

VIIIofSwords

    I like women treacherous and manipulative.

  • Member
  • 594 posts

Posted 31 October 2007 - 01:21 AM

Thanks for all the advice.

Right now, I think duplication might be my best option. If only because it'll be easier for me to wrap my head around the necessary syntax and such. 4 days ought to be enough. I mean, it's not like WeiDU code is anything remotely similar in complexity to C++ or FoxPro.

I'd say "clean" Weidu learning(i.e. you read all the tutorials, ask questions in Modding Q&A and create your own mod from scratch) takes considerably longer than that - a few weeks, if you're quick.


I'll probably get around to that after December. I ought to have a bit more free time by then to work on something I wouldn't mind having my name attached to on the Net. I actually made copies of practically every NPC tutorial I could find and intend to go through them by tonight.
"What do you do when there is an evil that your justice cannot defeat? Do you continue as you are, and allow the evil to fester? Or do you embrace one evil to defeat an evil greater still?"

"I used to dislike the idea of an unfair universe. Then I got to thinking: what if we did deserve all the awful things that happened to us, and didn't deserve any of the good? Suddenly, I found myself taking comfort in the thought of an inherently hostile and unfair universe."

VIII of Swords - my general, anything-goes blog

#11 Kulyok

Kulyok
  • Modder
  • 2450 posts

Posted 31 October 2007 - 01:31 AM

Good luck.

#12 Gort

Gort
  • Validating
  • 614 posts

Posted 31 October 2007 - 01:48 AM

I've recently gotten the option of taking a long weekend for myself (roughly 4 days), which I only get to do about...twice a year. I've been toying with a possible home-made NPC mod in my head, but I can't code to save my life outside of some basic functions on a specialized derivative of Python. I'm not talking about making anything complex or overly long. Probably just a banter per Bioware NPC, a couple of interjections, and a portrait.

Is it possible to get a basic grasp of WeiDU (and make a working-but-bare-bones NPC mod) on one's own within a 4-day timespan, barring real life interference?

weidu itself won't take much time if you have any experience with any programming. More time will be spent learning IE features. With proper knowledge, and prepared content, coding an NPC with 1 banter per a bioware NPC, a couple interjections would take about 2 hours, I think. But beware, modding is addictive=).
(Though I'd not spent my only weekend in a half of a year to create so simple NPC. I'd use existing ones=)).

#13 berelinde

berelinde

    Troublemaker

  • Modder
  • 4916 posts

Posted 31 October 2007 - 06:46 AM

Believe me, by the time you've spent four solid days working with the same mod, you'll begin to have some understanding of how it works. Nonetheless, I have two pieces of advice to offer.

Use Tiax as a model. The coding is modern, so you'll be in a position to benefit from the example of streamlined code.

When you see something you don't understand, ask. There are plenty of people who are more than happy to explain the whys and wherefors. Even if you elect to do a straight duplication for the initial effort, you can still benefit from the explanations later, over a more leisurely time period.

To begin, let me offer an explanation for a few coding questions that will almost surely come up. They have to do with shorthand notations. The actual weidu commands they represent will not make much sense now, but they will when you actually download Tiax, open it up, and start to work with it.

You will see a variety of mathmatical symbols in the code. Mostly, this is shorthand for longer alphabetic weidu commands.

When you see something like
++ ~Whatever you say.~ + t2.19
the first "+" means "IF", the second "+" means "THEN REPLY", and the third "+" means GOTO.

When you see a single "=", it means that when the player hits "continue" at the bottom of the dialogue window, the window will clear and the new line will appear.

When you see a double "==", it means you're looking at CHAIN structure, and that the first "=" acts as the multisay in the example above, where the dialogue window is ceared and new text appears, and the second "=" means that the speaker will change.

Now carry on.

"Imagination is given to man to console him for what he is not; a sense of humor, for what he is." - Oscar Wilde

berelinde's mods
TolkienAcrossTheWater website
TolkienAcrossTheWater Forum