Forum

> > CS2D > General > need Help about triggers.
Forums overviewCS2D overviewGeneral overviewLog in to reply

English need Help about triggers.

9 replies
To the start Previous 1 Next To the start

old need Help about triggers.

REVOLUTiON
User Off Offline

Quote
Hi There!

Well..yeah... im needing some help regarding the triggers and stuff...
OK now, here my problem.........

I'm working on a RPG Map. and u know it has a weather thingy, now what im wanted to say is

How?
For example, i wanted to lets say... Day first and then after a few minutes (probably 1-2 minutes) and then It Rains, and then after a 1-2 minutes again it stops, and it goes night

How u do like that?

trigger_start>trigger_delay>trigger_weather,func_message
> trigger_start and so on?

Sorry if u cant understand because im not good at english so.............
=D
i mean wather rotation? is that possible ive seen in some maps but i couldnt do it


The 2nd Question:

I was going to make an earthQUake weather, and

i even tried these..

Trigger_start
Name:equake
Trigger:quake,quakedelay,quakemsg

Trigger_delay
Name:quakedelay
Trigger:quakehurt
Delay: 15 seconds

Trigger_hurt
name:quakehurt
trigger:none
Hurt/second: 10000

And there, even i do that (sry newb in mapppping) IT ALWAYS ACTIVATE ON START and hurt is always on!!
and how i do for example i want only earthquake for 10 seconds, how i do that? PLS HELP THE NEWB!!




And oh.....
3rd QUestion: (not related to mapping)
can u tell me the weapon dmg of each weapon? i want to map a RPG again with some weapon dmg changes =D

old Re: need Help about triggers.

sonnenschein
User Off Offline

Quote
REVOLUTiON has written
Hi There!

Well..yeah... im needing some help regarding the triggers and stuff...
OK now, here my problem.........

I'm working on a RPG Map. and u know it has a weather thingy, now what im wanted to say is

How?
For example, i wanted to lets say... Day first and then after a few minutes (probably 1-2 minutes) and then It Rains, and then after a 1-2 minutes again it stops, and it goes night

Like this

First make black picture in paint, then save it and put it in gfx.
After that, put "env_sprite" where you want your night, and press "Image File".
Select the name of the black image you made.
In the Name field type "night"
Then change transparency to what you want, maybe 0.6 or 0.4.
Put:

Trigger start
Name: *NOTHING*
Trigger: delay1

trigger_delay
Name: delay1
Trigger: rain,delay2
Delay (sec): 120

trigger_delay
Name: delay2
Trigger:rain,night,delay3
Delay (sec): 120

trigger_delay
Name:delay3
Trigger:night,delay1
Delay (sec): 120

gen_weather
Name: rain
Trigger: *NOTHING*
Weather type: Rain

old Re: need Help about triggers.

sonnenschein
User Off Offline

Quote
EDIT: OOOOPSSS

I made it wrong, sorry.

Like this

Trigger start
Name: *NOTHING*
Trigger: delay1,night add night at trigger start, and its fixed

trigger_delay
Name: delay1
Trigger: rain,delay2
Delay (sec): 120

trigger_delay
Name: delay2
Trigger:rain,night,delay3
Delay (sec): 120

trigger_delay
Name:delay3
Trigger:night,delay1
Delay (sec): 120

gen_weather
Name: rain
Trigger: *NOTHING*
Weather type: Rain

old Re: need Help about triggers.

sonnenschein
User Off Offline

Quote
I think I've made a thread about it. as i remember, its used for old cs2d maps.
ill search around for my post

EDIT: (i found DC's post about this with one click of my mouse, ya should look for the search function)
DC has written
cs2d max has a new rendering/drawing order for floors/walls/players/sprites/images. depending on the usage of env_sprite und env_image some old maps might look messed up due to the new rendering order of cs2d max. (tiles overlapping sprites/images etc.)

you only have to use this entity if you want to change the rendering order to the old rendering order of 0.1.0.4. ignore this entity if you don't have problems with the rendering order of sprites/images.

old Re: need Help about triggers.

REVOLUTiON
User Off Offline

Quote
Thanks again! but heres few questtion, pls help me, i know i ask many question but, please, Answer this one

How u use Info_botnode?

And Hers One,
Im making a "Zombie Scape" map, and im already Finished 99% so heres the 1% problem,\


How u do, for example, Hit the button and it show msg and triggers the delay, and, i use it but, people keep on spamming, how i make it ONCE only, and

When u get into the rescue, i make it says something msg bla bla bla, How do u make it once only?

old Re: need Help about triggers.

ohaz
User Off Offline

Quote
info_botnode just marks spots which are important so that bots walk there. Just to mark tactical attack spots or camp places (but I don't know if bots camp )
don't set bot nodes to map aims or spawn points!
To the start Previous 1 Next To the start
Log in to replyGeneral overviewCS2D overviewForums overview