How about the ability to use arbitrary models that are already in GMod/HL2 as hologram models? You just need to change the material and colour and you're good to go.
Ok, if you seen my helicopter, and saw that it used the holoModelAny extension, you probably dumped it as most servers don?t have it. My simple solution is to add that to SVN BUT and this step is important, add a Lua number (bool) to each hologram that will say if it?s a custom model or not.
Like so:
On holoCreate() it will be set to 0, as the model is default, on holoModel it will go to 0, and on holoModelAny it will go to 1.
Now that there would be this number, we would modify the holoScale function:
C code [don?t say a word!]
The above code needs explanation, I know it?s not Lua, but I prefer to type C code. Ok, if the hologram is a custom model, it will disable holo scaling that is bigger than 1 (Math.vectorClamp), if not it will enable scaling as normal.Code://Where TargetScale is a vector and isCustModel is a Boolean containing info about the hologram If(isCustModel) { TargetScale= clamp(TargetScale,0,1)//scaling of more than 1 is not supported } Else { TargetScale= clamp(TargetScale,0,50)//default settings }
I have talked to TommyLobo and he said that:
I offer to make a holo model block list (of huge props).Originally Posted by TomyLobo
I think that my solution is simple, yet powerful and would finally bring the beloved holoModelany to WireSVN.
Also, even if you say no, don?t lock this thread, please, I want to know what people think about this idea.
Last edited by TomyLobo; 09-22-2009 at 08:24 AM. Reason: Removed the extra topics. #2 has been implemented already. #3 isn't really necessary and will be done some time
Server permanently down
AC-130 Hologram contraptions 1 Holo contraptions 2 EGP stuff Holo minigun Holo javelin rocket launcher
Unsmart: I doubt the intelligence of some people.
Drunkie: Nobody could have said that any better than Unsmart.
Divran: there are more retarded people than there are clever people in this world
How about the ability to use arbitrary models that are already in GMod/HL2 as hologram models? You just need to change the material and colour and you're good to go.
That is the plan, Azrael.
There is just this size limiting problem...
"It's easy to win forgiveness for being wrong; being right is what gets you into real trouble." - Bjarne Stroustrup
"[...] god is an ever-receding pocket of scientific ignorance [...]" - Neil DeGrasse Tyson
How about have a maximum AABB size? You can adjust the size to whatever you want as long as the AABB is inside the maximum one.
Well, there's also the bit of making ti play nice with holoScaleUnits, which I'm assuming is being worked towards.
If I remember right, the idea was to set the initial scale such that the largest dimension ends up equating to the length of the default cube, and allowing the existing limits to just work as usual.
I seem to remember suggesting that if that happens, we get a function to retrieve the number of units needed to get it life-size, or somesuch, but now....
Perhaps a holoScaleReset() command, that sets a hologram to be life-size/default scale, provided such a size is within the master limit?
holoScale(1, vec(1, 1, 1))
Das ist guuuuuuuuuuud
"It's easy to win forgiveness for being wrong; being right is what gets you into real trouble." - Bjarne Stroustrup
"[...] god is an ever-receding pocket of scientific ignorance [...]" - Neil DeGrasse Tyson
Last edited by Unsmart; 09-22-2009 at 10:43 AM.
Server permanently down
AC-130 Hologram contraptions 1 Holo contraptions 2 EGP stuff Holo minigun Holo javelin rocket launcher
Unsmart: I doubt the intelligence of some people.
Drunkie: Nobody could have said that any better than Unsmart.
Divran: there are more retarded people than there are clever people in this world
BUMP, this is a must have adddon to wire
holograms=lagfree->cool
holoModelAny holograms->100000x cooler than above.
Server permanently down
AC-130 Hologram contraptions 1 Holo contraptions 2 EGP stuff Holo minigun Holo javelin rocket launcher
Unsmart: I doubt the intelligence of some people.
Drunkie: Nobody could have said that any better than Unsmart.
Divran: there are more retarded people than there are clever people in this world
a scale of 1 is already too large. I told you before, why do you bring it up again?
"It's easy to win forgiveness for being wrong; being right is what gets you into real trouble." - Bjarne Stroustrup
"[...] god is an ever-receding pocket of scientific ignorance [...]" - Neil DeGrasse Tyson
Bookmarks