Page 2 of 2 FirstFirst 12
Results 11 to 20 of 20

Thread: [WireSVN] 2200 Multiple Files in lua: Cleanup, fixes and changes.

  1. #11
    No u Divran's Avatar
    Join Date
    Jul 2008
    Location
    Sweden
    Posts
    4,582

    Default Re: [WireSVN] 2200 Multiple Files in lua: Cleanup, fixes and changes.

    Quote Originally Posted by McLovin View Post
    Quote Originally Posted by initrd.gz View Post
    *coughholoScaleUnitscough*
    If that was fixed it would fuck up a lot of contraptions, but your more than welcome to fix it.
    Errrr holoScaleUnits doesn't use the E2 toUnit functions...
    Code:
    e2function void holoScaleUnits(index, vector size)
    	local Holo = CheckIndex(self, index)
    	if not Holo then return end
    	
    	local propsize = Holo.ent:OBBMaxs() - Holo.ent:OBBMins()
    	local x = size[1] / propsize.x
    	local y = size[2] / propsize.y
    	local z = size[3] / propsize.z
    	
    	rescale(Holo, Vector(x, y, z))
    end
    SVN Tutorial
    My SVN:
    Code:
    http://divranspack.googlecode.com/svn/trunk/%20divranspack/
    Get dropbox and get 250 MB extra space: Dropbox

  2. #12
    aka Colonel Never Online Colonel Thirty Two's Avatar
    Join Date
    Oct 2009
    Posts
    2,683
    Blog Entries
    5

    Default Re: [WireSVN] 2200 Multiple Files in lua: Cleanup, fixes and changes.

    Quote Originally Posted by McLovin View Post
    If that was fixed it would fuck up a lot of contraptions, but your more than welcome to fix it.
    Quote Originally Posted by Drunkie
    and if it does its not hard to fix.
    It won't do anything serious; it may make a hologram *slightly* larger until the workaround code in the person's E2 is removed.

    @Divran What about the resize function? I know for a fact that holoScaleUnits resizes slightly smaller than the real dimensions.

  3. #13
    Wire Sofaking Grocel's Avatar
    Join Date
    Mar 2008
    Location
    Germany, NRW, Remscheid
    Posts
    752

    Default Re: [WireSVN] 2200 Multiple Files in lua: Cleanup, fixes and changes.

    Quote Originally Posted by initrd.gz View Post
    @Divran What about the resize function? I know for a fact that holoScaleUnits resizes slightly smaller than the real dimensions.
    Holo functions doesn't use the unit convert functions of the e2, they only takes the unchanged source units. The converting from the unit that you always get and need in source to cm, meter, inch, feet and so on was changed. Maybe you should test it you self to prove that it works.
    Quote Originally Posted by Wizard of Ass View Post
    The secret phrase in gmod is: Rusty bullet hole
    Im a molecule!

  4. #14
    No u Divran's Avatar
    Join Date
    Jul 2008
    Location
    Sweden
    Posts
    4,582

    Default Re: [WireSVN] 2200 Multiple Files in lua: Cleanup, fixes and changes.

    Quote Originally Posted by initrd.gz View Post
    It won't do anything serious; it may make a hologram *slightly* larger until the workaround code in the person's E2 is removed.
    No, it won't. This code doesn't affect the need for *1.04 in holoScaleUnits.

    @Divran What about the resize function? I know for a fact that holoScaleUnits resizes slightly smaller than the real dimensions.
    above
    SVN Tutorial
    My SVN:
    Code:
    http://divranspack.googlecode.com/svn/trunk/%20divranspack/
    Get dropbox and get 250 MB extra space: Dropbox

  5. #15
    aka Colonel Never Online Colonel Thirty Two's Avatar
    Join Date
    Oct 2009
    Posts
    2,683
    Blog Entries
    5

    Default Re: [WireSVN] 2200 Multiple Files in lua: Cleanup, fixes and changes.

    I'm not talking about E2 toUnits or this patch. Though I am still not sure why holoScaleUnits is slightly smaller than the given unit.

  6. #16
    No u Divran's Avatar
    Join Date
    Jul 2008
    Location
    Sweden
    Posts
    4,582

    Default Re: [WireSVN] 2200 Multiple Files in lua: Cleanup, fixes and changes.

    Ok should we commit it? I vote yes.
    SVN Tutorial
    My SVN:
    Code:
    http://divranspack.googlecode.com/svn/trunk/%20divranspack/
    Get dropbox and get 250 MB extra space: Dropbox

  7. #17
    Wire Sofaking Grocel's Avatar
    Join Date
    Mar 2008
    Location
    Germany, NRW, Remscheid
    Posts
    752

    Default Re: [WireSVN] 2200 Multiple Files in lua: Cleanup, fixes and changes.

    Quote Originally Posted by Divran View Post
    Ok should we commit it? I vote yes.
    Nice to hear your yes vote.

    Anymore votes?
    Quote Originally Posted by Wizard of Ass View Post
    The secret phrase in gmod is: Rusty bullet hole
    Im a molecule!

  8. #18
    hurrr physics Tolyzor's Avatar
    Join Date
    Aug 2008
    Location
    England
    Posts
    1,020

    Default Re: [WireSVN] 2200 Multiple Files in lua: Cleanup, fixes and changes.

    I vote yes. We could always make an official poll.
    Comprehensive Gmod physics guide - Ballistic trajectory with drag - Autodyno engine performance test
    Quote Originally Posted by janvos2506 View Post
    i just going to type the code over and over again and maybe il remeber it then
    Don't make the mistake these skydivers did and use any of my Gmod physics models for real life situations...

  9. #19
    Ursus maritimus Drunkie's Avatar
    Join Date
    Feb 2009
    Location
    Canada
    Posts
    5,662
    Blog Entries
    1

    Default Re: [WireSVN] 2200 Multiple Files in lua: Cleanup, fixes and changes.

    It's a good patch. I don't see the need for a vote, just commit it.

  10. #20
    No u Divran's Avatar
    Join Date
    Jul 2008
    Location
    Sweden
    Posts
    4,582

    Default Re: [WireSVN] 2200 Multiple Files in lua: Cleanup, fixes and changes.

    Committed.
    SVN Tutorial
    My SVN:
    Code:
    http://divranspack.googlecode.com/svn/trunk/%20divranspack/
    Get dropbox and get 250 MB extra space: Dropbox

Page 2 of 2 FirstFirst 12

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
proceed-collector
proceed-collector
proceed-collector
proceed-collector
linguistic-parrots
linguistic-parrots
linguistic-parrots
linguistic-parrots