Modme Forums

How to make object visible through walls?

Game Modding | Call of Duty: Black Ops 3 | Scripting


BetiroVal:

I am wondering on how this is accomplished exactly.
All the available scripts regarding this utilise an actor of sorts (player or a zombie), whilst I want a model/object to be visible through walls.



Material-Related:

  • Do materials always have to be of hud_outline_model(+) to be visible through walls?
  • Do materials (custom included) need to be added to the map's zone file?
  • Do materials (custom included) start with mc in the zone and script?

Script-Related:
  • Should the .gsc clientfield be called on the player, or the object? Is this correct: (self clientfield::set( "alpha_on", 1 )
  • The clientfield::set name parameter should be the same as the name parameter in clientfield::register, correct?
  • When registering the clientfield, is the correct pool "world"?
  • When setting the .csc duplicate_render::set_dr_flag, should it be called upon the model? Is this correct: (level.object duplicate_render::set_dr_flag( "alpha_on", n_new ))

If anyone can provide an explanation, a tutorial, or an example of an object (say a powerup) that is visible through walls, it would be greatly appreciated.
I have been trying to do this with no avail.