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 Fri Apr 19, 2024 5:07 am
All times are UTC + 0
New Unit-Based Airstrikes
Moderators: Global Moderators, Red Alert 2 Moderators
Post new topic   Reply to topic Page 1 of 1 [3 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
ihateharriers
Rocket Infantry


Joined: 20 Sep 2005

PostPosted: Fri Sep 01, 2006 12:32 am    Post subject:  New Unit-Based Airstrikes
Subject description: Having a wee bit of trouble
Reply with quote  Mark this post and the followings unread

so i was thinkin that it would be cool to give the SEAL an airstrike instead of C4 so i copied boris's airstrike stuff and it worked alright until the planes appeared, and then i got bitch slapped with an IE. i tried renaming the voxels and editing out boris's code, and afaik all of the stuff for the voxel is there - code, voxel, hva - so i am somewhat confused as to why it does this. i am using RP 1.08 and putting all of the files in that expandmd.mix (or whatever) it is because i can never seem to get expandmd and ecachemd files to work, which is something else i would like full and intelligetnly explained. any intelligent help is appreciated Smile

Code for SEAL with airstrike -

Code:
[GHOST]
UIName=Name:GHOST
Name=SEAL
Image=SEAL
Category=Soldier
Prerequisite=GAPILE,RADAR
PrerequisiteOverride=CAWA2A,CAWA2B,CAWA2C,CAWA2D; SJM: any Pentagon building sufficient to build SEAL
Primary=MP5
Secondary=Flare
;Secondary=Sapper
OpenTransportWeapon=0;defaults to -1 (decide normally)  What weapon should I use in a Battle Fortress
NavalTargeting=4
LeadershipRating=8
AlternateArcticArt=yes; ie SEALA for arctic maps
Assaulter=no; I clear out UC buildings
CrushSound=InfantrySquish
Crushable=yes
TiberiumProof=yes
Strength=125
Armor=flak
TechLevel=9
Pip=red
Sight=8
Speed=5
Owner=British,French,Germans,Americans,Alliance
AllowedToStartInMultiplayer=no
Cost=1000
Soylent=500
Points=50
IsSelectableCombatant=yes
VoiceSelect=SealSelect
VoiceMove=SealMove
VoiceAttack=SealAttackCommand
VoiceFeedback=
VoiceSpecialAttack=SealSpecialAttack
DieSound=SealDie
EnterWaterSound=TanyaEntersWater
LeaveWaterSound=TanyaLeavesWater
Locomotor={4A582744-9839-11d1-B709-00A024DDAFD1}
PhysicalSize=1
SpeedType=Amphibious
MovementZone=AmphibiousDestroyer; I am the only one with this zone, because it is now tied with being an infantry (part of seal stuck on tree bug)
ThreatPosed=25; This value MUST be 0 for all building addons
SpecialThreatValue=1
ImmuneToVeins=yes
VeteranAbilities=STRONGER,FIREPOWER,ROF,SIGHT,SCATTER,FASTER
EliteAbilities=SELF_HEAL,STRONGER,FIREPOWER,ROF,FASTER
Size=1
DetectDisguise=no
ElitePrimary=MP5E
IFVMode=4
UseOwnName=true
;Airstrike stuff

;How many planes to call in
AirstrikeTeam=2;
EliteAirstrikeTeam=4;
;What type of planes to call in
AirstrikeTeamType=WHOG
EliteAirstrikeTeamType=WHOG
;How long after the planes either leave the map or are destroyed will the next team of planes be ready?
AirstrikeRechargeTime=100;500
EliteAirstrikeRechargeTime=50;250
BuildLimit=1
SelfHealing=yes


Code For Boris:

Code:
;Boris
[BORIS]
UIName=Name:Boris
Name=Boris
;Image=TANY
Category=Soldier
Prerequisite=NAHAND,NATECH
Primary=AKM
Secondary=Flare
OpenTransportWeapon=0;defaults to -1 (decide normally)  What weapon should I use in a Battle Fortress
NavalTargeting=4
LeadershipRating=8
Assaulter=no; I clear out UC buildings
CrushSound=InfantrySquish
Crushable=no
TiberiumProof=yes
Strength=200
Armor=flak
TechLevel=9
Pip=red
Sight=9
Speed=5
Owner=Russians,Confederation,Africans,Arabs
AllowedToStartInMultiplayer=no
Cost=1500
Soylent=750
Points=50
IsSelectableCombatant=yes
VoiceSelect=BorisSelect
VoiceMove=BorisMove
VoiceAttack=BorisAttackCommand
;VoiceAttack=BorisAttackCommand
VoiceFeedback=BorisFear
VoiceSecondaryWeaponAttack=BorisAirstrikeVoice
;VoiceSecondaryWeaponAttack=BorisAirstrikeVoice
DieSound=BorisDie
CreateSound=BorisCreated
EnterWaterSound=TanyaEntersWater
LeaveWaterSound=TanyaLeavesWater
Locomotor={4A582744-9839-11d1-B709-00A024DDAFD1}
PhysicalSize=1
MovementZone=Infantry
ThreatPosed=25; This value MUST be 0 for all building addons
SpecialThreatValue=1
ImmuneToVeins=yes
ImmuneToPsionics=yes
ImmuneToPsionicWeapons=no
VeteranAbilities=STRONGER,FIREPOWER,ROF,SIGHT,SCATTER
EliteAbilities=SELF_HEAL,STRONGER,FIREPOWER,ROF
Size=1
;DetectDisguise=yes
ElitePrimary=AKME
IFVMode=4
UseOwnName=true
;Airstrike stuff

;How many planes to call in
;AirstrikeTeam=2;
;EliteAirstrikeTeam=4;
;What type of planes to call in
;AirstrikeTeamType=BPLN
;EliteAirstrikeTeamType=BPLN
;How long after the planes either leave the map or are destroyed will the next team of planes be ready?
;AirstrikeRechargeTime=100;500
;EliteAirstrikeRechargeTime=50;250
;BuildLimit=1
;SelfHealing=yes


Code for Warthogs (Airstrike Planes)

Code:
[WHOG]
UIName=Name:HOG
Name=A10 Warthog
Strength=500
Category=AirLift
Armor=light
TechLevel=-1
Primary=HogRocket
;Primary=ParaDropWeapon; Doesn't really fire it; dummy weapon
Spawned=yes; Created by another object and therefore not player controllable
LeadershipRating=10
Selectable=no
RadarInvisible=no
Sight=0
Landable=no
MoveToShroud=yes
PitchAngle=0; default is 20 degrees
Speed=16; 18
Owner=British,French,Germans,Americans,Alliance,Russians,Confederation,Africans,Arabs,YuriCountry
Points=30
ROT=2
Crewed=yes
Ammo=1
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
MaxDebris=2
Locomotor={4A582746-9839-11d1-B709-00A024DDAFD1}
MovementZone=Fly
ThreatPosed=0; This value MUST be 0 for all building addons
DamageParticleSystems=SparkSys,SmallGreySSys
ImmuneToPsionics=yes
CanPassiveAquire=no; Won't try to pick up own targets
CanRetaliate=no; Won't fire back when hit
MoveSound=MigMoveLoop
DieSound=
VoiceCrashing=MigVoiceDie
CrashingSound=IntruderDie
ImpactLandSound=GenAircraftCrash
Fighter=yes
ElitePrimary=Maverick3E
Trainable=no
DeathWeapon=BlimpBomb
DeathWeaponDamageModifier=.1;gs needs a death weapon or it will do one laser blast's worth of crash damage.  This gives control
FlyBy=true;GEF Don't slow down over your target

_________________

Back to top
View user's profile Send private message Send e-mail
EVA-251
General


Also Known As: evanb90
Joined: 20 Feb 2005
Location: o kawaii koto

PostPosted: Fri Sep 01, 2006 12:44 am    Post subject: Reply with quote  Mark this post and the followings unread

[AircraftTypes]
1=APACHE
2=ORCA ;F22 Raptor
3=HORNET
4=V3ROCKET
5=ASW
And so on...

Is WHOG listed here?

Is the weapon properly coded(probably not problem but should be checked)

_________________
YR modder/artist, DOOM mapper, aka evanb90
Project Lead Developer, New-Star Strike (2014-)
Former Project Lead Developer Star Strike (2005-2012), Z-Mod (2006-2007), RA1.5 (2008-2013), The Cold War (2006-2007)

Back to top
View user's profile Send private message Send e-mail Visit poster's website
ihateharriers
Rocket Infantry


Joined: 20 Sep 2005

PostPosted: Sat Sep 02, 2006 1:21 pm    Post subject: Reply with quote  Mark this post and the followings unread

i fixed the problem and it wasn't a coding a thing - it was that when i renamed the voxel to whog i forgot to add the .vxl for the filetype, so that's why the game would go nuts on me, not because i had bad oding or anything. just goes to show how a dot and three letters can cause a whole lot trouble if ignored Laughing

_________________

Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [3 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.1462s ][ Queries: 11 (0.0080s) ][ Debug on ]