Author Topic: Adding Light to the Arrow  (Read 1531 times)

I was reading the topic in Suggestions and Requests, the one about the Light Orb thing. Somebody said that it would "basically be an arrow with light". I tried doing that, but whenever I change anything, it doesn't save it. Either that, or I'm doing it wrong. Look at this snip from the bow I changed. Please tell me what I did wrong/should've done.
Code: [Select]
   hasLight    = true;
   lightRadius = 10.0;
   lightColor  = "0 0 255";
Might it be that my Winrar trial is expired? That's where the files open in.
« Last Edit: November 13, 2009, 10:32:06 PM by Dapizzanator »

Might it be that my Winrar trial is expired? That's where the files open in.

I've had iwnrar for one year and it didn't expire and still saves. When you close yoru server.cs file or soemthing, if it says "Do youw ant to save htis file in the archive" or something, choose yes.

Yeah. I know that. I've made a bunch of other edits, only they were mainly projectile edits. Any help, guys?

If you have the existing Weapon_Bow.zip and your files in "Add-Ons/Weapon_Bow" at the same time, Blockland will read the zip file.

No, I just edited the normal bow. If this were to be released (No.), I'd rename it, but whatever as of now.

- Where are your files stored?
- Where is the original Weapon_Bow.cs?
- What datablock names are you using?

Simple tutorial:

1. Open the .zip and open server.cs/weapon_bow.cs
2. Change what you want to change and SAVE SOMEWHERE ELSE!
3. Take the .cs file you just created and move it over to the zip. It will ask to overwrite, say yes.

If you open a zip with winrar, it will create a temporary file. If you say save, it will only save in that file. That's why it doesn't save in the zip

- Where are your files stored?
- Where is the original Weapon_Bow.cs?
- What datablock names are you using?
- C:\Blockland\Add-ons\Weapon_Bow
- C:\Blockland\Add-ons
- What do you mean? I just edited that one section of the bow; the part about the light.

Also, I'll have to try that, chilmans.

- C:\Blockland\Add-ons\Weapon_Bow
The zip file or a normal folder? If it's the second one, do you still have the original zip file there?

On my iPod now, so I can't check. It's whatever came with Blockland.

Which of these do you have it set up as?
Code: [Select]
Add-Ons/Weapon_Bow.zip
- server.cs
- Your modified Weapon_Bow.cs
Code: [Select]
Add-Ons/Weapon_Bow.zip deleted or empty

Add-Ons/Weapon_Bow
- server.cs
- Your modified Weapon_Bow.cs
Code: [Select]
Add-Ons/Weapon_Bow.zip
- server.cs
- Weapon_Bow.cs

Add-Ons/Weapon_Bow
- server.cs
- Your modified Weapon_Bow.cs

I think the first one...
Here, I'll try saying this:
I did NOT delete/copy Weapon_bow. There is absolutely NOTHING changed, with the exception of that small part of the code at the top of this page.

Then I don't know, sorry.

=/
Okay, then...
Thanks for trying, though.