Staredit Network > Forums > Modding Discussion > Topic: Mind Control / Optical Flare targets can't be changed?
Mind Control / Optical Flare targets can't be changed?
Jun 14 2020, 11:08 am
By: IlyaSnopchenko  

Jun 14 2020, 11:08 am IlyaSnopchenko Post #1

The Curious

Greetings!

I have a problem when making my mod, as it appears that changing which types of units are affected by mind control by editing its properties in weapons.dat is not working. The same is apparently true for optical flare (and God only knows what other spells too, though I know Lockdown targets CAN be changed this way).

Anyone can tell me if it's true, or I'm just doing something stupid? And are there ways around that if it's really the game, not me? :)



Trial and error... mostly error.

Jun 16 2020, 8:40 pm Voyager7456 Post #2

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

The targeting for those spells is hardcoded. You'll need a plugin.



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]


Jun 16 2020, 9:00 pm IlyaSnopchenko Post #3

The Curious

Thanks, and lemme guess - there's none for 1.20+ :)



Trial and error... mostly error.

Jun 17 2020, 12:11 am Ultraviolet Post #4



The wonderful world of modding SC: Remastered :P I'm much happier (although more limited) over here in EUD-land.




Jun 17 2020, 5:55 am IlyaSnopchenko Post #5

The Curious

It's no big deal for me, and I'll find a way around. After all, what we have now is already a lot more than I've ever dreamed about during the first mapmaking run, 15+ years ago. :)



Trial and error... mostly error.

Jun 19 2020, 8:59 am IlyaSnopchenko Post #6

The Curious

SOLVED thanks to Neiv's advice (who else can come to the rescue when a technical issue is brought up?)



Trial and error... mostly error.

Jun 19 2020, 10:59 am Neiv Post #7



(The solution was to enable weapon targeting flag in orders.dat. I'm surprised it even works with Mind Control due to it being hardcoded differently from other spells, but guess that at least some part of the code which checks those flags also is run for MC)



None.

Jun 19 2020, 11:10 am IlyaSnopchenko Post #8

The Curious

Yeah, it works entirely as I envisioned. Neiv, I just finished testing it and there are no hiccups, the robotic units are now untargetable by MC while all others work like a charm (pardon the pun). So you have my thanks again.

Post has been edited 1 time(s), last time on Jun 19 2020, 11:42 am by IlyaSnopchenko.



Trial and error... mostly error.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[07:46 am]
RIVE -- :wob:
[2024-4-22. : 6:48 pm]
Ultraviolet -- :wob:
[2024-4-21. : 1:32 pm]
Oh_Man -- I will
[2024-4-20. : 11:29 pm]
Zoan -- Oh_Man
Oh_Man shouted: yeah i'm tryin to go through all the greatest hits and get the runs up on youtube so my senile ass can appreciate them more readily
You should do my Delirus map too; it's a little cocky to say but I still think it's actually just a good game lol
[2024-4-20. : 8:20 pm]
Ultraviolet -- Goons were functioning like stalkers, I think a valk was made into a banshee, all sorts of cool shit
[2024-4-20. : 8:20 pm]
Ultraviolet -- Oh wait, no I saw something else. It was more melee style, and guys were doing warpgate shit and morphing lings into banelings (Infested terran graphics)
[2024-4-20. : 8:18 pm]
Ultraviolet -- Oh_Man
Oh_Man shouted: lol SC2 in SC1: https://youtu.be/pChWu_eRQZI
oh ya I saw that when Armo posted it on Discord, pretty crazy
[2024-4-20. : 8:09 pm]
Vrael -- thats less than half of what I thought I'd need, better figure out how to open SCMDraft on windows 11
[2024-4-20. : 8:09 pm]
Vrael -- woo baby talk about a time crunch
[2024-4-20. : 8:08 pm]
Vrael -- Oh_Man
Oh_Man shouted: yeah i'm tryin to go through all the greatest hits and get the runs up on youtube so my senile ass can appreciate them more readily
so that gives me approximately 27 more years to finish tenebrous before you get to it?
Please log in to shout.


Members Online: MetalGear, Roy, jjf28, lil-Inferno