Ouchface
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 > [Solved] Possible for player to use class from 2 diff wads?
 
Author
All times are GMT. The time now is 00:23. Post New Thread    Post A Reply
MALON
Green Marine


Posts: 33
Registered: 05-06


So I made two different wads.

Wad #1:
Increases max player health (a new player class must be defined to do this)

Wad #2:
Made a friendly marine and turned his damage factor to 0 against the player (so he can't hurt the player).

The basic actor definitions are (both wads use this code):

DECORATE
code:
actor MyPlayer : DoomPlayer


MAPINFO
code:
GameInfo { PlayerClasses = "MyPlayer" }


KEYCONF
code:
clearplayerclasses addplayerclass MyPlayer




I tried changing one of the wads to use "MyPlayer2" but it seems that wad load order determines which player class is used. Is there a way to get both to play nice at the same time, without merging wads? I'd like them separate because sometimes I want to use one without the other.

Thanks!

Last edited by MALON on 12-19-13 at 00:02

Old Post 12-18-13 03:46 #
MALON is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
Cat God25
Mini-Member


Posts: 55
Registered: 04-09


The best (and only that i know of) solution is to 'merge' them into WAD #3.

Old Post 12-18-13 06:17 #
Cat God25 is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
Blue Shadow
Member


Posts: 285
Registered: 09-12


I'd just like to point out that you don't need to use both the KEYCONF and MAPINFO ways to add a new player class, one of them will suffice. However, it's advised to use the MAPINFO one over the KEYCONF one, as it (KEYCONF way) is deprecated.

Old Post 12-18-13 10:47 #
Blue Shadow is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
MALON
Green Marine


Posts: 33
Registered: 05-06



Cat God25 said:
The best (and only that i know of) solution is to 'merge' them into WAD #3.


Yeah, might be the only way. :(


Blue Shadow said:
I'd just like to point out that you don't need to use both the KEYCONF and MAPINFO ways to add a new player class, one of them will suffice. However, it's advised to use the MAPINFO one over the KEYCONF one, as it (KEYCONF way) is deprecated.


Yes, but ports like Zandronum can't use MAPINFO, so I was using both for max compatibility.

Old Post 12-18-13 15:35 #
MALON is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
MALON
Green Marine


Posts: 33
Registered: 05-06


I solved it by using an ACS script to set APROP_SpawnHealth on the player when he entered the map, instead of going through DECORATE. This saved me from having to create a class solely for different health, thereby I now only have 1 player class.

Old Post 12-19-13 00:04 #
MALON is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
All times are GMT. The time now is 00:23. Post New Thread    Post A Reply
 
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Classic Doom > Doom Editing > [Solved] Possible for player to use class from 2 diff wads?

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.