Jump to content

Recommended Posts

Good day to all

i am working on special power to spawn shredder turrets like scrin lighting spike but i have a problem that the turrets not spawned all but the hub

the question is how to spawn it like they building it at the building queue

i hope someone know this problem and has its fix

Share this post


Link to post

I never tried spawn structure that way but assuming you can use some code that let you to "build" the structure rather than spawn in on the summon point, it may be possible (it should be since there's unit ability that does it but I never tried it as Support power)

If you want you can just make new xml for the shredders, remove the slave code that make it attach to the hub, and set your support power to spawn all three instead

Share this post


Link to post

good day to all

thanks for your reply i make the obelisk of light and it works fine and i make new xml for the turrets but there is a lot of options in ocl .

and this is what you mean?

<CompositeStructureInfoModule
        id="ModuleTag_CompositeStructureInfoModule"
        ThingTemplate="NODShredderTurretSP"
        Count="3"
                BuildableDistance="200">
          <ConnectionShadowInfo
        Type="ALPHA_DECAL_DYNAMIC"
        Texture="wire"
        AdditionalTexture=""
        SizeX="256"
        SizeY="32"
        OffsetX="0"
        OffsetY="0"
        OpacityStart="0"
        OpacityFadeInTime="3s"
        OpacityPeak="1"
        OpacityFadeOutTime="3s"
        OpacityEnd="0"
        MaxHeight="20"
        SunAngle="0"
        OverrideLODVisibility="True"
        UseHouseColor="False"
        IsRotatingWithObject="True"
        LocalPlayerOnly="False" />
    </CompositeStructureInfoModule>
    <GatherSlavesUpdate
        id="ModuleTag_GatherSlaves"
                SlaveTemplate="NODShredderTurretSP"
        Radius="500"
        Amount="3" />

i tried to remove it but i don't know how to make the sp spell the 3 turrets

Edited by KARIM2008

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×