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 Jul 24, 2024 2:49 am
All times are UTC + 0
Mindcontroller Repair Unit Not Working
Moderators: Global Moderators, Red Alert 2 Moderators
Post new topic   Reply to topic Page 1 of 1 [4 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
adamstrange
Cyborg Cannon


Joined: 07 Mar 2013

PostPosted: Sat Feb 24, 2024 6:28 am    Post subject:  Mindcontroller Repair Unit Not Working Reply with quote  Mark this post and the followings unread

I'm trying to make a unit that can repair damaged units but also mind control 3 units from a long range but only tanks.
The unit repairs but does not mind control.

;Allied Repair Control
[ARC]
UIName=Name:Allied Repair Control
Name=Allied Repair Control
Image=ARC
Prerequisite=GAWEAP;GATECH
Primary=MindControlDevice
Secondary=RepairBullet
Turret=yes
Strength=600
Category=AFV
Armor=heavy
CanPassiveAquire=yes ; Won't try to pick up own targets
IsTilter=yes
TooBigToFitUnderBridge=true
TechLevel=10
Sight=11
Speed=4
PipScale=Passengers
Passengers=4
OpenTopped=yes;passengers can shoot out
SizeLimit=2;1 ;gs like half track and Blackhawk.  Terror Drones and Brutes are allowed in.
CrateGoodie=yes
Crusher=yes
OmniCrusher=yes;gs can crush things not normally crushable
Owner=British,Germans,Alliance
Cost=1500
Soylent=2000
Points=50
ROT=5
IsSelectableCombatant=yes
AllowedToStartInMultiplayer=yes
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
DebrisAnims=DBRIS1LG,DBRIS1SM,DBRIS4LG,DBRIS4SM,DBRIS5LG,DBRIS5SM
MaxDebris=26
DebrisTypes=TIRE,AXLE
DebrisMaximums=13,13
VoiceSelect=BattleFortressSelect
VoiceMove=BattleFortressMove
VoiceAttack=BattleFortressAttackCommand
VoiceFeedback=
DamageSound=ShellImpact
DieSound=GenVehicleDie
MoveSound=BattleFortressMoveStart
EnterTransportSound=EnterTransport
LeaveTransportSound=ExitTransport

Locomotor={4A582741-9839-11d1-B709-00A024DDAFD1}
MovementZone=CrusherAll;gs OmniCrush handles crushing tanks and such, this handles walls
ThreatPosed=35 ; This value MUST be 0 for all building addons
SpecialThreatValue=1
DamageParticleSystems=SparkSys,SmallGreySSys
DamageSmokeOffset=100, 100, 275
Weight=3.5
VeteranAbilities=STRONGER,FIREPOWER,SIGHT,FASTER
EliteAbilities=SELF_HEAL,STRONGER,FIREPOWER,ROF
Accelerates=false
ZFudgeColumn=8
ZFudgeTunnel=13
Size=6
OmniCrushResistant=yes;
GuardRange=175
BuildLimit=2


[MindControlDevice]
Damage=3; this is an infinite mind control, so this just affects pips
InfiniteMindControl=yes; this will let infinite, it will look up on the table of "MasterMind Overload" damage way above (where there is a 0 damage level)
ROF=45
Range=30
Projectile=PsychicControl
Speed=100
Warhead=DeviceController
;Report=YuriMindControl
Anim=YURICNTL
FireOnce=yes
OmniFire=yes;doesn't need turret to shoot any direction


[DeviceController];Mind control warhead.  Will skip normal damage like EMP did
Verses=0%,0%,0%,100%,100%,100%,0%,0%,0%,100%,100%
MindControl=yes
AnimList=YURICNTL

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


Joined: 30 Nov 2023
Location: Germany

PostPosted: Wed Feb 28, 2024 1:33 pm    Post subject: Reply with quote  Mark this post and the followings unread

swap primary and secondary, maybe it will work

Primary=RepairBullet
Secondary=MindControlDevice

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


Joined: 07 Mar 2013

PostPosted: Wed Feb 28, 2024 8:11 pm    Post subject: Reply with quote  Mark this post and the followings unread

Swapping doesn't work.
It will repair but won't mindcontrol.
I tried adding land & naval targeting but the game crashes.

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


Joined: 13 Nov 2003
Location: Eindhoven

PostPosted: Thu Mar 07, 2024 12:05 pm    Post subject: Reply with quote  Mark this post and the followings unread

The [DeviceController] warhead and the [Mechanical] warhead (used by RepairBullet) both have the same Verses= settings, so whatever is in primary will override the secondary. Each warhead needs different verses settings that target different types of armour in order for both of the weapons to work, so you could make the unit repair tanks and mind control infantry etc but you cant make both weapons target tanks.

You only way that I can think of to make this type of unit work would be to use InitialPayload & OpenTopped to add an extra independent weapon with a dummy infantry. Trying to combine offensive and defensive weapons using this method will limit the units targeting tho, you would have to pick one to be the active primary and the secondary would have to be an passive automatic weapon.

For example you can make it target and mind control enemy units but you wouldn't be able to click on a damaged unit to repair it, you'd have to move the damaged unit close to the repair tank for it to automatically repair it. The other option would be to make it so you can click on damaged units to repair them but you wouldn't be able to click on enemy units to mind control them, you'd have to move the unit closer to the enemy, then it would automatically mind control them when they are within weapon range.  

Side note that repair weapons only work when targeting the same type of unit that is using the weapon, so tanks can repair tanks or infantry can heal other infantry but you cant make an infantry repair a tank etc. I'm not sure if the game would consider an infantry using a weapon inside an OpenTopped unit as a tank or an infantry so you might be even more limited in how you can use this workaround.

_________________



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
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [4 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.1539s ][ Queries: 11 (0.0077s) ][ Debug on ]