:: 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 Mon Apr 12, 2021 7:08 pm
All times are UTC + 0
 Forum index » Modding Central » Red Alert 2 Editing Forum
Boris IFV Flare [SUCCESS] - Vanilla Ra2/ YR
Moderators: Global Moderators, Red Alert 2 Moderators
Post new topic   Reply to topic Page 1 of 1 [11 Posts] View previous topic :: View next topic
Author Message
bbglas007
Vehicle Driver


Joined: 14 Mar 2021

PostPosted: Mon Mar 15, 2021 9:34 am    Post subject:  Boris IFV Flare [SUCCESS] - Vanilla Ra2/ YR Reply with quote

Hi Guys

I'm trying to get a boris IFV to Call in Airstrikes
Iv'e replaced the cow shot

So far he gets in the ifv, the turret changes to the wrong turret (it changes to a 3;high tech) and the ifv does nothing when ordered to attack

I have tested him with other weapons and they work fine
Just cant get it to call in a Flare however


Here is my code - - I Did read the tutorial posted earlier, but of course there's a chance I missed something



[BORIS]
Prerequisite=GAPILE
IFVMode=12

;Infantry Fighting Vehicle - IFV
[FV]
UIName=Name:FV
Name=IFV
Prerequisite=GAWEAP
Primary=HoverMissile
Strength=200
Category=Transport
Armor=light
DeployTime=.022
TechLevel=3
Sight=8
PipScale=Passengers
Speed=10
CrateGoodie=no
Owner=British,French,Germans,Americans,Alliance
AllowedToStartInMultiplayer=no
Cost=600
Soylent=600
Points=20
ROT=5
Crusher=no
TooBigToFitUnderBridge=true
Turret=yes ;GEF should be no for ifv???
Passengers=1
Gunner=yes
AirRangeBonus=4 ;GEF this should always be less than or equal to the range of the primary weapon. Otherwise targeting issues could arise
;GEF If you change TurretCount, find this line in objtype.h and change it to reflect the new number of turrets
;#define OBJTYPE_DIM_TurretMax 15
;Or Weapon Count.
;TurretCount=15
HasTurretTooltips=yes
TurretCount=4
WeaponCount=17

Weapon1=HoverMissile ;Normal
EliteWeapon1=HoverMissileE ;Normal
Weapon2=RepairBullet ;Engineer
EliteWeapon2=RepairBullet ;Engineer
Weapon3=CRM60 ;GI
EliteWeapon3=CRM60 ;GI
Weapon4=CRFlakGuyGun ;Flak Troop ;Rocketeer
EliteWeapon4=CRFlakGuyGun ;Flak Troop ;Rocketeer
Weapon5=CRMP5 ;Seal
EliteWeapon5=CRMP5 ;Seal
Weapon6=AWPE ;Sniper
EliteWeapon6=AWPE ;Sniper
Weapon7=CRElectricBolt ;ShockTrooper
EliteWeapon7=CRElectricBolt ;ShockTrooper
Weapon8=CRNuke ;Crazy Ivan
EliteWeapon8=CRNuke ;Crazy Ivan
Weapon9=CRMindControl ;Yuri
EliteWeapon9=CRMindControl ;Yuri
Weapon10=CRRadBeamWeapon;Desolator
EliteWeapon10=CRRadBeamWeapon;Desolator
Weapon11=CRNeutronRifle ;Chrono
EliteWeapon11=CRNeutronRifle ;Chrono
Weapon12=CRTerrorBomb ;Terrorist
EliteWeapon12=CRTerrorBomb ;Terrorist
Weapon13=Flare                ;Boris
EliteWeapon13=Maverick ;Boris
Weapon14=CRPsychicJab ;Initiate
EliteWeapon14=CRPsychicJab ;Initiate
Weapon15=CRVirusGun ;Virus
EliteWeapon15=CRVirusGun ;Virus
Weapon16=CRSuperMindBlast ;Yuri Prime
EliteWeapon16=CRSuperMindBlast ;Yuri Prime
Weapon17=CRMissileLauncher ;Guardian GI
EliteWeapon17=CRMissileLauncher ;Guardian GI



;Weapons
;GEF
;0=rocket
;1=gun
;2=repair arm
;3=high-tech

NormalTurretIndex=0
NormalTurretWeapon=0
RepairTurretIndex=2
RepairTurretWeapon=1
MachineGunTurretIndex=1
MachineGunTurretWeapon=2
FlakTurretIndex=1
FlakTurretWeapon=3
PistolTurretIndex=1
PistolTurretWeapon=4
SniperTurretIndex=1
SniperTurretWeapon=5
ShockTurretIndex=3
ShockTurretWeapon=6
ExplodeTurretIndex=3
ExplodeTurretWeapon=7
BrainBlastTurretIndex=3
BrainBlastTurretWeapon=8
RadCannonTurretIndex=3
RadCannonTurretWeapon=9
ChronoTurretIndex=3
ChronoTurretWeapon=10
TerroristExplodeTurretIndex=3
TerroristExplodeTurretWeapon=11
BorisTurretIndex=1
BorisTurretWeapon=12
InitiateTurretIndex=3
InitiateTurretWeapon=13
VirusTurretIndex=3
VirusTurretWeapon=14
YuriPrimeTurretIndex=3
YuriPrimeTurretWeapon=15
GuardianTurretIndex=3
GuardianTurretWeapon=16



