View Full Version : para_ map dynamic respawns
zeromips
08-28-2007, 12:32 AM
Looking for a plugin to make para maps have normal dod respawns, instead of cs style respawns. Or at least a way to restart the map when an entire team is gone.
You need to get ripent.exe and rip look for the following:
{
"classname" "info_doddetect"
"detect_allies_infinite" "1"
"detect_axis_infinite" "1"
"detect_allies_paras" "1"
"detect_axis_paras" "1"
"detect_points_axiseliminated" "5"
"detect_points_allieseliminated" "5"
"detect_target_allieseliminated" ""All Allies Eliminated!"
"detect_target_axiseliminated" ""All Axis Eliminated!"
"detect_use_timer" "0"
"detect_timer_team" "0"
"detect_points_timerexpired" "5"
"detect_allies_respawnfactor" ""1.0"
"detect_axis_respawnfactor" ""1.0"
}
That is a proper para style info_doddetect as forund here:
http://collective.valve-erc.com/index.php?ent=info_doddetect&game=dod
As for using ripent.exe well that I will leave to you...its a command line type of thing.
Cheers!
zeromips
08-28-2007, 01:39 AM
This looks to be pretty close to what I am looking for :)
knife108
08-28-2007, 12:10 PM
Zor , i'd change the code in dod_anzio.ent
{
"classname" "info_doddetect"
"detect_weather_type" "1"
}
{
"origin" "-946 41 -443"
"pitchstart" "100"
"pitch" "100"
"health" "10"
"message" "ambience/kir_olebrum.wav"
"spawnflags" "2"
"classname" "ambient_generic"
}
and i put the new dod_anzio.bsp on my server.but other players had no weather change except the kir_olebrum.wav work fine.
how to make other players weather change?
Thx :lol
diamond-optic
08-28-2007, 01:03 PM
weather wont work unless the client has the changes on their local machine..
heh its been talked about alot here in various posts (tho im not saying you should know already cause.. well.. theres no reason you should lol)
kinda sucks.. took me a while to realize that myself
zeromips
08-28-2007, 03:20 PM
I've sorta figured out ripent, now when I make the modications do the clients need the modified bsp file or is it fine to have it serverside?
diamond-optic
08-28-2007, 03:43 PM
just upload it to the server and that should be good enough
some things wont work doing just that, depending on what you do, but 90% of things and probably most of what you will do will work just fine.. plus then clients dont have to download the map file again
i always just put mine on the server, then put the default version of the map on my sv_downloadurl so that clients cant get ahold of my changes themselves and use the map on their servers lol
knife108
08-29-2007, 01:25 AM
if the version of server map different with the client, the client will download the server map version.
on my server the dod_anzio.bsp had been changed but no players auto download the new version map when server mapchange to the anzio ?
why and how to ?
diamond-optic
08-29-2007, 01:29 AM
entities in the bsp can be different...
as they are loaded (for the most part) server side..
so clients dont need to have the changes made thru bspedit/ripent on their local machine
..and the only way to force them to download it is to rename the map file to something else (cause they wont download dod_anzio cause they already have it and the hl engine wont overwrite an existing file)
knife108
08-29-2007, 06:46 AM
Thx D.O :lol
do you mean the only way is rename the map to force them to download the bsp file if i want make all players to change the weather ?
another 2 question as follow:
in ent file
no.1
"origin" "-946 41 -443"
"pitchstart" "100"
"pitch" "100"
"health" "10"
"message" "ambience/kir_olebrum.wav"
"spawnflags" "2"
"classname" "ambient_generic"
this code worked fine!
what the "spawnflags" mean ? what different effect it will has with different value ?
when i changed the "message" to "breakout/onlyyou.wav"
it don't work!
so i changed the "message" to "ambience/onlyyou.wav"
and moved onlyyou.wav file from the folder "breakout" to "ambience" ,it don't work neither. :-\
why and how to ?
no.2
"origin" "-936 1012 -368"
"message" "ambience/uswin.wav"
"targetname" "allies"
"pitchstart" "100"
"pitch" "100"
"health" "10"
"spawnflags" "49"
"classname" "ambient_generic"
what about the "targetname" and how to confirm the precise targetname i mean a tree,a door ,a cask ie?
how to do if i want add a soundfile on somewhere with or without a target in the map ?
i really hope that do not confuse you D.O :lol
diamond-optic
08-29-2007, 11:24 AM
this should help you ALOT
http://collective.valve-erc.com/index.php?area=entity&game=dod (http://collective.valve-erc.com/index.php?area=entity&game=dod)
and ya to get them to change the weather you have to rename it...
and example is you can find a map called dod_avalanche_rain.bsp floating around..
knife108
08-30-2007, 12:37 AM
this should help you ALOT
http://collective.valve-erc.com/index.php?area=entity&game=dod (http://collective.valve-erc.com/index.php?area=entity&game=dod)
and ya to get them to change the weather you have to rename it...
and example is you can find a map called dod_avalanche_rain.bsp floating around..
Thx D.O
once i join a server of someone else and map is dod_glider, i had this map but server force me to download . the mapname is not to be renamed.
can u tell me what different between the map on server and mine ?
so i think how to force them to download without changing map name if possible...
:lol
At the moment Im using VB to create a quick ripent gui...going to see what I can pull off, it will be basic to begin with and as I get ideas and am able to update it I will fix it up....this kinda think I can do cause its not using the internet! Heheheh...too slow here to do any DoD stuff.
Cheers!
diamond-optic
08-30-2007, 02:13 AM
once i join a server of someone else and map is dod_glider, i had this map but server force me to download . the mapname is not to be renamed.
i really dont know... ive never once seen anyway to download/overwrite and existing file.. and everywhere you look, you'll be told its not possible... are you totally sure it downloaded the map (as dod_glider everyone should already have in their day of defeat gcf file i believe)
At the moment Im using VB to create a quick ripent gui...going to see what I can pull off, it will be basic to begin with and as I get ideas and am able to update it I will fix it up....this kinda think I can do cause its not using the internet! Heheheh...too slow here to do any DoD stuff.
Cheers!
lol well if you want.. the BSP Edit (http://www.avamods.com/download.php?view.1) i have on my website has the source code (C/C++ ?) if you want to do something with that or if it will help any..
I will look at it...didn't know there was one out there...that one is a bit on the non helpfull side as I see it, however, will look at it...better to use C++ than VB.
Thanks and Cheers!
Wilson [29th ID]
08-30-2007, 09:36 AM
My personal copy of FM Research has a create entity function, and you can alter the pev/es/cd/pdata variables dynamically afterward. I could even add in a keyvalue portion one day. Just a thought.
diamond-optic
08-30-2007, 10:59 AM
[lol not to derail this thread but...]
one thing that would be nice for a gui.. is having like all the entity data from verc available within the program.. that would be very helpful lol.. but that would be a lot to type up.. and maybe a section in the window that breaks all the entities up into groups like an explorer tree.. where you can say expand all the allies spawn points and have them all together (instead of searching thru the whole list) or say all the func_breakables grouped together.. etc..
That was the plan for the VB version...Have a tree with all the different main classes initially seen, then when you expand them they will go by location. First thing is first. Gotta look at the code we got here and see what they have done, it seems the ripent is located within the code, I am looking to call the ripent program. Will have to see what comes up.
Cheers!
vBulletin® v3.8.6, Copyright ©2000-2012, Jelsoft Enterprises Ltd.