Home » Renegade Discussions » Mod Forum » HS only mod!!!
Re: HS only mod!!! [message #218221 is a reply to message #218218] |
Sat, 09 September 2006 01:41 |
MrC
Messages: 37 Registered: September 2005
Karma:
|
Recruit |
|
|
Ivan275 wrote on Sat, 09 September 2006 03:32 |
Quote: | how do i add it to all my maps then??
| This is a horrible thing to do and most likely keep your server empty. I never tried it but it should work. You get RanegadeEX(search in yahoo) open one of your maps and import the modified bones.ini in to the map. Then make everyone that will play on your server download that and all the other maps you imported the bones.ini in to. Quote: | It will be for my sniper game so...
| That is what I wanted to hear. For a sniper mod this can be done using scripts and a modified objects.ddb/.aow
Do you have any c++ or other language programing experience?
Do you have any expedience modifying objects file?
Do you have any expedience modifying scripts.dll?
What scripts version are you planning on using on your server?
Here is a quick run threw of what you need to do:
Quote: | In scripts.dll there is a function void M00_GrantPowerup_Created it is attached to all players, you need to add to it a ::Damaged(GameObject *obj, GameObject *damager, float damage) part. Now every time a player is damaged this function will trigger. In it you will need to check the damage done to the player. Something like this should work for your server, it will basically make the server work like this. If you shoot someone and don't do enough damage to kill them they get all the health back. Seeing that a ramjet will do 200 damage to the body and basic infantry have 100health and 100armor you would need to disable them(basic infantry) or add 1 to their health using modded objects. This still won't make it a true HS server, it will make it into a HS and neck shot server.
if (damage != Commands->Get_Max_Health(obj)+Commands->Get_Max_Shield_Strength(obj)){
Commands->Set_Health(obj,Commands->Get_Max_Health(obj));
Commands->Set_Shield_Strength(obj,Commands->Get_Max_Shield_Strength(obj));}
The only way I know how to make it in to a true HS server is give all players over 600 health + armor then you can check damage done against weapon used.
if (sniper rifle (gdi/nod) && damage = 500) then kill player
else if (damage >600) then kill player
else heal player back to max health and max armor
|
|
Thanx i already tryed giving people 9999 armor & health but when i do that bodyshots wont work:YES But headshots wont work either so do u know how to fix it that headshots will work but bodyshots dont?
I do this in level editor with the file Objects.aow
[Updated on: Sat, 09 September 2006 01:42] Report message to a moderator
|
|
|
|
|
HS only mod!!!
By: MrC on Fri, 08 September 2006 12:07
|
|
|
Re: HS only mod!!!
By: jnz on Fri, 08 September 2006 12:09
|
|
|
Re: HS only mod!!!
By: MrC on Fri, 08 September 2006 12:10
|
|
|
Re: HS only mod!!!
By: Renx on Fri, 08 September 2006 12:52
|
|
|
Re: HS only mod!!!
By: MrC on Fri, 08 September 2006 13:23
|
|
|
Re: HS only mod!!!
By: Ivan275 on Fri, 08 September 2006 15:08
|
|
|
Re: HS only mod!!!
By: MrC on Sat, 09 September 2006 00:30
|
|
|
Re: HS only mod!!!
By: Ivan275 on Sat, 09 September 2006 01:32
|
|
|
Re: HS only mod!!!
By: MrC on Sat, 09 September 2006 01:41
|
|
|
Re: HS only mod!!!
By: Ivan275 on Sat, 09 September 2006 01:48
|
|
|
Re: HS only mod!!!
By: MrC on Sat, 09 September 2006 01:54
|
|
|
Re: HS only mod!!!
By: LR01 on Sat, 09 September 2006 03:58
|
|
|
Re: HS only mod!!!
By: MrC on Sat, 09 September 2006 04:26
|
|
|
Re: HS only mod!!!
By: LR01 on Sun, 10 September 2006 00:40
|
|
|
Re: HS only mod!!!
By: AmunRa on Fri, 08 September 2006 15:36
|
|
|
Re: HS only mod!!!
By: CarrierII on Fri, 08 September 2006 16:19
|
|
|
Re: HS only mod!!!
By: Zion on Sat, 09 September 2006 05:26
|
|
|
Re: HS only mod!!!
By: Babekida on Sun, 10 September 2006 02:06
|
|
|
Re: HS only mod!!!
By: LR01 on Sun, 10 September 2006 08:45
|
|
|
Re: HS only mod!!!
By: Cat998 on Sun, 10 September 2006 13:19
|
|
|
Re: HS only mod!!!
By: Ivan275 on Sun, 10 September 2006 14:41
|
|
|
Re: HS only mod!!!
By: Cat998 on Sun, 10 September 2006 15:28
|
|
|
Re: HS only mod!!!
By: Ivan275 on Sun, 10 September 2006 19:13
|
|
|
Re: HS only mod!!!
By: MrC on Mon, 11 September 2006 07:30
|
|
|
Re: HS only mod!!!
By: Ivan275 on Mon, 11 September 2006 12:14
|
|
|
Re: HS only mod!!!
By: Zion on Sun, 10 September 2006 15:57
|
|
|
Re: HS only mod!!!
By: Cat998 on Sun, 10 September 2006 16:43
|
|
|
Re: HS only mod!!!
By: Zion on Sun, 10 September 2006 17:24
|
|
|
Re: HS only mod!!!
By: Matix on Sun, 10 September 2006 19:14
|
|
|
Re: HS only mod!!!
|
|
|
Re: HS only mod!!!
By: Cat998 on Tue, 12 September 2006 03:39
|
Goto Forum:
Current Time: Mon Dec 23 16:28:22 MST 2024
Total time taken to generate the page: 0.01117 seconds
|