Demon
Register | User Profile | Member List | F.A.Q | Privacy Policy | New Blog | Search Forums | Forums Home
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Classic Doom > Doom Editing > Help with player weapon class :S
 
Author
All times are GMT. The time now is 19:31. Post New Thread    Post A Reply
BonusChild
Newbie


Posts: 6
Registered: 10-12


So, I'm trying to replace the default weapons with weapons downloaded from Realm667. I'm really slow and almost clueless with scripting, this is my custom DECORATE:

ACTOR SolarPlayer : DoomPlayer
{
Player.StartItem "_Colt45"
Player.StartItem "_Fist"
Player.StartItem "Clip", 50
Player.WeaponSlot 1, _Fist, _Chainsaw
Player.WeaponSlot 2, _Colt45
Player.WeaponSlot 3, _PumpActionShotgun, _SuperShotgun
Player.WeaponSlot 4, _MicroUzi
Player.WeaponSlot 5, _40mmGrenadeLauncher
Player.WeaponSlot 6, _PlasmaRifle
Player.WeaponSlot 7, _BFG9000
}

I made a custom KEYCONF aswell:

clearplayerclasses
addplayerclass SolarPlayer



When I run the game it says "1 error while parsing DECORATE script"


Help? I'm so confused.

Old Post 10-30-12 05:45 #
BonusChild is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
Doggo120
Mini-Member


Posts: 87
Registered: 10-12


Well, I had almost a similar question just a couple of hours ago. Try and create a MAPINFO lump and write the following:

GameInfo
{
PlayerClasses = "SolarPlayer"
}

(You can specify a lot of things in this MAPINFO lump, including player classes and such).

This should set the player classes to the one you created, or if you had more, you would just put them all there (and according the ZDOOM wiki, this is one the best ways of doing this).
Hope it works!

Old Post 10-30-12 07:39 #
Doggo120 is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
Doggo120
Mini-Member


Posts: 87
Registered: 10-12


I just realized you where the one who tried to help me first haha.

Old Post 10-30-12 08:05 #
Doggo120 is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
The Monitor
Mini-Member


Posts: 55
Registered: 11-12


Well, I have some experience with this, so I'll help as best I can. If you are using (G)ZDoom, or SkullTag, then it should tell you above the "1 error while parsing DECORATE script" what's wrong.
Once you know what's wrong, then it should be easily fixed.
Hope I helped!

Old Post 11-11-12 00:51 #
The Monitor is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
All times are GMT. The time now is 19:31. Post New Thread    Post A Reply
 
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Classic Doom > Doom Editing > Help with player weapon class :S

Show Printable Version | Email this Page | Subscribe to this Thread

 

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are OFF
[IMG] code is ON
 

< Contact Us - Doomworld >

Powered by: vBulletin Version 2.2.5
Copyright ©2000, 2001, Jelsoft Enterprises Limited.

Message Board Statistics