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

Notification

Icon
Error

Options
Go to last post Go to first unread
Offline joewijoyo  
#1 Posted : Wednesday, August 20, 2014 10:09:49 PM(UTC)
joewijoyo
Captain
Joined: 4/25/2010(UTC)
Posts: 84

Thanks: 2 times
Hi guys, could anyone possibly know how to make hackers capture vehicles instead of disabling them?
The only moduletag I know of that converts a vehicle to your faction's is in all hijacker's code but that requires someone to go in/collide with a vehicle. Will this work with the binarydatastream of hackers? or does anyone know of another way?
Sponsor
Offline Rrtaya_tsamsiyu  
#2 Posted : Thursday, August 21, 2014 5:11:07 AM(UTC)
Rrtaya_tsamsiyu
Colonel
Joined: 5/8/2012(UTC)
Posts: 615
United States
Location: USA, Tennessee, Home, Livingroom, couch.

Thanks: 102 times
Was thanked: 194 time(s) in 139 post(s)
i think the best way would be to use the defector special power that was never used in the game. But it would have an instant effect, so the enemy team wouldn't be able to defend it's unit. Also seems it would be really over powered, unless you could only build one guy with that power. i think the defector power can be limited to vehicles, not sure.
one soul at a time
Offline joewijoyo  
#3 Posted : Friday, August 22, 2014 12:59:49 AM(UTC)
joewijoyo
Captain
Joined: 4/25/2010(UTC)
Posts: 84

Thanks: 2 times
Well since nobody else got any ideas i guess that is my last resort.
Offline klingondragon  
#4 Posted : Friday, August 22, 2014 2:27:50 AM(UTC)
klingondragon
General
C&C Labs Staff: Labs Staff MemberMaps Staff: Maps Staff Member
Joined: 4/10/2014(UTC)
Posts: 1,591
United Kingdom
Location: Laniakea; Virgo Supercluster; Local Sheet; Local Group; Milky Way Galaxy; Orion–Cygnus Arm; Gould Belt; Local Bubble; Local Interstellar Cloud; Sol System; Sol III; Europe; United Kingdom of Great Britain and Northen Ireland; Great Britain; England; Essex

Thanks: 16 times
Was thanked: 247 time(s) in 217 post(s)
I had a look at the coding for black lotus' special powers and i think you may be able to modify the capture building or disable vehicle one to capture vehicles buti think defector could be better
Offline joewijoyo  
#5 Posted : Friday, August 22, 2014 2:51:59 AM(UTC)
joewijoyo
Captain
Joined: 4/25/2010(UTC)
Posts: 84

Thanks: 2 times
Originally Posted by: klingondragon Go to Quoted Post
I had a look at the coding for black lotus' special powers and i think you may be able to modify the capture building or disable vehicle one to capture vehicles buti think defector could be better


nononono please tell me whatever idea you have :X.
I dont want to use defector since i want a vehicle to be captured from a hack
Offline klingondragon  
#6 Posted : Friday, August 22, 2014 3:25:45 AM(UTC)
klingondragon
General
C&C Labs Staff: Labs Staff MemberMaps Staff: Maps Staff Member
Joined: 4/10/2014(UTC)
Posts: 1,591
United Kingdom
Location: Laniakea; Virgo Supercluster; Local Sheet; Local Group; Milky Way Galaxy; Orion–Cygnus Arm; Gould Belt; Local Bubble; Local Interstellar Cloud; Sol System; Sol III; Europe; United Kingdom of Great Britain and Northen Ireland; Great Britain; England; Essex

Thanks: 16 times
Was thanked: 247 time(s) in 217 post(s)
Then I would say copy lotus' capture building special power change it to vehicles and give it to hackers
Offline joewijoyo  
#7 Posted : Friday, August 22, 2014 6:11:53 AM(UTC)
joewijoyo
Captain
Joined: 4/25/2010(UTC)
Posts: 84

Thanks: 2 times
Heres the lotus capture code:
Behavior = SpecialAbilityUpdate ModuleTag_09
SpecialPowerTemplate = SpecialAbilityBlackLotusCaptureBuilding
StartAbilityRange = 150.0
UnpackTime = 6730 ;animation time is 6730 (changing this will scale anim speed)
PackTime = 2800 ;animation time is 5800 (changing this will scale anim speed)
PreparationTime = 4500 ;time to complete hack once prepared (unpacked)
SpecialObject = BinaryDataStream
DoCaptureFX = Yes
PackSound = BlackLotusPack
UnpackSound = BlackLotusUnpack
TriggerSound = BlackLotusTrigger
PrepSoundLoop = BlackLotusPrepLoop
AwardXPForTriggering = 20
;SkillPointsForTriggering = ??? -- Dustin, fill me out if you want different balance values.
End

