Forum

> > CS2D > Maps/Editor > I need editing advice
Forums overviewCS2D overview Maps/Editor overviewLog in to reply

English I need editing advice

5 replies
To the start Previous 1 Next To the start

old I need editing advice

CrazyPenguin
User Off Offline

Quote
I am building a map and here is where I am stuck on if someone can help me

1) How do you build multiple floor levels going up and down, do I need to build everything in a single map or can I load between multiple maps ?

2) How do I expand map size without starting a new one ? I started on a small map size and I realized that I need more space. I will also need this for question number 1 if I had to build more on the current map to have floor levels

3) How do I trigger Turrets to spawn when a button is pressed ? Because they already spawn and when the button is pressed they get destroyed and respawn again

old Re: I need editing advice

Apache uwu
User Off Offline

Quote
1) You need to build everything in a single map. Use teleporters and separate the rooms far enough so you don't see them from other parts of the map.

2) Click on the Wrench IMG:https://i.imgur.com/OFSPf5Z.png
then set a larger size IMG:https://i.imgur.com/jegNL7z.png


3) Add a trigger_start and trigger the turret. Now the turret will be destroyed when the map loads, and your button will spawn the turret.

old Re: I need editing advice

CrazyPenguin
User Off Offline

Quote
about the 3rd one

I already tried that added a trigger start and wrote on trigger the name of the turret example "turret1" then placed a turret and named it "turret1" now these 2 are linked. Then placed a button and in trigger I wrote the name of the turret as well "turret1" but the turret still spawns and the button is the one that destroys him.

The start trigger works for everything else for example effects to not start until they are triggered

here are the screenshots

IMG:https://i.imgur.com/Y5nwd9s.jpg


IMG:https://i.imgur.com/userCuv.jpg
edited 2×, last 21.12.17 08:48:16 am

old Re: I need editing advice

EngiN33R
Moderator Off Offline

Quote
It seems as though trigger_start fires before the turret gets a chance to spawn and doesn't behave as expected. Instead, create a trigger_start that triggers
turret1d
and a trigger_delay called
turret1d
that triggers
turret1
with a 0.1 second delay. This should result in expected behaviour.

old Re: I need editing advice

CrazyPenguin
User Off Offline

Quote
this worked perfectly I can spawn in and out turrets with a button now

Thanks

sorry to bother you but a unusual problem has occurred in my map, my portal gun does not place portal holes on metal flooring inside, it only places portal holes on dirt outside, I did cover the floors with building restriction entity

Do you know what is going on here because it worked when I started building the map but at the end of the day portal holes suddenly could not be placed on any type of metal floor


EDIT: Portal problem fixed
edited 2×, last 24.12.17 10:05:21 am

old Re: I need editing advice

crazy junkman Wolfgang
User Off Offline

Quote
@user CrazyPenguin: Portals indeed cant be placed on metal floors, its just how game works.
And id like to return to your previous problem, its not that @user EngiN33R: give bad solution, but there are others aswell, if your turret is far away enough to not be seen from spawn, you can place trigger_move and destroy turret that way (just be sure that its either conected to "once" entity or that trigger shut down itself) - thats how i do it sometimes in my maps.
To the start Previous 1 Next To the start
Log in to reply Maps/Editor overviewCS2D overviewForums overview