Editing the Game files
Author | Topic: Editing the Game files |
---|---|
Apprentice
Member # 7617
|
written Saturday, November 11 2006 14:13
Profile
Which Avernum 4 file(s) do I edit to change how many skill points knowledge crystals & potions give? Is there a guide somewhere to changing game parameters through changing script files somewhere? [ Saturday, November 11, 2006 14:26: Message edited by: Peter Principle ] Posts: 23 | Registered: Tuesday, October 31 2006 08:00 |
Raven v. Writing Desk
Member # 261
|
written Saturday, November 11 2006 14:37
Profile
Homepage
There is not a guide, although there may be advice scattered throughout this message board. There are three files you will want to look at in the scripts folder, which should begin "gf1" or "g3" or something like that. the items/chars one is the one you want. Most of the entries are pretty self-explanatory, just find the one for the item you want to edit, find the attribute that looks like it affects ability power, and change it. And for the love of god, do this on a complete copy of the game folder, as it affects the whole application. -------------------- Slarty vs. Desk • Desk vs. Slarty • Timeline of Ermarian • G4 Strategy Central Posts: 3560 | Registered: Wednesday, November 7 2001 08:00 |
Infiltrator
Member # 7488
|
written Saturday, November 11 2006 14:41
Profile
I'd tell you, but I don't know myself; however, here's one way you can at least find the right file. I'm assuming you want to change the actual item definition, so just find where the item is defined and change it. Search the "Scrpits" folder to find the text "begindefineitem" within a file. Remember to make yourself a backup copy of the original file, just in case. -------------------- Either I'm crazy, or everybody else is nuts. And I know I'm not crazy because the little man who lives on my shoulder told me so. If people don't think there's something wrong with you, there's something wrong with you. Posts: 558 | Registered: Friday, September 15 2006 07:00 |
Apprentice
Member # 7617
|
written Saturday, November 11 2006 15:00
Profile
quote:I'm not sure I understand this warning. Can you elaborate? Posts: 23 | Registered: Tuesday, October 31 2006 08:00 |
Shaper
Member # 7472
|
written Saturday, November 11 2006 15:08
Profile
Homepage
He means to that you should have a back-up, as The Mystic said. Otherwise, you'll have to reinstall the game. -------------------- Scenarios need reviews! Please rate these scenarios at the CSR after playing them! Amnesia • Dilecia • The Empire's New Grove • Express Delivery Twilight Valley • Witch Hunt • Where the Rivers Meet • Foul Hordes Posts: 2686 | Registered: Friday, September 8 2006 07:00 |
Apprentice
Member # 7617
|
written Saturday, November 11 2006 15:35
Profile
quote:I didn't understand the part about it affecting the whole application. Posts: 23 | Registered: Tuesday, October 31 2006 08:00 |
Raven v. Writing Desk
Member # 261
|
written Saturday, November 11 2006 15:53
Profile
Homepage
What I mean is that GF loads parameters from those files when it starts up. So you aren't just editing one saved game, or one particular occurance of an item -- you're editing every occurance of that item ever. Similarly, it is possible to make the game crash with certain invalid values. So edit a backup. Common sense really. -------------------- Slarty vs. Desk • Desk vs. Slarty • Timeline of Ermarian • G4 Strategy Central Posts: 3560 | Registered: Wednesday, November 7 2001 08:00 |
Guardian
Member # 5360
|
written Saturday, November 11 2006 15:57
Profile
/\ {|} {|} {|} -X- fondly remembers changing every item in the game to "Unused" because he accidentaly deleted a slash in the first line. Terrible. [ Sunday, November 12, 2006 05:23: Message edited by: -X- ] -------------------- May the fires of Undeath burn in your soul, and consume it. Posts: 1636 | Registered: Wednesday, January 5 2005 08:00 |
Shock Trooper
Member # 303
|
written Saturday, November 11 2006 17:09
Profile
Adding on to what the others have said, but saying it my own way. If you do feel the need to adjust some of the stats within the files, it's imperative that you know exactly what you are doing or you will royaly screw up your game play. :cool: -------------------- My name's Solberg. Pronounced Sol-Berg. Exile/Avernum's Greatest LIVING Archmage! I'm sure you've heard of me at some point. Posts: 385 | Registered: Tuesday, November 20 2001 08:00 |
Apprentice
Member # 7617
|
written Saturday, November 11 2006 17:57
Profile
quote:Ah yes, I understand what you mean. Thanks for the help! So, if anyone else is wondering (assuming there's anyone out there who doesn't alreay know), here's how to change the number of skill points you get for using a wisdom xtal. The file that I wanted was av4itemschars.txt. I did a Find for the character string "wisdom", and I found this line: it_name = "Wisdom Crystal"; it_value = 500; it_ability = 223; it_level = 1; it_graphic_coloradj If the numerical value for it_level is changed, the new value of skill points added will be X+1. So if you change the value to 20, it will add 21 skill points to your character. Posts: 23 | Registered: Tuesday, October 31 2006 08:00 |
Warrior
Member # 7614
|
written Sunday, November 12 2006 00:38
Profile
I made a really nasty bow through item editting. It's been a while, but it shot acid arrows of unusual potency. Like people said, make sure you back things up. Use the // symbol to comment the script so you can make and reverse changes easily. Posts: 143 | Registered: Sunday, October 29 2006 07:00 |
Shaper
Member # 7472
|
written Sunday, November 12 2006 09:03
Profile
Homepage
Wow. I'm a bigger fan of Submission arrows, though. All I have to do is have one person pelting an enemy consistently, and the other one stabbing. -------------------- Scenarios need reviews! Please rate these scenarios at the CSR after playing them! Amnesia • Dilecia • The Empire's New Grove • Express Delivery Twilight Valley • Witch Hunt • Where the Rivers Meet • Foul Hordes Posts: 2686 | Registered: Friday, September 8 2006 07:00 |
Shock Trooper
Member # 3716
|
written Sunday, November 12 2006 16:01
Profile
I apologyze for this "off-topic" but I must ask: when is Geneforge going to be out so we can buy it?? Thanks in advance for your answer. -------------------- "Inspiration comes from hard work" -Charles Baudelaire. Posts: 292 | Registered: Sunday, November 23 2003 08:00 |
Councilor
Member # 6600
|
written Sunday, November 12 2006 16:04
Profile
Homepage
There's a whole forum dedicated to that game, and one of the threads has the answer. Dikiyoba. Posts: 4346 | Registered: Friday, December 23 2005 08:00 |
Shaper
Member # 7472
|
written Sunday, November 12 2006 16:06
Profile
Homepage
First, this isn't just off-topic, this is the wrong forum. Secondly, it comes out sometime around November 20th for Mac, and sometime in early 2007 for Windows. EDIT: And since Dikiyoba beat me to it, I must add that you spelled 'apologize' wrong just so that my post has a reason for existing.. [ Sunday, November 12, 2006 16:08: Message edited by: Nioca ] -------------------- Scenarios need reviews! Please rate these scenarios at the CSR after playing them! Amnesia • Dilecia • The Empire's New Grove • Express Delivery Twilight Valley • Witch Hunt • Where the Rivers Meet • Foul Hordes Posts: 2686 | Registered: Friday, September 8 2006 07:00 |
Off With Their Heads
Member # 4045
|
written Sunday, November 12 2006 17:14
Profile
Homepage
Anyone wanting to script in A4/GF should probably get a reasonable feel for BoA scripting first, which is very similar and actually has documentation. -------------------- 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 |
Infiltrator
Member # 7488
|
written Monday, November 13 2006 05:50
Profile
quote:Similar, my (censored). They're nearly, if not totally, identical, both in terminology and in syntax. Anyway, I agree that getting some practice first is a very good idea when playing around with scripts. And even after you've had some fun with scripting before attempting the real thing, be careful. I once caused my computer to crash by forgetting a semicolon when fooling around with the GF1 script. -------------------- Either I'm crazy, or everybody else is nuts. And I know I'm not crazy because the little man who lives on my shoulder told me so. If people don't think there's something wrong with you, there's something wrong with you. Posts: 558 | Registered: Friday, September 15 2006 07:00 |
Apprentice
Member # 7617
|
written Wednesday, November 15 2006 17:17
Profile
quote:Can anyone explain what the variables it_level and it_ability affect? And why do some items have an import characteristic, and some don't? Posts: 23 | Registered: Tuesday, October 31 2006 08:00 |
...b10010b...
Member # 869
|
written Wednesday, November 15 2006 17:22
Profile
Homepage
quote:it_ability determines what special ability an item has, and it_level determines how strong that ability is. For example, if a particular weapon covers enemies in acid, that's an it_ability, and the amount of acid it covers them in is determined by it_level. quote:Import just means that all properties of an item that aren't explicitly defined are inherited from another item. It's a convenient way of making "sets" of similar items (e.g. all rings are going to have certain things in common, like weight, so they all import from a basic ring item.) The first item of a set doesn't have anything else to import from, so it won't have an import field. [ Wednesday, November 15, 2006 17:23: Message edited by: Thuryl ] -------------------- The Empire Always Loses: This Time For Sure! Posts: 9973 | Registered: Saturday, March 30 2002 08:00 |
Shaper
Member # 7472
|
written Wednesday, November 15 2006 17:29
Profile
Homepage
it_level affects the power of the item in question. it_ability is the special ability of the item, listed in a different text file. Import takes another item's characteristics as it's template. Clear clears all basic values to normal. if neither are used, values set in the previous item will be carried over to the current item. EDIT: That's what happens when I go to get some soda before answering a question. I chime in 7 minutes late. [ Wednesday, November 15, 2006 17:31: Message edited by: Nioca ] -------------------- Scenarios need reviews! Please rate these scenarios at the CSR after playing them! Amnesia • Dilecia • The Empire's New Grove • Express Delivery Twilight Valley • Witch Hunt • Where the Rivers Meet • Foul Hordes Posts: 2686 | Registered: Friday, September 8 2006 07:00 |