Staredit Network > Forums > Modding Assistance > Topic: Problem with defences
Problem with defences
Dec 4 2010, 5:59 pm
By: assasing123  

Dec 4 2010, 5:59 pm assasing123 Post #1



so i made a mod where the automatic defences from instalations can be build, however i have a little issue, when i order an scv to build them, it instantly takes the mineral and once it starts building them again it takes mineral, also there is no build animation, after checking i noticed those turrets are considered units so i changed their flag to building, that fixed the no animation issue and the double pay issue, but gave me the problem that as soon the defence is finished building, the game crashes, ideas?



None.

Dec 4 2010, 9:04 pm Sand Wraith Post #2



You're better off modding an existing building to mimic the Turrets.

E.g. take a Supply Depot, change its building animation, its stats, and have it use the Turret's GRP.

You might want to link the Depot (or other standard building) with its default iscript and then copy/paste the relevant idle and attack animations from the Turret, while modifying the building animation to fit the turret (i.e. use the building frame GRP that the T Missile Turret uses, instead of the default Supply Depot under-construction graphic, because of size issues).

You will also have to give it the relevant buttons (and probably AI actions; I would copy these from the Photon Cannon).




Dec 5 2010, 10:50 pm Voyager7456 Post #3

Responsible for my own happiness? I can't even be responsible for my own breakfast

You need to modify the Floor Gun's iscript. Look at the iscript for some of the regular buildings. I don't believe it has the correct init/almost built animations... not 100% positive since the last time I edited the Floor Gun was for SCFC... 5+ years ago? In any case, the answer is in the iscript. You should be able to figure it out.



all i am is a contrary canary
but i'm crazy for you
i watched you cradling a tissue box
sneezing and sniffling, you were still a fox


Modding Resources: The Necromodicon [WIP] | Mod Night
My Projects: SCFC | ARAI | Excision [WIP] | SCFC2 [BETA] | Robots vs. Humans | Leviathan Wakes [BETA]


Apr 11 2013, 5:08 am assasing123 Post #4



did modify the iscript but it would keep crashing once it tried to attack and in other momments, decided to leave it as unit and just add a note to my mod until someone comes up with a solution.



None.

Apr 11 2013, 2:07 pm Voyager7456 Post #5

Responsible for my own happiness? I can't even be responsible for my own breakfast

Would you mind posting your iscript?



all i am is a contrary canary
but i'm crazy for you
i watched you cradling a tissue box
sneezing and sniffling, you were still a fox


Modding Resources: The Necromodicon [WIP] | Mod Night
My Projects: SCFC | ARAI | Excision [WIP] | SCFC2 [BETA] | Robots vs. Humans | Leviathan Wakes [BETA]


Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[2026-9-14. : 3:21 pm]
Oh_Man -- Racoon City Remastered*
[2026-9-14. : 3:21 pm]
Oh_Man -- Join the front line SEN, DEFEND MANKIND. 2030 is just a number! https://scmscx.com/map/2fHHj96p
[2026-9-14. : 3:21 pm]
Oh_Man -- from the maker of the legendary Architect RPG, the peerless Racoon City, the capitvating One Piercing Note, comes another creation minutes in the making
[2026-9-14. : 11:15 am]
Oh_Man -- heh heh thanks for the minerals suckers, now it's time to quit while i'm ahead
[2026-9-14. : 1:01 am]
Oh_Man -- Heroes of the Storm literally died and was revived before we got next SC game. Wb Loveless, u cooking any UMS for us?
[2026-9-13. : 11:35 pm]
LoveLess -- getting diablo 5 and wow 4 before starcraft ghost
[2026-9-13. : 9:22 pm]
RIVE -- To be fair, I used to post custom emotes back when I still used the forums.
[2026-9-13. : 12:54 pm]
l)ark_ssj9kevin -- RIVE
RIVE shouted: 💯
holy shit did you just use an emoji on SEN that feels illegal 🍆
[2026-9-13. : 10:24 am]
Moose -- Heinermann
Heinermann shouted: new era of SC and it's just some shooter they're gonna cancel before 2030
StarCraft 2: Ghost 2, The Reghostening
[2026-9-13. : 3:38 am]
Symmetry -- :wob:
Please log in to shout.


Members Online: lil-Inferno, Zoan, City