Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Points fix for friendly fire
Points fix for friendly fire [message #393486] Thu, 02 July 2009 04:20 Go to next message
WNxKenny is currently offline  WNxKenny
Messages: 32
Registered: February 2008
Karma: 0
Recruit
Hey guys

I am 1 of the owners of the XxX DM server which has recently gone up. My problem is that it is a true DM server, meaning everyone is set to a neutral player, which means that WOL doesn't show neutral players as being in the server on the server listings, and thus, few people joining unless people are afk in our special boxes.

I was wondering if there is a way for WOL to show the neutral players on the server listings so it doesn't seem empty all the time.

ALTERNATIVELY

Is there a way to change the points system for friendly fire? EG:) instead of losing points for it, you actually gain points? (This way seems a better solution to me but no idea how to change the system)

Some help would be greatly appreciated.

Kenny
Re: Points fix for friendly fire [message #393494 is a reply to message #393486] Thu, 02 July 2009 05:33 Go to previous messageGo to next message
jnz is currently offline  jnz
Messages: 3396
Registered: July 2006
Location: 30th century
Karma: 0
General (3 Stars)
Get a programmer to use my hooks.dll. Use the damage hook to change the way points are given per point of damage.
Re: Points fix for friendly fire [message #393497 is a reply to message #393486] Thu, 02 July 2009 06:24 Go to previous messageGo to next message
WNxKenny is currently offline  WNxKenny
Messages: 32
Registered: February 2008
Karma: 0
Recruit
This my sound dumb, but where can i get the hook.dll Wink ?
Re: Points fix for friendly fire [message #393500 is a reply to message #393486] Thu, 02 July 2009 07:59 Go to previous messageGo to next message
reborn is currently offline  reborn
Messages: 3231
Registered: September 2004
Location: uk - london
Karma: 0
General (3 Stars)
Change them all to Nod or GDI, enable friendly fire for that map. Then use the objecthook to attach a script to all players. The attached script should grant the shooter points on the ::Killed event.

This would solve the problems you mentioned. You may however wish to create a spawn manager or something, so it moves players to different positions on the map, rather than that teams default spawn positions.



[Updated on: Thu, 02 July 2009 08:00]

Report message to a moderator

Re: Points fix for friendly fire [message #393501 is a reply to message #393486] Thu, 02 July 2009 08:03 Go to previous messageGo to next message
ErroR is currently offline  ErroR
Messages: 2984
Registered: March 2008
Location: Moldova
Karma: 0
General (2 Stars)
You could also change the color for gdi and nod to 1 color in le
Re: Points fix for friendly fire [message #393569 is a reply to message #393501] Thu, 02 July 2009 15:01 Go to previous messageGo to next message
Nightma12 is currently offline  Nightma12
Messages: 2593
Registered: August 2003
Karma: 0
General (2 Stars)
Category Moderator
ErroR wrote on Thu, 02 July 2009 08:03

You could also change the color for gdi and nod to 1 color in le



How do you do this?
Re: Points fix for friendly fire [message #393570 is a reply to message #393569] Thu, 02 July 2009 15:04 Go to previous messageGo to next message
ErroR is currently offline  ErroR
Messages: 2984
Registered: March 2008
Location: Moldova
Karma: 0
General (2 Stars)
Nightma12 wrote on Fri, 03 July 2009 01:01

ErroR wrote on Thu, 02 July 2009 08:03

You could also change the color for gdi and nod to 1 color in le



How do you do this?

LE>Global settings>HUD>HUD Razz
Re: Points fix for friendly fire [message #393612 is a reply to message #393486] Thu, 02 July 2009 23:11 Go to previous messageGo to next message
jnz is currently offline  jnz
Messages: 3396
Registered: July 2006
Location: 30th century
Karma: 0
General (3 Stars)
http://www.renegadeforums.com/index.php?t=msg&goto=369904&rid=21311
Re: Points fix for friendly fire [message #393714 is a reply to message #393501] Fri, 03 July 2009 16:09 Go to previous messageGo to next message
Nightma12 is currently offline  Nightma12
Messages: 2593
Registered: August 2003
Karma: 0
General (2 Stars)
Category Moderator
ErroR wrote on Thu, 02 July 2009 10:03

You could also change the color for gdi and nod to 1 color in le


dousnt work server side
Re: Points fix for friendly fire [message #393769 is a reply to message #393714] Sat, 04 July 2009 02:30 Go to previous messageGo to next message
ErroR is currently offline  ErroR
Messages: 2984
Registered: March 2008
Location: Moldova
Karma: 0
General (2 Stars)
Nightma12 wrote on Sat, 04 July 2009 02:09

ErroR wrote on Thu, 02 July 2009 10:03

You could also change the color for gdi and nod to 1 color in le


dousnt work server side

um.. ok Huh
Re: Points fix for friendly fire [message #393777 is a reply to message #393486] Sat, 04 July 2009 03:31 Go to previous messageGo to next message
cnc95fan is currently offline  cnc95fan
Messages: 1261
Registered: July 2007
Karma: 0
General (1 Star)
Shit happens when you change the objects file for the server. Thumbs Up
Re: Points fix for friendly fire [message #394830 is a reply to message #393486] Sun, 12 July 2009 16:20 Go to previous messageGo to next message
WNxKenny is currently offline  WNxKenny
Messages: 32
Registered: February 2008
Karma: 0
Recruit
Hey again, sorry for the late reply

Ok, i have got the hooks.dll (Thx for the link Smile)

You say i need a scripter to edit the hooks.dll? If i am not able to find one, could you throw some tips at me as to how i could do this myself? All i need to be able to do is edit the damage hook so that friendly fire GIVES points rather than takes.

Your feedback is really appreciated Smile
thx again
Kenny
Re: Points fix for friendly fire [message #394857 is a reply to message #393486] Mon, 13 July 2009 01:35 Go to previous messageGo to next message
CarrierII is currently offline  CarrierII
Messages: 3804
Registered: February 2006
Location: England
Karma: 0
General (3 Stars)

Returning the absolute value of the damage seems like the quickest option to me.


Renguard is a wonderful initiative
Toggle Spoiler
Re: Points fix for friendly fire [message #394912 is a reply to message #393486] Mon, 13 July 2009 13:15 Go to previous messageGo to next message
WNxKenny is currently offline  WNxKenny
Messages: 32
Registered: February 2008
Karma: 0
Recruit
How might i return the value? I have not managed to find a scripter to do what i originally wanted. But Any suggestions on an easy method of returning the value?
Re: Points fix for friendly fire [message #394936 is a reply to message #393486] Tue, 14 July 2009 00:38 Go to previous messageGo to next message
Veyrdite is currently offline  Veyrdite
Messages: 1471
Registered: August 2006
Location: Australia, Sydney
Karma: 0
General (1 Star)
Couldn't you just server-side negative values for points given on the character presets (objects.ddb)?

WOL: Veyrdite Previously: Dthdealer ( a long time ago )
Re: Points fix for friendly fire [message #394943 is a reply to message #394912] Tue, 14 July 2009 03:22 Go to previous messageGo to next message
reborn is currently offline  reborn
Messages: 3231
Registered: September 2004
Location: uk - london
Karma: 0
General (3 Stars)
WNxKenny wrote on Mon, 13 July 2009 16:15

How might i return the value? I have not managed to find a scripter to do what i originally wanted. But Any suggestions on an easy method of returning the value?



What is it you've done, have you team everyone to GDI or Nod and enabled friendly fire, or are they all team nuetral still?
To list them on WOL you really need for them to be one of those two teams...

Are you running SSGM? If so, it probably wouldn't be a big deal to do what you need doing... I can get it done for you if there really is no one else willing to help.



Re: Points fix for friendly fire [message #394961 is a reply to message #393486] Tue, 14 July 2009 06:20 Go to previous messageGo to next message
WNxKenny is currently offline  WNxKenny
Messages: 32
Registered: February 2008
Karma: 0
Recruit
Ok, atm everyone is on Neutral which isn't good as it makes the server look empty. I am running the latest SSGM. The idea now is to have them either on 1 team (Nod or GDI) or on both. I would really appreciate the help with editing the objects.dbb. If no1 can do this for me, it it possible i could get some sort of Idiots guide made plz Very Happy
Re: Points fix for friendly fire [message #394971 is a reply to message #393486] Tue, 14 July 2009 07:09 Go to previous messageGo to next message
reborn is currently offline  reborn
Messages: 3231
Registered: September 2004
Location: uk - london
Karma: 0
General (3 Stars)
I'll write you a plug-in for SSGM that does the following:

Teams all players to GDI.
Enables friendly-fire.
Reverses the points for kills.
Disables purchases from the PT's for all players.
Makes all buildings indestructable, but disables base defences and refinaries.
Make a setting that's controlled via an ini file to state whether the map should end once a player achieves a certain amount of kills, and what that number of kills should be. If disabled it will go by map time.

I will do this for you, if you edit the maps in level edit to delete all but one of the Nod Spawners, and scatter the existing GDI spawners over the maps for all the westwood maps.
If you do that, and you are prepared to send me the maps so a release can be made, then I will write the plug-in.



Re: Points fix for friendly fire [message #394973 is a reply to message #393486] Tue, 14 July 2009 07:21 Go to previous messageGo to next message
WNxKenny is currently offline  WNxKenny
Messages: 32
Registered: February 2008
Karma: 0
Recruit
Thx man Smile sounds good. Possible that all guys are moved to nod though please? we have a custom skin for the nod sniper..

Also we only use 3 maps atm, islands, canyon and volcano inwhich we have sealed off the bases with the red barriers and created many spawn points in the field area themselves.

I can send you these maps. I didn't actually do the maps, Reloaded takes credit for these as he made them for the server. I will work out how to do this for the rest if need be

[Updated on: Tue, 14 July 2009 07:40]

Report message to a moderator

Re: Points fix for friendly fire [message #394985 is a reply to message #393486] Tue, 14 July 2009 12:02 Go to previous messageGo to next message
reborn is currently offline  reborn
Messages: 3231
Registered: September 2004
Location: uk - london
Karma: 0
General (3 Stars)
As long as he knows and is fine with the maps being released to everyone else, then that's cool.


Re: Points fix for friendly fire [message #394986 is a reply to message #393486] Tue, 14 July 2009 12:21 Go to previous messageGo to next message
WNxKenny is currently offline  WNxKenny
Messages: 32
Registered: February 2008
Karma: 0
Recruit
I will check up with him when he gets back off holiday (about another week and a couple days or something)

Alternatively i have the hooks.dll. Git that working, however i need to edit the .DLL to return the points value. How would i edit it?
Re: Points fix for friendly fire [message #394990 is a reply to message #393486] Tue, 14 July 2009 12:38 Go to previous messageGo to next message
reborn is currently offline  reborn
Messages: 3231
Registered: September 2004
Location: uk - london
Karma: 0
General (3 Stars)
Hooks.dll is a great way of doing most of what you need, but it isn't going to solve the problems of showing players up on WOL, or spawn positions.


Re: Points fix for friendly fire [message #394992 is a reply to message #393486] Tue, 14 July 2009 13:03 Go to previous messageGo to next message
WNxKenny is currently offline  WNxKenny
Messages: 32
Registered: February 2008
Karma: 0
Recruit
spawning isn't an issue. Actually it will be, but we can get that fixed easy enough, i will fix the teams through SSGM. All i need is to edit the hooks for the points thing

[Updated on: Tue, 14 July 2009 13:04]

Report message to a moderator

Re: Points fix for friendly fire [message #395002 is a reply to message #393486] Tue, 14 July 2009 14:29 Go to previous messageGo to next message
reborn is currently offline  reborn
Messages: 3231
Registered: September 2004
Location: uk - london
Karma: 0
General (3 Stars)
OK, if all you want me to do is reverse the points so they become positive using the damage hook via hooks.dll, I'll do that (or some other method of doing the same thing). To me it looks like you just talked yourself out of a few other functions, but hey, it's up to you...


Re: Points fix for friendly fire [message #395043 is a reply to message #395002] Wed, 15 July 2009 02:53 Go to previous messageGo to previous message
WNxKenny is currently offline  WNxKenny
Messages: 32
Registered: February 2008
Karma: 0
Recruit
The reverse points is all i need really. The spawns i am going to have to change as we will be using an actual team, not neutral.

That would be great if you could do the points reverse Smile. Thx for all the support
Previous Topic: Multi Modded Map Loader?
Next Topic: Music replacements
Goto Forum:
  


Current Time: Mon Nov 18 09:11:45 MST 2024

Total time taken to generate the page: 0.01254 seconds