Holograms

Started by Snake, May 10, 2014, 01:36:25 PM

Previous topic - Next topic
May 10, 2014, 01:36:25 PM Last Edit: May 10, 2014, 01:39:57 PM by Snake
Well, I've been trying to get holograms to work. I got a hologram to work pretty easily but weird things happen... For one, it is always white, even though I defined the color in the odf. I also tried to give it an image but it refuses to show up. I began by using a control zone odf but that never showed the image, plus it caused people to spawn there, so I used a regular prop with a hardpoint that had a hologram attached. Well, here's my odf's. I don't think anyone has done anything with holograms before so you guys will probably be as well off as me, but I figured someone might know what to do!

[spoiler]
[GameObjectClass]      

ClassLabel      =   "prop"
GeometryName  =     "muse_prop_lampdisk.msh"
//GeometryName   =   "HOTH_prop_corridor_lamp.msh"

[Properties]      

GeometryName   =  "muse_prop_lampdisk"
//GeometryName   =   "HOTH_prop_corridor_lamp"
FoleyFXGroup    = "metal_foley"

OrdnanceCollision =   "none"
VehicleCollision = "none"
SoldierCollision = "none"

VehicleCollision = "CLEAR"
SoldierCollision = "CLEAR"

AttachOdf = "snk_holo_holoprojector"

AttachToHardPoint = "hp_light"
[/spoiler]

[spoiler]
[GameObjectClass]
ClassLabel = "hologram"

[Properties]
Color             = "92 136 250"
HoloType          = "aligned"
HoloImageGeometry    = "foxlady"
HoloVisibleDistance = 200.0
HoloHeight          = 1.0
HoloSize          = 1.0
HoloBeamIntensity    = 1.0
HoloLightIntensity    = 1.0
HoloImageIntensity    = 1.0
HoloFlareIntensity    = 1.0
HoloLightRadius    = 8.0
HoloRotateRate       = 0.0
HoloPopRate       = 0.0
HoloFlickerRate    = 0.0
HoloFlickerAlphaMin = 0.4
HoloFlickerAlphaMax = 0.8
HoloFadeInTime       = 2.0

[/spoiler]

It looks exactly the same as a regular wight light ingame.

----

After looking at other holo odf's I found a difference between others and the one based on the controlzone:
HoloType          = "aligned"
vs
HoloType          = "build"

Hmm.. clues, clues.
=AaTc= Forever

SALLY....

-Retired Modder

I have seen custom CP holos in a mod map before.  You might want to look into the geonosis assets.
Quote from: Abraham Lincoln. on November 04, 1971, 12:34:40 PM
Don't believe everything you read on the internet

Iv'e done custom CP hologram before, and if I remember, it's may be done, by editing common.lvl. Still, I guess, all uncaptured CP's may be only white.
Beauty is, the way to perfection.

Glory to Ukraine!  :mf: