need help for mapchanger

Discussion in 'Mapping Questions & Discussion' started by allolaplanete, Aug 2, 2009.

  1. allolaplanete

    allolaplanete L1: Registered

    Messages:
    7
    Positive Ratings:
    0
    Hi guys
    I was just wondering if one of you have any idea on how to make a map with several doors, each door represent a map (dustbowl, gravel pit, junction, hoodoo, etc....) and have a picture of the map over the door. Players have to break the door by hitting it, and than run into something that is gonna load the correct map.

    So is there a trigger of some sort that i can do to make my server change to the right map, lets say im gonna put around 30 different choice of maps in that map.

    I don't know if it's clear and easy to understand?
    And here is the other thing, is there a way to make that map and than just change the maps an easier way, lets say in a text file of some sort (like the trigger active load map1.txt and in map1.txt i put the name of the map i want) so i don't have to decompilate, make the changes and then recompilate again.

    thanks in advance for any help

    P.S. don't go too detailed in your reply, i'm not a mapper but i have someone who is gonna do the map for me, we just need help to know how to change the maps the easiest way.
     
    Last edited: Aug 2, 2009
  2. Cameron:D

    Cameron:D L6: Sharp Member

    Messages:
    363
    Positive Ratings:
    145
    This sounds confusing....
    You may be able to use point_servercommand and send changelevel <mapname>
    But you would be better off doing it as a SM plugin I think.
     
  3. Cerious

    Cerious L7: Fancy Member

    Messages:
    455
    Positive Ratings:
    133
    So you basically want to copy Axl's server?
     
  4. allolaplanete

    allolaplanete L1: Registered

    Messages:
    7
    Positive Ratings:
    0
    cameron : how would you do it by sourcemod plugin?

    cerious : i don't know about axl but yeah i saw that kind of map on another server before
    must be axl so yeah i would like to make the same thing
     
    Last edited: Aug 2, 2009
  5. allolaplanete

    allolaplanete L1: Registered

    Messages:
    7
    Positive Ratings:
    0
    anyone can help me out??
     
  6. Dr. Spud

    aa Dr. Spud Grossly Incandescent

    Messages:
    879
    Positive Ratings:
    803
    You could decompile that map you saw and check out what they did.

    But like Cameron said a server plugin would probably be better for something like this.
     
  7. allolaplanete

    allolaplanete L1: Registered

    Messages:
    7
    Positive Ratings:
    0
    lets put the plug-in beside for now

    is there a way that i can load a server command from a text file in a specific point in the map?
     
  8. Cameron:D

    Cameron:D L6: Sharp Member

    Messages:
    363
    Positive Ratings:
    145
    Maybe. If you have yur trigger or whatever and make it when triggered to sent to a point_servercommand to 'changelevel "mapname"'
     
  9. allolaplanete

    allolaplanete L1: Registered

    Messages:
    7
    Positive Ratings:
    0
    yeah but with that technique im still gonna have to decompile and recompile the map.
    so thats why im asking if it can load the name of the map in a text file, so i can change the maps when i want without all the mapping stuff.
     
  10. Terr

    aa Terr Cranky Coder

    Messages:
    1,591
    Positive Ratings:
    405
    You could also probably use your screwdriver to pound in nails, but I wouldn't recommend it...
     
  11. allolaplanete

    allolaplanete L1: Registered

    Messages:
    7
    Positive Ratings:
    0
    or is there a way to trigger a text file and in that text file i can put the command : changelevel "mapname"??

    i know it sound crazy, but im looking for more options...
     
  12. Penguin

    aa Penguin Clinically Diagnosed with Small Mapper's Syndrome

    Messages:
    1,996
    Positive Ratings:
    1,239
    Sounds like a job for point_servercommand.
     
  13. A Boojum Snark

    aa A Boojum Snark Toraipoddodezain Mazahabado

    Messages:
    4,769
    Positive Ratings:
    5,535
    You'd need a .cfg for every vote option. Then use a single point_servercommand and tell it which config to execute.
     
  14. allolaplanete

    allolaplanete L1: Registered

    Messages:
    7
    Positive Ratings:
    0
    ok thanks i'll try that and let you guys have feebacks
     
  15. Terr

    aa Terr Cranky Coder

    Messages:
    1,591
    Positive Ratings:
    405
    Ah, but how could you alter what "Door 1" and "Door 2" and "Door 3" mean (and show it to the users) without a plugin? I suppose you could use an overlay on the doors to print map names and pictures, but then you'd need to be altering or swapping door1.vmt/vtf, right?

    You could get by with the exec'ing door1.cfg if it was simply different releases of the same map, with the same overall name and teaser pictures...