Login x
User Name:
Password:
Social Links Facebook Twitter YouTube Steam RSS News Feeds

Members Online

»
0 Active | 9 Guests
Online:

LATEST FORUM THREADS

»
warfare
CoD4 Map + Mod Releases
Voting menu on maps
CoD+UO General
Hauling 911
CoDBO3 General

Forums

»

Welcome to the MODSonline.com forums. Looking for Frequently Asked Questions? Check out our FAQs section or search it out using the SEARCH link below. If you are new here, you may want to check out our rules and this great user's guide to the forums and the website.
For more mapping and modding information, see our Wiki: MODSonWiki.com

Jump To:
Forum: All Forums : Call of Duty 2
Category: CoD2 Scripting
Scripting and coding with Call of Duty 2.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword, playername
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked
Page
Previous Page
subscribe
Author Topic: Having Compass Constantly Show All Players - MP
The_Caretaker
General Member
Since: Jun 8, 2004
Posts: 11625
Last: Jul 7, 2009
[view latest posts]
Level 10
Category: CoD2 Scripting
Posted: Friday, Aug. 11, 2006 03:10 pm
The 50 bucks an hour comment was to state you PAY a carpenter to help you. We're all doing this for free.

I don;'t want your money, I just want you to realise it will take time for whoever you ask to do this, just as it would take you time if you'd do it yourself.

As I said... check out the scripts which show stuff on the compass. Try yourself and we're all very willing to help you.
Share |
sentchy
General Member
Since: May 6, 2006
Posts: 212
Last: Oct 31, 2006
[view latest posts]
Level 4
Category: CoD2 Scripting
Posted: Friday, Aug. 11, 2006 05:23 pm
Quote:
I dont got time to run through all the scripts, Im a busy guy.


I think everyone is equally busy. So if you do not want to spend the time yourself why would someone else spend the approximate 5-10 hours to do the research and coding, assuming they already spend the time learnign all the coding.

Btw, I think I spent at least 100h to learn how to script in COD2 decently so you have to invest to impress first. And I have been a developer before the IBM PC came out, that is before 1981.

Oh, btw I think I am like so many other scripters on here are worth $50/h since they could make that amount in life as programmer without too much difficulty. (which though I will not do scripting for) but I think caretaker is more like the $100/h based on his skill. [drink]

If you want to solve your problem yourself then start by researching how objectives are added in the sd.gsc script or write a custom thread that checks player positions and status and manually create the HUD elements for each client.

It might be easier to go the objectiver routeRead up on the ScriptFunctions documentation under the objectives section. Then you have to intercept the spawn/despawn of player events that came with the SDK.



edited on Aug. 11, 2006 01:30 pm by sentchy
Share |
R0CKER
General Member
Since: Aug 9, 2006
Posts: 6
Last: Sep 19, 2006
[view latest posts]
Level 0
Category: CoD2 Scripting
Posted: Friday, Aug. 11, 2006 11:30 pm
Holy Crap!

I asked This question just on the off chance someone may have already have this lying around somewhere, or was able to do it easily.

And All I got was Flamed.......Hmmmmm

its obvious what to do. I just dont seem to be able to find it. I know I need to check in the scripts for hud and compass.
The advice you give me "Goes without saying"
But I will keep checking.

oh yea and stenchy " Man your nose is Brown". LOL

Laterz
Share |
sentchy
General Member
Since: May 6, 2006
Posts: 212
Last: Oct 31, 2006
[view latest posts]
Level 4
Category: CoD2 Scripting
Posted: Saturday, Aug. 12, 2006 12:41 am
Good luck
Share |
The_Caretaker
General Member
Since: Jun 8, 2004
Posts: 11625
Last: Jul 7, 2009
[view latest posts]
Level 10
Category: CoD2 Scripting
Posted: Saturday, Aug. 12, 2006 05:55 am
R0CKER writes...
Quote:
Holy Crap!

I asked This question just on the off chance someone may have already have this lying around somewhere, or was able to do it easily.

And All I got was Flamed.......Hmmmmm



It was not an attempt to flame you.. I wanted to point out that "hey, I'm busy, do this for me" is not the right way to ask for help on these forums.

Now.. for the script oyu'll need a couple of things..

The script needs to know the following
1) The players
2) If those players are friendly or not
3) A way to add them to the compass

#3 you alrerady know by checking the suggest checking the gametype scripts.. there are ways in there which show you how to select all the players and check if they're friendly or not.

Your final script will look something like this

player is an array holding all the players.
for (j=0;j {
if (player[j] is friendly)
{
add player to compass;
}
}

There.. now... get to scripting and post again if you have troubles with the scripts themselves.


edit: that will be $10 [devilishgrin]

edited on Aug. 12, 2006 01:56 am by The_Caretaker
Share |
Restricted Access Topic is Locked
Page
Previous Page
subscribe
MODSonline.com Forums : Call of Duty 2 : CoD2 Scripting

Latest Syndicated News

»
Codutility.com up and runn...
Nice, and there still using the logo and template for the screenshots, which...
Codutility.com up and runn...
dundy writes...Quote:Call of Duty modding and mapping is barly alive only a ...
Codutility.com up and runn...
Mystic writes...Quote:It seems to me the like the site is completely dead? ...
Codutility.com up and runn...
It seems to me the like the site is completely dead?

Partners & Friends

»