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 Thu Mar 28, 2024 8:11 pm
All times are UTC + 0
I'm trying to make a new SW, any help would be a appreciated
Moderators: Global Moderators, Red Alert 2 Moderators
Post new topic   Reply to topic Page 1 of 1 [5 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
NucleiSplitter
Laser Commando


Also Known As: martx
Joined: 28 Oct 2016
Location: PH

PostPosted: Fri Dec 29, 2017 3:08 am    Post subject:  I'm trying to make a new SW, any help would be a appreciated
Subject description: A UnitDelivery kind of SW
Reply with quote  Mark this post and the followings unread

Spoiler (click here to read it):
Code:

Art:
[SUNB]
Voxel=yes
Remappable=yes

[RADARSCAN]
Translucency=25
Rate=300
TranslucencyDetailLevel=1

Rules:

[AircraftTypes]
...
15=SUNB

[SuperWeaponTypes]
...
15=SurveillanceDroneSpecial

[Animations]
...
633=RADARSCAN

; Sunburst Surveillance Drone (Spawned by GAAIRC's 'Surveillance Drone' SW)
[SUNB]
UIName=NOSTR:Sunburst Drone
Name=Sunburst Drone
Image=SUNB
Strength=75
Category=AirPower
Armor=none
TechLevel=2
Sight=10
RadarInvisible=yes
MoveToShroud=yes
Speed=10
PitchSpeed=1
PitchAngle=0
Owner=British,Americans,Alliance
Cost=200
Points=200
ROT=3
ConsideredAircraft=yes
GuardRange=30
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
MaxDebris=3
IsSelectableCombatant=no ;UMP
VoiceSelect=SBDroneSelect
VoiceMove=SBDroneMove
VoiceAttack=
VoiceCrashing=
DieSound=
MoveSound=IntruderMoveLoop
CrashingSound=IntruderDie
ImpactLandSound=GenAircraftCrash
Locomotor={4A582746-9839-11d1-B709-00A024DDAFD1}
MovementZone=Fly
ThreatPosed=20   ; This value MUST be 0 for all building addons
DamageParticleSystems=SparkSys,SmallGreySSys
AuxSound1=IntruderTakeOff   ;Taking off
AuxSound2=IntruderLanding   ;Landing
VeteranAbilities=STRONGER,FIREPOWER,SIGHT,FASTER
EliteAbilities=STRONGER,FIREPOWER,ROF
Trainable=no
AllowedToStartInMultiplayer=no
ImmuneToPsionics=yes
PreventAttackMove=yes

[GAAIRC]
...
SuperWeapon=ArmorSupportSpecial,SurveillanceDroneSpecial

;Problematic...and rather experimental
[SurveillanceDroneSpecial]
UIName=NOSTR:Surveillance Drone
Name=Surveillance Drone
IsPowered=false
RechargeVoice=
ChargingVoice=
ImpatientVoice=                                  
SuspendVoice=
RechargeTime=5
Type=UnitDelivery
Action=UnitDelivery
SidebarImage=SRVLICON
ShowTimer=no
DisableableFromShell=no ; gs this determines which superweapons are turned off by the checkbox
FlashSidebarTabFrames=120; default is always, put 0 for never, or a number for x
SW.Range=5
SW.AITargeting=ParaDrop
SW.RequiresTarget=land,empty
SW.FireIntoShroud=yes
SW.Animation=RADARSCAN
SW.AnimationHeight=5
SW.Deferment=0
Deliver.Owner=invoker


Well, the idea here is, I was trying to make a SW that uses a custom animation then spawns a Sunburst Drone Unit, but when I try it in-game, it doesn't appear in the Support Tab. I have no experience what-so-ever with making a custom SW from scratch.

I based the [SUNB] rules code from the [ORCA] code.
I based the [SurveillanceDroneSpecial] rules code from the [PsychicRevealSpecial] code.
I based the [RADARSCAN] art code from the [CHRONOTG] code.

That's all the information I can give for now. I'm pretty sure that the [SurveillanceDroeSpecial] code is missing some tags, but I don't know what.

_________________
all my posts before 2020 were made by a 13 year-old, forgive these if you see any, thank you

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


Joined: 11 Feb 2016

PostPosted: Fri Dec 29, 2017 3:18 am    Post subject: Reply with quote  Mark this post and the followings unread

SuperWeapon= can only take one entry
use SuperWeapon2=
if you have more, add SuperWeapons= which takes a list

_________________

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


Also Known As: martx
Joined: 28 Oct 2016
Location: PH

PostPosted: Fri Dec 29, 2017 6:51 am    Post subject: Reply with quote  Mark this post and the followings unread

Done, but it still doesn't show up... Something is definitely missing in the [SurveillanceDroneSpecial].

_________________
all my posts before 2020 were made by a 13 year-old, forgive these if you see any, thank you

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


Joined: 28 May 2013

PostPosted: Fri Dec 29, 2017 7:27 am    Post subject: Reply with quote  Mark this post and the followings unread

Are you running YR with Ares?

Unit to be delivered? Deliver.Types=SUNB

Back to top
View user's profile Send private message
ImP_RuLz
Jumpjet Infantry


Joined: 21 May 2004
Location: Pakistan

PostPosted: Fri Dec 29, 2017 8:28 am    Post subject: Reply with quote  Mark this post and the followings unread

in your code, it says
[GAAIRC]
...
SuperWeapon=ArmorSupportSpecial,SurveillanceDroneSpecial

if its SuperWeapons then thats the problem, probably

_________________
<----- Clickable

Back to top
View user's profile Send private message Send e-mail ModDB Profile ID Facebook Profile URL Twitter Channel URL Skype Account
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [5 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.1486s ][ Queries: 11 (0.0076s) ][ Debug on ]