Project Perfect Mod Forums
:: Home :: Get Hosted :: PPM FAQ :: Forum FAQ :: Privacy Policy :: Search :: Memberlist :: Usergroups :: Register :: Profile :: Log in to check your private messages :: Log in ::


The time now is Wed Feb 05, 2025 6:52 am
All times are UTC + 0
[Ares/Phobos]How to make DebrisTypes= appear 100%?
Moderators: Global Moderators, Red Alert 2 Moderators
Post new topic   Reply to topic Page 1 of 1 [11 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
Ousagi
Cyborg Soldier


Joined: 02 Nov 2022

PostPosted: Thu Jan 02, 2025 11:47 am    Post subject:  [Ares/Phobos]How to make DebrisTypes= appear 100%?
Subject description: The tutorial in ModEnc doesn't work
Reply with quote  Mark this post and the followings unread

I've tried the tutorial here: https://modenc.renegadeprojects.com/MaxDebris and it doesn't work. I think it still appears only 50% every time.
Here is my code:
Code:
[REAPER]
MinDebris=1
Maxdebris=2
DebrisTypes=REAPERTURRET,TIRE
DebrisMaximums=1,0

[VoxelAnims]
12=REAPERTURRET

[REAPERTURRET]
Name=Reaper Turret
ShareTurretData=yes
ShareSource=REAPER
Elasticity=.4
MinAngularVelocity=10.0
MaxAngularVelocity=14.0
MinZVel=30.0
MaxZVel=38.0
MaxXYVel=8.0
Duration=100
ExpireAnim=TWLT036
Damage=30
DamageRadius=50
Warhead=TankOGas

;This part was already in the game
[Warheads]
3=TankOGas

[TankOGas]
;Spread=8
CellSpread=.5
PercentAtMax=.9
Wall=yes
Wood=yes
Tiberium=yes
Sparky=no
Rocker=no
AnimList=TWLT026,TWLT036,TWLT050,TWLT070,TWLT100
Verses=90%,90%,90%,80%,60%,25%,100%,50%,10%,90%,100%
;Verses=90%,100%,60%,25%,10%
Fire=yes
InfDeath=4
ProneDamage=50%

Last edited by Ousagi on Fri Jan 03, 2025 11:24 am; edited 3 times in total

Back to top
View user's profile Send private message
wow4ik81
Cyborg Soldier


Joined: 30 Nov 2023
Location: Germany

PostPosted: Thu Jan 02, 2025 1:39 pm    Post subject: Reply with quote  Mark this post and the followings unread

[VoxelAnims]
123=REAPERTURRET

[Warheads]
123=DummyWarhead


[REAPER]
MinDebris=1
MaxDebris=2
DebrisTypes=REAPERTURRET,TIRE
DebrisMaximums=1,4


[REAPERTURRET]
Image=HTNKTUR; your image
Elasticity=0.25
MinAngularVelocity=9.0
MaxAngularVelocity=19.0
MinZVel=29.0
MaxZVel=50.0
MaxXYVel=14.0
Duration=100
Damage=0
ExpireSound=EXPNEW11
ExpireAnim=S_CLSN30
Warhead=DummyWarhead

[DummyWarhead]
Verses=0%,0%,0%,0%,0%,0%,0%,0%,0%,0%,0%

Back to top
View user's profile Send private message
adamstrange
Cyborg Informer


Joined: 07 Mar 2013

PostPosted: Thu Jan 02, 2025 3:26 pm    Post subject: Reply with quote  Mark this post and the followings unread

Can this be used to create bigger tank explosions ?
This what I want to have peices of flamming tank parts when they blow up.

Back to top
View user's profile Send private message
Ousagi
Cyborg Soldier


Joined: 02 Nov 2022

PostPosted: Thu Jan 02, 2025 3:37 pm    Post subject: Reply with quote  Mark this post and the followings unread

wow4ik81 wrote:
[VoxelAnims]
123=REAPERTURRET

[Warheads]
123=DummyWarhead


[REAPER]
MinDebris=1
MaxDebris=2
DebrisTypes=REAPERTURRET,TIRE
DebrisMaximums=1,4


[REAPERTURRET]
Image=HTNKTUR; your image
Elasticity=0.25
MinAngularVelocity=9.0
MaxAngularVelocity=19.0
MinZVel=29.0
MaxZVel=50.0
MaxXYVel=14.0
Duration=100
Damage=0
ExpireSound=EXPNEW11
ExpireAnim=S_CLSN30
Warhead=DummyWarhead

[DummyWarhead]
Verses=0%,0%,0%,0%,0%,0%,0%,0%,0%,0%,0%


I already have all of this. I'll update my post to add my code.

Back to top
View user's profile Send private message
wow4ik81
Cyborg Soldier


Joined: 30 Nov 2023
Location: Germany

PostPosted: Thu Jan 02, 2025 6:50 pm    Post subject: Reply with quote  Mark this post and the followings unread

change the tag Maxdebris to MaxDebris, then it should work

Back to top
View user's profile Send private message
Ousagi
Cyborg Soldier


Joined: 02 Nov 2022

PostPosted: Thu Jan 02, 2025 11:59 pm    Post subject: Reply with quote  Mark this post and the followings unread

wow4ik81 wrote:
change the tag Maxdebris to MaxDebris, then it should work


I thought that was it. But it still didn't work. Thank you for noticing though! Razz  Have you tried your code in game?

Back to top
View user's profile Send private message
Mig Eater
Defense Minister


Joined: 13 Nov 2003
Location: Eindhoven

PostPosted: Fri Jan 03, 2025 10:40 am    Post subject: Reply with quote  Mark this post and the followings unread

IIRC Ares fixed the Min/Max debris glitch, so you shouldn't use the trick on ModEnc anymore.

_________________



Back to top
View user's profile Send private message Visit poster's website ModDB Profile ID YouTube User URL Facebook Profile URL Twitter Channel URL
Ousagi
Cyborg Soldier


Joined: 02 Nov 2022

PostPosted: Fri Jan 03, 2025 11:20 am    Post subject: Reply with quote  Mark this post and the followings unread

So is there another way or a way to make DebrisTypes= appear 100% for Ares and Phobos?

Back to top
View user's profile Send private message
Ousagi
Cyborg Soldier


Joined: 02 Nov 2022

PostPosted: Fri Jan 03, 2025 4:33 pm    Post subject: Reply with quote  Mark this post and the followings unread

Found the way:
Code:
[REAPER]
MinDebris=1
MaxDebris=2
DebrisTypes=REAPERTURRET
DebrisMaximums=1


My guess is that TIRE counts as part of the MaxDebris even though the DebrisMaximums= is 0? Also:

Mig Eater wrote:
IIRC Ares fixed the Min/Max debris glitch, so you shouldn't use the trick on ModEnc anymore.


Did you mean Phobos? From what I saw, Phobos had a documentation of fixing the MaxDebris.
Maybe I missed the Ares one,  but I tried to search on the searchbar and all that's related to debris is the Lightning Superweapon.

Overall, this is still very confusing, even when reading through the Phobos documentation.
I still don't understand if MaxDebris keeps the 50% or if TIRE does count as part of MaxDebris=2.
But I consider this to be the way to code the 100% make a VoxelAnim appear. Unless someone can explain how this works.

MaxDebris is either buggy or confusing to use.

Back to top
View user's profile Send private message
Mig Eater
Defense Minister


Joined: 13 Nov 2003
Location: Eindhoven

PostPosted: Fri Jan 03, 2025 5:14 pm    Post subject: Reply with quote  Mark this post and the followings unread

I couldn't remember if it was Ares or Phobos but I knew one of them fixed the glitch that game didn't adhere to the Min/Max correctly.

_________________



Back to top
View user's profile Send private message Visit poster's website ModDB Profile ID YouTube User URL Facebook Profile URL Twitter Channel URL
Ousagi
Cyborg Soldier


Joined: 02 Nov 2022

PostPosted: Fri Jan 03, 2025 5:51 pm    Post subject: Reply with quote  Mark this post and the followings unread

Checked back to Phobos and it seems the fix was only MaxDebris= for the [Warhead]. I also remembered something along the lines of
"MinDebris no longer go pass to MaxDebris, If MaxDebris=1 and MinDebris=10, the max will be equal to 1" but now I couldn't find it too.

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [11 Posts] Mark the topic unread ::  View previous topic :: View next topic
 
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

[ Time: 0.1864s ][ Queries: 11 (0.0084s) ][ Debug on ]