Author |
Message |
Djavdet
Joined: Tue Sep 07, 2010 3:36 pm Posts: 71 Location: RUSSIA
|
Help! How to make so that the actor ...
Help! How to make so that the actor didn't fall to the ground during attack of the opponent? The actor of type (AddActor = AHuman). I can assume that it is registered in a game code. Dear professionals help to solve this problem if she has the decision. And one more question when there will be a high-grade company in СС. For earlier I thank you for the help. Forgive me bad knowledge of English language.
|
Mon Mar 14, 2011 1:09 pm |
|
|
411570N3
Joined: Wed Jan 07, 2009 10:26 am Posts: 4074 Location: That quaint little British colony down south
|
Re: Help! How to make so that the actor ...
|
Mon Mar 14, 2011 1:14 pm |
|
|
Djavdet
Joined: Tue Sep 07, 2010 3:36 pm Posts: 71 Location: RUSSIA
|
Re: Help! How to make so that the actor ...
Thanks that has helped.
|
Mon Mar 14, 2011 1:50 pm |
|
|
Djavdet
Joined: Tue Sep 07, 2010 3:36 pm Posts: 71 Location: RUSSIA
|
Re: Help! How to make so that the actor ...
And if will use this code to work?
function Update(self) if not self:IsPlayerControlled() then self:GetController():SetState(BODY_CROUCH, false); end end
|
Mon Mar 14, 2011 3:03 pm |
|
|
411570N3
Joined: Wed Jan 07, 2009 10:26 am Posts: 4074 Location: That quaint little British colony down south
|
Re: Help! How to make so that the actor ...
Yes, but you need to know where to use it.
|
Mon Mar 14, 2011 3:12 pm |
|
|
Djavdet
Joined: Tue Sep 07, 2010 3:36 pm Posts: 71 Location: RUSSIA
|
Re: Help! How to make so that the actor ...
AddActor = AHuman PresetName = ... Description = ... GoldValue = ... Mass = ... Buyable = ... HitsMOs = ... GetsHitByMOs = ... ScriptPath = ....rte/.../....lua
So?
|
Mon Mar 14, 2011 3:19 pm |
|
|
411570N3
Joined: Wed Jan 07, 2009 10:26 am Posts: 4074 Location: That quaint little British colony down south
|
Re: Help! How to make so that the actor ...
Yeah, that'll work fine.
|
Mon Mar 14, 2011 3:23 pm |
|
|
Djavdet
Joined: Tue Sep 07, 2010 3:36 pm Posts: 71 Location: RUSSIA
|
Re: Help! How to make so that the actor ...
Thanks that you have helped me. PS. A cool avatar at you. Has checked up, efficiency of the actor works has grown on 300 % My pleasure was not long. Fps has sharply fallen, after use of a code game terribly brakes. There is other way?
|
Mon Mar 14, 2011 3:27 pm |
|
|
dragonxp
Joined: Wed Sep 09, 2009 3:16 am Posts: 3032 Location: Somewhere in the universe
|
Re: Help! How to make so that the actor ...
I'm assuming you want the actors to not collapse whenever they are shot. http://forums.datarealms.com/viewtopic.php?p=323418#p323418This would fix it to a degree. However, it does not affect actors not in it... Just a cheap and easy workaround.
|
Mon Mar 14, 2011 5:23 pm |
|
|
Djavdet
Joined: Tue Sep 07, 2010 3:36 pm Posts: 71 Location: RUSSIA
|
Re: Help! How to make so that the actor ...
dragonxp wrote: I'm assuming you want the actors to not collapse whenever they are shot.
Yes. Which Mod from a dump mods will solve this problem? This? Long-Range AI.rte.zip [11,78 Кб]
|
Mon Mar 14, 2011 5:46 pm |
|
|
Roast Veg
Data Realms Elite
Joined: Tue May 25, 2010 8:27 pm Posts: 4521 Location: Constant motion
|
Re: Help! How to make so that the actor ...
The one with the gif of the blue robot, the author is the same as the one above your post.
|
Mon Mar 14, 2011 6:02 pm |
|
|
Djavdet
Joined: Tue Sep 07, 2010 3:36 pm Posts: 71 Location: RUSSIA
|
Re: Help! How to make so that the actor ...
UnitDock.rte.rar [3.76 KiB]?
|
Mon Mar 14, 2011 6:41 pm |
|
|
Roast Veg
Data Realms Elite
Joined: Tue May 25, 2010 8:27 pm Posts: 4521 Location: Constant motion
|
Re: Help! How to make so that the actor ...
The very same.
|
Mon Mar 14, 2011 6:41 pm |
|
|
Djavdet
Joined: Tue Sep 07, 2010 3:36 pm Posts: 71 Location: RUSSIA
|
Re: Help! How to make so that the actor ...
Sorry, it can difficulties of transfer or I think badly, but I would inform the name mod.rte.rar Roast Veg Thanks.
dragonxp That you have made thanks UnitDock.rte. Yours mod good why in a dump mods has placed. But you mod is realized as stationary object, and it not, that I wanted.
|
Mon Mar 14, 2011 6:48 pm |
|
|
dragonxp
Joined: Wed Sep 09, 2009 3:16 am Posts: 3032 Location: Somewhere in the universe
|
Re: Help! How to make so that the actor ...
Djavdet wrote: Sorry, it can difficulties of transfer or I think badly, but I would inform the name mod.rte.rar Roast Veg Thanks.
dragonxp That you have made thanks UnitDock.rte. Yours mod good why in a dump mods has placed. But you mod is realized as stationary object, and it not, that I wanted. I was assuming that these Actors that were falling on the ground were supposedly stationary sentries, however i'm assuming you want actors which can sue goto point efficiently without falling over and getting stuck.
|
Mon Mar 14, 2011 8:08 pm |
|
|
|