Skill Computer

A refuge for those migrating from the fallen DXEditing.com and a place for general discussion relating to Deus Ex editing (coding, mapping, etc).
Post Reply
User avatar
Yachs
Thug
Posts: 19
Joined: Thu Nov 04, 2010 10:37 am

Skill Computer

Post by Yachs »

I tried to create a computer that would give the player experience for his hacking. I tried to write your classes "NetworkTerminalPersonalMy" and "ComputerPersonalMy". Here it is:

Code: Select all

class NetworkTerminalPersonalMy extends NetworkTerminalPersonal;

Function SkillsHackAdjust()
{
local player DeusExPlayer;

      if (player.ActiveComputer == ComputerPersonalMy(compOwner))
      {
         if (bHacked)
         {

	  if (player != None)
	    {
              player.SkillPointsAdd(200);
            }

       }
}

}
and

Code: Select all

class ComputerPersonalMy extends Computers;

var() bool  bSkillComputer;
After compilation, it doesn't work.
Of course, I don't forgot to set bSkillComputer on True)
Image
Post Reply