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

Welcome Guest ( Log In | Register )

> 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
 
Start new topic
Replies
Sikret
post Dec 23 2005, 11:15 PM
Post #2


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

Posts in this topic
Gah   I need a tester & help!   Dec 23 2005, 07:43 AM
Andyr   To make him spawn you'll need to add some code...   Dec 23 2005, 05:18 PM
Gah   Also, I have no friggin idea how to compile it, I ...   Dec 23 2005, 09:25 PM
Baronius   The path contains a whitespace. Put it inside quot...   Dec 23 2005, 10:44 PM
Gah   Now it says: C:\DOCUME~1\GAMES>...   Dec 23 2005, 10:57 PM
Baronius   Did you type it as a stand-alone command? I though...   Dec 23 2005, 11:01 PM
Sikret   First, I suggest that you download Context text ed...   Dec 23 2005, 11:15 PM
Gah   ALRIGHT I'M PISSED!!! The only pro...   Dec 24 2005, 02:35 AM
Gah   Here's the .cre   Dec 24 2005, 02:37 AM
Gah   And the .baf   Dec 24 2005, 02:38 AM
Gah   and the .d   Dec 24 2005, 02:39 AM
Gah   I'm pretty sure i've fucked up on everytin...   Dec 24 2005, 02:42 AM
Rabain   From looking at your tp2 I'd say that you need...   Dec 24 2005, 11:13 AM
Gah   Bah! i've given up on bg2 modding, been go...   Dec 27 2005, 09:42 PM


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:59 PM