IsSelectableCombatant=yes
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
VoiceSelect=IFVSelect
VoiceMove=IFVMove
VoiceAttack=IFVAttackCommand
VoiceFeedback=
DieSound=GenVehicleDie
MoveSound=IFVMoveStart
EnterTransportSound= IFVTransform
LeaveTransportSound= IFVTransform
CrushSound=TankCrush
Maxdebris=3
DebrisTypes=TIRE
DebrisMaximums=6
Locomotor={4A582741-9839-11d1-B709-00A024DDAFD1}
MovementZone=Normal
ThreatPosed=10 ; This value MUST be 0 for all building addons
DamageParticleSystems=SparkSys,SmallGreySSys
SpecialThreatValue=1
ZFudgeColumn=10
ZFudgeTunnel=13
ImmuneToRadiation=no
ImmuneToPsionics=no
Size=3
SizeLimit=1
VeteranAbilities=STRONGER,FIREPOWER,SIGHT,FASTER
EliteAbilities=SELF_HEAL,STRONGER,FIREPOWER,ROF
Accelerates=false

DeathWeapon=CRNuke ;GEF This will be a special case that only goes off if it's piloted by Ivan
ElitePrimary=HoverMissileE
;Bombable=no




Any help, feedback, thoughts - greatly appreciated!

Cheers guys!

Last edited by bbglas007 on Tue Mar 16, 2021 6:42 am; edited 1 time in total

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


Joined: 13 Nov 2003
Location: Eindhoven

PostPosted: Mon Mar 15, 2021 3:21 pm    Post subject: Reply with quote

There are no such tags as BorisTurretIndex= & BorisTurretWeapon=, You cant just make up your own rules code. Change them back to CowTurret & it should work.
_________________



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
bbglas007
Vehicle Driver


Joined: 14 Mar 2021

PostPosted: Mon Mar 15, 2021 9:10 pm    Post subject: Reply with quote

Thanks for your reply - Whoops i thought they were placeholder names, thanks for the correction

I changed it back and had success on the correct turret appearing - however the flare will not fire

The IFV "targets" the building however the "Flare" (laser) does not appear nor do any migs


Is this one of those things that "can't be done"? Sad
I've seen vehicles use the flare (on WTF map) before but not on an ifv yet

Back to top
View user's profile Send private message
Virgil
Flamethrower


Joined: 22 Jul 2018

PostPosted: Tue Mar 16, 2021 12:14 am    Post subject: Reply with quote

The planes summoned is bounded to the unit, not the weapon, so maybe you have to add those on Boris to the IFV. And I'm not sure if the vanilla game supports more IFV modes than it has, you may need Ares for that.

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


Joined: 14 Mar 2021

PostPosted: Tue Mar 16, 2021 6:14 am    Post subject: Reply with quote

Virgil wrote:
The planes summoned is bounded to the unit, not the weapon, so maybe you have to add those on Boris to the IFV. And I'm not sure if the vanilla game supports more IFV modes than it has, you may need Ares for that.


THIS


Thank you so much dude, that was it

I Just added

"

AirstrikeTeam=2;
EliteAirstrikeTeam=4;
AirstrikeTeamType=BPLN
EliteAirstrikeTeamType=BPLN
AirstrikeRechargeTime=100;500
EliteAirstrikeRechargeTime=50;250


"


To the end of the IFV and it worked! Thanks so much!

It was very wired as looking at Wtf map, these tags were not added, but I guess the complexity of the IFV required it

I'm now trying to reduce the code and will post the final edit here


The IFV is the perfect annoying, sneaky airstrike/ recon vehicle for allied/sov shenanigans!

Thanks again Mig Eater & Virgil!

Back to top
View user's profile Send private message
MasterHaosis
General


Joined: 01 Nov 2010
Location: Serbia

PostPosted: Tue Mar 16, 2021 10:47 am    Post subject: Reply with quote

Yeah, I am glad you solved it. Now you are happy Smile
Since you like IFV that much, you may want to harras Soviets with more IFV weapons. Check out Ares documentation! Ares brings possibility to add more IFV weapons to IFV. And more IFV types, as someone mentioned already.
_________________
OrangeNero wrote:
Me picking a fight? I know I am the greatest user alive here so everyone starts reading topics with my posts first and ignores the ones before and after.

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


