PCS Game Hosting
 
  Forum Index    Search    Usergroups    Edit your profile    Members    Arcade    Ranks

 Reputation    Medals    Staff    Statistics    Board Rules    Forum FAQ    Private MessagesLogin, Check Messages    Log in 

Search for at
Soldier Of Fortune 2 Advanced Search



Post new topicReply to topicprinter-friendly viewThank Post
   Soldier Of Fortune 2 Forum Index » SOF2 Tutorials » How??
 View previous topic :: View next topic  
Author Message
abdouraoui
Pro Poster
Pro Poster



Joined: Aug 23, 2013
Last Visit: Sep 05, 2018
Posts: 21


Reputation: 43.9
Medals: None

Status: Offline
PostPosted: Fri Jan 02, 2015 11:51 pm
PostPost subject: No icon How??
Reply with quote

Hi all
Can someone help me how to add new ranks in server and how to add recover health?
Back to top
View user's profile Send private message
Sponsor
Smiley face
Punisher
Administrator
Administrator


In Game: The Punisher
Gender: Gender:Male
Joined: May 04, 2012
Last Visit: Nov 01, 2019
Age: 22
Posts: 740

Netherlands.png 
Reputation: 4027
votes: 3
Medals: 2 (View more...)
Dedication (Amount: 1)

Status: Offline
PostPosted: Sat Jan 03, 2015 12:37 am
PostPost subject: No icon Re: How??
Reply with quote

Hi mate, Floo made a tutorial about editing ranknames in rocmod.check out the forum at the tutorial section and watch the sof2modding topic thr source cde tutorials are mentioned there at the moment the only one.


Website: House of Pain Server - Website
Serverlist: House of Pain Server - Serverlist

<a><img></a>

<a><img></a>
Back to top
View user's profile Send private message
Punisher
Administrator
Administrator


In Game: The Punisher
Gender: Gender:Male
Joined: May 04, 2012
Last Visit: Nov 01, 2019
Age: 22
Posts: 740

Netherlands.png 
Reputation: 4027
votes: 3
Medals: 2 (View more...)
Dedication (Amount: 1)

Status: Offline
PostPosted: Sat Jan 03, 2015 12:38 am
PostPost subject: No icon Re: How??
Reply with quote

And i dont know the health regen but you need to knoe about c(++) coding, probably someone else can help you with it.


Website: House of Pain Server - Website
Serverlist: House of Pain Server - Serverlist

<a><img></a>

<a><img></a>
Back to top
View user's profile Send private message
kingsfloo
Moderator
Moderator


Gender: Gender:Female
Joined: Jan 15, 2014
Last Visit: Mar 25, 2019
Age: 26
Posts: 57
Location: Argentina
Argentina.png 
Reputation: 328.3
votes: 1
Medals: 2 (View more...)
Modder (Amount: 1)

Status: Offline
PostPosted: Mon Jan 05, 2015 7:35 am
PostPost subject: No icon Re: How??
Reply with quote

about the extra rangs isn`t really hard.....just check the source code of rocmod 2.1 c what u can get in this site....see how he others rangs are added, then just do the same for your own rang.....the steps what i follow when i do it was:

1) check where is the sysop

2) create a cvar to add my own rang

3) add the extra lines to do my rang more "powerfull" than the sysop and not just like an admin.

the regeneration....u have 2 options:

1) do it with a timer.

2) do it adding this in some part where Actions  happen once a second (check g_active.c of the source).

anyways like punicher say....it`s just posible if u know something about coding.......mmmmm.....well i didnt knew nothing about it....mmmm...check the others posts about how to start to handle the rocmod source then when u know someting about it if u want post again Smile
Back to top
View user's profile Send private message
Sponsor
Smiley face
abdouraoui
Pro Poster
Pro Poster



Joined: Aug 23, 2013
Last Visit: Sep 05, 2018
Posts: 21


Reputation: 43.9
Medals: None

Status: Offline
PostPosted: Mon Jan 05, 2015 10:12 am
PostPost subject: No icon Re: How??
Reply with quote

ok thanks Smile
Back to top
View user's profile Send private message
Punisher
Administrator
Administrator


In Game: The Punisher
Gender: Gender:Male
Joined: May 04, 2012
Last Visit: Nov 01, 2019
Age: 22
Posts: 740

Netherlands.png 
Reputation: 4027
votes: 3
Medals: 2 (View more...)
Dedication (Amount: 1)

Status: Offline
PostPosted: Mon Jan 05, 2015 2:14 pm
PostPost subject: No icon Re: How??
Reply with quote

Ill check the sc when my compile errors has been fixed, but what floo said is yhe thing what your looking for.

Anyhow you can use his server mod ( kings mod v2) if you just want other rank names, he made it so you can change messages and ranks e.g headshot msg, or admin rank name.


Website: House of Pain Server - Website
Serverlist: House of Pain Server - Serverlist

<a><img></a>

<a><img></a>
Back to top
View user's profile Send private message
abdouraoui
Pro Poster
Pro Poster



Joined: Aug 23, 2013
Last Visit: Sep 05, 2018
Posts: 21


Reputation: 43.9
Medals: None

Status: Offline
PostPosted: Mon Jan 05, 2015 2:57 pm
PostPost subject: No icon Re: How??
Reply with quote

