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 Tue Apr 23, 2024 5:48 pm
All times are UTC + 0
Units' attacks with missile spawn help.
Moderators: Global Moderators, Red Alert 2 Moderators
Post new topic   Reply to topic Page 1 of 1 [6 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
chr0nicz420
Jumpjet Infantry


Joined: 10 Feb 2016

PostPosted: Sun Sep 25, 2016 11:55 am    Post subject:  Units' attacks with missile spawn help. Reply with quote  Mark this post and the followings unread

I'm having problem with this that the ICBM Rocket never lands to do damage and it will go off-screen.

Here are the codes:
Code:

[SVICBM]
UIName=Name:V3
Name=V3 Launcher    ;locked
Category=AFV
Prerequisite=NAWEAP,RADAR
Primary=ICBMLauncher
CanPassiveAquire=no ; Won't try to pick up own targets
Spawns=SVICBMROCKET
SpawnsNumber=1
SpawnRegenRate=250
SpawnReloadRate=0 ; missile spawn don't come back
NoSpawnAlt=yes ; alternate voxel for out of spawns: xxxxWO (V3WO)
Strength=150
Armor=light
TechLevel=3
Turret=no
CrateGoodie=yes
Sight=9
Speed=5
Owner=Russians,Confederation,Africans,Arabs
ForbiddenHouses=BossGeneral
Cost=800
Soylent=800
Points=40
ROT=5
AllowedToStartInMultiplayer=yes
Crusher=yes
Crewed=no ; Big giant missile on its head precludes survivor (per designer)
IsSelectableCombatant=yes
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
VoiceSelect=V3Select
VoiceMove=V3Move
VoiceAttack=V3AttackCommand
VoiceFeedback=
DieSound=GenVehicleDie
MoveSound=V3MoveStart
CrushSound=TankCrush
Maxdebris=3
Locomotor={4A582741-9839-11d1-B709-00A024DDAFD1}
;MovementZone=Normal ;gs FLAW needs to be changed to this when The Flaw is fixed
MovementZone=Destroyer
ThreatPosed=25   ; This value MUST be 0 for all building addons
DamageParticleSystems=SparkSys,SmallGreySSys
Weight=3.5
VeteranAbilities=STRONGER,FIREPOWER,ROF,SIGHT,FASTER
EliteAbilities=SELF_HEAL,STRONGER,FIREPOWER,ROF
AccelerationFactor=0.01
ZFudgeColumn=8
ZFudgeTunnel=13
Size=3
GuardRange=9
TooBigToFitUnderBridge=true
;MobileFire=false   ; SJM: Looks like this was meant for the V3, but let's not enable it until we know we need it.
Bunkerable=no


Code:

[SVICBMROCKET]
UIName=Name:V3ROCKET
Name=V3 Rocket
FireAngle=1
Strength=50
Category=AirPower
Armor=special_2
Spawned=yes
MissileSpawn=yes
TechLevel=-1
Sight=1
RadarInvisible=no
Landable=yes
MoveToShroud=yes
Ammo=1 ;Aircraft are hard wired to require ammo
Speed=35
Owner=Russians,Confederation,Africans,Arabs
Cost=50
Points=20
ROT=3
Crewed=no
Explodes=no
GuardRange=30
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
MaxDebris=2
Locomotor={B7B49766-E576-11d3-9BD9-00104B972FE8}
MovementZone=Fly
ThreatPosed=10   ; This value MUST be 0 for all building addons
DamageParticleSystems=SmallGreySSys   ; Sparks don't work well here.  SJM
AuxSound1=V3Attack ;Taking off
;AuxSound2=DROPDWN1 ;Landing
ImmuneToPsionics=yes
;VeteranAbilities=STRONGER,FIREPOWER,SIGHT,FASTER
;EliteAbilities=SELF_HEAL,STRONGER,FIREPOWER,ROF
NoShadow=yes
Selectable=no
Trainable=no
DontScore=yes


Please help. Also, I've attached an image so it can be understandable. As you can see on the image, particularly the waypoint, that's where I designated the attack but it will always go at the opposite direction until it goes off-screen.



111.jpg
 Description:
 Filesize:  307.02 KB
 Viewed:  1629 Time(s)

111.jpg



Back to top
View user's profile Send private message
Lin Kuei Ominae
Seth


Joined: 16 Aug 2006
Location: Germany

PostPosted: Sun Sep 25, 2016 3:17 pm    Post subject: Reply with quote  Mark this post and the followings unread

Without Ares, new custom spawned missiles are not possible. (there is a group of [General] keys for each V3, DMISL and CMISL, see V3RocketPauseFrames and following keys. Your new missile doesn't has these keys and thus breaks)
To get this done anyway, you can only try to create a suicide aircraft spawning weapon (like a suicide carrier hornet), not a missile spawning one
or replace one of the 3 spawned missiles.

With Ares you can create new spawned missiles.

_________________
SHP Artist of Twisted Insurrection:  Nod buildings

Public SHPs
X-Mech Calendar (28 Mechs for GDI and Nod)
5 GDI, 5 Nod, 1 Mutant, 1 Scrin unit, 1 GDI building

Tools
Image Shaper______TMP Shop______C&C Executable Modifier

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


Joined: 10 Feb 2016

PostPosted: Mon Sep 26, 2016 7:50 am    Post subject: Reply with quote  Mark this post and the followings unread

Ohh so they're hardcoded. Okay I'll try to check Ares. Thanks LKO.

Back to top
View user's profile Send private message
Lin Kuei Ominae
Seth


Joined: 16 Aug 2006
Location: Germany

PostPosted: Mon Sep 26, 2016 8:39 am    Post subject: Reply with quote  Mark this post and the followings unread

Well, a spawned suicide aircraft can work pretty well too imo, so if you only need Ares for this single feature, you might also try it first without Ares.

It also depends where you wanna go with your mod.
Add more fancy logics for mainly MultiPlayer games -> use Ares
If you wanna keep SinglePlayer being an important part -> avoid using Ares, until it supports savegames (currently you can't use savegames in Ares)
Playing lengthy singleplayer missions without savegames can be pretty frustrating.

_________________
SHP Artist of Twisted Insurrection:  Nod buildings

Public SHPs
X-Mech Calendar (28 Mechs for GDI and Nod)
5 GDI, 5 Nod, 1 Mutant, 1 Scrin unit, 1 GDI building

Tools
Image Shaper______TMP Shop______C&C Executable Modifier

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


Joined: 22 Nov 2010
Location: Iszkaszentgyorgy, Hungary

PostPosted: Mon Sep 26, 2016 9:15 am    Post subject: Reply with quote  Mark this post and the followings unread

Lin Kuei Ominae wrote:
Well, a spawned suicide aircraft can work pretty well too imo


Suicide aircraft will always crash in the base game. Only Ares 0.4 made Crashable affect aircraft. Also limbolaunching aircraft will bug out as well - IIRC mostly the radar, but might be more - so either you make suicide aircraft RadarInvisible limbolaunchers with a deathweapon only good for visuals, either you accept that suicide aircrafts will always deal damage even when blown up by AA (if you rely on a dummyweapon's animdamage killing the aircraft nearby).

_________________
"If you didn't get angry and mad and frustrated, that means you don't care about the end result, and are doing something wrong." - Greg Kroah-Hartman
=======================
Past C&C projects: Attacque Supérior (2010-2019); Valiant Shades (2019-2021)
=======================
WeiDU mods: Random Graion Tweaks | Graion's Soundsets
Maintainance: Extra Expanded Enhanced Encounters! | BGEESpawn
Contributions: EE Fixpack | Enhanced Edition Trilogy | DSotSC (Trilogy) | UB_IWD | SotSC & a lot more...

Back to top
View user's profile Send private message Visit poster's website ModDB Profile ID
silverwind
Cyborg Firebomber


Joined: 11 Jun 2016

PostPosted: Mon Sep 26, 2016 9:40 am    Post subject: Reply with quote  Mark this post and the followings unread

IMO, having a campaign for each mission, and letting the player choose any mission he/she wants to play (like the debug campaigns in the vanilla game) is a workable temporary solution for the save game problem, until Ares eventually solves that issue.

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