Author Topic: Editing Scripts  (Read 1357 times)

I just can't find a way to edit some things in the Gun Script. Can anyone tell me how? I want to find a way to slow down the projectile speed so you can shoot it and then run and get hit by your own bullet.

The line you are looking for is:

muzzleVelocity      = 90;

The line you are looking for is:

muzzleVelocity      = 90;
I mean, how you open up the program for editing. Anyways, thanks for telling me the line. Now I need to know how to get there.

Notepad. Are you using Windows' ZIP utility? Windows' ZIP utility doesn't let you save after opening a file in a ZIP. (fixed in Windows 7)

Notepad. Are you using Windows' ZIP utility? Windows' ZIP utility doesn't let you save after opening a file in a ZIP. (fixed in Windows 7)
Where do In open the txt. file with the scripts then?

Where do In open the txt. file with the scripts then?
.cs is a script
Please tell me you have file extensions on, if they're off then you're in a horrible position.

Anyway, open with notepad, it would help if you set it to open with notepad by default so you only have to click on the file.

.cs is a script
Please tell me you have file extensions on, if they're off then you're in a horrible position.

Anyway, open with notepad, it would help if you set it to open with notepad by default so you only have to click on the file.
I don't know how to open it with Notepad, right clicking it will not give any "Open file with" (or whatever it's called, I'm on a Swedish computer) option.


i need to know how to make a projectile go further like distance

I don't know how to open it with Notepad, right clicking it will not give any "Open file with" (or whatever it's called, I'm on a Swedish computer) option.

What OS are you using?

i need to know how to make a projectile go further like distance
Lifetimems

I don't know how to open it with Notepad, right clicking it will not give any "Open file with" (or whatever it's called, I'm on a Swedish computer) option.
I could take it in plain Swedish, but I don't think that others would understand what I write.

1. Open up Explorer(Utforskaren).
2. Click on Preferences(Verktyg)->Folder(Mappalternativ).
3. Click on Show(Visning).
4. Uncheck "Hide extension for knows filetypes"(Dölj filnamnstilläg för kända filtyper).
5. OK.

Now you've done it!

I don't know, but I think you can make this temporary by doing
gunimage.muzzleVelocity = [number];
Remove the [] and try it in console. But idk

I found a way myself, thanks for your help anyways.

LOCK

Ok, now I've got another problem. Now, when spawning an item, the Bullettime Gun (which I called the edit) appears in the list, but the default gun doesn't. Help please?