Jump to content


Photo

draw_laser()


  • Please log in to reply
5 replies to this topic

#1 MasterOfKings

MasterOfKings

    The True Master

  • GMC Member
  • 4888 posts
  • Version:GM8

Posted 03 November 2011 - 01:08 PM

Hey all,

I got a little bored so I decided to throw together a script that draws a simple line of col1 and col2, based upon range_finder(). The lite version will draw only col.

Pro / Standard...
Spoiler


Lite...
Spoiler

Edited by MasterOfKings, 24 February 2012 - 08:37 AM.

  • 2

#2 Tobias(NL)

Tobias(NL)

    GMC Member

  • GMC Member
  • 851 posts
  • Version:Unknown

Posted 03 November 2011 - 02:15 PM

Quite impressive! Works fine!
  • 0

#3 treeco123

treeco123

    GMC Member

  • New Member
  • 4 posts

Posted 30 January 2012 - 08:26 PM

It doesn't work in lite because of the draw_line_color, works fine with draw_line and draw_set_color though.

Edited by treeco123, 30 January 2012 - 08:31 PM.

  • 0

#4 Helios Machina

Helios Machina

    GMC Member

  • New Member
  • 32 posts
  • Version:GM8

Posted 30 January 2012 - 10:17 PM

It doesn't work in lite because of the draw_line_color, works fine with draw_line and draw_set_color though.


Yeaaaah unfortunately most code like this doesn't work in lite, and they can be really hard to pull off without using the draw functions. Which reminds me that I gotta go upgrade sometime, pretty embarrassing that I haven't done that yet. Used 6.1 pro back in the day, but apparently that doesn't really count anymore, lol :c
  • 0

#5 MasterOfKings

MasterOfKings

    The True Master

  • GMC Member
  • 4888 posts
  • Version:GM8

Posted 31 January 2012 - 01:50 PM

EDIT: See top post for Lite version.

Edited by MasterOfKings, 24 February 2012 - 08:39 AM.

  • 2

#6 Helios Machina

Helios Machina

    GMC Member

  • New Member
  • 32 posts
  • Version:GM8

Posted 03 February 2012 - 08:28 AM

Making it lite-friendly is easy, but you lose the possibility of a gradient. Simply...

Spoiler


Sweeeet, it just doesn't look as pretty now, lol. Oh well, it's still great for the functionality. Thanks for being smarter than me on the subject and actually helping <3
  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users