Day of Defeat Plugins Community
This site is an archive — everything is readable and downloadable, nothing can be posted. Admin
Archive › Old Forum Threads › General › Modeling and Mapping Chat › Problems adding model in bsp file
15 posts, 4 people · 8,204 views Thread Rating: ★★★★★
closedProblems adding model in bsp file
Started by Tank on 08-12-2008, 06:33 PM
Tank
started this thread
Posts: 581
Threads: 59
Joined: Jan 2007
08-12-2008, 06:33 PM #1

I tried to add 'models/mapmodels/hk_radio.mdl' into dod_avalanche.bsp. But every model I try to add does not seem to work. I tried moving the model from models/mapmodels to models/. Although it downloads the file (so Im sure it's being loaded in the bsp file) to the client it does not show.rnrnYet if I place a beep.spr on the same location it does work. I placed a handgrenade on that spot, also works. So I thought, perhaps it's the radio being a ****** so I tried changing the model into something else, yet no success.rnrnThis is what I added in dod_avalanche.bsp (don't know if the angle is right though):rn{rn"origin" "839 318 226"rn"model" "models/mapmodels/hk_radio.mdl"rn"rendercolor" "0 0 0"rn"angles" "0 90 0"rn"classname" "env_model"rn}rnThis is not working. Whether I use the hk_radio.mdl or anything else...nothing is showing up.rnrnYet the following is working (the beep is part of the airstrike radio): rn{rn"origin" "839 310 231"rn"renderamt" "100"rn"rendermode" "5"rn"scale" ".2"rn"model" "sprites/mapsprites/beep.spr"rn"framerate" "3"rn"angles" "0 0 0"rn"rendercolor" "0 0 0"rn"classname" "env_sprite"rn}rnrnSo now my question, am I doing something wrong? Do I need to add more?rnrn**********************************rnrnRead on if you have nothing better to do :DrnFor the people wondering what I'm trying to do, here a little explanation. I have not that much knowledge about BSP's and mapping in general but I thought a little project which could add something neat into dod_avalanche could also give me some more knowledge how things work in the bsp file.rnrnI wanted to take the airstrike from dod_zalec into dod_avalanche. There are a few spots (not common spots, so you might not know of these and some people consider them to be "out-of-bounds") which you need a teammate to get on. Once your teammate helped you up the spot, you could call an airstrike which would kill people in a certain radius in the middle.rnrnEverything is in the bsp file from dod_zalec so basicly it would be a matter of finding the right models, sprites and functions and copy paste it into dod_avalanche with certain adjustments.

diamond-optic
posted here
Posts: 2,068
Threads: 103
Joined: May 2005
08-12-2008, 07:43 PM #2

ive found for env_models to work, you have to put the targetname key in.. even if youre not using it for anything..nnjust like:nn"targetname" "whateveryouwant"nnit doesnt matter really what you put (i guess as long as its not the same targetname as something else that actually uses the name for something)nntry that..nnnanyone thats played avalanche on my server can cleary see that ive made quite a few changes to the bsp file. Once you figure out how to do stuff, you can come up with some pretty cool stuff that doesnt require ppl to download the map, tho there is quite a bit of stuff that will not work unless the clients are running the modified version of the map too which sucks lol (tho some things ive done are thru amxx, quite a bit is done directly to the bsp)nn..and i had quite a difficult time getting airstrikes into avalanche the way i wanted them (tho technically im still not totally pleased with them) but it is something that can be done (but my method is a closely guarded secret lol, but it shouldnt be too hard to figure out.. but ill admit, years of mapping for half-life definitly have assisted me in doing this stuff)

Tank
started this thread
Posts: 581
Threads: 59
Joined: Jan 2007
08-12-2008, 08:08 PM #3

Works like a charm. Seriously this really brings me one step closer to seeing if this complete project turns out to be a massive failure or perhaps a small success.rnrnI played at your server and the fact that you can blow certain parts on dod_avalanche to waste is something I always enjoyed on your server. I used the idea to recreate blowing up the sandbags like on dod_kalt for dod_avalanche but eventually gave up hope. It was more a project for the near future.rnrnBut once I played dod_zalec and saw that mustang flying over (who ever created that model has some skills) and blew myself skyhigh...I was like" Woaw, I need that on avalanche".rnrnIm glad you say it can be done (although im not sure we are using (planning on using) the same method.) The fact that you say that years of mapping helped you through it....Hmmm, I knew I was lacking something...Oh wait, I've never mapped before. The only things I changed was the respawn times (which you gave me the detect for) and adding weapons and nades to the BSP file.

Sohood
posted here
Posts: 92
Threads: 33
Joined: Sep 2008
09-30-2008, 04:23 AM #4

Hey guys, rnrnI have made a ctf_avalanche with air-strikes. I used the church tower as the capture point for the airstrikes and place the radios in each teams spawn. I used dod_object, dod_object_goal or dod_capture_area which ever you prefer with multimangers and trigger_hurts.

Tank
started this thread
Posts: 581
Threads: 59
Joined: Jan 2007
09-30-2008, 08:29 AM #5

If you ever wish to make this public or if you are willing to show me how you did it, I would be honored. I never finished my project due to school but I am curious how you did it.

Sohood
posted here
Posts: 92
Threads: 33
Joined: Sep 2008
10-01-2008, 02:06 PM #6

One thing I do recommend is a DoD enitity guide of some sort. You will need to know what each enitities spawnflags are among other things. Sad thing is, most sites have taken down dod :( good thing is, I made a txt copy backup for myself. :) which I can give you. rnrnI will certainly help you in achieving your goal but I think it would be a waste if I just showed you since it took much life out of me learning the ropes. It will be much more rewarding in the end. rnrnI'm kinda on the same side as Optic, I don't let on to anyone how I did it. If I did that, then everyone would be doing it without the gratification of "bang head here" and figuring out yourself.rnrnI do admit, its a lot easier with someone is helping you along the way. PM me with details of your steam user name so I can add you to my friends any maybe ts or vent info.

Tank
started this thread
Posts: 581
Threads: 59
Joined: Jan 2007
10-01-2008, 09:18 PM #7

You are completely right although I learned all the coding I do know (which is not that much, created 7 plugins so far) through spitting through other people's *.sma and bsp files.rnrnI'll PM you the information and thanks for offering your help and trusting me your helpfile :Drnrn

I do admit, its a lot easier with someone is helping you along the way. PM me with details of your steam user name so I can add you to my friends any maybe ts or vent info.
rnrnI think thats what this community is all about, helping each other, right?

Zor
posted here
Posts: 688
Threads: 75
Joined: Jun 2006
10-02-2008, 09:19 AM #8

Just wanted to check to make sure your using ripent, I believe you are, but! Just want to make sure. I was developing a UI for ripent, but got overworked. Soon.nnCheers!

Sohood
posted here
Posts: 92
Threads: 33
Joined: Sep 2008
10-10-2008, 03:39 AM #9

Zor - what's the difference in using a program , ripent, compared to another, bspedit?

Zor
posted here
Posts: 688
Threads: 75
Joined: Jun 2006
10-10-2008, 09:38 AM #10

Ripent just puts all the entites in a bsp into a text file and then you just edit the text file. Then you can push those entities back into the bsp, its the only one I know. Haven't used any others, like bspedit. Must look at it...

Sohood
posted here
Posts: 92
Threads: 33
Joined: Sep 2008
10-12-2008, 03:46 PM #11

oh ok from your previous post it sounded like a warning not to use any other program than ripent. If you haven't tried bspedit, you should its a lot more convient and quicker to use than ripent.

Zor
posted here
Posts: 688
Threads: 75
Joined: Jun 2006
10-12-2008, 05:16 PM #12

Yeah I started a program like that in VB, it would also goto the website and give you info on the thing you were looking at. Some point will have to reopen that now that we are hosting the VERC stuff.rnrnCheers!

diamond-optic
posted here
Posts: 2,068
Threads: 103
Joined: May 2005
10-14-2008, 02:22 PM #13

bspedit is the same thing as ripent, just easier cause its a windows GUI and you aint gotta use a cmd prompt window and manually extract and repack the entity listnnnzor i still have the source code for bspedit somewhere i believe so it might be easier to just continue with something thats already made and working (cause it definitly could be expanded on)nnnot sure what language its in but i think its c++ n n(still cant figure out why i cant reply in firefox lol, i hate using IE)

Zor
posted here
Posts: 688
Threads: 75
Joined: Jun 2006
10-18-2008, 10:20 PM #14

Is anyone else having problems with firefox? If so its the site, if not its your IE. As for the code, if you could msg me with that attached, once I get back from course I will look at it.rnrnCheers!

diamond-optic
posted here
Posts: 2,068
Threads: 103
Joined: May 2005
10-23-2008, 06:55 PM #15

heh i fixed my firefox problem.. when you changed around the forums i didnt notice i had to allow another domain for the NoScript addon.. yahooapis.comnnworks fine now lol

Archive › Old Forum Threads › General › Modeling and Mapping Chat › Problems adding model in bsp file
DoD Plugins Archive · Repository · Old Forum Threads · Maps · Admin · built 14 Sep 2026 00:34 UTC