:: Home :: Get Hosted :: PPM FAQ :: Forum FAQ :: Privacy Policy :: Search :: Memberlist :: Usergroups :: Register :: Profile :: Log in to check your private messages :: Log in ::
Do you want to advertise at Project Perfect Mod. Find out how to do it HERE.

The time now is Sun Dec 16, 2018 2:00 am
All times are UTC + 0
 Forum index » Modding Central » Red Alert 2 Editing Forum
battle fortress suddenly move so slow...
Moderators: Global Moderators, Red Alert 2 Moderators
Post new topic   Reply to topic Page 1 of 1 [15 Posts] View previous topic :: View next topic
Author Message
Bugjuice
GDI Hacker


Joined: 31 Aug 2013

PostPosted: Fri Jan 12, 2018 9:53 pm    Post subject:  battle fortress suddenly move so slow... Reply with quote

hey, whats up.  Smile

what could be causing a battle fortress suddenly slowing down? was hunting with a few battle fortresses and one of them slowing down to speed=1, and it stays that way.. here is the code, its pretty much the same as the one in game.

Spoiler (click here to read it):
[SUPERBFRT]
UIName=Name:SUPERBFRT
Name=Battle Fortress MKII
Prerequisite=GASTECH
Primary=Fortmg
Strength=7500
Category=AFV
Armor=heavy
IsTilter=yes
TooBigToFitUnderBridge=true
TechLevel=-1
Sight=9
Speed=4
PipScale=Passengers
Passengers=10
OpenTopped=yes
SizeLimit=2
CrateGoodie=yes
Crusher=yes
OmniCrusher=yes
Owner=British,French,Germans,Americans,Alliance,Japan,Australia
Cost=6500
Soylent=3000
Points=1500
ROT=5
Crewed=yes
IsSelectableCombatant=yes
AllowedToStartInMultiplayer=no
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
VoiceSelect=BattleFortressSelect
VoiceMove=BattleFortressMove
VoiceAttack=BattleFortressAttackCommand
VoiceFeedback=
DieSound=GenVehicleDie
MoveSound=BattleFortressMoveStart
EnterTransportSound=EnterTransport
LeaveTransportSound=ExitTransport
Maxdebris=30
Locomotor={4A582741-9839-11d1-B709-00A024DDAFD1}
MovementZone=CrusherAll
ThreatPosed=40
DamageParticleSystems=SparkSys,SmallGreySSys
DamageSmokeOffset=125,100,275
Weight=20
VeteranAbilities=STRONGER,FIREPOWER,ROF,FASTER
EliteAbilities=STRONGER,FIREPOWER,ROF,SIGHT,FASTER,SELF_HEAL
Accelerates=yes
ZFudgeColumn=8
ZFudgeTunnel=13
Size=50
OmniCrushResistant=yes
SelfHealing=yes

Back to top
View user's profile Send private message
AlexB
Commander


Joined: 31 May 2010
Location: Germany

PostPosted: Fri Jan 12, 2018 11:13 pm    Post subject: Reply with quote

Was this permanent, even after the units all stopped and then were ordered to move somewhere else again?
_________________

Back to top
View user's profile Send private message
Lin Kuei Ominae
Seth


Joined: 16 Aug 2006
Location: Germany

PostPosted: Sat Jan 13, 2018 1:31 am    Post subject: Reply with quote

Isn't a crusher unit slowing down when crushing something?
Maybe it was about to crush something, when that object got destroyed before it was crushed, thus the slower crushing speed never got a chance to end the routine like in a constant crush state.
_________________
SHP Artist of Twisted Insurrection:  Nod buildings

Public SHPs
X-Mech Calendar (28 Mechs for GDI and Nod)
5 GDI, 5 Nod, 1 Mutant, 1 Scrin unit, 1 GDI building

Tools
Image Shaper______TMP Shop______C&C Executable Modifier

Back to top
View user's profile Send private message
Bugjuice
GDI Hacker


Joined: 31 Aug 2013

PostPosted: Sat Jan 13, 2018 4:26 am    Post subject: Reply with quote

AlexB wrote:
Was this permanent, even after the units all stopped and then were ordered to move somewhere else again?

yes, it become permanent, its like one or more spark plugs unexpectedly dies in its engine, doesn't matter what you do next, repaired, unit reaches veterancy etc, still remain slow, have a total of 4 that time and only this one move really really slow. and it was also not smooth, imagine you constantly spamming the attack button while the unit is moving, thats the speed. it never look right again.

Lin Kuei Ominae wrote:
Maybe it was about to crush something, when that object got destroyed before it was crushed, thus the slower crushing speed never got a chance to end the routine like in a constant crush state.

sounds like this is a known problem? i dont remember what was happening before that, for sure it kills and crushes tons of infantry and smaller tanks, with 10 infantry inside each battle fortress, tons of the enemy dies before the battle fortress could run them over. maybe you are right, i'll try to reproduce this. at worst i may have to change the movementzone to normal Embarassed

Back to top
View user's profile Send private message
cxtian39
Commander


Joined: 11 Feb 2016
Location: United States

PostPosted: Sat Jan 13, 2018 4:46 am    Post subject: Reply with quote

Build a Wall and crush it and see if it gains back its speed
_________________
Aircraft Factory Mod
Command & Conquer: Genetic Rhapsody

Back to top
View user's profile Send private message Skype Account
Graion Dilach
Defense Minister


Joined: 22 Nov 2010
Location: Iszkaszentgyörgy, Hungary

