Blockland Forums > Help
Is it possible to set a new Default Playertype?
<< < (4/5) > >>
skill4life:
Aight, i just got back from school and tried PlayerNoJet,


--- Code: ---package defaultplayertype
{
function GameConnection::spawnPlayer(%this)
{
Parent::spawnPlayer(%this);
%this.player.changeDatablock(PlayerNoJet);
}
};
activatePackage(defaultPlayertype)
--- End code ---

That's what the cs file looks like. I have the description in, but it's still not working. Yes, i enabled the add-on also.
Lugnut:
No jet isn't the right name for it. I think it might be player_nojet
Or,event a changeplayerdatablock, go into mission editor, while in admin fly mode,
and select yourself. Teh naem is der.
Regulith:

--- Quote from: skill4life on November 23, 2009, 06:40:49 AM ---put the description in, saved as a CS file

--- End quote ---

Wait, you put the description in the server.cs? Or the description is a .cs file? Either of those are wrong. The description is its own file in .txt format.
skill4life:
No no its sepearate.
KoopaScooper:

--- Quote from: Lugnut1206 on November 23, 2009, 02:31:45 PM ---No jet isn't the right name for it. I think it might be player_nojet

--- End quote ---
No.
The correct one is "PlayerNoJet". I looked at the Datablock itself.
Navigation
Message Index
Next page
Previous page

Go to full version