Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
Offline Nooboi  
#1 Posted : Sunday, June 5, 2022 8:18:29 AM(UTC)
Nooboi
Private
Joined: 10/22/2021(UTC)
Posts: 28

Thanks: 6 times
I wanted to make a EMP laser that if it shoots any tanks it get disabled but is this possible without the shell needed for the emp patriot missile and the sphere FX, for a shorter word im asking on how or what is the code for the EMP stun
Sponsor
Offline UTD^Force  
#2 Posted : Sunday, June 5, 2022 3:27:00 PM(UTC)
UTD^Force
Colonel
C&C Labs Staff: Labs Staff MemberMaps Staff: Maps Staff Member
Joined: 8/13/2013(UTC)
Posts: 817
Jordan
Location: Middle east

Thanks: 430 times
Was thanked: 184 time(s) in 168 post(s)
Do you mean that you want something like the Chinese ECM tank?
You can also make it an AoE disable if you edit the 'PrimaryDamageRadius' of the weapon.
If this isn't what you wanted, then please explain more.
Proud Muslim

UTD^Force

Moderator and former map reviewer
CnC Labs
thanks 1 user thanked UTD^Force for this useful post.
Nooboi on 6/20/2022(UTC)
Offline Nooboi  
#3 Posted : Sunday, June 5, 2022 11:46:24 PM(UTC)
Nooboi
Private
Joined: 10/22/2021(UTC)
Posts: 28

Thanks: 6 times
I did that but it can only shut the vehicle down and cant shoot the buildings and dont do damage>


I wanted like banshee (ECM Tank) but it can do damage to buildings and infantry not just disabling tanks and without the missile jammer


I like something like the Super Weapon General's EMP Patriot without the sphere effect and replacing the "shell" with a laser

Edited by user Sunday, June 5, 2022 11:48:38 PM(UTC)  | Reason: Not specified

Offline UTD^Force  
#4 Posted : Wednesday, June 8, 2022 12:43:43 PM(UTC)
UTD^Force
Colonel
C&C Labs Staff: Labs Staff MemberMaps Staff: Maps Staff Member
Joined: 8/13/2013(UTC)
Posts: 817
Jordan
Location: Middle east

Thanks: 430 times
Was thanked: 184 time(s) in 168 post(s)
Have you tried giving it a secondary weapon to let it damage buildings and tanks? Maybe some weapon with the same laser or an invisible one that deals damage while the other laser just cuts the power off?

The weapon that lets the ECM block missiles is fired separately in a behavior btw.
Proud Muslim

UTD^Force

Moderator and former map reviewer
CnC Labs
thanks 1 user thanked UTD^Force for this useful post.
Nooboi on 6/11/2022(UTC)
Offline Nooboi  
#5 Posted : Saturday, June 11, 2022 6:23:03 AM(UTC)
Nooboi
Private
Joined: 10/22/2021(UTC)
Posts: 28

Thanks: 6 times
but then if i add a secondary weapon theres a problem that the secondary dont fire is it because i had a model that can only shoot 1 weapon? i tried repeating the model of the primary attachments to the W3D model and repeating it but this time the primary is replaced a secondary but the problem is that the secondary dont work.
Offline UTD^Force  
#6 Posted : Sunday, June 12, 2022 10:24:09 AM(UTC)
UTD^Force
Colonel
C&C Labs Staff: Labs Staff MemberMaps Staff: Maps Staff Member
Joined: 8/13/2013(UTC)
Posts: 817
Jordan
Location: Middle east

Thanks: 430 times
Was thanked: 184 time(s) in 168 post(s)
Look into the scorpion tank's code, it has two weapons that both shoot the same target. Maybe that will help.

I don't think there's a problem if you use the same bone in the W3D model for multiple weapons.
Proud Muslim

UTD^Force

Moderator and former map reviewer
CnC Labs
Offline Nooboi  
#7 Posted : Monday, June 20, 2022 8:58:03 PM(UTC)
Nooboi
Private
Joined: 10/22/2021(UTC)
Posts: 28

Thanks: 6 times
ok so UH i realize on how EMPPATRIOT stun works now so its basically the OCL, i found it in the system.ini and i made another one but without the spheroid effect of it. also thanks for the Tips. Yeah theres no problem using the same bone on weapons its just that my custom unit isn't working properly.
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.