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 Mar 29, 2024 2:13 am
All times are UTC + 0
2 weapons fire. [with Secondary=""]
Moderators: Global Moderators, Tiberian Sun Moderators
Post new topic   Reply to topic Page 1 of 1 [8 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
- geno -
Energy Commando


Joined: 29 May 2003
Location: Manila

PostPosted: Mon Dec 05, 2005 11:08 am    Post subject:  2 weapons fire. [with Secondary=""] Reply with quote  Mark this post and the followings unread

To make 2 weapons fire
Set The secondary weapon have higher range than the Primary weapon

Quote:
if this is primary

[LargeLaser]
Range=15

Secondary like this

[LRM]
Range=25


and make secondary weapons projectile have "AG=yes"
If you make secondary and primary weapons range the same.
It will only fire the primary (and The secondary In Air if there is AA=yes)



But there is still bug, not actually a bug that crashes the game.

1. The Secondary Weapon will fire if the Primary weapon is out if range.
2. In command, The Unit will Move closer to fire its Primary weapon.  (you get it? It will fire the secondary then walk closer to fire primary)
3. In Idle state, The unit will fire Secondary if the target is in range (Idle,not moving or moving). Then switch back to Primary when target closes in.


well thats it..


Key Words: #Tutorials #Modding #TiberianSun #Firestorm #Rules.INI 

_________________

Fight for the freedom side, March with the Imperial War Machine or Conquest for World Domination
https://www.facebook.com/YRZH.Mod/
https://www.moddb.com/mods/yr-zero-hour

Last edited by - geno - on Mon Dec 05, 2005 1:21 pm; edited 1 time in total

Back to top
View user's profile Send private message Send e-mail Visit poster's website ModDB Profile ID YouTube User URL Facebook Profile URL Twitter Channel URL Skype Account Yahoo Messenger Account
Crimsonum
Seth


Joined: 14 Jul 2005
Location: Fineland

PostPosted: Mon Dec 05, 2005 11:58 am    Post subject: Reply with quote  Mark this post and the followings unread

Interesting....and it seems you've done lots of tuts recently Cool Too bad that Infantry can't have two firing anims...exept something deploy/fly fire anim Sad

*edited*

_________________


Last edited by Crimsonum on Mon Dec 05, 2005 12:01 pm; edited 1 time in total

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


Joined: 18 Jan 2005
Location: Finland

PostPosted: Mon Dec 05, 2005 11:59 am    Post subject: Reply with quote  Mark this post and the followings unread

What if I change place of those and put to warhead that it shoots to infantry and light armored tanks (this to secondary weapon's warhead) : 100%,100%,0%,0%,0%

And warhead what shoots to buildings and heavy tanks (this to primary weapon's warhead) : 0%,0%,100%,100%,100% ?

Notice that this is for TS and FS...

Back to top
View user's profile Send private message
Crimsonum
Seth


Joined: 14 Jul 2005
Location: Fineland

PostPosted: Mon Dec 05, 2005 12:04 pm    Post subject: Reply with quote  Mark this post and the followings unread

Quote:
What if I change place of those and put to warhead that it shoots to infantry and light armored tanks (this to secondary weapon's warhead) : 100%,100%,0%,0%,0%

And warhead what shoots to buildings and heavy tanks (this to primary weapon's warhead) : 0%,0%,100%,100%,100% ?


That won't work. The unit uses primary against everything, even if the damage would be 0 (or warhead 0%)for those it attacks .

_________________


Back to top
View user's profile Send private message
- geno -
Energy Commando


Joined: 29 May 2003
Location: Manila

PostPosted: Mon Dec 05, 2005 12:06 pm    Post subject: Reply with quote  Mark this post and the followings unread

Quote:
1. The Secondary Weapon will fire if the Primary weapon is out if range.
2. In command, The Unit will Move closer to fire its Primary weapon.  (you get it? It will fire the secondary then walk closer to fire primary)
3. In Idle state, The unit will fire Secondary if the target is in range (Idle,not moving or moving). Then switch back to Primary when target closes in.

Remember the little bugs. If you want to shoot buildings.

_________________

Fight for the freedom side, March with the Imperial War Machine or Conquest for World Domination
https://www.facebook.com/YRZH.Mod/
https://www.moddb.com/mods/yr-zero-hour

Back to top
View user's profile Send private message Send e-mail Visit poster's website ModDB Profile ID YouTube User URL Facebook Profile URL Twitter Channel URL Skype Account Yahoo Messenger Account
DonutArnold
General


Joined: 18 Jan 2005
Location: Finland

PostPosted: Mon Dec 05, 2005 12:18 pm    Post subject: Reply with quote  Mark this post and the followings unread

Yuri 05 wrote:
Quote:
What if I change place of those and put to warhead that it shoots to infantry and light armored tanks (this to secondary weapon's warhead) : 100%,100%,0%,0%,0%

And warhead what shoots to buildings and heavy tanks (this to primary weapon's warhead) : 0%,0%,100%,100%,100% ?


That won't work. The unit uses primary against everything, even if the damage would be 0 (or warhead 0%)for those it attacks .


Yes, secondary to shoot the tanks and buildings and primary to infantry. That works (i've tried), (f**k, only little (maybe useful) change from Exile's tutorial)

Back to top
View user's profile Send private message
- geno -
Energy Commando


Joined: 29 May 2003
Location: Manila

PostPosted: Mon Dec 05, 2005 12:41 pm    Post subject: Reply with quote  Mark this post and the followings unread

if you still cannot fire in RA2/YR.
Maybe the LandTargeting and NavalTargeting hacks
TS didnt have that two coz they have no Naval Vessels


So... Maybe this is not for RA2-YR.

Sorry to announce that this is not for RA2-YR
[Moddies pls split this and move to proper forum]



The Codes is this FOR TS/FS
i use this for walkers

[Mech]
Name=Mech
Prerequisite=NATECH,GAPLUG3
Primary=2ArmLaser
Secondary=2LRMRacks
Strength=1500
AllowedToStartInMultiplayer=no
Category=AFV
Nominal=yes
Armor=heavy
TechLevel=8
Sight=8
Speed=7
Owner=Nod
Cost=5000
Trainable=yes
SelfHealing=yes
Points=55
ROT=3
Explodes=yes
Crusher=yes
Explosion=TWLT100,S_BRNL58,S_CLSN58
VoiceSelect=25-I000,25-I002,25-I004,25-I006
VoiceMove=25-I012,25-I014,25-I016,25-I018,25-I022
VoiceAttack=25-I014,25-I022,25-I024,25-I026
VoiceFeedback=
MaxDebris=6
Locomotor={55D141B8-DB94-11d1-AC98-006008055BB5}
MovementZone=Destroyer
ThreatPosed=80 ; This value MUST be 0 for all building addons
DamageParticleSystems=SparkSys,SmallGreySSys
DamageSmokeOffset=300, 300, 425
TiltsWhenCrushes=false
Weight=3.5
Accelerates=false
ZFudgeColumn=12
ZFudgeTunnel=15
ZFudgeBridge=25

[2ArmLaser]
Damage=30
ROF=50
Burst=2
Range=5.5
Speed=100
Warhead=Super
Report=BIGGGUN1
Charges=no
LaserInnerColor = 255,0,0
LaserOuterColor = 0,0,0
LaserOuterSpread= 20,40,40
LaserDuration = 15
Projectile=LLine2
IsLaser=true ; this flag tells the game to use the special laser draw effect

[2LRMRacks]
Damage=20
ROF=100
Range=18
Burst=6
Projectile=AAHeatSeeker2
Speed=30
Warhead=AP
Report=HOVRMIS1
MinimumRange=3



if for RA2 YR like DonutArnold said

Its in Warhead to make it fire
for Primary= warhead verses must only in infantry,Light Tanks,Drones etc..
Secondary= medium,heavy tanks and buildings

_________________

Fight for the freedom side, March with the Imperial War Machine or Conquest for World Domination
https://www.facebook.com/YRZH.Mod/
https://www.moddb.com/mods/yr-zero-hour

Back to top
View user's profile Send private message Send e-mail Visit poster's website ModDB Profile ID YouTube User URL Facebook Profile URL Twitter Channel URL Skype Account Yahoo Messenger Account
Banshee
Supreme Banshee


Also Known As: banshee_revora (Steam)
Joined: 15 Aug 2002
Location: Brazil

PostPosted: Mon Dec 05, 2005 9:54 pm    Post subject: Reply with quote  Mark this post and the followings unread

I'm moving this tutorial to TS, because.. it's for TS. It doesn't make much sense to be posted at RA2 Tutorials Vault.

_________________


Mods, Mods Support, Public Researchs, Map Archives, Tutorials, A Friendly Community and much more. Check it out now!

Back to top
View user's profile Send private message Visit poster's website Skype Account
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [8 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.1675s ][ Queries: 11 (0.0083s) ][ Debug on ]