.:: Bots United ::.  
filebase forums discord server github wiki web
cubebot epodbot fritzbot gravebot grogbot hpbbot ivpbot jkbotti joebot
meanmod podbotmm racc rcbot realbot sandbot shrikebot soulfathermaps yapb

Go Back   .:: Bots United ::. > Forge of Digital Worlds > Mapping > HL Engine Mapping
HL Engine Mapping Maps for the Half-Life engine Half-Life

Reply
 
Thread Tools
RFC - Finally a great new way to edit your bsp entities!
Old
  (#1)
Austin
Moderator
 
Austin's Avatar
 
Status: Offline
Posts: 403
Join Date: Nov 2003
Default RFC - Finally a great new way to edit your bsp entities! - 07-06-2004

Ok, this is something I have been promising to do.
I like modifying the entities in my maps but using ripent.exe was awkward and with it's fixed memory sizes, it liked to crash a lot.

Thus, I started from scratch, borrowed two structure definitions and a few defines and rewrote the book on entity editing of bsp files.

1) It will (should) never crash out with memory problems, no matter what the map/entity/textures/etc sizes are.
2) It has a nice Windows GUI!
Check it!

You can DL it here:
http://filebase.bots-united.com/pafi...on=file&id=174

Some of the source may be interesting to you.
Get the ful souce and relese build here:
http://austinbots.com/mapping/BSPEdit+Source!.zip

The code is Art of the highest form!


So check it out and respond to my RFC- request for comments.

Even if you don't hack entities much, it can be helpful to look at how things are done, by looking at how entities are used in existing maps.

One option I forgot to document:
Run BSPEdit with the -d command line, open up a number of maps, exit BSPEdit and you will have one file C:\AllEntities.txt that will have all the entity data from all the maps you opened. This is a great way to search a lot of maps in a hurry for how they use certain entities.

What is next?
How about an automated way to create installers for your maps using a freeware install tool?
http://nsis.sourceforge.net/

It will have a gui like the one above and as a mapper you simply select a map, click a button and you will have a slick map installer that correctly finds the map folder and runs a nice GUI install of you map. Anyone interested?

Oh Yea!

Last edited by Austin; 30-06-2004 at 19:21..
  
Reply With Quote
Re: RFC - Finally a great new way to edit your bsp entities!
Old
  (#2)
>BKA< T Wrecks
Moderator [PBmm/Waypointing]& PODBot mm waypointer
 
>BKA< T Wrecks's Avatar
 
Status: Offline
Posts: 1,492
Join Date: Feb 2004
Location: C.C.A.A., Germania
Default Re: RFC - Finally a great new way to edit your bsp entities! - 07-06-2004

Austin! You are really true to yourself - when you come back after a longer absence, you usually come back with a bang.

I don't know if this tool makes a n00b like me capable of editing the stuff I'd like to: like unsticking hostages or fixing spawn points... and most of all, how do I know which entity in the list corresponds to which one in the map? Let's say there's one spawn point that doesn't work, how do I distinguish it from other spawn points in the entity list?



Roses are #FF0000, violets are #0000FF // all my base, are belong to you.

  
Reply With Quote
Re: RFC - Finally a great new way to edit your bsp entities!
Old
  (#3)
Austin
Moderator
 
Austin's Avatar
 
Status: Offline
Posts: 403
Join Date: Nov 2003
Default Re: RFC - Finally a great new way to edit your bsp entities! - 07-06-2004

Quote:
Originally Posted by >BKA< T Wrecks
I don't know if this tool makes a n00b like me capable of editing the stuff I'd like to: like unsticking hostages or fixing spawn points... and most of all, how do I know which entity in the list corresponds to which one in the map?
1) Read this:
http://joe.to/cstrike/ents/

2) Lets say you want to unstick a hostage. Start a LAN game, go as near to the hostage as possible, go to the console and type status. You get an x,y,z location.
Run BSPEdit and search for "hostage" (did you know you can TYPE in the combo box?) Look for the hostage with the closest x,y,z to what you got in the console. Modify it like adding some to the z to move the hostage up, and add/subtract to the x or y coords. Run up the map and make a note of which way the hostage moved. Adjust if necessary.

