Raised This Month: $ Target: $400
 0% 

HL2:DM [CUSTOM] Roleplay v3.2.35n - Original by Pinkfairie/Krim - Edited by Nick


Post New Thread Reply   
 
Thread Tools Display Modes
dazza098
Junior Member
Join Date: Jun 2010
Old 10-10-2010 , 20:02   Re: HL2:DM [CUSTOM] Roleplay v3.1.6n - Original by Pinkfairie/Krim - Edited by Nick
Reply With Quote #141

Quote:
Originally Posted by Kneifzange View Post
Well i changed the cooridnates of the HUD it work now..

but can anyone tell how i can make like this "-policeman- cuffed you with -crime ammount-"

That you can see the crime ammount in chat

Can you please explain how you did this ? and maybe copy and paste a before and after into here ?

so we can find where it is in the .sp and change and recompile save nick the time plz
dazza098 is offline
Monkeys
Veteran Member
Join Date: Jan 2010
Old 10-11-2010 , 09:55   Re: HL2:DM [CUSTOM] Roleplay v3.1.6n - Original by Pinkfairie/Krim - Edited by Nick
Reply With Quote #142

For the people having issues with their hud not showing: It's not the plugin's fault, it's a problem with the engine. Larger resolutions often have an issue like that.

Extract the following file in steamapps/<your account name>/Half Life 2 Deathmatch/hl2mp/
and edit the "tall" and "wide" values under "HudMessage" to your resolution.
(Open it in any text editor)
That should fix it only showing partially.



Credits to Sam for telling me this ;)
Attached Files
File Type: zip scripts.zip (1.9 KB, 117 views)
__________________
Get a lid on that zombie,
he's never gonna be alri-i-ight.
Oooh get a lid on that zombie,
or he's gonna feed all night.
Monkeys is offline
Kneifzange
Junior Member
Join Date: Oct 2010
Old 10-11-2010 , 14:01   Re: HL2:DM [CUSTOM] Roleplay v3.1.6n - Original by Pinkfairie/Krim - Edited by Nick
Reply With Quote #143

Quote:
Originally Posted by Monkeys View Post
For the people having issues with their hud not showing: It's not the plugin's fault, it's a problem with the engine. Larger resolutions often have an issue like that.

Extract the following file in steamapps/<your account name>/Half Life 2 Deathmatch/hl2mp/
and edit the "tall" and "wide" values under "HudMessage" to your resolution.
(Open it in any text editor)
That should fix it only showing partially.



Credits to Sam for telling me this ;)

Any chance to make "You are cuffed by the Police with -%SCrime" in the chat when i get cuffed or so?

Im sure its only 3-4 lines :<
Kneifzange is offline
Monkeys
Veteran Member
Join Date: Jan 2010
Old 10-11-2010 , 22:22   Re: HL2:DM [CUSTOM] Roleplay v3.1.6n - Original by Pinkfairie/Krim - Edited by Nick
Reply With Quote #144

Yeah, I could. But that would be a bit counter-productive seeing how I'm currently working on a version of our own with Abstract Plugins
Stick around 'till our testing's finished and I'll write what you need ;)
__________________
Get a lid on that zombie,
he's never gonna be alri-i-ight.
Oooh get a lid on that zombie,
or he's gonna feed all night.
Monkeys is offline
Chief149
Member
Join Date: Sep 2010
Old 10-17-2010 , 14:31   Re: HL2:DM [CUSTOM] Roleplay v3.1.7n - Original by Pinkfairie/Krim - Edited by Nick
Reply With Quote #145

Ok, there are two things I have noticed. If this is extremely stupid of me to be mentioning this then just say so, plz dont flame tho.

Anyways I am hoping this isnt my fault, but in my server when I try doing !sm_locks, !locks, or /locks when looking at a door nothing happens and it appears that there is no such command for it as typing /locks or something just puts it in chat which indicates that the command doesn't exist. IDK if you are doing more updates to this mod after Krim released his 3.0 or 3.1 rp mod (Which I do not like all too much because it only has the ability to buy one house which is nothing as I can easily fix that. What gets me is with Krims 3.0 plugin when you buy a door and rename it, it renames all the other doors and the other doors say they have been purchased even tho they say for sale. In other words I prefer this mod over Krims 3.0), but it would be nice if that feature of viewing how many locks on a persons door could be added in.

Also lets say I wanted to add something where someone could add 10 locks or 100 locks to their door without having to do /items and click "lock" 10 or 100 times to add locks to their door. I would just use:
/createitem <ID> <Name> <type> <value> <price>

Then for Value I would put say maybe 10 which means that item is 10 locks combined, and for Type I would put 13 obviously as that represents locks.
Is that how I would set that up?
Chief149 is offline
Kneifzange
Junior Member
Join Date: Oct 2010
Old 10-18-2010 , 15:27   Re: HL2:DM [CUSTOM] Roleplay v3.1.7n - Original by Pinkfairie/Krim - Edited by Nick
Reply With Quote #146

