View unanswered posts | View active topics It is currently Tue Dec 03, 2024 9:48 pm



Reply to topic  [ 60 posts ]  Go to page Previous  1, 2, 3, 4  Next
 Portal Demo 
Author Message

Joined: Sat Jan 13, 2007 11:04 pm
Posts: 2932
Reply with quote
Post Re: Portal Demo
Hmm I wonder if you can apply Lua on a gun through a scene. If that is possible, I smell a LordTim's portal gun in the mods section soon.


Tue Aug 26, 2008 10:46 pm
Profile
User avatar

Joined: Sun May 18, 2008 8:30 am
Posts: 732
Reply with quote
Post Re: Portal Demo
I wouldn't be surprised. With every new feature, someone finds a new work around.


Tue Aug 26, 2008 10:53 pm
Profile
REAL AMERICAN HERO
User avatar

Joined: Sat Jan 27, 2007 10:25 pm
Posts: 5655
Reply with quote
Post Re: Portal Demo
It's not possible to create anything Lua related without a console command or scene based scripting. Period. There's just no way to connect a script to a gun's behaviour.

Hell, we can't apply Lua to BUNKERMODULES, let alone HDFirearms.

Believe it or not sometimes there just plain ISN'T a workaround.


Wed Aug 27, 2008 1:06 am
Profile

Joined: Thu Jun 26, 2008 8:18 am
Posts: 241
Reply with quote
Post Re: Portal Demo
So now all of a sudden you CAN'T do EVERYTHING with Lua?


Wed Aug 27, 2008 1:35 am
Profile

Joined: Mon Aug 25, 2008 1:03 am
Posts: 10
Reply with quote
Post Re: Portal Demo
Once we get scripted weapons, this should - in theory - be possible.


Wed Aug 27, 2008 1:37 am
Profile

Joined: Sat Feb 03, 2007 7:11 pm
Posts: 1496
Reply with quote
Post Re: Portal Demo
Maybe you could do something that involves
Taking the rotation of the actor's head, and
when a console command is typed it spawns
and applies a velocity to a Gibbing Lua TDEx.


Wed Aug 27, 2008 3:26 am
Profile WWW
REAL AMERICAN HERO
User avatar

Joined: Sat Jan 27, 2007 10:25 pm
Posts: 5655
Reply with quote
Post Re: Portal Demo
CORRECTION you nitpicking ♥♥♥♥.

There's no way to make something happen somewhere with Lua besides areas and console commands IN THE CURRENT BUILD.

Jesus christ.


Wed Aug 27, 2008 4:10 am
Profile
User avatar

Joined: Sat Dec 02, 2006 11:51 pm
Posts: 204
Reply with quote
Post Re: Portal Demo
what about local trace?


Wed Aug 27, 2008 4:34 am
Profile WWW

Joined: Thu Aug 16, 2007 10:09 am
Posts: 163
Reply with quote
Post Re: Portal Demo
Well, if we made a scene with an area that covered the map, we might be able to check against the helditems of the units. If one equated to something like "SUPER LAZAH GUNNN" then we could have a bunch of TDExplosives and so on rain from the sky if he fired a special "SLGBeacon" object, perhaps? The Lua might be able to check to see if there are named MOSRotating's in the mapwide area.

So the gun basically fires a useless blob on every map unless it's this one in the campaign, where it rains bombs if you do fire. Making it possible to have Scenario-Only weapons, like C4 detonators or something.

So, with the recently found objects list, I'm sure we can find a way to find a way to make a portal gun, even if it can only be used on specialized portal scenes.

viewtopic.php?f=73&t=12096


Wed Aug 27, 2008 7:48 am
Profile

Joined: Mon Aug 25, 2008 1:03 am
Posts: 10
Reply with quote
Post Re: Portal Demo
Grif wrote:
CORRECTION you nitpicking fudge.

There's no way to make something happen somewhere with Lua besides areas and console commands IN THE CURRENT BUILD.

Jesus christ.

well, you could loop through all the actors in the scene, and check if their Pos is within given coordinates - makeshift areas, I suppose.

But I'm not sure how you'd make the gun itself without scripted weapons.


EDIT: Actually, it looks like there's an Area.AddBox method. Looks like areas can be added on the fly. Nifty.


Wed Aug 27, 2008 4:48 pm
Profile

Joined: Thu Aug 16, 2007 10:09 am
Posts: 163
Reply with quote
Post Re: Portal Demo
Tayrtahn wrote:

EDIT: Actually, it looks like there's an Area.AddBox method. Looks like areas can be added on the fly. Nifty.


Aha. Then we can trace the XY of the shot MOSRotating, and add an area on the fly in the scene. Then we can check against it and do the math! It's possible! Go Tim, you're the best man for this job!


Wed Aug 27, 2008 4:58 pm
Profile
User avatar

Joined: Sun Apr 15, 2007 5:56 am
Posts: 1191
Location: outside the shithole called the University in the Forest
Reply with quote
Post Re: Portal Demo
Hey Lord Tim,
Remake Endurantism with these in.
Sincerely,
Me.


Thu Aug 28, 2008 2:26 am
Profile
User avatar

Joined: Fri Apr 27, 2007 4:55 pm
Posts: 1178
Location: America!
Reply with quote
Post Re: Portal Demo
Pssh. That is a dumb idea. Endurantism with portals? Pssh. No one would ever do that. Pssh. Keep your lame ideas to yourself. Psssh. Psssssssshhhhh.

Also, everyone stay away from Endurantism. It's for your own good.


Thu Aug 28, 2008 2:56 am
Profile
User avatar

Joined: Mon Apr 28, 2008 1:35 am
Posts: 383
Reply with quote
Post Re: Portal Demo
*Claps hands

Do it tim! Do it!


Thu Aug 28, 2008 4:37 am
Profile
User avatar

Joined: Sat Jan 27, 2007 9:38 am
Posts: 170
Location: St. Louis, MO
Reply with quote
Post Re: Portal Demo
Grif wrote:
CORRECTION you nitpicking fudge.

There's no way to make something happen somewhere with Lua besides areas and console commands IN THE CURRENT BUILD.

Jesus christ.

And, you know, if then statements. They ain't efficient like function calls, but they work.


Fri Aug 29, 2008 4:43 am
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 60 posts ]  Go to page Previous  1, 2, 3, 4  Next

Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.033s | 15 Queries | GZIP : Off ]