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

We do a little trolling

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



My Projects:

Impossible Ultraviolet | Impossible UV 2 | Impossible UV 3
Mercenaries 2020 | Mercenaries III
Squad Defense

Legacy Projects (No guarantee of functionality in modern SC):

Pixel Adventure 2 | Space Snipers | Control the Ball

______________________________________________

Join me in Torn City

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.
[11:36 pm]
Heinermann -- Starcraft code was backported to wc2
[06:17 pm]
Vrael -- wc2 bnet actually came out after starcraft if I recall so its possible it didnt
[06:15 pm]
Vrael -- guess I shouldnt have stated it so strongly as "copied off" since im not completely sure
[06:15 pm]
Vrael -- I dont know the exact timeline because I was pretty young at the time, but wc2 predates starcraft so I'd imagine that map came out before AoS
[02:05 pm]
Zoan -- Broodwars AoS wasn't made first?
[01:20 pm]
Vrael -- but thats a similar order of magnitude in difference between AoS and DOTA in my opinion
[01:20 pm]
Vrael -- Oh_Man
Oh_Man shouted: i would always correct ppl who said dota started the genre, no starcraft did it first with Aos, but as far as i'm aware there's never been any proof DOTA copied AoS or the creator knew about AoS
plus AoS copied off the earlier equivalent from Warcraft II, only big difference was there wasn't continuous spawns
[12:46 pm]
Zoan -- I've always thought that like KOTK would be a banger standalone game / spawn a new genre. It's already kinda just like Dynasty Warriros mixed with Outer Wilds.
[09:44 am]
NimoStar -- Also people were transitioning from Brood War battlenet Use Map Settings, to WC3 battlenet custom maps (even same company)
[09:43 am]
NimoStar -- Of course they know, it's not only the same concept it's also the same map layout and everything
Please log in to shout.


Members Online: Heinermann, Zergy