Joined: 05 Oct 2011

PostPosted: Tue Mar 16, 2021 7:54 pm    Post subject: Reply with quote

Pretty nifty discovery tbh. Could switch it up with Boris' IFV Mode if you plan on using Ares to be a airstrike spawner instead of just being a mounted AKM
_________________
~ Excelsior ~

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


Joined: 11 Feb 2016

PostPosted: Tue Mar 16, 2021 11:47 pm    Post subject: Reply with quote

I use spawn for boris ifv for accuracy
_________________
I DON'T extract models from Rivals.
I play Rivals tho, PM me for a fight.

Back to top
View user's profile Send private message Skype Account
MRMIdAS
Laser Commando


Joined: 17 Jul 2008

PostPosted: Wed Mar 17, 2021 1:15 am    Post subject: Reply with quote

I have all my "Hero" units have an attack that replaces the Cow weapon, but it's good to know the airstrike works.
_________________
MIdAS - Turning wages into beer since 2002

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


Joined: 14 Mar 2021

PostPosted: Wed Mar 17, 2021 1:57 am    Post subject: Reply with quote

So Guys or any noobs like me wanna quick copy pasta- here is the code to make Borris call in Airstrikes while inside the IFV


[BORIS]
IFVMode=12


[FV]
Weapon13=Flare  
EliteWeapon13=Flare; But Maverick is also fun

CowTurretIndex=1
CowTurretWeapon=12

AirstrikeTeam=2;
EliteAirstrikeTeam=4;
AirstrikeTeamType=BPLN
EliteAirstrikeTeamType=BPLN
AirstrikeRechargeTime=100;500
EliteAirstrikeRechargeTime=50;250


------------------


In regards to the weapons, you may want only elites to call in airstrike and keep the normal weapon as "AKM"
But in my case i prefer to have Boris zip around and the enemy play Whac-A-Mole Sell on their buildings trying to guess where the airstrike will land
I find Elite IFV is OP enough if you know how to use it


-------------------------------------


MasterHaosis wrote:
Yeah, I am glad you solved it. Now you are happy Smile
Since you like IFV that much, you may want to harras Soviets with more IFV weapons. Check out Ares documentation! Ares brings possibility to add more IFV weapons to IFV. And more IFV types, as someone mentioned already.



Would love to check out Ares - The functionality is amazing and all community driven
Lately I've been really sad to find out how limited Vanilla is
But I won't give up on Vanilla - I hope to make cool maps and grow the community  - Once we have a big community we can move on to bigger and better things and would love to expand into ares - I'm also interested in Open ra2 but that has many challenges ahead yet and im not sure about the modding scene (if there is one or not)

Atomic_Noodles wrote:
Pretty nifty discovery tbh. Could switch it up with Boris' IFV Mode if you plan on using Ares to be a airstrike spawner instead of just being a mounted AKM

Yes this calls in airstrikes in Vanilla  Wink

cxtian39 wrote:
I use spawn for boris ifv for accuracy

Ooh, that sounds very awesome, would be keen to know more

MRMIdAS wrote:
I have all my "Hero" units have an attack that replaces the Cow weapon, but it's good to know the airstrike works.

It's great to know that Cow and president are fun easter eggs and kinda useless in serious play - We can thank WW for that - Now we can use those spots!

Back to top
View user's profile Send private message
AnimalMan
Chem Warrior


Joined: 06 Feb 2018
Location: London, England

PostPosted: Wed Mar 17, 2021 2:59 am    Post subject: Reply with quote

Vanilla still good I modded vanilla for years before even rock patch existed. I can’t remember what I use to do, swim animations, crazy Ivan buffs. I think there’s a way to get an additional Paradrop specified vanilla (not 100%) but I am sure there is a way to roll the American Paradrop out to other factions dropping specialised units. If not you can always tactify the default para. Or at least give USA something that isn’t a GI I always use to try to do things like this vanilla.  

Boris not using air strike from within IFV is huge unholy combo-unit oversight and well needed buff for mix tech Soviet’s. Another great vanilla thing to do is expand all garrison types. You can also mess with the ai teamtypes and get the ai doing a little more interesting stuff. Utilise the cosmonaut, maybe roll out the Tesla tank as a generic soviet tank replace Russia UU with Cosmo, make load screen and overwrite it. Cosmo doesn’t really need rebalancing I found it’s best not to touch its stats. it’s very weak vs AA. If you stomping cpu with it you can write team scripts make sure they counter.

With ares you can always copy paste your ra2 folder and go get ares, install in one of the folders and have two versions. Ares does hugely improve modding potential. I always think it’s good idea to go get ares  incase one day there’s no way to get ares anymore then at least you have a copy of it should the site and documentation go down Though I think some of it is backed up in Modenc not sure though.

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] 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

[ Time: 0.1609s ][ Queries: 10 (0.0067s) ][ Debug on ]