Page 1 of 1
question
Posted: Mon Dec 18, 2006 9:51 pm
by jp777cmoe
Which compilator to use to compile the file XP.inl? (File from WC3)
--- Please enter the following information for support ---
War3ft Version:
Amxmodx Version:
Metamod Version:
amxx list:
amxx modules:
meta list:
Posted: Mon Dec 18, 2006 10:47 pm
by YamiKaitou
You compile the .sma file only
Posted: Mon Dec 18, 2006 10:52 pm
by jp777cmoe
theres no XP.sma so I can't find a file to edit the XP.
Posted: Tue Dec 19, 2006 9:20 am
by YamiKaitou
the warcraft3ft.sma/war3ft.sma is what you compile
Posted: Tue Dec 19, 2006 2:47 pm
by Geesu
war3ft.sma includes the XP file automatically... it includes all the .inl files
Posted: Tue Dec 19, 2006 10:16 pm
by jp777cmoe
Ok well thanks guys, for some reasons I resintalled WC3 FT but the RC 2.0 version and there is no warcraft3ft.sma or war3ft.sma. I have a scripting folder but none of theses, is that normal? If yes is there a way to fix or change so I can set the XP as I want?
Posted: Wed Dec 20, 2006 1:37 am
by YamiKaitou
You would have to download the source code and edit it there, then recompile it
Posted: Thu Dec 21, 2006 2:12 pm
by jp777cmoe
Ok I got the RC3.0 version and it doesn't include the scripting folder either. I downloaded the source code, so I found the file war3ft.sma. I openned it and I didnt find no where where to set the XP. I think it's only warcraft3ft.sma. So do I have to edit warcraft3ft.sma instead and replace it by wc3ft.sma? Also I found the file XP.h which is a txt file where you can change the XP but what do I have to do? I'm lost.. any helps is appreciated
Thanks
Posted: Thu Dec 21, 2006 3:51 pm
by YamiKaitou
Download the sourcecode here (
http://war3ft.com/downloads/amxx/war3ft_v3.0rc3.zip )
Place the file and folder named "war3ft.sma" and "war3ft" in your scripting folder
Place the folders "configs" and "data" in your "addons/amxmodx" folder.
Edit the file you want to change then recompile the war3ft.sma
Posted: Thu Dec 21, 2006 10:04 pm
by jp777cmoe
Thanks for ur reply Yami.
I've already done but the prob is that it seems that there is no codes about changing xp in war3ft.sma. It's only in XP.h and XP.nl. Like Geesu said, war3ft.sma includes the XP file automatically because in the code of war3ft.sma it includes the files XP.h . So do I have to edit warcraft3FT.sma and compile it ? Instead of war3ft.sma.
Thanks
Posted: Thu Dec 21, 2006 10:11 pm
by YamiKaitou
no, if the file is named "warcraft3ft.sma" it is 2.3.2 or lower. The name of the file for 3.0 is "war3ft.sma"
Posted: Fri Dec 22, 2006 12:57 am
by jp777cmoe
Ok. well this is just strange. There's nothing to do to edit that XP if it's not in wc3ft.sma.
Thanks anyways
Posted: Fri Dec 22, 2006 12:59 am
by YamiKaitou
You have to edit the included files. war3ft.sma is just the framework, everything else is stored in the includes
Posted: Fri Dec 22, 2006 1:33 am
by jp777cmoe
oh ok thanks!