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 ?
0
Doors
Started By Tankinator, Oct 24 2011 17:29
2 replies to this topic
#1
Posted 24 October 2011 - 17:29
What is more dangerous than a Titan?
Two Titans.
Two Titans.
#2
Posted 03 January 2012 - 16:54
Necro , 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
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.
solution:
give a structure a weapon that uses the
FIREOCL to create a portable structure inside itself.
give this building a collision + size, tadaa
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.
#3
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 ?
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.
Two Titans.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users