It is currently Sat Aug 19, 2017 8:28 pm




Post new topic Reply to topic  [ 2 posts ] 
Laser Beam Projectors 
Author Message
Thug

Joined: Wed Apr 06, 2016 12:43 am
Posts: 15
Post Laser Beam Projectors
How would one go about making these little devices actually targetable & destructible via conventional means? In the game's code, it says that both "LaserTrigger" and "BeamTrigger" are vulnerable to "Shot" damage, but using a sniper rifle or pistol with max. damage upgrades & max Rifle & Pistol skills against them doesn't even manage to slightly dent these objects.


Sat Aug 05, 2017 9:53 pm
Profile
Illuminati

Joined: Thu Mar 08, 2012 3:21 am
Posts: 2280
Post Re: Laser Beam Projectors
Damage upgrades? You managed to setup modding GMDX then I take it.

Check out the parent class:

Code:
function PostBeginPlay()
{
   if ( !bInitiallyActive )
      FindTriggerActor();
   if ( TriggerType == TT_Shoot )
   {
      bHidden = false;
      bProjTarget = true;
      DrawType = DT_None;
   }
      
   Super.PostBeginPlay();
}


bProjTarget is false by default and only set true if TriggerType=TT_Shoot. To resolve, simply write bProjTarget=True in LaserTrigger.uc default properties.

This is without having tried it myself and only looking into it briefly, so don't be upset if I'm wrong.

_________________
GMDX: Advancement Mod


Sun Aug 06, 2017 3:40 am
Profile
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © phpBB Group.
Designed by Vjacheslav Trushkin for Free Forum/DivisionCore.