![]() |
The Black Wyrm's Lair Terms of Use |
![]() ![]() ![]() ![]() |
![]() ![]() |
![]() |
![]() ![]()
Post
#1
|
|
![]() Forum Member Posts: 15 Joined: 23-December 05 From: Texas(U.S) ![]() |
I tried to make a NPC named Kitch. He's a WOLF NPC (sorry guys, but wolf seemed like the best, even thought EVERYONE uses it) And, I even made him a wolf theif. But I'm not sure i did everything right, there are no sounds, a lame ass pic, and all i have is a .tp2, .cre, .d, and the setup.
![]() ![]() ![]() This post has been edited by Gah: Dec 23 2005, 07:44 AM -------------------- No one crosses the Shadow Theives and lives! ^_^
|
|
|
![]()
Post
#2
|
|
![]() A fool and a knave Forum Member Posts: 153 Joined: 21-July 04 From: Oxford, UK ![]() |
To make him spawn you'll need to add some code to an existing area script--try looking at an existing NPC mod's code to see what sort of thing you need to do.
-------------------- "We are the Gibberlings Three, as merry a band as you ever did see..." - Home of IE mods.
<jcompton> Suggested plugs include "Click here so Compton doesn't ban me. http://www.pocketplane.net/ub" |
|
|
![]()
Post
#3
|
|
![]() Forum Member Posts: 15 Joined: 23-December 05 From: Texas(U.S) ![]() |
Also, I have no friggin idea how to compile it, I tried to do it, like the tutorial said, and went to run, command. But when I tried to go to my bg 2 directory(cd C:\Program Files\Black Isle\BGII-SoA) it said:Too Many parameters- Files\Black. What do I do?
-------------------- No one crosses the Shadow Theives and lives! ^_^
|
|
|
![]()
Post
#4
|
|
![]() Master of energies ![]() Council Member Posts: 3324 Joined: 9-July 04 From: Magyarország ![]() |
The path contains a whitespace. Put it inside quotation marks:
"C:\Program Files\Black Isle\BGII-SoA" -------------------- Mental harmony dispels the darkness.
|
|
|
![]()
Post
#5
|
|
![]() Forum Member Posts: 15 Joined: 23-December 05 From: Texas(U.S) ![]() |
Now it says:
C:\DOCUME~1\GAMES>"C:\Program Files\Black Isle\BGII-SoA" 'C:\Program' is not reconized as an internal or external command, operable program or batch file. -------------------- No one crosses the Shadow Theives and lives! ^_^
|
|
|
![]()
Post
#6
|
|
![]() Master of energies ![]() Council Member Posts: 3324 Joined: 9-July 04 From: Magyarország ![]() |
Did you type it as a stand-alone command? I thought you wanted to CHANGE DIRECTORY to it, i.e.:
cd "C:\Program Files\Black Isle\BGII-SoA" What operating system or file manager are you using? And to tell the truth, I don't really understand what you're trying to do. -------------------- Mental harmony dispels the darkness.
|
|
|
![]()
Post
#7
|
|
![]() The Tactician ![]() Distinguished Developer Posts: 7793 Joined: 1-December 05 ![]() |
First, I suggest that you download Context text editor. It's not mandatory/necessary to work with this particular editor, but its the best text editor for your purposes. It can be obtained from here:
http://www.context.cx/ Second, in order to have your NPC spawn, you need to make a text file with the name of the area in which your NPC will spawn. Then you should rename your text file's extension to .baf Use the context program to make the text file and then rename it. For example if you want your NPC spawn in bridge district, your text file's name will be AR0500.baf AR0500 is bridge district's area code. A list of other area codes can be found here: http://mikesrpgcenter.com/bgate2/cheats.html#area As to what you need to type in this text file: Let's assume that your NPC's script name (or death value) is g2gah. And you want it to spawn somewhere in bridge district. You should type the following in your AR0500.baf text file: IF Global("g2gah","AR0500",0) THEN RESPONSE #100 SetGlobal("g2gah","AR0500",1) CreateCreature("g2gah",[x.y],z) END Where x and y are the coordinates of the exact location and z is a number which show the direction of your NPCs face where he is standing (it ranges from 0 to 15). Then you will just need to append this to your AR0500.bcs file. You do not need to use the RUN command on your computer. It is a way, but you do not need to do it in that way. I am also a comparatively novice modder, Gah!. If I have made any mistakes (in what I have written above) others here will kindly correct them. This post has been edited by Sikret: Dec 23 2005, 11:17 PM -------------------- Improved Anvil
![]() Cheating is not confined to using external software or the console commands. Abusing the flaws and limitations of the game engine to do something that a human Dungeon Master would not accept or allow is cheating. |
|
|
![]()
Post
#8
|
|
![]() Forum Member Posts: 15 Joined: 23-December 05 From: Texas(U.S) ![]() |
ALRIGHT I'M PISSED!!! The only problem i think i'm having, is the .tp2 file, every time i try and test what i've got, it messes up, let me show you, i've attached the .tp2 file, and i'll post more, for the rest, the .d, .cre, and what not someone help!!!
Attached File(s)
-------------------- No one crosses the Shadow Theives and lives! ^_^
|
|
|
![]()
Post
#9
|
|
![]() Forum Member Posts: 15 Joined: 23-December 05 From: Texas(U.S) ![]() |
Here's the .cre
This post has been edited by Gah: Dec 24 2005, 02:37 AM
Attached File(s)
-------------------- No one crosses the Shadow Theives and lives! ^_^
|
|
|
![]()
Post
#10
|
|
![]() Forum Member Posts: 15 Joined: 23-December 05 From: Texas(U.S) ![]() |
-------------------- No one crosses the Shadow Theives and lives! ^_^
|
|
|
![]()
Post
#11
|
|
![]() Forum Member Posts: 15 Joined: 23-December 05 From: Texas(U.S) ![]() |
-------------------- No one crosses the Shadow Theives and lives! ^_^
|
|
|
![]() ![]()
Post
#12
|
|
![]() Forum Member Posts: 15 Joined: 23-December 05 From: Texas(U.S) ![]() |
I'm pretty sure i've fucked up on everyting...
![]() -------------------- No one crosses the Shadow Theives and lives! ^_^
|
|
|
![]()
Post
#13
|
|
![]() GOD Retired team member Posts: 1728 Joined: 14-July 04 From: Ireland ![]() |
From looking at your tp2 I'd say that you need to change the name of your cre from j#vondo.cre to something more unique (this is from Cam's tutorial no?). Also you have kept the folder name from the tutorial instead of your own installation folder name which would appear to be "Kitch TheNPC".
The part underneath this with the SAY NAME1 needs to have actual text atfer it in tilde's: SAY NAME1 ~Kitch~ etc where the text relates to what your character will say: SAY SELECT_COMMON4 ~Stop clicking on me!~ and so on. WFKitch is the dialog name assigned to the creature it the cre file? You are missing a BEGIN before Firstmeeting at the top of the dialogue file. Make sure the creatures exporatable flag is turned off in the cre file or else he will behave like a multiplayer npc in the game. |
|
|
![]()
Post
#14
|
|
![]() Forum Member Posts: 15 Joined: 23-December 05 From: Texas(U.S) ![]() |
Bah! i've given up on bg2 modding, been gone 4 a while, messin around with NWN, its alot eaiser. Anyone got nwn, look for my mod at the ign nwvault. I'll probally b done in a couple weeks, called Knighthood thx for the help, but i'm no good at scripting (my nwn mod barely has any in it as it is)
-------------------- No one crosses the Shadow Theives and lives! ^_^
|
|
|
![]() ![]() |
![]() |
Lo-Fi Version | Time is now: 23rd June 2025 - 06:52 PM |