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 2:53 pm
All times are UTC + 0
Paradroping tanks etc...
Moderators: Global Moderators, Red Alert 2 Moderators
Post new topic   Reply to topic Page 1 of 1 [17 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
Universal
Stealth Laser Trooper


Joined: 17 Jan 2006
Location: Germany

PostPosted: Tue Dec 05, 2006 7:08 pm    Post subject:  Paradroping tanks etc... Reply with quote  Mark this post and the followings unread

I can't figure out what to make my weapon code for the paradropweapon so that when my for example c5m super galaxy transport plane fires it should be able to parachute tanks or infantry. The tutorial only covers the actual aircraft but not the weapon nor the other. I tried cloning the ParaDropWeapon but it doesnt seem to work.

Also my c5m super galaxy doesnt show up (no trace of it not even a cameo) I'll post the code as soon as I am near my modding computer.

_________________
"Those who want to live, let them fight, and those who do not want to fight in this world of eternal struggle do not deserve to live."

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


Joined: 18 Aug 2006

PostPosted: Tue Dec 05, 2006 8:12 pm    Post subject: Reply with quote  Mark this post and the followings unread

Before I call n00bism, I must ask, did ya in any way modify this code?

Code:

;GEF
;************ American Paradrop Special Rules ***********
;These two lists _must_ have the same number of elements, otherwise bad crashiness will result

;AmerParaDropInf=E1,GHOST,ENGINEER ;Types of infantry for the planes to drop
;AmerParaDropNum=6,6,6 ;How many of each of those infantry

AmerParaDropInf=E1 ;Types of infantry for the planes to drop
AmerParaDropNum=10 ;How many of each of those infantry

AllyParaDropInf=E1 ;Types of infantry for the planes to drop
AllyParaDropNum=10 ;How many of each of those infantry

SovParaDropInf=E2 ;Types of infantry for the planes to drop
SovParaDropNum=10 ;How many of each of those infantry

YuriParaDropInf=INIT ;Types of infantry for the planes to drop
YuriParaDropNum=10 ;How many of each of those infantry


If ya havent even touched this then good luck to ya trying to not be an idiot. If ya have check and recheck time and time again.

Best advice I can give ya without going too much into detail is modify the "cargo" lines to include what you want.

Side note to more experienced folk: is the ParadropInf= just restricted to InfantryTypes? My best guess says no.

Referencing ModEnc update: so it is restricted to InfantryTypes then.

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


Joined: 27 Nov 2005
Location: Germany

PostPosted: Tue Dec 05, 2006 9:03 pm    Post subject: Reply with quote  Mark this post and the followings unread

I dont think he means the paradrop superweapons #Tongue

I guess he means a normal aircraft tranport, those can be loaded with tank and infantry and when they try to fire, they automaticly drop their cargo above their position #Tongue

@ Universal
as far as i know, nearly every weapon would work for this case...

_________________

Back to top
View user's profile Send private message Skype Account
OmegaBolt
President


Joined: 21 Mar 2005
Location: York, England

PostPosted: Tue Dec 05, 2006 9:16 pm    Post subject: Reply with quote  Mark this post and the followings unread

Not sure, never done but try giving its warhead 0% for all.

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


Joined: 25 Aug 2004
Location: DAS BOOT IM DER OSTSEE

PostPosted: Tue Dec 05, 2006 9:59 pm    Post subject: Reply with quote  Mark this post and the followings unread

give them a fake weapon that does no damage, they use the units as the ammo.

_________________
PPM's Reichstrollfuherer, 236th Trollenparties brigade.

Back to top
View user's profile Send private message Send e-mail Skype Account AIM Address
Rattuskid
Sergeant


Joined: 01 Sep 2003
Location: Jersey,new

PostPosted: Tue Dec 05, 2006 10:50 pm    Post subject: Reply with quote  Mark this post and the followings unread

Wait is this a pad-buildable transport plane? After YR 1.001, although it may be fixed in the RockPatch, buildable paradrop planes could no longer drop units over size=1.

_________________

Back to top
View user's profile Send private message Skype Account AIM Address
Universal
Stealth Laser Trooper


Joined: 17 Jan 2006
Location: Germany

PostPosted: Wed Dec 06, 2006 12:11 am    Post subject: Reply with quote  Mark this post and the followings unread

Yes this is a pad buildable aircraft for the Americans only.

Code:


[Lockheed C-5M Super Galaxy]
UIName=Name:C5M
Name=C5M
Strength=3000
Category=AirPower
Armor=heavy
TechLevel=6
Primary=GenuineParaDropWeapon; Doesn't really fire it; dummy weapon
LeadershipRating=10
RadarInvisible=no
Sight=0
Landable=yes
MoveToShroud=yes
PitchAngle=0 ; default is 20 degrees
Speed=10
Owner=Americans
Points=30
ROT=2
Crewed=yes
Ammo=100
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
Maxdebris=2
Locomotor={4A582746-9839-11d1-B709-00A024DDAFD1}
MovementZone=Fly
ThreatPosed=50 ; 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=PDPlaneMoveLoop
DieSound=
CrashingSound=PDPlaneDie
ImpactLandSound=GenAircraftCrash
Image=c5m
Prerequisite=AMRADR,GATECH
Dock=AMRADR
Passengers=25
SizeLimit=10
Storage=10
Carryall=yes
IsSelectableCombatant=yes

[GenuineParaDropWeapon]
Damage=1
ROF=150
Range=18
MinimumRange=5
Projectile=InvisibleHigh
Speed=10
Warhead=Special


_________________
"Those who want to live, let them fight, and those who do not want to fight in this world of eternal struggle do not deserve to live."

Back to top
View user's profile Send private message
-tr8er8-
Rocket Cyborg


Joined: 16 Sep 2006
Location: USA

PostPosted: Wed Dec 06, 2006 12:54 am    Post subject: Reply with quote  Mark this post and the followings unread

In that code you did Carryall=yes, but have SizeLimit=10. If it's a carryall, you don't need a size limit. And you should also have the Type= in the superweapon code, and make sure you have it in the list.

_________________



Back to top
View user's profile Send private message Send e-mail Visit poster's website Skype Account
Universal
Stealth Laser Trooper


Joined: 17 Jan 2006
Location: Germany

PostPosted: Wed Dec 06, 2006 1:06 am    Post subject: Reply with quote  Mark this post and the followings unread

Hold on let me repost the code. It still wont show up.

Code:

[C-5M Lockheed]
UIName=Name:C5M
Name=C5M
Strength=3000
Category=AirLift
Armor=light
TechLevel=6
Primary=GenuineParaDropWeapon; Doesn't really fire it; dummy weapon
LeadershipRating=10
RadarInvisible=no
Sight=0
Landable=yes
MoveToShroud=yes
PitchAngle=0 ; default is 20 degrees
Speed=10
Owner=Americans,Alliance,French,Germans,British
Points=30
ROT=2
Crewed=yes
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
Maxdebris=5
Locomotor={4A582746-9839-11d1-B709-00A024DDAFD1}
MovementZone=Fly
ThreatPosed=50 ; 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=PDPlaneMoveLoop
DieSound=
CrashingSound=PDPlaneDie
ImpactLandSound=GenAircraftCrash
Image=c5m
Prerequisite=GATECH
Dock=AMRADR,GAAIRC
Passengers=25
SizeLimit=
Storage=10
Carryall=yes
IsSelectableCombatant=yes
Cost=2500
PipScale=Passengers
RequiredHouses=Americans

_________________
"Those who want to live, let them fight, and those who do not want to fight in this world of eternal struggle do not deserve to live."

Back to top
View user's profile Send private message
Rattuskid
Sergeant


Joined: 01 Sep 2003
Location: Jersey,new

PostPosted: Wed Dec 06, 2006 1:35 am    Post subject: Reply with quote  Mark this post and the followings unread

If you don't provide an 'image=' tag, it will parse the name of the unit (in this case "C-5M Lockheed") as the name to look for with art files. Issue here is that the space could easily be messing that up*, which is why short names with no special characters (".","/","-"," ",etc.) are better.

*Since the ASCII names are converted and all, it could be looking for 'C-5M_Lockheed' when your art files have a space instead, or lack the same capitalization.

_________________

Back to top
View user's profile Send private message Skype Account AIM Address
Universal
Stealth Laser Trooper


Joined: 17 Jan 2006
Location: Germany

PostPosted: Wed Dec 06, 2006 3:40 am    Post subject: Reply with quote  Mark this post and the followings unread

Got it working now except for the paradrop which is not working at all because the plane only hovers near the location and does nothing.

_________________
"Those who want to live, let them fight, and those who do not want to fight in this world of eternal struggle do not deserve to live."

Back to top
View user's profile Send private message
Beowulf
Laser Commando


Joined: 12 May 2003
Location: Furry Heaven

PostPosted: Wed Dec 06, 2006 3:56 pm    Post subject: Reply with quote  Mark this post and the followings unread

Why do you have Warhead=Special? That's a special case warhead for SPAWNER weapons! There's a weapon called 'ParaDropWeapon'... use that. =|

_________________

Back to top
View user's profile Send private message Visit poster's website Skype Account AIM Address
Universal
Stealth Laser Trooper


Joined: 17 Jan 2006
Location: Germany

PostPosted: Wed Dec 06, 2006 4:08 pm    Post subject: Reply with quote  Mark this post and the followings unread

I believe I have fixed the problem seems that I needed to have the warhead set as deathWH.

I'll post the full code later and as a tutorial.

_________________
"Those who want to live, let them fight, and those who do not want to fight in this world of eternal struggle do not deserve to live."

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


Joined: 18 Aug 2006

PostPosted: Wed Dec 06, 2006 6:53 pm    Post subject: Reply with quote  Mark this post and the followings unread

Universal wrote:
....and as a tutorial.


Im not sure Id want that... Unless of course you can provide screens of it happening. Then be my guest and show us.

Back to top
View user's profile Send private message
Universal
Stealth Laser Trooper


Joined: 17 Jan 2006
Location: Germany

PostPosted: Wed Dec 06, 2006 7:17 pm    Post subject: Reply with quote  Mark this post and the followings unread

Sure thing. Ill provide the screenshots a bit later and trust me the code works Smile

_________________
"Those who want to live, let them fight, and those who do not want to fight in this world of eternal struggle do not deserve to live."

Back to top
View user's profile Send private message
-tr8er8-
Rocket Cyborg


Joined: 16 Sep 2006
Location: USA

PostPosted: Thu Dec 07, 2006 5:14 am    Post subject: Reply with quote  Mark this post and the followings unread

Rattuskid wrote:
If you don't provide an 'image=' tag, it will parse the name of the unit (in this case "C-5M Lockheed") as the name to look for with art files. Issue here is that the space could easily be messing that up*, which is why short names with no special characters (".","/","-"," ",etc.) are better.

*Since the ASCII names are converted and all, it could be looking for 'C-5M_Lockheed' when your art files have a space instead, or lack the same capitalization.


He does.

Quote:
Image=c5m

_________________



Back to top
View user's profile Send private message Send e-mail Visit poster's website Skype Account
Universal
Stealth Laser Trooper


Joined: 17 Jan 2006
Location: Germany

PostPosted: Sun Dec 10, 2006 1:02 am    Post subject: Reply with quote  Mark this post and the followings unread

Okay an update the tank dropping does not work but this is because I have the latest version of rockpatch enabled. The infantry paradroping does work and sometimes it doesnt.

_________________
"Those who want to live, let them fight, and those who do not want to fight in this world of eternal struggle do not deserve to live."

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