how do you want me to change it so it captures vehicles?
Offline klingondragon  
#8 Posted : Friday, August 22, 2014 6:39:49 AM(UTC)
klingondragon
General
C&C Labs Staff: Labs Staff MemberMaps Staff: Maps Staff Member
Joined: 4/10/2014(UTC)
Posts: 1,591
United Kingdom
Location: Laniakea; Virgo Supercluster; Local Sheet; Local Group; Milky Way Galaxy; Orion–Cygnus Arm; Gould Belt; Local Bubble; Local Interstellar Cloud; Sol System; Sol III; Europe; United Kingdom of Great Britain and Northen Ireland; Great Britain; England; Essex

Thanks: 16 times
Was thanked: 247 time(s) in 217 post(s)
Change the referenced special power
Code:

SpecialPowerTemplate = SpecialAbilityBlackLotusCaptureBuilding

Change the actual power not that module which references it
Offline joewijoyo  
#9 Posted : Friday, August 22, 2014 5:45:38 PM(UTC)
joewijoyo
Captain
Joined: 4/25/2010(UTC)
Posts: 84

Thanks: 2 times
SpecialPower SpecialAbilityBlackLotusCaptureBuilding
Enum = SPECIAL_BLACKLOTUS_CAPTURE_BUILDING
ReloadTime = 0 ; in milliseconds
PublicTimer = No
End

So does that reference bring me here to specialpower.ini?
Offline Rrtaya_tsamsiyu  
#10 Posted : Friday, August 22, 2014 8:49:32 PM(UTC)
Rrtaya_tsamsiyu
Colonel
Joined: 5/8/2012(UTC)
Posts: 615
United States
Location: USA, Tennessee, Home, Livingroom, couch.

Thanks: 102 times
Was thanked: 194 time(s) in 139 post(s)
Oh, just remembered; the reason i didn't advise the capture ability is because for something to be captureable it would need CAPTURABLE in it's KINDOF list. It would work if you modded all the vehicle's kindof list, but otherwise it won't.

Using capture would also mean anything with a capture ability could capture vehicles, which would actually be sorta cool. Would make it to where if a bunch of infantry swarmed a tank, they might be able to capture it before it killed them all lol.
one soul at a time
thanks 1 user thanked Rrtaya_tsamsiyu for this useful post.
Gameanater on 8/23/2014(UTC)
Offline klingondragon  
#11 Posted : Saturday, August 23, 2014 1:06:49 AM(UTC)
klingondragon
General
C&C Labs Staff: Labs Staff MemberMaps Staff: Maps Staff Member
Joined: 4/10/2014(UTC)
Posts: 1,591
United Kingdom
Location: Laniakea; Virgo Supercluster; Local Sheet; Local Group; Milky Way Galaxy; Orion–Cygnus Arm; Gould Belt; Local Bubble; Local Interstellar Cloud; Sol System; Sol III; Europe; United Kingdom of Great Britain and Northen Ireland; Great Britain; England; Essex

Thanks: 16 times
Was thanked: 247 time(s) in 217 post(s)
In that case defector is probably best
Offline CommieDog  
#12 Posted : Saturday, August 23, 2014 9:54:43 AM(UTC)
CommieDog
Administrator
C&C Labs Staff: Labs Staff MemberThe Forgotten Staff: The Forgotten StaffRed Alert Staff: Red Alert Staff MemberAll Stars Staff: All Stars Staff
Joined: 8/3/2003(UTC)
Posts: 3,086
United States

Thanks: 445 times
Was thanked: 186 time(s) in 130 post(s)
You might be able to code a weapon with a projectile that captures the vehicle it collides with.
UserPostedImage
CommieDog: Because someone has to do your dirty work for you
thanks 2 users thanked CommieDog for this useful post.
precision_bomber on 8/23/2014(UTC), Gameanater on 8/23/2014(UTC)
Offline joewijoyo  
#13 Posted : Sunday, August 24, 2014 4:33:43 AM(UTC)
joewijoyo
Captain
Joined: 4/25/2010(UTC)
Posts: 84

Thanks: 2 times
Hmm, ill try it on the binarydatastream first before a projectile and ill do it soon. quite busy now
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.