Editing stuff manually

Error message

Deprecated function: implode(): Passing glue string after array is deprecated. Swap the parameters in drupal_get_feeds() (line 394 of /var/www/pied-piper.ermarian.net/includes/common.inc).
AuthorTopic: Editing stuff manually
Member # 3741
Profile Homepage #0
I have a small list of things I'd like to write into Av4, the question is how would I do it.

1. I'd like to be able to make certain useless objects such as
The Hatchet, simple rocks, spades etc work as weapons (the rocks acting like they do in previous Avernum Games). How would I go about doing that via text editing?

2. Is there anyway I can add more Character image choices if I make images (instead of replacing pre-existing graphics)?

3. Is it possible to add 4th and 5th races to the PC list, like Ogres and Vahnati via text editing (ie so they have their own special things like the Slith's natural skill with spears)?

"...Bahl'al spurred his army onward with a blistering wind. Three full days before his army arrived... the citizens of Tyr knew their doom lumbered nearer with each passing hour..."
Posts: 21 | Registered: Monday, December 1 2003 08:00
Raven v. Writing Desk
Member # 261
Profile Homepage #1
1. Open up the Scripts folder (preferably on a copy of your game, and not the original) and look for "av4itemschars.txt" -- this stores most information about items. Find the entry for an item you want to modify (say, a hatchet) and then find the entry for an item that does what you want it to do (say, a stick). Most of the parameters have pretty obvious names, so just change what you need to to make the hatchet function like the stick, and voila.

(One important note: if you see "import = XX" that item will "import" the parameters from another item to use as a base. If you don't, it will import the parameters from the item right before it in the file.)

2. Doubtful.

3. Also doubtful. I don't think any characteristics related to PC race are stored in the scripts.

Slarty vs. DeskDesk vs. SlartyTimeline of ErmarianG4 Strategy Central
Posts: 3560 | Registered: Wednesday, November 7 2001 08:00
Shock Trooper
Member # 4239
Profile #2
I keep seeing all the ways to edit the game, and I'm beginning to wonder:
Is there any technical reason one couldn't create an entirely new scenario using the A4 engine? Obviously we have BoA that's meant for it, but this is a different engine, and more importantly (it's my understanding that Geneforge uses the same scripting language) you could do it with Geneforge.
So, er, yeah.

There are two kinds of game players...those who are newbies, and those who were.
Posts: 322 | Registered: Monday, April 12 2004 07:00
Raven v. Writing Desk
Member # 261
Profile Homepage #3
The script files contain almost all information about item types, terrain types, creature types, and attack types (except for the graphics).

They also contain combat scripts and dialog.

They do NOT contain information on actual terrain placement, object placement, character placement, etc. and so on. That stuff is stored in non-text form. Good luck finding and/or editing it. You won't.

Slarty vs. DeskDesk vs. SlartyTimeline of ErmarianG4 Strategy Central
Posts: 3560 | Registered: Wednesday, November 7 2001 08:00
Member # 6600
Profile Homepage #4
The data files are tempermental, so save a backup copy!(Not that most people wouldn't do that automatically.) I wanted to change some "worthless" items in G2 to sellable items (no trowel should have to remain unsellable.) It worked out in the end, but I spent about three hours trying to alter the data files and then get the game to load it up and accept it. I finally got it to work. (I accidently set trash to be worth enough to sell, but that really feels like cheating and I don't want to mess with the data again, so I just leave it alone. What shopkeeper would buy trash, anyway?)

Courtesy of Dikiyoba's No Trowel Left Unsellable Act.
Posts: 4346 | Registered: Friday, December 23 2005 08:00
Off With Their Heads
Member # 4045
Profile Homepage #5
I would just like to remind everyone that Thuryl is an unsellable trowel.

Arancaytar: Every time you ask people to compare TM and Kel, you endanger the poor, fluffy kittens.
Smoo: Get ready to face the walls!
Ephesos: In conclusion, yarr.

Kelandon's Pink and Pretty Page!!: the authorized location for all things by me
The Archive of all released BoE scenarios ever
Posts: 7968 | Registered: Saturday, February 28 2004 08:00
Member # 5785
Profile #6
Originally written by Kelandon:

I would just like to remind everyone that Thuryl is an unsellable trowel.
Damnit, you beat me to it.

"..The seventh wave of Thrall stumbled and climbed over the slippery, piled dead and Mazzarin saw The Watcher with them and at last knew the number of his days."
Posts: 522 | Registered: Wednesday, May 4 2005 07:00
Shock Trooper
Member # 52
Profile Homepage #7
"Blades of Geneforge".



Behind, the sea of time and space roars and follows swiftly
Posts: 280 | Registered: Wednesday, October 3 2001 07:00