Kinda like UFOs, though when suggesting moving teamcannons I was kinda picturing them sliding along the walls/ceilings.
I've seen tentacles do that.
Why're the candles moving?
Looking for alternative Teamcannon actor.
-
- Godlike
- Posts: 9466
- Joined: Thu Jun 30, 2011 8:12 pm
- Personal rank: God of Fudge
- Location: Palo Alto, CA
Re: Looking for alternative Teamcannon actor.
http://unreal-games.livejournal.com/

Smilies · viewtopic.php?f=8&t=13758medor wrote:Replace Skaarj with EvilGrins
-
- Masterful
- Posts: 716
- Joined: Mon Jan 05, 2009 8:08 pm
- Personal rank: Banished member
Re: Looking for alternative Teamcannon actor.
The candles are just for testing purposes. Nothing more, nothing less. It's me learning a little bit more what's possible and what's not.
It's a very good thing this community has such nice people with talented skills.
Barbie, you can say no to this question, but could you, if have the time, do the same job, for the MiniGunCannon?
You will earn big credit in my CMC project.
It's a very good thing this community has such nice people with talented skills.

Barbie, you can say no to this question, but could you, if have the time, do the same job, for the MiniGunCannon?
You will earn big credit in my CMC project.

This member can only post when permitted.
-
- Godlike
- Posts: 3772
- Joined: Fri Jan 14, 2011 1:53 pm
- Personal rank: -Retired-
Re: Looking for alternative Teamcannon actor.
I get where Barbie is coming from but this is a really bad way of doing things, especially if you are going to stack these into a map and run it online. Recode them so they can attach to the mover like everything else and don't use tick. This is going to impact the server, especially in an MH environment. I know you wanted to use standard actors but this is one instance where you are going to need to subclass and script because you are making some fundamental changes to the actor.
So long, and thanks for all the fish
-
- Godlike
- Posts: 2709
- Joined: Fri Sep 25, 2015 9:01 pm
- Location: moved without proper hashing
Re: Looking for alternative Teamcannon actor.
Just tell how to do that... The process of moving Actors with a Mover is done by native code - at least I did not find any UScript code for it.JackGriffin wrote:Recode them so they can attach to the mover like everything else
"Multiple exclamation marks," he went on, shaking his head, "are a sure sign of a diseased mind." --Terry Pratchett
-
- Godlike
- Posts: 6355
- Joined: Sun May 09, 2010 6:15 pm
- Location: On the roof.
Re: Looking for alternative Teamcannon actor.
But you can do ignition to that code or power ON that thing from UScript.Barbie wrote:The process of moving Actors with a Mover is done by native code - at least I did not find any UScript code for it.
-
- Godlike
- Posts: 3772
- Joined: Fri Jan 14, 2011 1:53 pm
- Personal rank: -Retired-
Re: Looking for alternative Teamcannon actor.
I already did. Much like many decorations are bStatic you'll need to drop back to Pawn and build the cannon forward with settings that allow movement. When you do this then you'll be able to attach it and the native code will do it's magic. Basically you just need to remove the code that StationaryPawn is adding because almost all of it is preventing movement of any kind.Barbie wrote:Just tell how to do that... The process of moving Actors with a Mover is done by native code - at least I did not find any UScript code for it.
Terra, if you want you are welcome to email me and I'll build you something custom that will fit what you need.
So long, and thanks for all the fish
-
- Masterful
- Posts: 716
- Joined: Mon Jan 05, 2009 8:08 pm
- Personal rank: Banished member
Re: Looking for alternative Teamcannon actor.
@ Jack
Yes I understand your statements. Then I suggest the using of this actor should stay for offline only. Got it.
So far I have not any performance issues, or errors to report in the offline usage.
The actor I have now is perfect for my CMC map, and am helped with that.
So yes Jack I would like have this actor for offline and online in the future. But take your time, no haste. Will send pm later.
Thank you.
Yes I understand your statements. Then I suggest the using of this actor should stay for offline only. Got it.
So far I have not any performance issues, or errors to report in the offline usage.

The actor I have now is perfect for my CMC map, and am helped with that.
So yes Jack I would like have this actor for offline and online in the future. But take your time, no haste. Will send pm later.
Thank you.

This member can only post when permitted.
-
- Godlike
- Posts: 2478
- Joined: Sat Mar 21, 2020 5:32 am
Re: Looking for alternative Teamcannon actor.
Found solution.
on each change base we restore it to our GunBase, which attached to desired base. Event-driven solution.
Above only concept. Ready for use class can be little bigger:
Fix work for hidden cannons.
Fix work for different sized cannons.
Fix deactivate pos for base with changed rotation.
Code: Select all
class TeamCannonFix expands TeamCannon;
simulated function SpawnBase()
{
local Actor OldBase;
Local Actor MyBase;
OldBase = GunBase;
Super.SpawnBase();
if (OldBase == None && GunBase != None && AttachTag != '')
{
foreach AllActors(class'Actor', MyBase, AttachTag)
{
GunBase.SetBase(MyBase);
if (GunBase.Base != None)
break;
}
SetBase(GunBase);
}
}
simulated event BaseChange()
{
if (GunBase != None && Base != GunBase)
SetBase(GunBase);
}
Automatically merged
Code: Select all
class TeamCannonFix expands TeamCannon;
simulated function SpawnBase()
{
local Actor OldBase;
Local Actor MyBase;
OldBase = GunBase;
Super.SpawnBase();
if (OldBase == None && GunBase != None && AttachTag != '')
{
GunBase.bHidden = bHidden;
GunBase.DrawScale = DrawScale;
foreach AllActors(class'Actor', MyBase, AttachTag)
{
GunBase.SetBase(MyBase);
if (GunBase.Base != None)
break;
}
SetBase(GunBase);
}
}
simulated event BaseChange()
{
if (GunBase != None && Base != GunBase)
SetBase(GunBase);
}
function StartDeactivate()
{
if (GunBase != None)
StartingRotation = GunBase.Rotation;
Super.StartDeactivate();
}
Fix work for different sized cannons.
Fix deactivate pos for base with changed rotation.
-
- Adept
- Posts: 295
- Joined: Sun Feb 16, 2020 5:52 pm
Re: Looking for alternative Teamcannon actor.
I kinda like turtles. That's all I got.
------------------------------------
Over my head. But, I almost read the whole thing...so partial credit.
You guys and girl(s) are amazing.
I was going to say something stupid like bStatic=False but sorta glad I didn't embarrass myself.