 |
Forum Info
|
 |
Forum Members: 18,581
Total Threads: 8,669
Posts: 94,547
Administrators:
DeeZire, Redemption
There are currently 24 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. |
05-21-2003, 07:53 PM
|
#1 (permalink)
|
|
Senior Member
Join Date: Mar 2003
Location: USA
Posts: 189
|
Deploy weapons?
I have seen mods where a tank or infantry has a weapon like a gun and can also deploy to self-destruct could someone please tell me how?
|
|
|
05-21-2003, 08:13 PM
|
#2 (permalink)
|
|
Senior Member
Join Date: Jan 2003
Location: Argentina, Latin America
Posts: 166
|
see in the Yuri clone code to know how to make a weapon shot by the deploy action... then make it a suicide weapon, and you will have it...
|
|
|
05-21-2003, 08:15 PM
|
#3 (permalink)
|
|
Senior Member
Join Date: Mar 2003
Location: USA
Posts: 189
|
If I wanted to make the Demo Truck deploy fire, could I just give it a secondary of the same weapon, or would I have to modify the DemoBomb so there is a copy that is deploy-fire.
|
|
|
05-22-2003, 12:12 AM
|
#4 (permalink)
|
|
Senior Member
Join Date: Dec 2002
Location: USA
Posts: 756
|
That's not necessary. Just give the demo truck Deployer=yes and DeployFire=yes. Then it will fire its primary when deployed, and since it's primary is a Suicide=yes weapon, the unit will be killed, triggering the DeathWeapon. (A weapon never actually fires when Suicide=yes anyway, all that happens is the unit gets killed).
This is actually a good idea. Mind if I use it?
|
|
|
05-22-2003, 08:53 PM
|
#5 (permalink)
|
|
Senior Member
Join Date: Mar 2003
Location: USA
Posts: 189
|
Go ahead and use it. I actually got this idea from a mod where there was a Rad-tank and you could deploy it to make it over-heat and explode. I am actually going to use that idea for all of my suicide units. By the way... Doesn't the GI use it's Secondary weapon (Para) when it is deployed?
|
|
|
05-22-2003, 10:15 PM
|
#6 (permalink)
|
|
Senior Member
Join Date: Apr 2003
Location: Canada
Posts: 414
|
um, that mod is deezire.
|
|
|
05-23-2003, 05:34 PM
|
#7 (permalink)
|
|
Senior Member
Join Date: Jan 2003
Location: the Netherlands
Posts: 3,036
|
Yes, the GI does. I think when a unit has two weapons, the deployweapon will always be the secondary.
|
|
|
05-23-2003, 06:13 PM
|
#8 (permalink)
|
|
Senior Member
Join Date: Dec 2002
Location: USA
Posts: 1,858
|
Quote:
|
Originally Posted by ComradeJ
Yes, the GI does. I think when a unit has two weapons, the deployweapon will always be the secondary.
|
; DeployFireWeapon = Index of weapon to fire while deployed. 0 or 1. (def=1)
|
|
|
05-23-2003, 08:18 PM
|
#9 (permalink)
|
|
Senior Member
Join Date: Mar 2003
Location: USA
Posts: 189
|
Well I tried the deployfire index 0 since the weapon is primary, but the unit(s) just didn't deploy (no cursor or anything). Should i try making the deployfire index 1 or will I have to do something else?
|
|
|
05-23-2003, 08:25 PM
|
#10 (permalink)
|
|
Senior Member
Join Date: Dec 2002
Location: USA
Posts: 1,858
|
*sigh* newbies
look at the code for deploying units!
; DeployFire = This unit can fire when deployed. (def=no)
; DeployFireWeapon = Index of weapon to fire while deployed. 0 or 1. (def=1)
; DeployTime = time, in minutes, to deploy or undeploy [if this object can do so]
; UndeployDelay = The time it takes before a unit automatically undeploys. (def=-1)
; DeployToFire = The vehicle must deploy before it can fire (def=no)?
And for infantry the infantry sequesnce must have lines to tell which frames to use for deploying.
|
|
|
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 02:04 PM.
|