 |
Forum Info
|
 |
Forum Members: 18,581
Total Threads: 8,669
Posts: 94,547
Administrators:
DeeZire, Redemption
There are currently 41 users online.
|
 |
Partner Links
|
 |
 |
Advertisements
|
 |
|
| Red Alert 2 & Yuri's Revenge Editing Discuss any modding related issues to do with Red Alert 2 and Yuri's Revenge here. |
04-23-2003, 04:58 AM
|
#1 (permalink)
|
|
Senior Member
Join Date: Dec 2002
Location: Between the heaven and hell
Posts: 630
|
RailGun questions at YR modding
Here's the code i'm using for railgun of MMKII
Quote:
[MechRailgun2]
AmbientDamage=200 ; use this for the railgun damage field. Leave damage = 0
Damage=0 ; this should be 0 for railgun shots
ROF=60 ; ROF for railgun is tied to the duration (MaxEC) of the railgun particle
Range=8
Projectile=InvisibleLow
Speed=100
Warhead=RailShot
Report=RAILUSE5
Anim=GUNFIRE
IsRailgun=true
AttachedParticleSystem=LargeRailgunSys2
[RailShot]
;Spread=1
;Verses=200%,175%,160%,100%,25%
Verses=100%,100%,100%,100%,100%,100%,100%,100%,100 %,100%,100%
Rocker=no
ProneDamage=100%
InfDeath=2
[LargeRailgunSys2]
HoldsWhat=LargeRailgunPart
BehavesLike=Railgun
SpiralRadius=15
ParticlesPerCoord=.15
SpiralDeltaPerCoord=.03
MovementPerturbationCoefficient=.4
PositionPerturbationCoefficient=30
VelocityPerturbationCoefficient=.6
Laser=yes
LaserColor=25,20,255
;R,G,B for laser color
[LargeRailgunPart2]
BehavesLike=Railgun
MaxEC=70
ColorList=(25,70,205),(150,150,150)
ColorSpeed=.009
Velocity=.3
|
The new particle system (cloned, not modyfied)
Now here's my questions :
1) When i fire the railgun it only shows a laser line instead of the true railgun particles. whats the problem ?
2) I want the railgun as a spiral (zig-zag) railgun. I saw this kinda railgun in a mod named "firestorm" probably based on ra2.
3) Is it possible to have railshot as sharpnel weapons (like prism tank weapon, didn't tried) ?
4) Can b the railgun particle type used in trailer to an arcing projectile (arcing trailer)?
Edit : i've found that site CnC Firestorm and got the following pic having zig-zag railgun



|
|
|
04-23-2003, 10:19 AM
|
#2 (permalink)
|
|
Senior Member
Join Date: Mar 2003
Location: The Netherlands
Posts: 1,494
|
Try copying the chronoprisons partical in DZ.
4:edit should be 3) Yes I did that
|
|
|
04-23-2003, 09:31 PM
|
#3 (permalink)
|
|
Senior Member
Join Date: Dec 2002
Location: Canada
Posts: 334
|
That zig zag is actually a spiral. An it can be done. Instead of using LargeRailgunPart use SmallRailgunPart, and increase SpiralRadius=.
|
|
|
04-24-2003, 04:29 AM
|
#4 (permalink)
|
|
Senior Member
Join Date: Dec 2002
Location: Between the heaven and hell
Posts: 630
|
Daedalus, can u post the code for railgun partilces as arcing projectile trailer here? or PM/email me ? And the chrono prison particle is almost invisible at my mod, i dunno why and it stucks my game for 10 sec.
Thx Xgamer for suggesion. How can i remove that laser ? removing laser=yes from particle code ?
|
|
|
04-24-2003, 03:53 PM
|
#5 (permalink)
|
|
Senior Member
Join Date: Dec 2002
Location: Canada
Posts: 334
|
yep
|
|
|
04-25-2003, 01:55 AM
|
#6 (permalink)
|
|
Senior Member
Join Date: Dec 2002
Location: Between the heaven and hell
Posts: 630
|
I copied the codes of SmallRailgunPart and replace the code of my LargeRailgunPart2 but it still dont works. Should that railgun partcles b named strictly as "SmallRailgunPart" ? or whats the problem ? can any one post here the complete set of code of a working railgun (weapon+particle code) and post some screenoes of it ?
|
|
|
04-25-2003, 04:34 AM
|
#7 (permalink)
|
|
Senior Member
Join Date: Mar 2003
Location: The Netherlands
Posts: 1,494
|
Psycho I just saw i ad the wrong number i was talking about your 3th question but i accidently typed 4 sorry but i don't know if arcing is possible. I think you can edit a projectile to arcing in a railgun, but you won't get the railgun effect.
Sorry i gave the wrong answer
|
|
|
04-25-2003, 09:31 PM
|
#8 (permalink)
|
|
Senior Member
Join Date: Dec 2002
Location: Canada
Posts: 334
|
Quote:
|
Originally Posted by Psycho
I copied the codes of SmallRailgunPart and replace the code of my LargeRailgunPart2 but it still dont works. Should that railgun partcles b named strictly as "SmallRailgunPart" ? or whats the problem ? can any one post here the complete set of code of a working railgun (weapon+particle code) and post some screenoes of it ?
|
I'm not sure what problem you could be having, but try this. LtRail works fine if you give it to a unit. Try modifiying LtRail
|
|
|
04-26-2003, 08:24 AM
|
#9 (permalink)
|
|
Senior Member
Join Date: Jan 2003
Location: Hamburg, Germany
Posts: 2,208
|
I thought using RailGun-Particles in YR would slow down the game massivly?
(like mentioned by Psycho)
|
|
|
04-26-2003, 08:26 AM
|
#10 (permalink)
|
|
Senior Member
Join Date: Dec 2002
Location: Canada
Posts: 334
|
why? Its usually only the transparency applied to SHP animations that cause the slowdown.
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -4. The time now is 06:10 PM.
|