Staredit Network > Forums > Modding Assistance > Topic: [Solved]Cloaking Generator
[Solved]Cloaking Generator
May 15 2011, 6:50 am
By: Drakiazuu  

May 15 2011, 6:50 am Drakiazuu Post #1



I'm trying to create a building that an SCV could build to create a cloaking field. However, it isn't working.

I took the Arbiter in DATEdit, took away its weapons, made it a terran unit, made it cloakable, made it a single entity, made it a building, changed its graphics to PSI emitter, made it a ground level unit, changed some sounds n such.

Then, in firegraft I changed its requirements to SCV, not building, science facility. Changed it to a building. Took away its button set. then under the exe edits, took it away from the uncloakable units list, and allowed buildings to be cloaked.

Hopped ingame, everything worked, except - It doesn't cloak the units around it. Help would be much appreciated!

Post has been edited 1 time(s), last time on May 18 2011, 2:21 am by Drakiazuu.



None.

May 16 2011, 6:27 am Hercanic Post #2

STF mod creator, Modcrafters.com admin, CampaignCreations.org staff

Any building or unit can have the Arbiter's cloaking field -- no need to use the Arbiter itself (save it for spells that the AI can use). To do so, look in Units.dat, go to the AI tab, and check out the Arbiter. It's the AI settings that make the cloak effect. Second thing you need is giving the unit/building a weapon. The range of the cloak field is actually based on its air weapon's range. Without a weapon, the cloaking range will effectively be 0. You can have the weapon do 0 damage, and can use the weapon icon that'll be displayed to maybe talk about the cloaking field (or, make the cloaking generator a minor anti-air building as well).




May 17 2011, 2:59 am Heinermann Post #3

SDE, BWAPI owner, hacker.

You can actually make the weapon not do anything at all.
This can be observed from the Independent Starport (Unused) weapon.
It's specified as a ground weapon, but the target flags for the weapon only indicate that it can attack air units.

You can probably change it to an Air Weapon but only allow it to target Ground.

There are probably other ways of disabling a weapon.




May 17 2011, 3:59 am Voyager7456 Post #4

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

Just giving it an attack animation full of waits would work.



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]


May 18 2011, 2:19 am Drakiazuu Post #5



Thank you very much guys! This was a ton of help ^^



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[05:00 pm]
lil-Inferno -- benis
[10:41 am]
v9bettel -- Nice
[01:39 am]
Ultraviolet -- no u elky skeleton guy, I'll use em better
[10:50 pm]
Vrael -- Ultraviolet
Ultraviolet shouted: How about you all send me your minerals instead of washing them into the gambling void? I'm saving up for a new name color and/or glow
hey cut it out I'm getting all the minerals
[10:11 pm]
Ultraviolet -- :P
[10:11 pm]
Ultraviolet -- How about you all send me your minerals instead of washing them into the gambling void? I'm saving up for a new name color and/or glow
[2024-4-17. : 11:50 pm]
O)FaRTy1billion[MM] -- nice, now i have more than enough
[2024-4-17. : 11:49 pm]
O)FaRTy1billion[MM] -- if i don't gamble them away first
[2024-4-17. : 11:49 pm]
O)FaRTy1billion[MM] -- o, due to a donation i now have enough minerals to send you minerals
[2024-4-17. : 3:26 am]
O)FaRTy1billion[MM] -- i have to ask for minerals first tho cuz i don't have enough to send
Please log in to shout.


Members Online: Vrael, lil-Inferno, jun3hong, Ultraviolet, Roy