View Full Version : "KILL" Icon in Sabotage - Cvar to get rid of it?
FragRex
12-16-2007, 12:49 PM
Has anyone figured out how to remove the big-red "KILL" Icon in Sabotage?
I'm dying for this cvar.... as I'm sure many other server admins are.
rexy
Number7
12-16-2007, 05:13 PM
There is no dvar for this, but can easily be done via modding.
MajorDay
12-17-2007, 01:30 PM
Let us know when you've made it then, coz i for one would use it.
Number7
12-17-2007, 05:47 PM
What i did was create a dvar, assign a level variable to it, then check it's value when entering the maps\mp\gametypes::_gameobjects.gsc file
set3DIcon( relativeTeam, shader )
{
// Number7
if (!level.svrObj3dIcons)
return;
self.worldIcons[relativeTeam] = shader;
updateWorldIcons();
}
But if you wanted to disable it w/o checking for a dvar value at all, simply do this:
set3DIcon( relativeTeam, shader )
{
return;
self.worldIcons[relativeTeam] = shader;
updateWorldIcons();
}
Have you read any tutorials on creating/running a mod yet?
FragRex
12-17-2007, 09:57 PM
I have not seen any mod tutorials out there.
... but, i have opened and edited .gsc files before with my clan's old UO modded servers.
Could you please point me in the direction of a good tutorial?
Thanks!
rexy
Number7
12-17-2007, 11:35 PM
I have not seen any mod tutorials out there.
... but, i have opened and edited .gsc files before with my clan's old UO modded servers.
Could you please point me in the direction of a good tutorial?
Thanks!
rexy
There were some great Tuts on www.iwnation.com .. There was also a lot of modding info on my site, but that is no longer exists (:
If you've already done some editing, you should be all set finding the code i mentioned in the last post.
The only new hassle is with the modding setup that IW felt was such a great idea..
But tally wrote a great tut on setting that up: http://www.infinityward.com/community/forum/index.php?topic=2958.0
It you're still stuck, i should be around tomorrow nite..
MajorDay
12-18-2007, 05:28 AM
Thanks Number 7,but i'm not a modder,and know nothing about modding.
Can you make something for us non-modders which can just be dropped into the config files,that would allow us to enable/disable the icons.
Number7
12-18-2007, 08:51 PM
Thanks Number 7,but i'm not a modder,and know nothing about modding.
Can you make something for us non-modders which can just be dropped into the config files,that would allow us to enable/disable the icons.
Unfortunately there is no way to just add vars to the config for this prob. It has to be modded.
In my personal mod, i had the option to enable/disable all 3d icons as a group. But after reading the
post here, i see that you guys may want to disable just the "kill" icon, and NOT the others 3d's..
So i rewrote it, and made it a standalone mod for ya's :) Check the READ_ME inside the .zip
// Allow compass (2d) icons?
set svr_obj_2dicons 1 // 0 = No, 1 = Yes (default = 1)
// Allow Floating (3d) icons: 1 = All, 2 = All except the "kill" icon
set svr_obj_3dicons 1 // 0 = No, 1,2 = Yes (default = 1)
...
FragRex
12-19-2007, 08:26 PM
I think I followed the directions I read, just fine.
Well... I ran the server... tried to join, and I had a few bad errors that kind of took the wind from my sails.
One error was something about my rank was reset... (I just got to 55 yesterday)
The other error was something regarding my redirect.
Any more tips?
rexy
Number7
12-19-2007, 10:39 PM
I think I followed the directions I read, just fine.
Well... I ran the server... tried to join, and I had a few bad errors that kind of took the wind from my sails.
One error was something about my rank was reset... (I just got to 55 yesterday)
The other error was something regarding my redirect.
Any more tips?
rexy
Yikes! Well i hope you have your profiles folder backed up..
Did the link to the server tutorial in my READ_ME make any sense at all?
He seems to have covered all aspects of setting up a modded server, including http redirection.
I prefer to write code, and not get deep into tutorials at all :)
Since your rank has been reset, i do wonder if you used a backslash \ instead of a forwardslash / in your URL ?
FragRex
12-20-2007, 07:50 PM
Nope, I didn't back up my profile... maybe after I hit 55 again, I'll back it up... lol.
Also, I used the forward slash "/" in the http redirect line.
I just want, so bad, to be able to shut off that damn "kill" icon.
The error looked like this:
http://thb.artofwarcentral.com/redirect/mods/icon/mods/icon
or like this:
http://thb.artofwarcentral.com/redirect//mods/icon/
.... depending on adding the "/" to the end of my command line.
and it wouldn't DL anything... it would put me in the "server disconnected" screen because the redirect did not work.
hmmm...
That damn "kill icon".
Number7
12-20-2007, 10:20 PM
The sv_wwwBaseURL dvar should reflect your webspace folders, minus the mods/<fs_game>
So if the mod.ff is physically sitting in the following folder structure on your webspace:
http://thb.artofwarcentral.com/redirect/mods/icon/mod.ff
your dvar would be:
sv_wwwBaseURL "http://thb.artofwarcentral.com/redirect"
Again, you do not include the mods/<fs_game> in the dvar at all..
FragRex
12-20-2007, 10:54 PM
Hey 7, Thanks for keeping an eye on this topic and helping me thru it.
It's much appreciated.
I have it set up exactly as you say.
The error I get now says:
Error
Download failure while getting
'http://thb.artofwarcentral.com/redirect/mods/icon/mod.ff'
So, I've recieved this error over and over again upon reconnect attempts.
I switched to a different mod (weapons name mod) and that weapons name mod works just fine.
I switch over to the tactical night mod, and it works just fine as well.
Any other thought on a solution?
rexy
FragRex
12-20-2007, 11:25 PM
ok, ok....
The mod works.
I had to manually replace the mod.ff.tmp file in my activision>cod4>mods>icon folder with the actual mod.ff you supplied with your .rar
The only problem is that your mod.ff is the only mod.ff file that will not DL from my file redirect.
Any ideas on that?
Thanks.
rexy
Number7
12-21-2007, 12:42 AM
ok, ok....
The mod works.
I had to manually replace the mod.ff.tmp file in my activision>cod4>mods>icon folder with the actual mod.ff you supplied with your .rar
The only problem is that your mod.ff is the only mod.ff file that will not DL from my file redirect.
Any ideas on that?
Thanks.
rexy
The mod.ff in my .zip is stock, right out of the modwarfare folder. Until we get the modtools, we cannot create our own mod.ff files.
But one thing you can try is uploading it onto your redirection site again. It may have become corrupt the first time.
I've uploaded maps over the years and have seen them become courrupt on occasion.
FragRex
12-21-2007, 03:25 AM
Yeah, I have re-uploaded 3 times to both my server and the mod.ff to the file redirect.
Still having the same problem.
I had a team mate manually install a folder in the "Mods" folder on their computer.
We played and the mod definitely worked as planned.
I just can't figure out for the life of me, why doesn't it work with the file redirect?
Number7
12-21-2007, 11:15 AM
If you disable http redirection, will the mod.ff file send out okay directly from the server?
Any chance it's a linux server? Some peeps are having d/l issues there..
MajorDay
12-21-2007, 11:56 AM
I've already modded my server with the tactical-night mod,will the two mods work together,since one mod.ff would want to overwrite the other?
FragRex
12-21-2007, 07:59 PM
I disabled the file redrect...
It works like a charm!
Thanks #7!
rexy
Number7
12-21-2007, 08:31 PM
I've already modded my server with the tactical-night mod,will the two mods work together,since one mod.ff would want to overwrite the other?
If the other mod has a custom mod.ff , then we'd need to know which files within it are customized.
The mod.ff in my .zip file is a stock one. The only file in my .iwd that is customized is the _gameobjects.gsc
If the other mod has not customized that file, you could use his. mod.ff and my .iwd without any probs.
Hope that makes sense :)
I disabled the file redrect...
It works like a charm!
Thanks #7!
rexy
Awesome!
vBulletin® v3.7.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.