Jump to content


Doors


2 replies to this topic

#1 Tankinator

    Visitor

  • Member
  • 28 posts
  • Projects: C&C General : Zero Hour : C&C3 Tiberian Incursion

Posted 24 October 2011 - 17:29

Is it possible to add a door building to the game ?
I have thinking about something using a building without size and an object garrison (open door = clear garrison weapon) with a size, but I don't know if an object witch is in an external garrison is considered for his dimensions... Do you know if it can work ?
Or perhaps somebody know an other way to create a door ?
What is more dangerous than a Titan?
Two Titans.

#2 pirate

    The friendly scourge of the seven seas

  • Project Leader
  • 1256 posts
  • Projects: GenerationX, Forgotten Fury, European Conflict and more

Posted 03 January 2012 - 16:54

Necro :P, I do have an solution, but there is a reason why you do not want to use doors and that I think you mean gates like in the old tib sun.

solution:

give a structure a weapon that uses the

FIREOCL to create a portable structure inside itself.
give this building a collision + size, tadaa :P
the building has to be deleted after some time (one second or smth) to OPEN the gate. this way the gate is open, but closes when enemies are near (which are not stealth)

The problem with this is, that because the original building has no size, it can be built on terrain ramps.
Because of the weapon new " buildings" will spawn on that spot, flattening the terrain. This way you will get holes in the terrain which looks awefull XD

but if you want to use them only in custom maps, it should be fine.
Proud leader of Forgotten Fury and co-leader of European Conflict

Posted Image
Posted Image
Posted Image
Posted Image

#3 Tankinator

    Visitor

  • Member
  • 28 posts
  • Projects: C&C General : Zero Hour : C&C3 Tiberian Incursion

Posted 16 January 2012 - 07:30

Thank you for your idea. I will try it later.
I Have also think about 2 buildings : an "opened gate" and a "closed gate". You can open the door, it will just destroy "closed door" with a special dying OCL that spam an "open door". But, I have a doubt : could an object created via an OCL use the same orientation as the spammer ?
What is more dangerous than a Titan?
Two Titans.



1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users