Search found 27 matches

by izak1996
February 25th, 2013, 8:41 pm
Forum: CoD4 Mapping Help
Topic: could not find mp_mymapsname.d3dbsp *SOLVED*
Replies: 16
Views: 6587

Re: could not find mp_mymapsname.d3dbsp *SOLVED*

Not sure if there even is a logfile, but you can hold the scrollbar so the window doesn't close and then you can search for errors :)
by izak1996
February 24th, 2013, 1:49 am
Forum: CoD4 Mapping Help
Topic: Missing assets don't work
Replies: 4
Views: 6626

Missing assets don't work

Houston we got a problem! So I finally got into cod4 mapping and I already have some problems. When I first made a map (following different tutorials) and compiled it, I had some errors (missing fx for opfor model) and when I updated zone files inside compile tools, there were missing assets which I...
by izak1996
January 27th, 2013, 10:15 pm
Forum: CoD4 Mapping Help
Topic: Promod scripting help
Replies: 28
Views: 5723

Re: Promod scripting help

Now that makes sense! Thanks for that Rezil... And thanks to everyone else. If i won't be needing any help, know that I'm very glad that you all helped me out! Especially F|Madness|U (Although none of your suggestions worked, you took time and you looked into that and answered each and every one of ...
by izak1996
January 27th, 2013, 9:53 pm
Forum: CoD4 Mapping Help
Topic: Promod scripting help
Replies: 28
Views: 5723

Re: Promod scripting help

I'm still not sure how that works... e.g. (1, 1, 1) here is white but in real RGB 1, 1, 1 is black, and 255, 255, 255 is white. A brief explanation? :D
Oh and I figured out my previous question :D It's actually pulse effect
Thanks :)
by izak1996
January 27th, 2013, 9:06 pm
Forum: CoD4 Mapping Help
Topic: Promod scripting help
Replies: 28
Views: 5723

Re: Promod scripting help

Don't worry, I will figure something out :) even without that it is better than nothing. And since we are talking about huds and stuff could you tell me which colors can I use in hud? I know (1, 1, 1) is white and (1, 0, 0) is red and few others, but as far as I know you could use all rgb colors. Ho...
by izak1996
January 27th, 2013, 12:54 pm
Forum: CoD4 Mapping Help
Topic: Promod scripting help
Replies: 28
Views: 5723

Re: Promod scripting help

Yeah I was thinking about using the same script, the problem is, I don't know where to find that :D and also there are sound effects when writing Attack/Defence, which would be missing if I'd do it myself...

Well thanks anyway but please note that I'm still looking for an answer :D
by izak1996
January 27th, 2013, 12:01 am
Forum: CoD4 Mapping Help
Topic: Promod scripting help
Replies: 28
Views: 5723

Re: Promod scripting help

I had no idea how to use that, but I did it in my first try :D For anyone who doesn't know how that works :P if(!isDefined(self.pers["welcome"])) {         ...         self.pers["welcome"] = 1; }   Thanks to both of you! Oh and by the way, does anyone know how to create ...
by izak1996
January 26th, 2013, 10:31 pm
Forum: CoD4 Mapping Help
Topic: Promod scripting help
Replies: 28
Views: 5723

Re: Promod scripting help

And once again I need your help. This is my problem: I created a HUD element, that prints welcome message when you join the server, but the problem is that it prints the message in every round. I tried what F|Madness|U said in his first post, I added if statement:  if(!isDefined(self.welcome)) { .....
by izak1996
January 20th, 2013, 10:58 am
Forum: CoD4 Mapping Help
Topic: Promod scripting help
Replies: 28
Views: 5723

Re: Promod scripting help

I just used this instead:

Code: Select all

ratio = int((kills / deaths)*100.00)/100.00;
It works perfectly, with 2 decimal numbers :)
Thanks anyway
by izak1996
January 19th, 2013, 10:39 pm
Forum: CoD4 Mapping Help
Topic: Promod scripting help
Replies: 28
Views: 5723

Re: Promod scripting help

So if I would want to have like this every time (not just with 2 and 3) it would be something like this?

Code: Select all

ratio = ((kills / deaths)*100.00)/100.00;
by izak1996
January 19th, 2013, 10:00 pm
Forum: CoD4 Mapping Help
Topic: Promod scripting help
Replies: 28
Views: 5723

Re: Promod scripting help

Hello again!
I made a script for k/d ratio but I have a problem, when I had 2 kills and 3 deaths my ratio was 0.6666667... Is there a command or something with which you can set how many places there are after the decimal point? Like there is setprecision in c++?
Any help will be appreciated.
by izak1996
January 12th, 2013, 10:20 pm
Forum: CoD4 Mapping Help
Topic: Promod scripting help
Replies: 28
Views: 5723

Re: Promod scripting help

Now I found out there actually is a command, that gives you the round number, or at least number of rounds played :D
game["roundsplayed"];
so if I'd put if statement with this, it probably would work... too bad I didn't found this earlier, it would have saved me a lot of time :D
by izak1996
January 12th, 2013, 2:35 pm
Forum: CoD4 Mapping Help
Topic: Promod scripting help
Replies: 28
Views: 5723

Re: Promod scripting help

I added strat time and now the knife round does work. The script on the other hand doesn't. But that doesn't matter now, since the knife round works, I don't actually need the script. Thanks anyway. Oh and by the way, when I did what you wrote, the script executed in each round, so it was like every...
by izak1996
January 12th, 2013, 1:32 am
Forum: CoD4 Mapping Help
Topic: Promod scripting help
Replies: 28
Views: 5723

Promod scripting help

So I made promodlive server 2.14 and I want a knife round, but it doesn't work... So I made a script, that takes all your weapons and gives you only your knife and empty deagle, but I don't know how to make it so it will execute only in knife round. Is there a command that returns round number or so...
by izak1996
August 11th, 2012, 3:48 pm
Forum: CoD4 Mapping Help
Topic: Scripts on codjumper
Replies: 8
Views: 1827

Re: Scripts on codjumper

Haha. guys you are hilarious :D

What about if we do it like this: You make scripts for me and for each script you make you pay 5€ to me, because I let you do it :D What'd ya say?