HenKonen Posted December 22, 2010 Okey, so I'm working on a wad that uses no original doom weapons. Otherwise this has worked great except for a little problem that is pretty awkward. You always start the first map with the wimpy pistol in your hand. First you have to deselect the pistol to get rid of it (there is no weapon slot place for the pistol, all the slots are for the new weapons, so once the pistol is lowered it cannot be selected again on purpose). Also, if the other weapons run out of ammo, you might reselect the pistol again automatically. Not a very fluent effect if you thought that you didn't have the pistol with you at all. I'm thinking that changing the startup weapon in the wad to the fist would solve the problem, the pistol could be removed from the inventory with a simple takeinventory script in the beginning of the first level, but for some reason I couldn't get a OPEN script execute a takeinventory and setweapon command. So, is it possible to set the wads startup weapon to something else than the pistol? 0 Share this post Link to post
Bishop Posted December 22, 2010 Player.StartItem You might have to modify the internal player class for this. 0 Share this post Link to post
magicsofa Posted December 22, 2010 couldn't you just use the pistol slot for one of your weapons? 0 Share this post Link to post
Bishop Posted December 22, 2010 It doesn't matter what the weapon slots are set to. If Player.StartItem "pistol" exists in the player class definition, he will always have a pistol at the start of a map. He'd have to change that to some other weapon. 0 Share this post Link to post
Graf Zahl Posted December 22, 2010 Bishop said:You might have to modify the internal player class for this. That can't be done. To replace the default inventory of a player you have to define a new player class. Any attempt to mess around with the internal definitions from a PWAD will result in a fatal error message. 0 Share this post Link to post
Bishop Posted December 23, 2010 Right, Replace* used the wrong words :S 0 Share this post Link to post