Moderators: Pardner, TheDoctor
Manoel Victor wrote:I want to clone (parts of) Special Bude (SB).
\seta disable_WP_WEAPON 1
\seta disable_WP_WEAPON 0
Manoel Victor wrote:I did not find this file
Manoel Victor wrote:I downloaded an editor PK3 but every time I open, for example, the file teamplay bot to translate into Portuguese, when I click save, it saves, but if I open again, there is still the same, cutting my translation and the pattern continues, in English, it does not save!
{
name Pardner
funname "^3Pardner"
model wq_male2/red
aifile bots/male1_portuguese_c.c
}
Pardner wrote:Manoel Victor wrote:I did not find this file
The source code is not included in the game download. It must be downloaded separately from here:
http://sourceforge.net/projects/smokinguns/files/Manoel Victor wrote:I downloaded an editor PK3 but every time I open, for example, the file teamplay bot to translate into Portuguese, when I click save, it saves, but if I open again, there is still the same, cutting my translation and the pattern continues, in English, it does not save!
DO NOT MODIFY ANY FILES IN THE INCLUDED PK3
If you want to modify files, you will need to copy them out of the pk3, modify them, and then zip them up into a new pk3. So if you want to make new bot files, you will need to copy the following out of sg_pak0.pk3:
- botfiles/bots/male1_c.c
- botfiles/bots/male1_i.c
- botfiles/bots/male1_t.c
- botfiles/bots/male1_w.c
Then rename them to something like:
- botfiles/bots/male1_portuguese_c.c
- botfiles/bots/male1_portuguese_i.c
- botfiles/bots/male1_portuguese_t.c
- botfiles/bots/male1_portuguese_w.c
Then have your bot use the male1_portuguese bot file:
- Code: Select all
{
name Pardner
funname "^3Pardner"
model wq_male2/red
aifile bots/male1_portuguese_c.c
}
Manoel Victor wrote:Pardner, I downloaded the 3 files that are version 1.0, came a few files, a folder called "stable", another folder called "win32-replacement" and a file with extension. Tar, called "sg-1.0-svn_r48.tar "but I do not know what to do with these files! Please ask you to pass me a tutorial like the one of the bots, which helped me a lot!
Manoel Victor wrote:Oh, and I will take the opportunity to ask for help in something else too, as I change the port my server? Because I want to make a common server and the other with these changes, but must be on the same computer!
I await your help friend!
Manoel Victor wrote:
Pardner, I downloaded the 3 files that are version 1.0, came a few files, a folder called "stable", another folder called "win32-replacement" and a file with extension. Tar, called "sg-1.0-svn_r48.tar "but I do not know what to do with these files! Please ask you to pass me a tutorial like the one of the bots, which helped me a lot!
you want the one called /sg-1.0-svn_r48.zip and here is a tutorial:
viewtopic.php?t=1842
Manoel Victor wrote:
Oh, and I will take the opportunity to ask for help in something else too, as I change the port my server? Because I want to make a common server and the other with these changes, but must be on the same computer!
I await your help friend!
in the server config set net_port 27960
Manoel Victor wrote:Pardner, but in my server setup does not have that option!
Manoel Victor wrote:And I could not understand that tutorial, and I can not even download the Visual Studio!And I do not know what to do with the files I downloaded, you had given me, I can spend a tutorial please?
Sucalakafufu wrote:FINALLY WE NEED THE SOURCE CODE ITSELF.
Use a subversion client like Tortoise SVN to keep updated with the latest revisions of SG 1.1 & 1.0 (if you have a 64 bit comp you need TortoiseSVN 64 bit)
To get the source code using TortoiseSVN first install Tortoise. After it is installed, create a folder wherever you want the SG code to be. Name it anything you want. Then right click on this folder and click SVN Checkout.
Then copy this URL: https://smokinguns.svn.sourceforge.net/ ... uns/trunk/ into the "URL of repository" box.
Pardner wrote:Manoel Victor wrote:Pardner, but in my server setup does not have that option!
Add it then.Manoel Victor wrote:And I could not understand that tutorial, and I can not even download the Visual Studio!And I do not know what to do with the files I downloaded, you had given me, I can spend a tutorial please?
You don't download Visual Studio, you buy it or use your school's. If you have never done coding before, the it is going to be very tough. I looked and I guess the build scripts are not included in those zip files. You will need to follow that tutorial that I posted earlier and use TortoiseSVN to download the code. Also I noticed that there isn't any Windows build scripts for the 1.0 release (we will cross that bridge when we come to it). For now, you will need to "checkout" the following address:
https://smokinguns.svn.sourceforge.net/svnroot/smokinguns/trunk
here is the tutorial step:Sucalakafufu wrote:FINALLY WE NEED THE SOURCE CODE ITSELF.
Use a subversion client like Tortoise SVN to keep updated with the latest revisions of SG 1.1 & 1.0 (if you have a 64 bit comp you need TortoiseSVN 64 bit)
To get the source code using TortoiseSVN first install Tortoise. After it is installed, create a folder wherever you want the SG code to be. Name it anything you want. Then right click on this folder and click SVN Checkout.
Then copy this URL: https://smokinguns.svn.sourceforge.net/ ... uns/trunk/ into the "URL of repository" box.
So, why don't you try getting TortSVN running, use it to download the code, then post back here so we can move onto the next step.
Manoel Victor wrote:Pardner, I tried to add the list, but to no avail, the door remains the 27960.
*smokinguns.exe +set net_port 27960 +exec server.cfg
Manoel Victor wrote:And now I'll say it since the Visual Studio I can not get anywhere! I need him to do something? Because to be honest, I did not understand anything yet!
Manoel Victor wrote:Could not load bots/male1_t.c chat "
Manoel Victor wrote:Please Pardner, I'm counting on you to learn to move the files, and configure my server to my taste, leaving Durango as the DM envés BR, selecting weapons for each particular stage, etc.!
*smokinguns.exe +set net_port 27960 +exec server.cfg
Manoel Victor wrote:All done gunman, what next?
Pardner wrote:Manoel Victor wrote:All done gunman, what next?
- As I mentioned before, the 1.0 trunk does not have the qvm build scripts. So..
- Right-click on the folder where you have the source saved. Then select TortoiseSVN --> Repo-Browser
- In the Repo-Browser, navigate to the following location: https://smokinguns.svn.sourceforge.net/svnroot/smokinguns/branches/1.1/
- Right-click on the misc folder and select "export", "save-as" , or even click&drag the folder into your source code folder. You should have the folling folders in your source folder:
- I have not tested this part, in misc/win32, double click the cleanvm.cmd and then the buildvm.cmd
- You should see a new folder in your source folder called "build"
- right click on the folder named vm and select Send To --> Compressed folder
- renamed new vm.zip to zzz_vm.pk3
- place in your smokinguns folder
I am not in front of my windows machine, and I have not tried building the 1.0 qvm with the 1.1 build script. I hope it works.
[/list]
Manoel Victor wrote:I move this topic to SG Forums>SVN