[Logo]
 
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
I did a search and i did not find what i needed on removing an artifact  XML
Forum Index -> Druids RPG Go to Page: Previous  1, 2, 3 Next 
Author Message
Shantara

Wicked Sick!
[Avatar]

Joined: 12/19/2004 18:35:28
Messages: 861
Location: SLC, Utah
Offline

KohanX wrote:
Huzzah for the Classics who use 173.

A thought just came to mind... Because there is such a huge leap between 173 and everything after it, do you think that perhaps it should go off in its own direction?

Just a thought. 


Please do not hijack this thread, Kohan. If you would like to introduce a new idea, make it a separate post.

I'm wondering what it will take for my country to rise,
First we admit our mistakes, then we open our eyes
--Ani Difranco

My skin: http://www.ut2003hq.com/pafiledb2/pafiledb.php?action=file&id=5094
KohanX

Godlike

Joined: 03/04/2006 13:40:23
Messages: 350
Offline

Sorry, it just brought it to mind.
monolith



Joined: 05/02/2005 00:11:12
Messages: 25
Offline

Szlat wrote:
Have you tried putting a section like this

Code:
 [DruidsRPG173.DruidArtifactLoaded]
 SlowArtifact=Class'UT2004RPG.ArtifactTeleport'
 SlowArtifact=Class'DruidsRPG173.DruidArtifactSpider'
 SlowArtifact=Class'DruidsRPG173.DruidArtifactMakeMagicWeapon'
 QuickArtifact=Class'DruidsRPG173.DruidEnhancedArtifactMonsterSummon'
 QuickArtifact=Class'UT2004RPG.ArtifactInvulnerability'
 QuickArtifact=Class'UT2004RPG.ArtifactTripleDamage'
 QuickArtifact=Class'UT2004RPG.ArtifactLightningRod'
 QuickArtifact=Class'DruidsRPG173.DruidDoubleModifier'
 QuickArtifact=Class'DruidsRPG173.DruidMaxModifier'
 

in your System UT2004RPG.ini file? 


No it is not. I could not find anywhere what a slow artifact, or a fast artifact was defined as.

all i did find was
Code:

var config Array< class<RPGArtifact> > SlowArtifact;
var config Array< class<RPGArtifact> > QuickArtifact;

which didnt help me sence i couldnt figure out which was which.

I would like to thank you very much for this!!! I will have some very happy people on my server again!!!!!
monolith



Joined: 05/02/2005 00:11:12
Messages: 25
Offline

well that didnt work boots are still in loaded artifacts
Szlat

Wicked Sick!

Joined: 05/18/2005 18:32:41
Messages: 2124
Location: UK
Offline

Strange. Without the line
Code:
SlowArtifact=Class'UT2004RPG.ArtifactFlight'

I wouldn't expect the boots to be there.

Ok, look in the UT2004RPG.ini for the bit like
Code:
[UT2004RPG.RPGArtifactManager]
 ArtifactDelay=15
 MaxArtifacts=40
 MaxHeldArtifacts=3
 AvailableArtifacts=(ArtifactClass=Class'DruidsRPG173.DruidArtifactMakeMagicWeapon',Chance=1)
 AvailableArtifacts=(ArtifactClass=Class'UT2004RPG.ArtifactInvulnerability',Chance=1)
 AvailableArtifacts=(ArtifactClass=Class'UT2004RPG.ArtifactFlight',Chance=1)
 AvailableArtifacts=(ArtifactClass=Class'UT2004RPG.ArtifactTripleDamage',Chance=1)
 AvailableArtifacts=(ArtifactClass=Class'UT2004RPG.ArtifactTeleport',Chance=1)
 AvailableArtifacts=(ArtifactClass=Class'DruidsRPG173.DruidEnhancedArtifactMonsterSummon',Chance=1)
 AvailableArtifacts=(ArtifactClass=Class'DruidsRPG173.DruidArtifactSpider',Chance=1)

Remove the line that says
Code:
AvailableArtifacts=(ArtifactClass=Class'UT2004RPG.ArtifactFlight',Chance=1)

and try again
Szlat

Wicked Sick!

Joined: 05/18/2005 18:32:41
Messages: 2124
Location: UK
Offline

monolith wrote:
well that didnt work boots are still in loaded artifacts  

I have just set myself up a server running UT2004RPG with DruidsRPG173. In the UT2004RPG.ini I added the following:

