Jump to content

  • Log in with Facebook Log in with Twitter Log In with Google Log In with Steam Sign In
  • Create Account
Photo

Tripmines with a wire



  • Please log in to reply
6 replies to this topic

#1
OFFLINE   ailmanki

ailmanki

    Member

  • Members
  • PipPip
  • 27 posts
6
A step in the right direction
Tripmines look like Lasermines, well not like I would have ever seen one.. lol.

My queston are they trip mines or laser mines? Laser mines are a one place deal (streaching till they see another blocking object) They are o.k. but really not WW2.

Trip mines (and we had them on an old RTCW mod) are placed on one object then the ENG goes to a second obj and sets the line. It takes longer to place but these are the crafty ones to use.

quote from here
Well I would love to see that variant from that RTCW Mod. Though for the moment, for me it would be sufficient if it aint a laserline, but wire.
Simply a red and blue wire, which is not transparent. Well very nice would be if we can just edit a shader - I have not checked that.?

Edited by ailmanki, 04 April 2011 - 12:26 AM.


#2
OFFLINE   gaoesa

gaoesa

    Advanced Member

  • Management
  • PipPipPipPip
  • 4391 posts
341
Will become famous
  • LocationFinland
The tripmines are really not on my area.

The line uses the railcore shader.

The idea of making the arming 2 part operation is interesting.

If you decide to test and find improvements using the shader. Please tell us about them. We can make a new shader for the tripmines of course if it is a usable approach.

#3
OFFLINE   ailmanki

ailmanki

    Member

  • Members
  • PipPip
  • 27 posts
6
A step in the right direction
Uhm I manged to modify it, but the results are not any good. I have to use "rgbGen Vertex" for it to get a teamcolor - e.g. blue/red.
Once that rgbGen is active, I am unable to make it simply look like a wire. I think with a two stage shader or something, I would be able to correctly apply alpha channels - dunno. In any case it would be much simpler if it uses a separate shader for each team.

#4
OFFLINE   ailmanki

ailmanki

    Member

  • Members
  • PipPip
  • 27 posts
6
A step in the right direction
forgot to mention something.

When I used blendFunc , multiple tripmines where not correctly draw, the lines where sometimes in wrong order .. some alpha sorting problem.

Yet when I used alphaFunc GT128 .. it did sort them correctly, but that does only work with sharp alpha things...




Having now installed 0.31 I reverted back to default laserwires. Will see if I have a good Idea.



#5
OFFLINE   TheSilencerPL

TheSilencerPL

    Advanced Member

  • Management
  • PipPipPipPip
  • 3099 posts
216
On the road to fame
  • LocationPoland
We don't have much of expertise in this area yet, so if you know some tricks with the shaders, feel free to experiment and provide the results, of course :P as you have already done. We decided to use the old tmines in 0.3.1 because the new ones are still not perfect. But tmines in 0.3.1 are now shader based, so you can continue your experiments on 0.3.1 without need to change the binaries to specially prepared for this purpose.

#6
OFFLINE   TheSilencerPL

TheSilencerPL

    Advanced Member

  • Management
  • PipPipPipPip
  • 3099 posts
216
On the road to fame
  • LocationPoland
Don't bother anymore. We made the wires on our own :) But thanks for your help anyway :)

#7
OFFLINE   gaoesa

gaoesa

    Advanced Member

  • Management
  • PipPipPipPip
  • 4391 posts
341
Will become famous
  • LocationFinland
Your help was invaluable. You gave us information we didn't have before and changed the way we thought about the wire shaders. This website gave the required information to proceed with the shaders http://www.exasm.net...1/section0.html





Also tagged with one or more of these keywords: Implemented

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users