| Author |
Topic: promodlive question |
| embodio |
General Member Since: Sep 10, 2012 Posts: 13 Last: Oct 7, 2014 [view latest posts] |
|
|
|
|
| Tally |
General Member Since: Apr 21, 2005 Posts: 819 Last: Oct 26, 2012 [view latest posts] |
|
|
|
|
| embodio |
General Member Since: Sep 10, 2012 Posts: 13 Last: Oct 7, 2014 [view latest posts] |
|
|
|
|
| Tally |
General Member Since: Apr 21, 2005 Posts: 819 Last: Oct 26, 2012 [view latest posts] |
|
|
|
Category: CoD4 Scripting Posted: Tuesday, Sep. 11, 2012 11:16 am |
 |
embodio writes...Quote: i have this program "FastFile Tool" to extrac files from mod.ff file! the files which i take are these:
maps/creatxf include .gsc files
maps/mp include .gsc files
map/mp/gametypes include .gsc files
promod include .gsc files
shock include only damage_mp.shock
end ui_map/scriptmenus the different here is that, the files in this folder have not commands and files are ending to ".menu"
edited on Sep. 11, 2012 04:12 am by embodio
No, I'm afraid that wont work. All the fastfile extractor can do is extract text-based files. It wont work on menu files, and wont work on materials and images. You need everything, because you will need to re-compile the mod back again once you've added your sound files.
What you want to do - adding firstblood sounds etc - requires you to add a soundalias file to the mod. You cannot do that without recompiling the mod back together again. And to do that you need the whole raw/source files. |
 |
|
|
| embodio |
General Member Since: Sep 10, 2012 Posts: 13 Last: Oct 7, 2014 [view latest posts] |
|
|
|
|
| Tally |
General Member Since: Apr 21, 2005 Posts: 819 Last: Oct 26, 2012 [view latest posts] |
|
|
|
Category: CoD4 Scripting Posted: Tuesday, Sep. 11, 2012 12:38 pm |
 |
embodio writes...Quote: ok listen. I have "x4v20_RAW" folder which includes these files: "ff folder" , "iwd folder" , "7za.exe" and "makemod.bat". I have seen and read in this folder what moves i must follow. In that folder there is that file "mod.csv" which im trying to read its commands , which those people created it , with excel. i am trying to do something like the creator did this "extreme mode" , with those files which i extraced from "mod.ff" . there are many errors so i cant do it. In "promodlive_nova folder" i saw "mod.ff file" , "promodlive204.iwd file" and "promod_rulset.iwd file" is missed. But they had create another "file z_sound.iwd" which is included one folder with name: "sound" and in this folder there are sounds clips .mp3 like "headshot" and "first blood". when i play in "nova server" the mod works good. when i load this mod on my server there are the sounds in the mod folder but noone can hear them in the game. pff that's my problem.
You need the raw files for PROMODLIVE. You cannot make an edit of PROMODLIVE using the raw files for X4. They are 2 completely different mods.
I would guess that the creators of promod_nova have the raw files, and so can recompile the mod back together again.
Once again I will emphasis: in order to add custom sounds to a mod, you need to add a soundalias file to the mod.ff file. You cannot do that if you don't have the raw files because you can't compile a mod.ff file with them. |
 |
|
|
| embodio |
General Member Since: Sep 10, 2012 Posts: 13 Last: Oct 7, 2014 [view latest posts] |
|
|
|
|
| embodio |
General Member Since: Sep 10, 2012 Posts: 13 Last: Oct 7, 2014 [view latest posts] |
|
|
|
|
| Tally |
General Member Since: Apr 21, 2005 Posts: 819 Last: Oct 26, 2012 [view latest posts] |
|
|
|
Category: CoD4 Scripting Posted: Tuesday, Sep. 11, 2012 10:03 pm |
 |
embodio writes...Quote: ok do you know commands to i create a gsc file to recall sound on ".iwd" files? i am thinking to write this command exec myfolder/headshot.gsc (this file i wiil created from yours commands if that is possible) in "server.cfg" file, to call sounds in game! that is sure possible. That why in classic "promodlive211 folder" i have created promod_ruleset folder. Then in this folder i have extract "custom_public.gsc" file and i call this (custom_public.gsc) file with that command (i have writed it in server.cfg file) , "exec promod_ruleset/custom_public.gsc". So i have delete that file z_custom_ruleset.iwd and mod works good.
Call of Duty plays sound files with a reference name. This reference name is called a soundalias. It never calls a sound file directly. So, in order to make custom sounds work, you need all your soundaliases in a .CSV file and compiled into a mod.ff file. It MUST BE COMPILED. A soundalias wont work out in the cold, it must work inside a mod.ff file.
In a GSC file, you play a sound with the use of various functions such as:
Code: playSound( <soundalias> );
Code: playLocalSound( <soundalias> );
So, if you had your custom soundalias file compiled into the mod.ff file, you can play your custom sounds with those functions. However, in order to do that with an existing mod, as I've already said twice before, you need the raw files to that mod. Without them, you cannot recompile the mod back together again, with your soundalias file compiled into it.
In other words, the short answer to your questions is: you are pretty much screwed!
|
 |
|
|
| embodio |
General Member Since: Sep 10, 2012 Posts: 13 Last: Oct 7, 2014 [view latest posts] |
|
|
|
Category: CoD4 Scripting Posted: Wednesday, Sep. 12, 2012 07:06 am |
 |
yes i understand now. I must create the mod from the beginning , if i want it to work correctly with that way you say. But yesterday i read one post which this says: you must place your custom sounds in local file "Iw_xx.IWD --> sounds-->mp_killstrk_heliaway.wav" (that is custom sound and says monsterkill)and then you must put it in yours mod with same name "mp_killstrk_heliaway.wav". Then you will create one file like this "z_sound.iwd" and put it (mp_killstrk_heliaway.wav) in a folder with name sound which it included in this file "z_sound.iwd". In the end you must open again the kill streak , flag , oldschool on promodlive but the players mustn't use any key from kill streak or others open gametypes styles. please you downlowad this to saw it with in your eyes yes i understand now. I must create the mod from the beginning , if i want it to work correctly with that way you say. But yesterday i read one post which this says: you must place your custom sounds in local file "Iw_xx.IWD --> sounds-->mp_killstrk_heliaway.wav" (that sound is custom say monsterkill)and then you must put it in yours mod with same name "mp_killstrk_heliaway.wav". Then you will create one file like this "z_sound.iwd" and put it (mp_killstrk_heliaway.wav) in a folder with name sound which it included in this file "z_sound.iwd". In the end you must open again the kill streak , flag , oldschool on promodlive but the players mustn't use any key from kill streak or others open gametypes styles. please you downlowad this to saw it with in your eyes yes i understand now. I must create the mod from the beginning , if i want it to work correctly with that way you say. But yesterday i read one post which this says: you must place your custom sounds in local file "Iw_xx.IWD --> sounds-->mp_killstrk_heliaway.wav" (that sound is custom say monsterkill)and then you must put it in yours mod with same name "mp_killstrk_heliaway.wav". Then you will create one file like this "z_sound.iwd" and put it (mp_killstrk_heliaway.wav) in a folder with name sound which it included in this file "z_sound.iwd". In the end you must open again the kill streak , flag , oldschool on promodlive but the players mustn't use any key from kill streak or others open gametypes styles. please you downlowad this to saw it with in your eyes Code: http://www.mediafire.com/?lv0w1wxlln161bl possible???? |
 |
|
|
|
|
mp_TempleCall of Duty: Mods: Multiplayer (624.12Kb)
|