Page 1 of 1

Is this possible

Posted: 26 Sep 2006, 22:13
by [Kore]
Ok ive wanted to mod this game since i played it.
so i thought about Underground Units where they can go underground and sprout up and attack. so defences would be also needed like underground laser towers. attacking vehicles with drills on the front and underground radars and builders. underground units could be an advancement in the game in the next update. I was wondering how would i do this and is it possible. or can some one else do this or has it been done?

Posted: 26 Sep 2006, 22:21
by Guessmyname
At the moment, this is possible, theoretically, but it's not a good way of doing it and not nearly as easily done or well implemented as you want it (underground units basically being units whose models are low underground)

A problem inherent to all underground stuff is how you are supposed to see stuff underground

Posted: 26 Sep 2006, 22:22
by esteroth12
well... its possible... but it would look odd.

the way I see it:

you could scipt an on/off button. it starts off. when you turn it on, it digs to the bottom (anim and hide the whole model), and uses a "capacitor" (just a number inside the script). when the capacitor is out, it climbs back to the top and can't climb until it reacharges. HOWEVER! you cannot move the hitsphere via script... so i think it may be fired at... as someone with more scripting experience, ie Argh, Smoth (he was run down by idiot forum members, can't ask him now), Fanger, Caydr, etc.

or you could go to the script king, zwzsg ;)

e:and GMNs right about the seeing thing as well

Posted: 26 Sep 2006, 22:33
by rattle
The only solution to this would be to tie the hitsphere to the root object. Or make it armored (i.e. invincible) for the time underground but that just involves more problems... it would be the perfect tool to distract without taking damage.

Posted: 26 Sep 2006, 22:49
by [Kore]
So your saying that it will be hard to hit the object?

Posted: 26 Sep 2006, 22:53
by rattle
No, it can be hit even though it's underground and there's no way around that as far as I know.

Posted: 26 Sep 2006, 22:58
by [Kore]
so its therotically possible just no use?

Posted: 26 Sep 2006, 23:02
by rattle
Technically yes. Practically, questionable.

What you could do is move the unit half underground so it makes sense that it's targetable and looks cool (or not) at the same time.

On second thought, no that's retarded, just avoid unground units. :P

Posted: 26 Sep 2006, 23:05
by [Kore]
Ya

Posted: 26 Sep 2006, 23:49
by Caydr
What happens if it's underground and you, owning the unit, want to find it?

Posted: 27 Sep 2006, 00:07
by Fanger
clearly some work around would have to be made, given the unit would more than likely need to be both stealth and cloaked, and given those 2 a large "icon" could be shown while the unit is below ground allowing you to locate it, this "icon" would then hide when the unit surfaces to fire/attack/do whatever it does. This would allow you to locate it whilst it is underground..

Posted: 27 Sep 2006, 05:07
by SpikedHelmet
Would it be possible to make it so that while underground the unit is cloaked with 0 cloak radius (ie, it will never be discovered) so that it isn't fired upon?

Posted: 27 Sep 2006, 06:48
by Caydr
For sure. But it would still occupy pathfinding space and wouldn't really be undetectable in the same way as if it was actually underground.

Posted: 27 Sep 2006, 11:50
by KDR_11k
Category=subterran with all units that aren't subkillers or Extirpators having onlytargetcategory=nosubterran and the unit is a plane with negative cruisealt?

Posted: 27 Sep 2006, 13:24
by [Kore]
Ok so you could do what that guy posted is make it so it goes underground an an icon appears over the ground with an image of the vehicle underground. and when it comes out of the ground it can attack build stuff like that. but the problem is how would you get it underground? just make it fade unerground? make a hole in the ground? make a little ditch and say it went in there? or make a tunnel entrance in wich other underground units can go into. once its under there an icon pops up if something is underground.

Posted: 27 Sep 2006, 13:25
by KDR_11k
Make it emit dirt when it's moving so it looks like it's digging in when it starts moving. Ever played Perimeter?

Posted: 27 Sep 2006, 22:01
by [Kore]
nope but first is first i sorta know how to make models but making the scripts i dont know making terrain / skins / anything sort of desighn i do my best and i do good.