Edit Map Code... Created 15 years ago2008-06-16 17:44:30 UTC by Stixsmaster Stixsmaster

Created 15 years ago2008-06-16 17:44:30 UTC by Stixsmaster Stixsmaster

Posted 15 years ago2008-06-16 17:44:30 UTC Post #251344
Anyone know the program that you can load a .bsp in and it shows the code...like text code of the map...and you can edit whether a door opens or not with that?

And then can you possibly point out what to look for to edit out the map from giving you full armor on spawn and to edit out all the weapons sitting around the map...

---Stixsmaster

P.S. thx in advance...
Posted 15 years ago2008-06-16 17:54:50 UTC Post #251345
RipEnt. It comes with the Zoner's Half-Life Tools, which can be found here: http://zhlt.info/download-zhlt.html
Posted 15 years ago2008-06-16 17:56:45 UTC Post #251346
I'd suggest Austin's BSPEdit. Its a very user friendly alternative to the barebones RipEnt method.
http://filebase.bots-united.com/index.php?action=file&id=177
User posted image
Posted 15 years ago2008-06-16 18:00:07 UTC Post #251348
World Crafter you provided the url I to the program I was looking for thank you very much...

---Stixsmaster
Posted 15 years ago2008-06-16 18:16:16 UTC Post #251350
Though, may I ask World Crafter or anyone that knows the program he pointed to if you can tell me what to look for to edit so that users dont start with 100 armor when they join the game and when they spawn...

I found what to look for to remove weapons but still need help with armor...

---Stixsmaster

P.S. thx in advance...
Posted 15 years ago2008-06-16 18:32:50 UTC Post #251352
Hah, you, Stixmaster.
Posted 15 years ago2008-06-16 18:43:55 UTC Post #251353
Most of the "code" is pretty self explanitory. Point-based entities are indicated by having an "origin" field, whereas brush-based entities are indicated by having a "model" field.

You can do pretty much anything you want as far as point based entities go. You can change all their field, you can make them completely different entities, and you can even make new ones if you want (though lights won't light the world, as that's built during the map's compile).

As far as brush-based entities go, you can only change their immediate properties. You can't do something like turn a door into water, and you certainly can't change their origins [unfortunately]. HOWEVER you can add new brush-based entities by treating them like point entities. This is good for adding triggers or teleporters. Just remember that ingame they will have zero size, so you will have to run directly into them, or just line up a bunch of them

But to actually answer your question:
Look for game_player_spawn and game_player_connect. Odds are, one of those is triggering a game_player_equip that gives 100 armor. Just take the entity out, if that's the case. Take out the game_player_equip while you're at it just to keep things clean.
Posted 15 years ago2008-06-16 22:01:29 UTC Post #251363
thank you again...and truly appreciated...and not sure if anyone remembers but I did code a simple HL1 Deathmatch map before so I was self aware of this editor and did understand how to use it...and I knew some of the entities and their usage...

---Stixsmaster
You must be logged in to post a response.