Is this possible

Is this possible

Discuss game development here, from a distinct game project to an accessible third-party mutator, down to the interaction and design of individual units if you like.

Moderator: Moderators

Post Reply
User avatar
[Kore]
Posts: 12
Joined: 26 Sep 2006, 02:45

Is this possible

Post 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?
User avatar
Guessmyname
Posts: 3301
Joined: 28 Apr 2005, 21:07

Post 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
esteroth12
Posts: 501
Joined: 18 May 2006, 21:19

Post 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
User avatar
rattle
Damned Developer
Posts: 8278
Joined: 01 Jun 2006, 13:15

Post 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.
User avatar
[Kore]
Posts: 12
Joined: 26 Sep 2006, 02:45

Post by [Kore] »

So your saying that it will be hard to hit the object?
User avatar
rattle
Damned Developer
Posts: 8278
Joined: 01 Jun 2006, 13:15

Post by rattle »

No, it can be hit even though it's underground and there's no way around that as far as I know.
User avatar
[Kore]
Posts: 12
Joined: 26 Sep 2006, 02:45

Post by [Kore] »

so its therotically possible just no use?
User avatar
rattle
Damned Developer
Posts: 8278
Joined: 01 Jun 2006, 13:15

Post 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
User avatar
[Kore]
Posts: 12
Joined: 26 Sep 2006, 02:45

Post by [Kore] »

Ya
User avatar
Caydr
Omnidouche
Posts: 7179
Joined: 16 Oct 2004, 19:40

Post by Caydr »

What happens if it's underground and you, owning the unit, want to find it?
User avatar
Fanger
Expand & Exterminate Developer
Posts: 1509
Joined: 22 Nov 2005, 22:58

Post 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..
SpikedHelmet
MC: Legacy & Spring 1944 Developer
Posts: 1948
Joined: 21 Sep 2004, 08:25

Post 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?
User avatar
Caydr
Omnidouche
Posts: 7179
Joined: 16 Oct 2004, 19:40

Post 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.
User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

Post 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?
User avatar
[Kore]
Posts: 12
Joined: 26 Sep 2006, 02:45

Post 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.
User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

Post 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?
User avatar
[Kore]
Posts: 12
Joined: 26 Sep 2006, 02:45

Post 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.
Post Reply

Return to “Game Development”