joewijoyo
  • joewijoyo
  • 79.25% (Friendly)
  • Captain Topic Starter
11 years ago
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
Rrtaya_tsamsiyu
11 years ago
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
joewijoyo
  • joewijoyo
  • 79.25% (Friendly)
  • Captain Topic Starter
11 years ago
Well since nobody else got any ideas i guess that is my last resort.
klingondragon
11 years ago
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
joewijoyo
  • joewijoyo
  • 79.25% (Friendly)
  • Captain Topic Starter
11 years ago

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

Originally Posted by: klingondragon 



nononono please tell me whatever idea you have 😶.
I dont want to use defector since i want a vehicle to be captured from a hack
klingondragon
11 years ago
Then I would say copy lotus' capture building special power change it to vehicles and give it to hackers
joewijoyo
  • joewijoyo
  • 79.25% (Friendly)
  • Captain Topic Starter
11 years ago
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?
klingondragon
11 years ago
Change the referenced special power

SpecialPowerTemplate = SpecialAbilityBlackLotusCaptureBuilding
Change the actual power not that module which references it
joewijoyo
  • joewijoyo
  • 79.25% (Friendly)
  • Captain Topic Starter
11 years ago
SpecialPower SpecialAbilityBlackLotusCaptureBuilding
Enum = SPECIAL_BLACKLOTUS_CAPTURE_BUILDING
ReloadTime = 0 ; in milliseconds
PublicTimer = No
End

So does that reference bring me here to specialpower.ini?
Rrtaya_tsamsiyu
11 years ago
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
klingondragon
11 years ago
In that case defector is probably best
CommieDog
11 years ago
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
joewijoyo
  • joewijoyo
  • 79.25% (Friendly)
  • Captain Topic Starter
11 years ago
Hmm, ill try it on the binarydatastream first before a projectile and ill do it soon. quite busy now