Page 1 of 1

Edit the Ultimates

Posted: Sun Jul 10, 2005 12:33 pm
by Daver
Hey Geesu,
I was wondering if you could say which inl file or where to edit some of the ultimates...

I would like to have roots entangle but shorten the time and also shorten the invincibility time too, what is the default for that?

Thx,
Daver aka (MP5Navyboy)

Posted: Sun Jul 10, 2005 12:44 pm
by Geesu
*cough* ultimates.inl *cough*

:P

To edit the night elf time find:
[small]new waitparm[6]
waitparm[0]=enemy
waitparm[1]=100
waitparm[5]=floatround(get_user_maxspeed(enemy))
set_user_maxspeed(enemy,1.0)
[/small]

change waitparm[1] to something less (100/10 = 10 seconds)

To change Big Bad Voodoo find:

[small]
#if MOD == 0
Create_BarTime(id, 2, 0)
#endif

emit_sound(id,CHAN_STATIC, SOUND_VOODOO, 1.0, ATTN_NORM, 0, PITCH_NORM)

p_data_b[id][PB_ULTIMATEUSED]=true

Ultimate_Icon(id,ICON_FLASH)

parm[1] = 0
set_task(2.0,"_Ultimate_BigBadVoodoo",TASK_RESETGOD+id,parm,2)
[/small]

Change the 2's to whatever you want (in seconds) on these lines: (don't change the last 2 in the set_task one, only what's green)

Create_BarTime(id, 2, 0)
set_task(2.0,"_Ultimate_BigBadVoodoo",TASK_RESETGOD+id,parm,2)

Posted: Sun Jul 10, 2005 3:09 pm
by Daver
Thx Geesu,
I knew all of this, I was just postin for the others who might not know, lol...

But Thx again,
Daver

Posted: Sun Jul 10, 2005 6:03 pm
by Geesu
mhm :P and i just realized the dumb code brackets look like crap! I forgot all the mods I had installed before, I need to add that back too

Posted: Thu Jul 14, 2005 4:40 pm
by Daver
OK Geesu,
I edited the inl files and when i recompiled everything seemed ok but the server plugins shows bad load for war3 after i changed the amxx file to the new recompiled 1....

Daver

Posted: Thu Jul 14, 2005 5:14 pm
by Geesu
:/

Posted: Thu Jul 14, 2005 5:55 pm
by Avanderik
:cry:

Posted: Fri Jul 15, 2005 3:39 pm
by Daver
I 'm haqvin a brain cramp, You do recompile after changin the inl files dont you?

Daver

Posted: Fri Jul 15, 2005 4:44 pm
by Geesu
yes u do

Posted: Sun Jul 17, 2005 3:33 pm
by Daver
THx Geesu,
Why would I be getting the bad load then. After I recompile its says the time and everything look s Ok, the amxx file is in the compiled folder but when I copy and paste it in the plugins folder and vhange maps it says bad load for the plugin warft...

Daver

Posted: Sun Jul 17, 2005 7:59 pm
by Geesu
no errors in the amxx log file?

Posted: Sun Jul 17, 2005 8:03 pm
by Avanderik
Did you make sure the module is loaded?

Posted: Sun Jul 17, 2005 11:26 pm
by Geesu
stop dling porn daver

Posted: Mon Jul 18, 2005 2:30 am
by Frozen Flame
LOL, there was this study scientists did, and the resulkts were that porn is more addictive than pure crack.

Posted: Thu Jul 21, 2005 12:44 am
by Daver
Hey Flamer,
I believe you are reffering to the scientists study of "Porn Crack". Now that is an addictive combination, trust me I know...


Butt, back to the topic, Yes I hve all the modules running because the plugin runs fine until I modify it and recompile it, The real problem is it compiles and seems to be fine but when I replace the compiled 1 in the plugins folder and change map then it shows "bad load" Thats where I'm lost....

Daver

Posted: Thu Jul 21, 2005 7:52 am
by Lazarus Long
Hi, Daver:
Daver wrote:Butt, back to the topic, Yes I hve all the modules running because the plugin runs fine until I modify it and recompile it, The real problem is it compiles and seems to be fine but when I replace the compiled 1 in the plugins folder and change map then it shows "bad load" Thats where I'm lost....
Here I come to save the daaaay... (Oscar award winning performace of Mighty Mouse impersonation)

Edit "addons/amxmodx/scripting/warcraft3FT.sma" and check if at around line 45 you got

Code: Select all

#define MOD 1                                                   // 0 = cstrike or czero, 1 = dod
if so, and you are compiling for CS or CS:CZ change it according to the comment.

I hope this helps,

Posted: Thu Jul 21, 2005 3:46 pm
by Daver
Thx Laz,
Does nt it go to CS by default? Ill check cuz I know I did nt. I am A CS server.
Thx,
DAver

Posted: Thu Jul 21, 2005 5:07 pm
by Lazarus Long
Hi, Daver:
Daver wrote:Does nt it go to CS by default? Ill check cuz I know I did nt. I am A CS server
Nop, it defaults to DOD.

Regards,

Posted: Sat Jul 23, 2005 11:49 am
by Daver
Thx A ton Laz,
Thats what the problem was, Do more people use this for DOD now? If not maybe that could be changed cuz its not somethin g you think of as a CS server admin...

Thx again,
Daver

Posted: Sat Jul 23, 2005 12:09 pm
by Lazarus Long
Hello, Daver:
Daver wrote:Do more people use this for DOD now? If not maybe that could be changed cuz its not somethin g you think of as a CS server admin...
Not that I know or am aware of, it's just the order Geesu compiles the plugin: first CS and CS:CZ, then DoD (I think) so the source-code stays configured for DoD as it was the last one compiled.

You do have a point since more questions arise from people running CS and CS:CZ servers than DoD ones, but on the other hand, it can be argued that if someone is going to change the source-code it is supposed to know what he/she is doing, or at least read the comments in the same source-code. Better let Geesu decide what to do, if anything.

Best regards,

Posted: Sat Jul 23, 2005 1:26 pm
by Geesu

Posted: Sun Jul 24, 2005 12:17 am
by Nitricacid
how many CS?

Posted: Sun Jul 24, 2005 8:58 am
by Striker
Nitricacid wrote:how many CS?
atm 479 servers.

http://www.game-monitor.com/search.php? ... me=cstrike

Posted: Sun Jul 24, 2005 12:22 pm
by Nitricacid
soo 23 versus 479, yea id say thats a toss up ?
or not CS - 456 = DoD, nuff said

Posted: Sun Jul 31, 2005 7:35 pm
by Daver
did'nt want to step on any toes, I just figured more used CS , os it would make sense to have it default to CS. Cuz some guys like me are old and forgetfull and might just forget to check tpo see if it set for CS.... Be sides we would nt want those 23 to be inconvienenced now would we... :lol:

Thx,
Daver

Posted: Mon Aug 01, 2005 4:58 am
by Geesu
It should default to CS actually, unless you download the DOD package.