It is still difficult to hack bsps, since you have to know a lot about mapping to do things...
  
Reply With Quote
Re: RFC - Finally a great new way to edit your bsp entities!
Old
  (#4)
>BKA< T Wrecks
Moderator [PBmm/Waypointing]& PODBot mm waypointer
 
>BKA< T Wrecks's Avatar
 
Status: Offline
Posts: 1,492
Join Date: Feb 2004
Location: C.C.A.A., Germania
Default Re: RFC - Finally a great new way to edit your bsp entities! - 07-06-2004

Ah, so that's how to get the coordinates! Well, I suppose the last of the three values tells the height of an entity (x/y/z axis, right?). So in many cases it's not that difficult, because especially spawn points mostly suffer from being placed too deeply, not inside walls or something.

Thanks a ton for the help! Now I'm beginning to understand how guys like you do your stuff... but it sounds like it's still a lot of try & error.



Roses are #FF0000, violets are #0000FF // all my base, are belong to you.

  
Reply With Quote
Re: RFC - Finally a great new way to edit your bsp entities!
Old
  (#5)
Thirdeye
Member
 
Thirdeye's Avatar
 
Status: Offline
Posts: 102
Join Date: Apr 2004
Default Re: RFC - Finally a great new way to edit your bsp entities! - 08-06-2004

omg thanks man
  
Reply With Quote
Re: RFC - Finally a great new way to edit your bsp entities!
Old
  (#6)
Pierre-Marie Baty
Roi de France
 
Pierre-Marie Baty's Avatar
 
Status: Offline
Posts: 5,049
Join Date: Nov 2003
Location: 46°43'60N 0°43'0W 0.187A
Default Re: RFC - Finally a great new way to edit your bsp entities! - 08-06-2004

Filebase!
Filebase!
Why isn't this lovely stuff in the filebase yet ?
Quiquiquick!



RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."
  
Reply With Quote
Re: RFC - Finally a great new way to edit your bsp entities!
Old
  (#7)
Zacker
Project Leader, Lead Level Designer, Waypointer
 
Status: Offline
Posts: 337
Join Date: Mar 2004
Location: Denmark
Default Re: RFC - Finally a great new way to edit your bsp entities! - 09-06-2004

Cool tool indeed Austin! It has a lot of possibilities.

The idea about an automated map installer creater tool also sounds good. However I wonder why some clever guy havent done it before.

Maybe it could be a end-user tool? That would allow gamers to automaticly install any kind of map, no matter if the mapper included an installer.
  
Reply With Quote
Re: RFC - Finally a great new way to edit your bsp entities!
Old
  (#8)
the Carpenter
Member
 
the Carpenter's Avatar
 
Status: Offline
Posts: 182
Join Date: Apr 2004
Location: The Great White North
Default Re: RFC - Finally a great new way to edit your bsp entities! - 11-06-2004

Kudos.
Now I can fix an old map of mine ... heh, heh.


I came.
I sawed.
I conquered.

  
Reply With Quote
Re: RFC - Finally a great new way to edit your bsp entities!
Old
  (#9)
dead bwoy
Member
 
dead bwoy's Avatar
 
Status: Offline
Posts: 512
Join Date: Feb 2004
Location: STL MO USA
Default Re: RFC - Finally a great new way to edit your bsp entities! - 16-06-2004

mine broke!
I just opened it up and tried to add text to the entities and all i could do was delete...
  
Reply With Quote
Re: RFC - Finally a great new way to edit your bsp entities!
Old
  (#10)
Brainz
Member
 
Brainz's Avatar
 
Status: Offline
Posts: 270
Join Date: Jun 2004
Location: Nottingham, UK
Default Re: RFC - Finally a great new way to edit your bsp entities! - 16-06-2004

same here... wanted to swap round spawns in an over-biased map, and all i coult do was delete.
  
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
vBulletin Skin developed by: vBStyles.com