View unanswered posts | View active topics It is currently Sat Dec 28, 2024 4:03 pm



Reply to topic  [ 140 posts ]  Go to page Previous  1 ... 4, 5, 6, 7, 8, 9, 10  Next
 Quick Console Commands 
Author Message
User avatar

Joined: Sun May 18, 2008 8:30 am
Posts: 732
Reply with quote
Post Re: Quick Console Commands
Is there a more complicated non-console command version that does something similar to stopping time?


Sat Dec 27, 2008 7:00 am
Profile
DRL Developer
DRL Developer
User avatar

Joined: Wed Dec 13, 2006 5:27 am
Posts: 3138
Location: A little south and a lot west of Moscow
Reply with quote
Post Re: Quick Console Commands
Not really. If there's a variable for changing the delta time, then maybe.


Sat Dec 27, 2008 7:42 am
Profile WWW
User avatar

Joined: Sun May 18, 2008 8:30 am
Posts: 732
Reply with quote
Post Re: Quick Console Commands
I thought maybe you could do something with dampening, but that wouldn't slow down their aiming. Is there a way to dismantle them then pin their parts?


Sat Dec 27, 2008 8:21 am
Profile
DRL Developer
DRL Developer
User avatar

Joined: Wed Dec 13, 2006 5:27 am
Posts: 3138
Location: A little south and a lot west of Moscow
Reply with quote
Post Re: Quick Console Commands
Not yet, nope. Anything that is attached to, carried by, held by, or otherwise belonging to an actor isn't included in the MovableMan arrays. As far as I know, it's not possible to get them yet.


Sun Dec 28, 2008 3:59 am
Profile WWW
User avatar

Joined: Sun Jul 13, 2008 9:57 am
Posts: 4886
Location: some compy
Reply with quote
Post Re: Quick Console Commands
id use realtosimcap rather than deltatime. as when you turned the delta back up everyone will be recalculated to where they would be in the time that had passed. and the AI would be ♥♥♥♥ confused.


Sun Dec 28, 2008 6:18 am
Profile WWW
User avatar

Joined: Fri Apr 27, 2007 4:55 pm
Posts: 1178
Location: America!
Reply with quote
Post Re: Quick Console Commands
There is technically a "Detach" function for attachables, but I'm pretty sure it only works with actual attachables(so not for head/arm), and I haven't tried using it so I have no idea if it works or not.


Sun Dec 28, 2008 7:09 am
Profile
User avatar

Joined: Thu Jul 10, 2008 6:23 pm
Posts: 301
Location: Lurking somewhere around here...
Reply with quote
Post Re: Quick Console Commands
Lord Tim wrote:
There is technically a "Detach" function for attachables, but I'm pretty sure it only works with actual attachables(so not for head/arm), and I haven't tried using it so I have no idea if it works or not.

Darn, that would be awesome...
Go walking along, enter the code, your head falls off...
Instant Headless Swordsman!
Only...he's dead...


Sun Dec 28, 2008 5:52 pm
Profile
User avatar

Joined: Mon Jun 04, 2007 5:55 am
Posts: 1627
Location: Ohio
Reply with quote
Post Re: Quick Console Commands
Lord Tim wrote:
There is technically a "Detach" function for attachables, but I'm pretty sure it only works with actual attachables(so not for head/arm), and I haven't tried using it so I have no idea if it works or not.


Doors. Detach Doors.

it also would maul something i've been making.


Wed Jan 07, 2009 1:46 pm
Profile YIM WWW
User avatar

Joined: Sat Dec 13, 2008 11:56 pm
Posts: 206
Reply with quote
Post Re: Quick Console Commands
Can you stop time for everything exept for your selected actor?


Wed Jan 07, 2009 3:41 pm
Profile
User avatar

Joined: Fri Apr 27, 2007 4:55 pm
Posts: 1178
Location: America!
Reply with quote
Post Re: Quick Console Commands
We could if Data exposed the update functions. Data, if you're reading this, expose the update functions.


Wed Jan 07, 2009 4:07 pm
Profile
User avatar

Joined: Tue Nov 06, 2007 6:58 am
Posts: 2054
Reply with quote
Post Re: Quick Console Commands
deathbal101 wrote:
Can you stop time for everything exept for your selected actor?


You could just pin everything but your actor.
Code:
for victim in MovableMan.Actors do if not (victim.Team == ActivityMan:GetActivity():GetControlledActor(0).Team ) then victim.PinStrength = 9999999 end end
for item in MovableMan.Items do item.PinStrength = 9999999 end
for particle in MovableMan.Particles do particle.PinStrength = 9999999 end

But it is a hacky solution, as somehow they can still shoot at you.

EDIT: Forgot that you can't do boolean comparisons on actors.
Also remembered that if the enemy tries too hard to resist, they gib.
And only works on current objects.


Last edited by mail2345 on Wed Jan 07, 2009 9:25 pm, edited 5 times in total.



Wed Jan 07, 2009 8:08 pm
Profile
User avatar

Joined: Sat Dec 13, 2008 11:56 pm
Posts: 206
Reply with quote
Post Re: Quick Console Commands
AWESOME!!!


Wed Jan 07, 2009 8:37 pm
Profile
User avatar

Joined: Sun Nov 25, 2007 6:29 am
Posts: 400
Reply with quote
Post Re: Quick Console Commands
If you change everything in there to zero, won't it also make things that are supposed to be pinned fall down?


Thu Jan 08, 2009 12:57 am
Profile
User avatar

Joined: Tue Nov 06, 2007 6:58 am
Posts: 2054
Reply with quote
Post Re: Quick Console Commands
Yes, in effect "unfreezeing" them.

EDIT: Unfreezeing will also cause enemy brains to fall.


Thu Jan 08, 2009 3:48 am
Profile
DRL Developer
DRL Developer
User avatar

Joined: Wed Dec 13, 2006 5:27 am
Posts: 3138
Location: A little south and a lot west of Moscow
Reply with quote
Post Re: Quick Console Commands
Code:
ActivityMan:GetActivity():ReportDeath(team number,count);

Change the number of deaths on a team. The count can be negative.
Also...
Code:
id = 0; while (id < MovableMan:GetMOIDCount()) do print(id .. ":"); print(MovableMan:GetMOFromID(id)); id = id + 1; end ConsoleMan:SaveAllText("MO List.txt");

Prints a list of all the MOs, and their ID above them. This includes held items, attached pieces such as legs and arms and even MOs that are no longer there.
Now, what exactly you can DO with this... I'm not sure. Changing an MO's Pos or Vel results in nothing, or crashing.


Wed Jan 14, 2009 3:17 am
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 140 posts ]  Go to page Previous  1 ... 4, 5, 6, 7, 8, 9, 10  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.044s | 16 Queries | GZIP : Off ]