Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Sil

Reply
 
Thread Tools Display Modes
Old January 8, 2017, 19:12   #1
Gothmog
Scout
 
Join Date: Sep 2016
Posts: 37
Gothmog is on a distinguished road
Is it possible to add artefacts through the artefact .txt file

I'm attemptihg to add a new sword but I keep getting parsing errors when I'm sure it is correct

Could someone put an example as to how to do it
Gothmog is offline   Reply With Quote
Old January 8, 2017, 23:46   #2
T-Mick
Adept
 
Join Date: Mar 2012
Posts: 113
T-Mick is on a distinguished road
I know I've added a lot of regular items, and modified artifacts, but I don't remember adding artifacts.

Make sure you increase the number of artifacts the game expects to find when it reads that text file. That number is in one of those files somewhere. Artifact.txt? Maybe, I forget.
T-Mick is offline   Reply With Quote
Old January 9, 2017, 02:36   #3
protopulse
Apprentice
 
Join Date: Dec 2016
Posts: 56
protopulse is on a distinguished road
@T-Mick Do you know of a way to guarantee that your modified artefact drops? Say at 100 feet?
protopulse is offline   Reply With Quote
Old January 9, 2017, 03:10   #4
Derakon
Prophet
 
Derakon's Avatar
 
Join Date: Dec 2009
Posts: 7,725
Derakon is on a distinguished road
Quote:
Originally Posted by protopulse View Post
@T-Mick Do you know of a way to guarantee that your modified artefact drops? Say at 100 feet?
Nothing is guaranteed, but you can set the rarity to super-common and make sure the base item is also super-common. That helps.

If I recall correctly, artifacts cannot drop in the town, incidentally. But you could e.g. move Farmer Maggot to 50', then he'd have a chance of dropping an artifact (and a higher chance than normal enemies would, because he's unique). You could also give item drops to his dogs.
Derakon is offline   Reply With Quote
Old January 9, 2017, 03:47   #5
Nick
Vanilla maintainer
 
Nick's Avatar
 
Join Date: Apr 2007
Location: Canberra, Australia
Age: 51
Posts: 6,316
Donated: $60
Nick is on a distinguished road
Quote:
Originally Posted by Derakon View Post
If I recall correctly, artifacts cannot drop in the town, incidentally. But you could e.g. move Farmer Maggot to 50', then he'd have a chance of dropping an artifact (and a higher chance than normal enemies would, because he's unique). You could also give item drops to his dogs.
...once you had added Farmer Maggot, his dogs and a town to Sil
__________________
One Ring to rule them all, One Ring to find them,
One Ring to bring them all and in the darkness bind them.
Nick is online now   Reply With Quote
Old January 9, 2017, 03:50   #6
protopulse
Apprentice
 
Join Date: Dec 2016
Posts: 56
protopulse is on a distinguished road
I had to double check to see if I was on the right forum...Town? Farmer Maggot?
protopulse is offline   Reply With Quote
Old January 9, 2017, 04:33   #7
Pete Mack
Prophet
 
Join Date: Apr 2007
Location: Seattle, WA
Posts: 3,879
Donated: $40
Pete Mack is on a distinguished road
You need to add a value to the limits file too. Are you adding a new type like 'a Phial', or just another artifact with an existing object type. There's a big difference.
Pete Mack is online now   Reply With Quote
Old January 9, 2017, 04:53   #8
Derakon
Prophet
 
Derakon's Avatar
 
Join Date: Dec 2009
Posts: 7,725
Derakon is on a distinguished road
Quote:
Originally Posted by Nick View Post
...once you had added Farmer Maggot, his dogs and a town to Sil
...right, yes. A certain minor detail that inexplicably escaped my attention. Apologies all, carry on!
Derakon is offline   Reply With Quote
Old January 9, 2017, 11:54   #9
Gothmog
Scout
 
Join Date: Sep 2016
Posts: 37
Gothmog is on a distinguished road
It is either the limits or object file I edit to compensate for the new artefact but I'm not too sure what to add in each of those files

I do not get how the tval and sval functions and how I should chamge it
Gothmog is offline   Reply With Quote
Old January 9, 2017, 11:57   #10
Gothmog
Scout
 
Join Date: Sep 2016
Posts: 37
Gothmog is on a distinguished road
Quote:
Originally Posted by Pete Mack View Post
You need to add a value to the limits file too. Are you adding a new type like 'a Phial', or just another artifact with an existing object type. There's a big difference.
I'm adding a sword, what I tried to do was copy and past the text for one sword and change the number and name of it (I thought that would suffice to make a new entity)

As a matter of interest what is the difference between a phial or another existing object type
Gothmog is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
artefacts colored? Tibarius Vanilla 5 January 31, 2015 16:27
artefact generation absolutego Sil 11 October 20, 2014 11:57
Help editing monster.txt file ShadowTechnology Vanilla 7 June 17, 2013 21:28
Artefact ammo miyazaki Vanilla 18 October 29, 2009 03:23
Editing the monster.txt file Jothar Hillpeople Vanilla 3 September 4, 2008 20:23


All times are GMT +1. The time now is 22:45.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2017, vBulletin Solutions, Inc.