View previous topic :: View next topic |
Author |
Message |
dark-_|_-night Guest
|
Posted: Fri Feb 27, 2004 5:03 am Post subject: How do i add new inventory items to the inventory class |
|
|
mmm Ive been trying to make it so people start out with a Translator jspeed jboots but every time i try they will get no translator or anyiventory item only justa aura pistol
It should give u the following but it dosnet:
Aura pistol
Amp Mag
Translator
Jspeed
Jboots
Musicbox (yes i do have music box thanks to hyper )
Armor
KevlarSuit
DiscoBelt (my firend loves the light thing )
Thats the players starting inventory
Could u help me out? |
|
Back to top |
|
|
Winged Unicorn
Joined: 22 Jan 2004 Posts: 87
|
Posted: Fri Feb 27, 2004 11:03 am Post subject: |
|
|
Please PM me or post here your MCoop2.ini, it will be much easier to figure out what's wrong
[of course, be sure to remove any password before doing that!] _________________ Ride to the starlight... there, where heroes lie |
|
Back to top |
|
|
dark-_|_-night Guest
|
Posted: Fri Feb 27, 2004 9:36 pm Post subject: |
|
|
Ok unicorn heres what i did
Code: | [MCoopInventory.MaleTwoInventory]
DefaultInvCharge=99999
DefaultArmorCharge=200
DefaultAmmoAmount=9999
DefaultHealth=100
AdminDefaultHealth=200
AdminChildDefaultHealth=125
AdminBabyDefaultHealth=150
DropProbability=0.000000
DefaultWeapons=Aura1.aurapistol Aura.AmpMag
DefaultInventory=UnrealShare.Translator Jtool3.Jspeed
AdminWeapons=Aura1.aurapistol
AdminInventory=UnrealShare.Translator
AdminChildWeapons=Aura1.aurapistol
AdminChildInventory=UnrealShare.Translator
AdminBabyWeapons=Aura1.aurapistol
AdminBabyInventory=UnrealShare.Translator |
I did that and only gives u a aura dispersion pistol and translator
Any clue to whats going on? |
|
Back to top |
|
|
Winged Unicorn
Joined: 22 Jan 2004 Posts: 87
|
Posted: Fri Feb 27, 2004 9:45 pm Post subject: |
|
|
I noticed there were some errors in your settings. In fact, every weapon you add must be in the form:
DefaultWeapons=weapon class.weapon name
The same thing is valid for inventory items:
DefaultInventory=inventory class.inventory name
Moreover, the DefaultWeapons and the DefaultInventory will be given to ALL players of the selected class without making any distinction between admins and normal players. All the special weapons/inventory like AdminWeapons or AdminInventory etc will be given as a "plus" to admins. In other words, they will get the default ones AND the special ones too, so you don't need to add the same "public" weapons and inventory in the special spots too
Anyway, here are the fixed settings (please note that this will work ONLY for MaleTwo):
Code: | [MCoopInventory.MaleTwoInventory]
DefaultInvCharge=99999
DefaultArmorCharge=200
DefaultAmmoAmount=9999
DefaultHealth=100
AdminDefaultHealth=200
AdminChildDefaultHealth=125
AdminBabyDefaultHealth=150
DropProbability=0.000000
DefaultWeapons=Aura1.aurapistol
DefaultWeapons=Aura.AmpMag
DefaultInventory=UnrealShare.Translator
DefaultInventory=Jtool3.Jspeed |
That should fix your problems... _________________ Ride to the starlight... there, where heroes lie |
|
Back to top |
|
|
dark-_|_-night Guest
|
Posted: Fri Feb 27, 2004 9:51 pm Post subject: |
|
|
Hey thanks for figureing that out for me
Now my friendcould have some decient gear Thnks alot |
|
Back to top |
|
|
dark-_|_-night Guest
|
Posted: Fri Feb 27, 2004 9:55 pm Post subject: |
|
|
I got that fixed but theres another thing
What is this anyways
Code: | AdminDefaultHealth=200 |
And how dose it work
I changed it made my self admin and i still get only 200 when i set it liek this
Code: | AdminDefaultHealth=999 |
Any clue?
:S |
|
Back to top |
|
|
Winged Unicorn
Joined: 22 Jan 2004 Posts: 87
|
Posted: Fri Feb 27, 2004 10:23 pm Post subject: |
|
|
That is the default health that admin gets when he/she joins the server. It will work only if:
1) the class is the same (in your case, MaleTwo)
2) bSetDefaultHealth is set to True _________________ Ride to the starlight... there, where heroes lie |
|
Back to top |
|
|
dark-_|_-night Guest
|
Posted: Fri Feb 27, 2004 10:26 pm Post subject: |
|
|
O ok thanks for telling me cuz i was REAL confused on how that would work |
|
Back to top |
|
|
|