Hard Light Productions Forums

Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: DarthWang on April 11, 2011, 09:53:45 pm

Title: Holographic ships
Post by: DarthWang on April 11, 2011, 09:53:45 pm
Would it be possible to make holographic/illusory ships? What I mean is that they look and appear real in the mission, and you can target them and everything, and they fire weapons, but the weapons don't do any damage, and other weapons and ships pass right through them (no collision detection).

Like I was thinking of a mission where one side is up against a superior force, but they use holograms/sensor hacking to create a fleet of illusionary ships on their side to scare the other side away.
Title: Re: Holographic ships
Post by: Retsof on April 11, 2011, 09:57:18 pm
Copy the ship's tbl entry and add the "nocollide" flag (you may want to look that up, I'm not sure if I have it right).  Copy the weapon tbl entries and give them 0 damage.
Title: Re: Holographic ships
Post by: mjn.mixael on April 11, 2011, 09:59:08 pm
Just like that episode of Star Trek: Voyager!
Title: Re: Holographic ships
Post by: ssmit132 on April 11, 2011, 10:29:00 pm
Wasn't there a campaign that had something similar? They projected holograms of large ships as decoys for the Shivan fleet, but to explain why the player could still collide with them they said something about collision detection systems.

Was it Second Front?
Title: Re: Holographic ships
Post by: headdie on April 12, 2011, 03:36:21 am
as stated you are probably best  duplicating the ship in the table adding "no_collide" flag.  you will also want to duplicate the weapons for the ship and set the damage to 0
Title: Re: Holographic ships
Post by: Pred the Penguin on April 12, 2011, 06:44:22 am
Just like that episode of Star Trek: Voyager!
Appears a lot in books, too...
Title: Re: Holographic ships
Post by: Spoon on April 12, 2011, 11:05:55 am
Just like that episode of Star Trek: Voyager!
Appears a lot in books, too...
Who reads books anyway?
Title: Re: Holographic ships
Post by: PeterX on April 12, 2011, 11:17:41 am
Copy the ship's tbl entry and add the "nocollide" flag (you may want to look that up, I'm not sure if I have it right).  Copy the weapon tbl entries and give them 0 damage.
Name the new entry as the shipsclass name and ghost as suffix like SF Basilisk_Ghost and insert them to the tbl or make a tbm for it.
Peter
Title: Re: Holographic ships
Post by: The E on April 12, 2011, 12:33:59 pm
Except the new name should be SF Basilisk#Ghost. Everything after and including the "#" will not show up on the HUD ingame.
Title: Re: Holographic ships
Post by: Luis Dias on April 12, 2011, 02:16:13 pm
In "Childhood's End", Clarke uses the holographic ploy to convince humans they are overwhelmed by a fleet of alien ships hovering their major cities. Only when the psychological effect is no longer required (many years later), this deception is stopped.
Title: Re: Holographic ships
Post by: DarthWang on April 12, 2011, 10:36:22 pm
Thanks guys
Title: Re: Holographic ships
Post by: -Sara- on April 13, 2011, 07:22:51 pm
You can even use glowmaps to give it an interesting appearance of glowing or shimmering.
Title: Re: Holographic ships
Post by: Liberator on April 13, 2011, 08:18:44 pm
Just like that episode of Star Trek: Voyager!
Didn't work so good then either... ;)
Title: Re: Holographic ships
Post by: Kusanagi on April 16, 2011, 02:13:16 am
Could work very well for the Homeworld mods.