What Tools Should I Get?

Fortuna_WolfFortuna_Wolf Join Date: 2003-02-02 Member: 13033Members
<div class="IPBDescription">to edit entities in a compiled map?</div> Most of the people on our server agree that bast would be a good map if the rotating doors were removed and the weldable vent would stay closed (or just be removed).

I seem to remember also that entity information is stored in a way on a bsp file that you can edit entities on an already compiled map.

So, I just want to open up bast and rip out the rotating doors and if possible make it so that the weldable vent would stay shut by editing its properties and removing triggers. And, IIRC, the bonus to this would be that it would be a server side mod and we wouldn't need to DL new maps.

Well, tell me how to do this!

Comments

  • IcecreamIcecream Join Date: 2003-05-02 Member: 16006Members
    edited September 2003
    you cant <!--emo&:(--><img src='http://www.unknownworlds.com/forums/html/emoticons/sad.gif' border='0' style='vertical-align:middle' alt='sad.gif'><!--endemo-->!! i think <!--emo&???--><img src='http://www.unknownworlds.com/forums/html/emoticons/confused.gif' border='0' style='vertical-align:middle' alt='confused.gif'><!--endemo-->

    you have to compile the map with the new entities!!
    To do this you need the .rmf or .map of bast <!--emo&::nerdy::--><img src='http://www.unknownworlds.com/forums/html/emoticons/nerd.gif' border='0' style='vertical-align:middle' alt='nerd.gif'><!--endemo-->!! if you have the .rmf or .map of bast, have fun and send me a copy of the files!!

    and the idea to close the rotation door is stupid!!
    Make it simpel and do this: <!--emo&::asrifle::--><img src='http://www.unknownworlds.com/forums/html/emoticons/asrifle.gif' border='0' style='vertical-align:middle' alt='asrifle.gif'><!--endemo--> <!--emo&::onos::--><img src='http://www.unknownworlds.com/forums/html/emoticons/tiny.gif' border='0' style='vertical-align:middle' alt='tiny.gif'><!--endemo-->
  • KingNicKingNic Join Date: 2002-10-25 Member: 1600Members
    You *can* de-compile maps but very badly. You can de-compile to get all the entity data but any brushwork will be SCREWED. Messing around with other people's maps without their permission is just plain mean, so please excuse me if i don't give you the link to the de-compiler.
  • Fortuna_WolfFortuna_Wolf Join Date: 2003-02-02 Member: 13033Members
    I have a decompiler, but its rather messy to work with.
    Anyway, IIRC, the mapper for bast has left the community and isn't around to fix it so I don't see the problem here.

    And, I've already done it using ripent instead of a decompiler. It works like a charm, I can't wait to playtest this
  • prsearleprsearle Join Date: 2002-11-01 Member: 2365Members, Constellation
    edited September 2003
    To do this you will need a program called ripent.exe (not sure where you can get it; possibly in the Half-Life SDK). ripent allows you to extract the entity data from a .bsp file, edit it and replace it. To extract the entity data, you need to run it like this:<!--c1--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->ripent.exe -export ns_bast.exe<!--c2--></td></tr></table><span class='postcolor'><!--ec2-->
    This will create a file called ns_bast.ent. If you open it up in a text editor (notepad will do) you will see a load of text. Each entity has this format:<!--c1--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->{
    "itemname" "value"
    "item2name" "value2"
    ...
    }<!--c2--></td></tr></table><span class='postcolor'><!--ec2-->
    Each pair of itemname/value is called a keyvalue; all entities have a "classname" keyvalue. This identifies the entity type. Some entities have a "targetname" keyvalue. This is the name of the entity used to trigger it.

    To remove the rotating door you need to find an entity with a classname of "func_door_rotating" and a targetname of "airlock". Remove this entity completely (including the enclosing braces).

    To remove the weldable vent, you could do the same thing, but a better way would be to remove the weldable panel. To do this, look for an entity with a classname of "func_weldable". Change it's classname to "func_wall". This will prevent marines from welding it and triggering the vent; as an added bonus it will no longer have the gold weldable icon on the marine HUD.

    To make your changes permanant, you have to make sure the modified .ent file is in the same directory as the .bsp file and run:<!--c1--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->ripent.exe -import ns_bast.bsp<!--c2--></td></tr></table><span class='postcolor'><!--ec2-->
    NOTE: This will permenantly alter the .bsp file! Make sure you have a backup.

    All you need to do now is make sure the modified .bsp is placed on the server, and it should work: no rotating door, no weldable vent. If you do this, make damn sure you let players know it's a modifed map before they start playing it.

    EDIT: I see that the problem has been solved while I was typing this... oh well.
  • Fortuna_WolfFortuna_Wolf Join Date: 2003-02-02 Member: 13033Members
    I did exactly that, it works like a charm, thanks
  • esunaesuna Rock Bottom Join Date: 2003-04-03 Member: 15175Members, Constellation
    <!--QuoteBegin--Fortuna Wolf+Sep 7 2003, 05:38 PM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Fortuna Wolf @ Sep 7 2003, 05:38 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> I have a decompiler, but its rather messy to work with.
    Anyway, IIRC, the mapper for bast has left the community and isn't around to fix it so I don't see the problem here.

    And, I've already done it using ripent instead of a decompiler. It works like a charm, I can't wait to playtest this <!--QuoteEnd--> </td></tr></table><span class='postcolor'> <!--QuoteEEnd-->
    I'm sure i'm not alone in this, but if you can't see the problem with playing with someone's work behind their back, you need a slap. The creator very obviously spent MONTHS making this map what he wanted, just because he's not here, doesn't mean that he didn't make it any less. You do not have permission to alter his work and i'm sure if you have any sense or decency whatsoever you'd seek out the creators permission.

    Sorry if i seem a bit "holier than thou", but you do not have any right to change someone else's work without permission.
  • Lt_GravityLt_Gravity Join Date: 2003-04-28 Member: 15909Members
    edited September 2003
    you dont have the right to cheat, either. but there are some ppl out there... I think it can be used to make some "funny" changes on maps just for clanserver use. dunno. maybe some need it, personally I dont really care...
  • esunaesuna Rock Bottom Join Date: 2003-04-03 Member: 15175Members, Constellation
    <!--QuoteBegin--Lt.Gravity+Sep 7 2003, 07:37 PM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Lt.Gravity @ Sep 7 2003, 07:37 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> you dont have the right to cheat, either. but there are some ppl out there... I think it can be used to make some "funny" changes on maps just for clanserver use. dunno. maybe some need it, personally I dont really care... <!--QuoteEnd--> </td></tr></table><span class='postcolor'> <!--QuoteEEnd-->
    But you don't walk up to the entire community shouting "Hey! Look! I cheat!" do you?

    Well actually, i do, heh, it's fun, but that's not the point....
  • OlljOllj our themepark-stalking nightmare Fade Join Date: 2002-12-12 Member: 10696Members
    ripent.exe can export entity settings to a txt file to edit and re-import it.
    that way you can easily replace resnodes, spawns, particle effects.

    Dont change another persons map without being allowed.
  • KageKage Join Date: 2002-11-01 Member: 2016Members
    Yes, I believe relic25 was the creator of Bast; he's the one that you'll need to ask.
  • Fortuna_WolfFortuna_Wolf Join Date: 2003-02-02 Member: 13033Members
    How do I get ahold of relic now that he's not here though?
  • KageKage Join Date: 2002-11-01 Member: 2016Members
    His e-mail is in his <a href='http://www.unknownworlds.com/forums/index.php?act=Profile&CODE=03&MID=39' target='_blank'>profile</a>.
Sign In or Register to comment.