Add the "cuffed by the police with xxx crime" please i dont get it to work
Kneifzange is offline
dazza098
Junior Member
Join Date: Jun 2010
Old 10-19-2010 , 12:52   Re: HL2:DM [CUSTOM] Roleplay v3.1.7n - Original by Pinkfairie/Krim - Edited by Nick
Reply With Quote #147

Quote:
Originally Posted by Chief149 View Post
Ok, there are two things I have noticed. If this is extremely stupid of me to be mentioning this then just say so, plz dont flame tho.

Anyways I am hoping this isnt my fault, but in my server when I try doing !sm_locks, !locks, or /locks when looking at a door nothing happens and it appears that there is no such command for it as typing /locks or something just puts it in chat which indicates that the command doesn't exist. IDK if you are doing more updates to this mod after Krim released his 3.0 or 3.1 rp mod (Which I do not like all too much because it only has the ability to buy one house which is nothing as I can easily fix that. What gets me is with Krims 3.0 plugin when you buy a door and rename it, it renames all the other doors and the other doors say they have been purchased even tho they say for sale. In other words I prefer this mod over Krims 3.0), but it would be nice if that feature of viewing how many locks on a persons door could be added in.

Also lets say I wanted to add something where someone could add 10 locks or 100 locks to their door without having to do /items and click "lock" 10 or 100 times to add locks to their door. I would just use:
/createitem <ID> <Name> <type> <value> <price>

Then for Value I would put say maybe 10 which means that item is 10 locks combined, and for Type I would put 13 obviously as that represents locks.
Is that how I would set that up?

Hi Chief & nick

Add this code if you are using nicks mod it will compile correctly in there.

add at the top of rp_main.sp under

//Effects
new g_BeamSprite;
new g_HaloSprite;
new whiteColor[4] = {255, 255, 255, 255};
new greyColor[4] = {128, 128, 128, 255};


Add this code

//Show Locks
public Action:Command_ShowLocks(Client, Args)
{
//Declare:
decl DoorEnt;
decl String:ClassName[255];
//Initialize:
DoorEnt = GetClientAimTarget(Client, false);
//ClassName:
GetEdictClassname(DoorEnt, ClassName, 255);

//Action:
if(DoorEnt > 1)
{
if(StrEqual(ClassName, "func_door") || StrEqual(ClassName, "func_door_rotating") || StrEqual(ClassName, "prop_door_rotating"))
{
PrintToChat(Client, "\x04[RP]\x01 - This Door Has \x04%d\x01 Locks",DoorLocks[DoorEnt]);
}
}
else
{
PrintToChat(Client, "\x04[RP]\x01 No Door Selected.");
}
}


----
Now add this to the Reg's at the bottom of the plugin

RegConsoleCmd("sm_locks", Command_ShowLocks, "Check how many locks on a door.");


Compile using compile.exe

and now u can use !locks while looking at a door to see how many there are

i will post a reply Chief with the Varience on locks/lockbreakers when i can

and nick or anyone feel free to use this in any of your up and coming mods

much love!

[3star]Dazza098

feel free to check out my Roleplay server at

68.232.163.167:27015

[3star] Dazza's US RP
dazza098 is offline
Dennis3090
Member
Join Date: May 2010
Old 10-22-2010 , 16:43   Re: HL2:DM [CUSTOM] Roleplay v3.1.7n - Original by Pinkfairie/Krim - Edited by Nick
Reply With Quote #148

With override rp_npcs and rp_notices you
mean the txt file in the map folder or ?

greets,

Dennis
__________________
Dennis3090 is offline
[GR]Nick
BANNED
Join Date: Nov 2008
Location: New York
Old 10-22-2010 , 19:42   Re: HL2:DM [CUSTOM] Roleplay v3.1.7n - Original by Pinkfairie/Krim - Edited by Nick
Reply With Quote #149

Quote:
Originally Posted by Dennis3090 View Post
With override rp_npcs and rp_notices you
mean the txt file in the map folder or ?

greets,

Dennis

No...Im talking about the actual plugins (.smx). You don't need those two plugins as their in the rp_main.smx
[GR]Nick is offline
dazza098
Junior Member
Join Date: Jun 2010
Old 10-23-2010 , 12:05   Re: HL2:DM [CUSTOM] Roleplay v3.1.7n - Original by Pinkfairie/Krim - Edited by Nick
Reply With Quote #150

hello nick im having some trouble with the copdorrs aspect of the mod i have the vault as

"Vault"
{
"Jail"
{
"1" "-1675.153687 445.058289 193.287750"
"2" "-1653.186279 243.588974 192.031250"
"3" "-1476.933716 257.318298 192.031250"
}
"General"
{
"suicide" "-1851.288452 551.872498 192.362457"
"exit" "-1370.951172 303.597900 320.031281"
"vipjail" "-1481.462036 465.869995 192.031250"
}
"PoliceDoor"
{
"0" "553"
"1" "610"
"2" "613"
"3" "611"
"4" "612"
"5" "559"
"6" "855"
"7" "860"
}
}

but the doors dont unlock when i unlock them but /door gives me the same door numbers as the vault has

any ideas ?

Dazza098
dazza098 is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 16:05.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode