Jump to content
Sign in to follow this  
MiG

Creating some effects in the 1st view

Recommended Posts

I would like to create a kind of a permanent inside mask view for my NBC soldier using the player 1st view. Is that possible to add (by scripting) some kind of effect type as we can see with NV Googles or in weapons model Optics effect and make it start with the addon?

Share this post


Link to post
Share on other sites

If you make the mask a piece of equipment like the NV Goggles or binoculars, I think it is possible. Are they equipment items or built into a unit?

Share this post


Link to post
Share on other sites

Hi Mig,

You have to make a model (can be just a flat plane with texture) in the Pilot-View and first LOD of the mode because inside vehicles, it is the first person LOD that displays.

Make sure the model faces the camera of the player.

However, if I'm not mistaken, all 'hlava' selections will be rendered invisible in first person view, however, this can be solved by declaring the 'inside' of the mask as a hidden selection and using setObjectTexture to texture the inside of the mask. The command should be run from the init eventHandler of the unit.

Since this change should only affect the player, I think it's best to script it to check if the player is the wearer, if not, it should exit.

Share this post


Link to post
Share on other sites

use rescources...

if u for exampel write and desription.ext

aswell u can try that to see wot i mean

make a trigger and select any recource

best here take the telly screen or binocluars

let the trigger be activated by ur unit

and voila u run with binocs or telly screen around

now if u create a new rescourse and let it be activated withteh description.ext this woudl work fine

though u have to include the description.ext everytime u make a mission

cheers

Share this post


Link to post
Share on other sites

Thanks for all for the tips. I'll try to fix the prob for next version one way or another smile_o.gif

Share this post


Link to post
Share on other sites

@Nephilim

AFAIK resources are visible in 3th person view.   rock.gif

Share this post


Link to post
Share on other sites
@Nephilim

AFAIK resources are visible in 3th person view.   rock.gif

So you think it is not possible, Blanco?

Share this post


Link to post
Share on other sites

I think @newiy had the right idea m8!

I think @nilphim, didnt understood that its an addon ur making not a mission. (mission effects uses description.ext)

It should be possible, it would be like having NV on all the time, but i cant tell u how its possible, try ofpec or some of the fdf or wgl guys for help, they have done similar things.

Share this post


Link to post
Share on other sites
I think @newiy had the right idea m8!

I think @nilphim, didnt understood that its an addon ur making not a mission. (mission effects uses description.ext)

It should be possible, it would be like having NV on all the time, but i cant tell u how its possible, try ofpec or some of the fdf or wgl guys for help, they have done similar things.

Similar things in a unit? Gimme a download link, that's all i need smile_o.gif

Share this post


Link to post
Share on other sites

well yeah ud need to include a description.ext in evry mission or for it of course

should be a minor problem though biggrin_o.gif

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×