Code:
[DruidsRPG173.DruidArtifactLoaded]
 SlowArtifact=Class'UT2004RPG.ArtifactTeleport'
 SlowArtifact=Class'UT2004RPG.ArtifactFlight'
 SlowArtifact=Class'DruidsRPG173.DruidArtifactSpider'
 SlowArtifact=Class'DruidsRPG173.DruidArtifactMakeMagicWeapon'
 QuickArtifact=Class'DruidsRPG173.DruidEnhancedArtifactMonsterSummon'
 QuickArtifact=Class'UT2004RPG.ArtifactInvulnerability'
 QuickArtifact=Class'UT2004RPG.ArtifactTripleDamage'
 QuickArtifact=Class'UT2004RPG.ArtifactLightningRod'
 QuickArtifact=Class'DruidsRPG173.DruidDoubleModifier'
 QuickArtifact=Class'DruidsRPG173.DruidMaxModifier'

Then as a Loaded Artifacts player, I got the boots of flight on startup.
I took out the line Code:
SlowArtifact=Class'UT2004RPG.ArtifactFlight'
so it now readCode:
[DruidsRPG173.DruidArtifactLoaded]
 SlowArtifact=Class'UT2004RPG.ArtifactTeleport'
 SlowArtifact=Class'DruidsRPG173.DruidArtifactSpider'
 SlowArtifact=Class'DruidsRPG173.DruidArtifactMakeMagicWeapon'
 QuickArtifact=Class'DruidsRPG173.DruidEnhancedArtifactMonsterSummon'
 QuickArtifact=Class'UT2004RPG.ArtifactInvulnerability'
 QuickArtifact=Class'UT2004RPG.ArtifactTripleDamage'
 QuickArtifact=Class'UT2004RPG.ArtifactLightningRod'
 QuickArtifact=Class'DruidsRPG173.DruidDoubleModifier'
 QuickArtifact=Class'DruidsRPG173.DruidMaxModifier'

and tried again. This time I did NOT have the boots of flight on startup.

Are you sure you typed it in correctly, into the UT2004RPG.ini file?

Do you want to PM me your UT2004RPG.ini file, and I'll have a look
monolith



Joined: 05/02/2005 00:11:12
Messages: 25
Offline

yes i coppied and pasted right from here. so i believe it is correct. with out the boots in the druids loaded and the players still had the boots.

one thiung iu was think about doing was adjusting the cost per second, but i dont think that woulkd work sence druids still calls on the boots from utrpg and not from the 1 i made. Is that correct?

and yes i will go ahead and send u my utrpg.ini and thanks for looking at it for me
v0rTeX

Wicked Sick!
[Avatar]

Joined: 12/19/2004 20:59:52
Messages: 562
Offline

I haven't tried this particular trick, but a while back I did try to modify the setup for Loaded Weapons by including the information needed in the RPG.ini file and it didn't work for me.

Druid told me he was having some difficulty getting some of the skills to take their information on what to include from the .ini file for RPG. If you want to be sure to remove it then the only absolute method is edit the code, rename, and recompile it. Otherwise it may or may not work properly.

If it can work but doesn't seem to for some people, I would start to examine not only the configuration files, but also the other mutators you are running with RPG.
Szlat

Wicked Sick!

Joined: 05/18/2005 18:32:41
Messages: 2124
Location: UK
Offline

I looked at the UT2004rpg.ini you sent, and I could not see anything wrong.

I copied the artifact text from the pm, took out the packages I didn't have, and tried it. I found I had the boots of flight. Looking more closely, I found that when I copied the text, some lines got spaces at the start or end, and UT couldn't cope with these. I got rid of the spaces at the start and end of the lines, and tried again. This time no boots of flight.

So, first check you do not have any spaces at the start and end of lines in your ut2004rpg.ini files.

It may be worth following up on v0rTeXs suggestion, and try removing different things until it does work. If there is one problem package, then you may not need it. When I tested it, I was just using the UT2004 and DruidRPG artifacts. It may be worth you testing it with just those.

Other than that, sorry I can't really help.
Szlat

Wicked Sick!

Joined: 05/18/2005 18:32:41
Messages: 2124
Location: UK
Offline

v0rTeX wrote:
If you want to be sure to remove it then the only absolute method is edit the code, rename, and recompile it. Otherwise it may or may not work properly.
 

Agreed.
Monolith could create a MonolithArtifactLoaded skill, and not have the boots of flight in that code. And then include the MonolithArtifactLoaded skill rather than the DuidArtifactLoaded in his ini file. This would mean a quick change to all the players data to exchange the two skill names.

Since Monolith has quite a few extra packages, one more wouldn't hurt.
Szlat

Wicked Sick!

Joined: 05/18/2005 18:32:41
Messages: 2124
Location: UK
Offline

