Mapping - random stuff

A Forum Thread for Counter-Strike: Source

Hey, you! We are one of the oldest mod sites on the Interwebs. Sign up and maximize your browsing experience.

  • Subscribe: Get notified of new submissions like this.
  • Say Thanks: Show your appreciation by sending UNREA1 points.
  • Post: Give UNREA1 your thoughts on this Thread.
  • Flag: Alert moderators and warn members of a problem with this Thread.
  • Watch: Get notified when this Thread is updated.
Mascot

Join the community!

Sign up

Already a Bananite? Login

Help me with my map!

Hey ppl. I need some help with a new map Im making. It will be a minigame and random things will happen every 10 secs. What I need is to create a way so those random things wont repeat. ok hum, imagine 3 doors (d1, d2, d3), after the maps spawns d2 opens randomly, and after that door opens I need to take out that case. how can I do this?

Posts

  • 8y
    Dr.iCe avatar
    Dr.iCe avatar Offline
    Member Joined 10y
    4,615 points Ranked 992nd
    16 medals 1 rare
    • 6 years a member Medal icon
    • Became a Studio Leader Medal icon
    • Became a Club Leader Medal icon
    • Reached 1,000 Points Medal icon
    • Reached 2,500 Points Medal icon
    • 1 post awarded Exemplary Feedback Medal icon
    Dr.iCe avatar
    Dr.iCe
    Level Design Expert
    Wait what?
    sry didnt understand the last part
    Common sense is not so common
  • 8y
    UNREA1 avatar
    UNREA1 avatar Offline
    Member Joined 10y
    49,060 points Ranked 78th
    39 medals 5 legendary 8 rare
    • 1st Place - Junkyard Mapping Contest Medal icon
    • 1st Place - Winter Wonderland Mapping Contest Medal icon
    • 1st Place - Winter Props/Prefabs Contest Medal icon
    • 1st Place - Beneath the Dust Mapping Contest Medal icon
    • Reached 100 subscribers Medal icon
    • 3rd Place - Comic Book Deathrun Mapping Contest Medal icon
    Posted by Dr.iCe

    Wait what?
    sry didnt understand the last part

    I have 3 doors. I want to make those doors open randomly so players wont know which one is opening. After one of those 3 opens I want to delete the one which happen to open and delete it from logic_case, so it wont be picked again.
    QWERTYUIOPASDFGHJKLZXCVBNM avatar
    Mantra
    QWERTYUIOPASDFGHJKLZXCVBNM
  • 8y
    Dr.iCe avatar
    Dr.iCe avatar Offline
    Member Joined 10y
    4,615 points Ranked 992nd
    16 medals 1 rare
    • 6 years a member Medal icon
    • Became a Studio Leader Medal icon
    • Became a Club Leader Medal icon
    • Reached 1,000 Points Medal icon
    • Reached 2,500 Points Medal icon
    • 1 post awarded Exemplary Feedback Medal icon
    Dr.iCe avatar
    Dr.iCe
    Level Design Expert
    Hmm, if i had hammer infront of me i could try some stuff :P
    try out some Inputs and Outputs (cant remember the name of the one disabling it), and trigger it or something...

    hopefully Lost or Crazypip will be to more assistance (i think they will respond to this thread :P), i cant help much now...
    Common sense is not so common
  • 8y
    UNREA1 avatar
    UNREA1 avatar Offline
    Member Joined 10y
    49,060 points Ranked 78th
    39 medals 5 legendary 8 rare
    • 1st Place - Junkyard Mapping Contest Medal icon
    • 1st Place - Winter Wonderland Mapping Contest Medal icon
    • 1st Place - Winter Props/Prefabs Contest Medal icon
    • 1st Place - Beneath the Dust Mapping Contest Medal icon
    • Reached 100 subscribers Medal icon
    • 3rd Place - Comic Book Deathrun Mapping Contest Medal icon
    Posted by Dr.iCe

    Hmm, if i had hammer infront of me i could try some stuff :P
    try out some Inputs and Outputs (cant remember the name of the one disabling it), and trigger it or something...

    hopefully Lost or Crazypip will be to more assistance (i think they will respond to this thread :P), i cant help much now...

    thanks for trying anyway ;D
    QWERTYUIOPASDFGHJKLZXCVBNM avatar
    Mantra
    QWERTYUIOPASDFGHJKLZXCVBNM
  • 8y
    Welshy avatar
    Welshy Offline
    Member Joined 10y
    1,700 points Ranked 2751st
    10 medals 1 rare
    • 6 years a member Medal icon
    • Reached 1,000 Points Medal icon
    • 1 post awarded Exemplary Feedback Medal icon
    • 5 posts awarded Exemplary Feedback Medal icon
    • 10 posts awarded Exemplary Feedback Medal icon
    • One month a member Medal icon
    Give me a minute, I'll see if I can figure it out.
    Edit: I would, but my SDK won't launch. D:
    You live 'til you die.
  • 8y
    X-tr3m3r avatar
    X-tr3m3r Offline
    Member Joined 10y
    55,840 points Ranked 64th
    19 medals 1 legendary 2 rare
    • 10 years a member Medal icon
    • 25 posts awarded Exemplary Feedback Medal icon
    • 6 years a member Medal icon
    • High Altitude Mapping Contest Entrant Medal icon
    • Reached 1,000 Points Medal icon
    • Reached 2,500 Points Medal icon
    There's "PickRandomShuffle" Intput for the logic_case entity, use that. It will choose the door to open randomly but won't repeat the same one until all the doors have been opened. So it would open them like: d1,d3,d2, d3,d1,d2, d2,d1,d3 etc while simple random could be like: d1,d2,d2,d3,d1,d1,d1,d3 etc
     avatar
    Mantra
  • 8y
    UNREA1 avatar
    UNREA1 avatar Offline
    Member Joined 10y
    49,060 points Ranked 78th
    39 medals 5 legendary 8 rare
    • 1st Place - Junkyard Mapping Contest Medal icon
    • 1st Place - Winter Wonderland Mapping Contest Medal icon
    • 1st Place - Winter Props/Prefabs Contest Medal icon
    • 1st Place - Beneath the Dust Mapping Contest Medal icon
    • Reached 100 subscribers Medal icon
    • 3rd Place - Comic Book Deathrun Mapping Contest Medal icon
    Posted by X-tr3m3r

    There's "PickRandomShuffle" Intput for the logic_case entity, use that. It will choose the door to open randomly but won't repeat the same one until all the doors have been opened. So it would open them like: d1,d3,d2, d3,d1,d2, d2,d1,d3 etc while simple random could be like: d1,d2,d2,d3,d1,d1,d1,d3 etc

    TY. I actually though of that but didnt risk. Ima try it.
    ty again.
    QWERTYUIOPASDFGHJKLZXCVBNM avatar
    Mantra
    QWERTYUIOPASDFGHJKLZXCVBNM
  • 8y
    UNREA1 avatar
    UNREA1 avatar Offline
    Member Joined 10y
    49,060 points Ranked 78th
    39 medals 5 legendary 8 rare
    • 1st Place - Junkyard Mapping Contest Medal icon
    • 1st Place - Winter Wonderland Mapping Contest Medal icon
    • 1st Place - Winter Props/Prefabs Contest Medal icon
    • 1st Place - Beneath the Dust Mapping Contest Medal icon
    • Reached 100 subscribers Medal icon
    • 3rd Place - Comic Book Deathrun Mapping Contest Medal icon
    Posted by X-tr3m3r

    There's "PickRandomShuffle" Intput for the logic_case entity, use that. It will choose the door to open randomly but won't repeat the same one until all the doors have been opened. So it would open them like: d1,d3,d2, d3,d1,d2, d2,d1,d3 etc while simple random could be like: d1,d2,d2,d3,d1,d1,d1,d3 etc

    hum. I did that but the doors keep on opening by the same order time after time. I tested it about 10+ times. :o
    also the sequence is always d1 - d2 - d3
    QWERTYUIOPASDFGHJKLZXCVBNM avatar
    Mantra
    QWERTYUIOPASDFGHJKLZXCVBNM
  • 8y
    X-tr3m3r avatar
    X-tr3m3r Offline
    Member Joined 10y
    55,840 points Ranked 64th
    19 medals 1 legendary 2 rare
    • 10 years a member Medal icon
    • 25 posts awarded Exemplary Feedback Medal icon
    • 6 years a member Medal icon
    • High Altitude Mapping Contest Entrant Medal icon
    • Reached 1,000 Points Medal icon
    • Reached 2,500 Points Medal icon
    You must be doing something wrong then.
    Are your entities structured like this?:

    Logic_timer
    "Output"
    OnTimer
    logic_case
    PickRandomShuffle

    Logic_Case
    "Output"
    OnCase01
    d1
    OpenDoor

    "Output"
    OnCase02
    d2
    OpenDoor

    "Output"
    OnCase03
    d3
    OpenDoor

     avatar
    Mantra
  • 8y
    UNREA1 avatar
    UNREA1 avatar Offline
    Member Joined 10y
    49,060 points Ranked 78th
    39 medals 5 legendary 8 rare
    • 1st Place - Junkyard Mapping Contest Medal icon
    • 1st Place - Winter Wonderland Mapping Contest Medal icon
    • 1st Place - Winter Props/Prefabs Contest Medal icon
    • 1st Place - Beneath the Dust Mapping Contest Medal icon
    • Reached 100 subscribers Medal icon
    • 3rd Place - Comic Book Deathrun Mapping Contest Medal icon
    Im using logic_auto. thats the only difence I see.
    QWERTYUIOPASDFGHJKLZXCVBNM avatar
    Mantra
    QWERTYUIOPASDFGHJKLZXCVBNM
  • 8y
    UNREA1 avatar
    UNREA1 avatar Offline
    Member Joined 10y
    49,060 points Ranked 78th
    39 medals 5 legendary 8 rare
    • 1st Place - Junkyard Mapping Contest Medal icon
    • 1st Place - Winter Wonderland Mapping Contest Medal icon
    • 1st Place - Winter Props/Prefabs Contest Medal icon
    • 1st Place - Beneath the Dust Mapping Contest Medal icon
    • Reached 100 subscribers Medal icon
    • 3rd Place - Comic Book Deathrun Mapping Contest Medal icon
    Thanks. I made it with logic_timer and worked. =D
    QWERTYUIOPASDFGHJKLZXCVBNM avatar
    Mantra
    QWERTYUIOPASDFGHJKLZXCVBNM
  • 8y
    TheBestt avatar
    TheBestt Offline
    Member Joined 8y
    122 points Ranked 24740th
    How Do You Make A Logic Timer Work Plz Give me Steps... this is a Nice IDEA!!
    The best,,,, duh

Share

Shareable Image:
Share banner
HTML embed code:
BB embed code:
Markdown embed code:

More embeddable images

Bookmark and Share

Submitter

UNREA1 avatar
UNREA1 avatar Offline
Member Joined 10y
49,060 points Ranked 78th
39 medals 5 legendary 8 rare
  • 1st Place - Junkyard Mapping Contest Medal icon
  • 1st Place - Winter Wonderland Mapping Contest Medal icon
  • 1st Place - Winter Props/Prefabs Contest Medal icon
  • 1st Place - Beneath the Dust Mapping Contest Medal icon
  • Reached 100 subscribers Medal icon
  • 3rd Place - Comic Book Deathrun Mapping Contest Medal icon

UNREA1 avatar
UNREA1
Sign up to access this!
Sign up to access this!
Sign up to access this!
Sign up to access this!

Category

Stats

Posts
12
Views
1,543
Date Added
8y
bcp.crwdcntrl.net tracking pixel