but in kingmod v2 i can't change recoverhealth andarmor messages and i want to add other ranks
that's why i want the files "rocmod source" for kingservermod who created it floo
if she can send me this files
I want to change only colours in this files and i can compile it
Back to top
View user's profile Send private message
Punisher
Administrator
Administrator


In Game: The Punisher
Gender: Gender:Male
Joined: May 04, 2012
Last Visit: Nov 01, 2019
Age: 22
Posts: 740

Netherlands.png 
Reputation: 4027
votes: 3
Medals: 2 (View more...)
Dedication (Amount: 1)

Status: Offline
PostPosted: Mon Jan 05, 2015 6:20 pm
PostPost subject: No icon Re: How??
Reply with quote

She probably wont share it bcs she wants to stay it unique and not public.

But as she said with not to much knownledge of c(++) you can add the ranks and probably figure out the health timer.
Also this is an old quake engine and cod is running ob same engine. Look in source code tutorials there ( be aware that its another hame but based on aame engine which is same coding. )


Website: House of Pain Server - Website
Serverlist: House of Pain Server - Serverlist

<a><img></a>

<a><img></a>
Back to top
View user's profile Send private message
Sponsor
abdouraoui
Pro Poster
Pro Poster



Joined: Aug 23, 2013
Last Visit: Sep 05, 2018
Posts: 21


Reputation: 43.9
Medals: None

Status: Offline
PostPosted: Thu Jan 08, 2015 12:27 am
PostPost subject: No icon Re: How??
Reply with quote

i want only the file concerned regenerate health because i tried to do it with my self but i didn't knew :/
Back to top
View user's profile Send private message
Baaddwrench
Administrator
Administrator


In Game: (Old Boys)baaddwrenchLdr
Gender: Gender:Male
Joined: May 16, 2010
Last Visit: Jan 12, 2019
Age: 54
Posts: 44
Location: Your mothers bed
usa.png 
Reputation: 3393.1
votes: 1
Medals: 1 (View more...)
Distinguished Uploader (Amount: 1)

Status: Offline
PostPosted: Fri Jan 09, 2015 6:48 am
PostPost subject: No icon Re: How??
Reply with quote

you mean add health/ammo packs to the map?


Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger Visit member's Facebook: 1201755298
Punisher
Administrator
Administrator


In Game: The Punisher
Gender: Gender:Male
Joined: May 04, 2012
Last Visit: Nov 01, 2019
Age: 22
Posts: 740

Netherlands.png 
Reputation: 4027
votes: 3
Medals: 2 (View more...)
Dedication (Amount: 1)

Status: Offline
PostPosted: Fri Jan 09, 2015 11:56 am
PostPost subject: No icon Re: How??
Reply with quote

Baaddwrench wrote (View Post):
you mean add health/ammo packs to the map?


Best reply ever, hahahahahahaha.

He means when you've been in a shootout and you've been hit and only have 50 health 0 armor your health will be regenerated back to 100 in a period of time. e.g. after 5 sec no hit = 5 health back a sec so in x sec your health will be restored, so the health packs arent really necessairy unless you want your armor back.
Still tho i dont really like regeneration of Health/armor, but if for example it'll regen with 1 a sec, so you'll heal slow and not fast, i would be fine with it, else the better shooters will always will because their health has been regenerated every time.

But the concept is the same as the health pack only it will give you it back in a period of time.


Website: House of Pain Server - Website
Serverlist: House of Pain Server - Serverlist

<a><img></a>

<a><img></a>
Back to top
View user's profile Send private message
kingsfloo
Moderator
Moderator


Gender: Gender:Female
Joined: Jan 15, 2014
Last Visit: Mar 25, 2019
Age: 26
Posts: 57
Location: Argentina
Argentina.png 
Reputation: 328.3
votes: 1
Medals: 2 (View more...)
Modder (Amount: 1)

Status: Offline
PostPosted: Sat Feb 14, 2015 11:22 pm
PostPost subject: No icon Re: How??
Reply with quote

abdouraoui wrote (View Post):
but in kingmod v2 i can't change recoverhealth andarmor messages and i want to add other ranks
that's why i want the files "rocmod source" for kingservermod who created it floo
if she can send me this files
I want to change only colours in this files and i can compile it


with this mod i made every message customisable with a rcon  command...i just forget the regeneration message....if u want i can do this message customisable too....if u have this or others request post without shame Razz
Back to top
View user's profile Send private message
Sponsor
Display posts from previous:
Post new topicReply to topic printer-friendly viewThank Post
Soldier Of Fortune 2 Forum Index »  SOF2 Tutorials
 
Page 1 of 1
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Related topics
 Topics   Replies   Author   Views   Last Post 
No new posts [VIDEO] - How to add colour to your name in SoF2 2 BuLLy 1122 Sat Sep 23, 2017 4:07 am
BuLLy View latest post
No new posts how to add your own gameover song (code) 3 kingsfloo 2528 Fri Apr 10, 2015 10:43 am
abdouraoui View latest post
No new posts TIP: Add your STEAM Profile! 0 Teo 1723 Thu Feb 26, 2015 5:59 pm
Teo View latest post
No new posts how i add bots to my server? 5 abdouraoui 6961 Fri Jan 02, 2015 10:13 pm
Punisher View latest post
 




Back to Top

SOF2.ORG Multiplayer Community © 2019 All times are UTC + 2 Hours [DST enabled]
 

Copyright ©