Monolith, if you do end up coding a version of MonolithArtifactLoaded (or DruidArtifactLoadedmono), I would actually suggest copying the entire code for DruidArtifactLoaded and modifying it, rather than having your new class extending DruidArtifactLoaded, otherwise you may run into the same problem with the defaults.

In answer to your question about the difference between quick and slow artifacts, there isn't really a difference. If you have level 1 Loaded Artifacts skill, you get all the slow artifacts. If you have level 2, you get both the slow and quick artifacts. So put your artifacts in the appropriate section. Don't worry about what "slow" means or what "quick" means.
monolith



Joined: 05/02/2005 00:11:12
Messages: 25
Offline

Ok well i took out some spaces in the front of the text i coppied from here and we will see.

The only real problem with extending the loaded artifacts is i do not know where the slow and quick artifacts are defined i sware i have been through everything that i believed would have their defanition in it and i just cant find it.

I would like to say thanks for helping me with this it means alot to me
Szlat

Wicked Sick!

Joined: 05/18/2005 18:32:41
Messages: 2124
Location: UK
Offline

monolith wrote:
The only real problem with extending the loaded artifacts is i do not know where the slow and quick artifacts are defined i sware i have been through everything that i believed would have their defanition in it and i just cant find it.  


If you have access to the DruidsRPG173 code, and look at the DruidArtifactLoaded.uc file, right at the end in the defaultproperties section is the bit you have to change. The bit that says
Code:
      SlowArtifact(0)=Class'UT2004RPG.ArtifactFlight'
      SlowArtifact(1)=Class'UT2004RPG.ArtifactTeleport'
      SlowArtifact(2)=Class'druidsrpg173.DruidEnhancedArtifactMonsterSummon'
      SlowArtifact(3)=Class'druidsrpg173.DruidArtifactSpider'
      QuickArtifact(0)=Class'druidsrpg173.DruidArtifactMakeMagicWeapon'
      QuickArtifact(1)=Class'UT2004RPG.ArtifactInvulnerability'
      QuickArtifact(2)=Class'UT2004RPG.ArtifactTripleDamage'
      QuickArtifact(3)=Class'UT2004RPG.ArtifactLightningRod'
      QuickArtifact(4)=Class'druidsrpg173.DruidDoubleModifier'
      QuickArtifact(5)=Class'druidsrpg173.DruidMaxModifier'
 
you have to change to Code:
      SlowArtifact(0)=Class'UT2004RPG.ArtifactTeleport'
      SlowArtifact(1)=Class'druidsrpg173.DruidEnhancedArtifactMonsterSummon'
      SlowArtifact(2)=Class'druidsrpg173.DruidArtifactSpider'
      QuickArtifact(0)=Class'druidsrpg173.DruidArtifactMakeMagicWeapon'
      QuickArtifact(1)=Class'UT2004RPG.ArtifactInvulnerability'
      QuickArtifact(2)=Class'UT2004RPG.ArtifactTripleDamage'
      QuickArtifact(3)=Class'UT2004RPG.ArtifactLightningRod'
      QuickArtifact(4)=Class'druidsrpg173.DruidDoubleModifier'
      QuickArtifact(5)=Class'druidsrpg173.DruidMaxModifier'
 
by removing the ArtifactFlight line, and renumbering the entries to start at zero (as KohanX stated early in the thread)

You might also want to replace the ArtifactLightningRod artifact with the enhanced one you are using.
TheDruidXpawX

Wicked Sick!
[Avatar]

Joined: 12/19/2004 18:32:13
Messages: 1946
Offline

Eenh, I think that supporting multiple versions is problematic at best, and something I dont really have the time to do.

I'm not planning to fork the code, but it's something that others certainly could do.

Skin download: http://www.disastrousconsequences.com/dcforum/posts/list/1189.page

The fundamental problem is this: The first word we learn as children is NO. From that point forward society teaches women that saying no isn't polite, and society teaches men to respect those who wont take no for an answer.

The world is what you make of it, my friend. If it doesn't fit, you make alterations. -- Stella, The Morning Star
monolith



Joined: 05/02/2005 00:11:12
Messages: 25
Offline

well actually the spaces at the front of each line must of been why it didn't delete them. I took the spaces out added the boots in, started server, did a map change and then took the boots line out and restarted the server and boots were gone.

Also what i have exported with the wotgreal exporter does not have those as default properties at the end. It must not export everything, or something.

And Thanks Again i really do Appreciate all the help. And still looking forward to the newest release.
 
Forum Index -> Druids RPG Go to Page: Previous  1, 2, 3 Next 
Go to: