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.
[01:19 pm]
Vrael -- IM GONNA MANUFACTURE SOME SPORTBALL EQUIPMENT WHERE THE SUN DONT SHINE BOY
[01:35 am]
Ultraviolet -- Vrael
Vrael shouted: NEED SOME SPORTBALL> WE GOT YOUR SPORTBALL EQUIPMENT MANUFACTURING
Gonna put deez sportballs in your mouth
[2024-5-01. : 1:24 pm]
Vrael -- NEED SOME SPORTBALL> WE GOT YOUR SPORTBALL EQUIPMENT MANUFACTURING
[2024-4-30. : 5:08 pm]
Oh_Man -- https://youtu.be/lGxUOgfmUCQ
[2024-4-30. : 7:43 am]
NudeRaider -- Vrael
Vrael shouted: if you're gonna link that shit at least link some quality shit: https://www.youtube.com/watch?v=uUV3KvnvT-w
Yeah I'm not a big fan of Westernhagen either, Fanta vier much better! But they didn't drop the lyrics that fit the situation. Farty: Ich bin wieder hier; nobody: in meinem Revier; Me: war nie wirklich weg
[2024-4-29. : 6:36 pm]
RIVE -- Nah, I'm still on Orange Box.
[2024-4-29. : 4:36 pm]
Oh_Man -- anyone play Outside the Box yet? it was a fun time
[2024-4-29. : 12:52 pm]
Vrael -- if you're gonna link that shit at least link some quality shit: https://www.youtube.com/watch?v=uUV3KvnvT-w
[2024-4-29. : 11:17 am]
Zycorax -- :wob:
[2024-4-27. : 9:38 pm]
NudeRaider -- Ultraviolet
Ultraviolet shouted: NudeRaider sing it brother
trust me, you don't wanna hear that. I defer that to the pros.
Please log in to shout.


Members Online: Roy