PostPosted: Sat Jan 13, 2018 6:24 am    Post subject: Reply with quote

Think this is caused by Accelerates, actually and IIRC it happens if the unit is stopped before it reaches it's max speed.
_________________



AS Discord server: https://discord.gg/7aM7Hm2

Back to top
View user's profile Send private message Visit poster's website ModDB Profile ID
TAK02
Commander


Joined: 28 Jun 2015
Location: It was Damascus.

PostPosted: Sat Jan 13, 2018 7:43 am    Post subject: Reply with quote

I can confirm this happened to me when Rhinos-turned-Apocs crushed the sandbags after exiting the transports in the second Soviet mission in RA2.

It's rather rare, as the tanks don't always attempt to go though the sandbags. And even then there's a small chance of this bug occurring.
_________________
One and only developer of C&C S. True Supremacy.
Youtube: C&C Supremacy Mod | Skype: TAK02 Supreme CnC Mods
m7 wrote:
I tend to release things I create so that assets are never lost to hard drive problems, accidental deletion, or me having to pretend to care about rippers taking things from my project when it is done. #Tongue
I once ninja'd MigEater #Tongue
Back to top
View user's profile Send private message Send e-mail Visit poster's website ModDB Profile ID Skype Account
PePsiCola
Stealth Laser Trooper


Joined: 28 Dec 2010
Location: The United States

PostPosted: Sun Jan 14, 2018 5:02 am    Post subject: Reply with quote

I can definitely confirm this one. I never noticed it until playing YR mods for the first time, but I have seen it many times, and it occurs in my own mod every so often as well.

As Graion pointed out, Accelerates sounds like a good culprit, as I've only found the bug on slow units (Speed=4 or less) with Accelerates=yes.
_________________
Tiberium Uprising (a few missions for TS): http://www.ppmsite.com/forum/viewtopic.php?t=31029

Back to top
View user's profile Send private message
Bugjuice
GDI Hacker


Joined: 31 Aug 2013

PostPosted: Sun Jan 14, 2018 9:57 am    Post subject: Reply with quote

i can't reproduce the problem, it only happened twice, the only thing i changed from the default code is accelerates=true/yes, because the battle fortress i downloaded is huge, looks about 3 times the size of the original one, having the unit instant reach top speed looks weird.  Laughing

i think it may have something to do with accelerates=true + movementzone=crusherall combo.. because i have all the other big tanks with accelerates=true but movementzone=normal/destroyer never had this problem before.

and also i just remembered that AI controlled battle fortress also can get this problem lol! i already changed the code to =false now, hopefully this never happen again.

Back to top
View user's profile Send private message
what_ta_what
Civilian


Joined: 18 Oct 2017

PostPosted: Tue Jan 16, 2018 7:53 am    Post subject: Reply with quote

Weight=20?

Back to top
View user's profile Send private message
Bugjuice
GDI Hacker


Joined: 31 Aug 2013

PostPosted: Tue Jan 16, 2018 8:53 am    Post subject: Reply with quote

what_ta_what wrote:
Weight=20?

yep, i raised the value to make sure the unit wouldnt get rocked by big explosion, some warhead type with rocker=yes for the example, i am not sure if there is a max value for that, i even have a few unit that is weight=100

i found plenty of them says 3.5 though

Back to top
View user's profile Send private message
Cruiser
Vehicle Driver


Joined: 21 Mar 2018

PostPosted: Tue Mar 27, 2018 12:42 pm    Post subject: Reply with quote

AccelerationFactor=5
DeaccelerationFactor=5

Accelerates=false

Back to top
View user's profile Send private message
Cruiser
Vehicle Driver


Joined: 21 Mar 2018

PostPosted: Tue Mar 27, 2018 1:15 pm    Post subject: Reply with quote

Now you can dig and moving under ground

Locomotor={4A582743-9839-11d1-B709-00A024DDAFD1}
MovementZone=Subterannean

Very Happy

Last edited by Cruiser on Tue Mar 27, 2018 2:50 pm; edited 1 time in total

Back to top
View user's profile Send private message
Lin Kuei Ominae
Seth


Joined: 16 Aug 2006
Location: Germany

PostPosted: Tue Mar 27, 2018 2:14 pm    Post subject: Reply with quote

wrong, MovementZone is only for pathfinding.
You have to change the Locomotor for actually having it go subterranean
_________________
SHP Artist of Twisted Insurrection:  Nod buildings

Public SHPs
X-Mech Calendar (28 Mechs for GDI and Nod)
5 GDI, 5 Nod, 1 Mutant, 1 Scrin unit, 1 GDI building

Tools
Image Shaper______TMP Shop______C&C Executable Modifier

Back to top
View user's profile Send private message
Cruiser
Vehicle Driver


Joined: 21 Mar 2018

PostPosted: Tue Mar 27, 2018 3:20 pm    Post subject: Reply with quote

Lin Kuei Ominae wrote:
wrong, MovementZone is only for pathfinding.
You have to change the Locomotor for actually having it go subterranean



Yes! I forgot

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [15 Posts] View previous topic :: View next topic
 Forum index » Modding Central » Red Alert 2 Editing Forum
Jump to:  
Share on TwitterShare on FacebookShare on Google+Share on DiggShare on RedditShare on PInterestShare on Del.icio.usShare on Stumble Upon
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 vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © phpBB Group

Wildcard SSL Certificates
[ Time: 0.1288s ][ Queries: 12 (0.0072s) ][ Debug on ]