The Black Wyrm Lair Forums
The Black Wyrm's Lair Terms of Use Help Search Members Calendar

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> I need a tester & help!, (please)
Gah
post Dec 23 2005, 07:43 AM
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. dry.gif I thought there had to be a place for the npc to spawn ect. unless i'm mistaken... wacko.gif Anyone care to test it? It would be awesome, ya kno, test it give me some more pointers. Thx alot. I'm kinda frustrated and what not...hell, I'm so n00bish, I don't even know how to get it on here! mad.gif

This post has been edited by Gah: Dec 23 2005, 07:44 AM


--------------------
No one crosses the Shadow Theives and lives! ^_^
Go to the top of the page
 
Quote Post
Andyr
post Dec 23 2005, 05:18 PM
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"
Go to the top of the page
 
Quote Post
Gah
post Dec 23 2005, 09:25 PM
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! ^_^
Go to the top of the page
 
Quote Post
Baronius
post Dec 23 2005, 10:44 PM
Post #4


Master of energies
Group Icon

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.
Go to the top of the page
 
Quote Post
Gah
post Dec 23 2005, 10:57 PM
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! ^_^
Go to the top of the page
 
Quote Post
Baronius
post Dec 23 2005, 11:01 PM
Post #6


Master of energies
Group Icon

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.
Go to the top of the page
 
Quote Post
Sikret
post Dec 23 2005, 11:15 PM
Post #7


The Tactician
Group Icon

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.
Go to the top of the page
 
Quote Post
Gah
post Dec 24 2005, 02:35 AM
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)
Attached File  Kitch_TheNPC_Setup.tp2 ( 406bytes ) Number of downloads: 9
 


--------------------
No one crosses the Shadow Theives and lives! ^_^
Go to the top of the page
 
Quote Post
Gah
post Dec 24 2005, 02:37 AM
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)
Attached File  WOLFKITCH.CRE ( 1.71k ) Number of downloads: 5
 


--------------------
No one crosses the Shadow Theives and lives! ^_^
Go to the top of the page
 
Quote Post
Gah
post Dec 24 2005, 02:38 AM
Post #10





Forum Member
Posts: 15
Joined: 23-December 05
From: Texas(U.S)




And the .baf
Attached File(s)
Attached File  AR0400.baf ( 129bytes ) Number of downloads: 6
 


--------------------
No one crosses the Shadow Theives and lives! ^_^
Go to the top of the page
 
Quote Post
Gah
post Dec 24 2005, 02:39 AM
Post #11





Forum Member
Posts: 15
Joined: 23-December 05
From: Texas(U.S)




and the .d
Attached File(s)
Attached File  WFKitch.d ( 2.93k ) Number of downloads: 8
 


--------------------
No one crosses the Shadow Theives and lives! ^_^
Go to the top of the page
 
Quote Post
Gah
post Dec 24 2005, 02:42 AM
Post #12





Forum Member
Posts: 15
Joined: 23-December 05
From: Texas(U.S)




I'm pretty sure i've fucked up on everyting... dry.gif


--------------------
No one crosses the Shadow Theives and lives! ^_^
Go to the top of the page
 
Quote Post
Rabain
post Dec 24 2005, 11:13 AM
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.
Go to the top of the page
 
Quote Post
Gah
post Dec 27 2005, 09:42 PM
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! ^_^
Go to the top of the page
 
Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:



- Lo-Fi Version Time is now: 23rd June 2025 - 06:52 PM