Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

FPSC Classic Scripts / Flashlight is shooting.

Author
Message
Delusional Games
14
Years of Service
User Offline
Joined: 2nd Oct 2010
Location: Serbia, Sometimes Finland
Posted: 3rd Oct 2010 01:43
So four of us are working on the project NURLABOR.
And I had to make weapon-style flashlight like in
Darkness Within 2. I did that, but my flashlight is still making bullet holes and effects when I click on mouse. Does anyone knows how to change this? (If this is not subject for the ``script part of the forum``. I will delete it, no problems. )
Mr illusionest
15
Years of Service
User Offline
Joined: 5th Mar 2009
Location: Cairo , Egypt
Posted: 3rd Oct 2010 22:36
I suggest you look at EAI led lights gunspec files and check for differences , I don't know much about gunspec scripts , but I guess this has the answer .

Cheers

"I am the night visitor when everyone is sleep , and when the last light fades"
The illusionest
Delusional Games
14
Years of Service
User Offline
Joined: 2nd Oct 2010
Location: Serbia, Sometimes Finland
Posted: 3rd Oct 2010 23:00
I tried to change every line in the gunspec text file.
But only sand decals disappeared. Bullet holes are still there.
How many problems this GAMING is making me.
But we cant give up from the project I already wrote whole book about the game`s story, music composer started working, and Rade Marinkovic draw all the pictures needed.
Too bad I`m stupid for scripting

(Btw, if anyone knows how to make weapon without ammo,(yes, without a single bullet, completely empty, that will work too)
Mr illusionest
15
Years of Service
User Offline
Joined: 5th Mar 2009
Location: Cairo , Egypt
Posted: 4th Oct 2010 16:58
For setting the Weapon with no bullets at all , set reloadqty in gunspec file to 0 .

Quote: "Too bad I`m stupid for scripting "


NO ONE is stupid for scripting , It's really simple , It's just needs the well to learn it .
BTW , is your flashlight circle-lighting or it's just a full screen brighting just like all of the other scripts ?

Cheers

"I am the night visitor when everyone is sleep , and when the last light fades"
The illusionest
Delusional Games
14
Years of Service
User Offline
Joined: 2nd Oct 2010
Location: Serbia, Sometimes Finland
Posted: 4th Oct 2010 17:47
I set realoadqty = 0. But now my ``flashgun`` has unlimited ammo.
Does the thing that I replaced HUD and VWEAP files to colt45 to just replace weapon model does have something to do with it.
Quote: "is your flashlight circle-lighting or it's just a full screen brighting just like all of the other scripts ?"

My flashlight is circle-lighting. Its almost completely dark around the circle. Its the script made by freak16 and s4real.

I have so other problems with the flashlight but I wont waste your time. The man who knows good about scripting must have million problems with the game he`s making and helping to society.
Mr illusionest
15
Years of Service
User Offline
Joined: 5th Mar 2009
Location: Cairo , Egypt
Posted: 4th Oct 2010 20:58
Quote: "I set realoadqty = 0. But now my ``flashgun`` has unlimited ammo."


Change ammo quantity to 0 from your weapon's pickup .

Quote: "I have so other problems with the flashlight but I wont waste your time."


You are free to waste my time as much as you want ! no really I have no projects or requests ATM , All what I have is you !!

Cheers

"I am the night visitor when everyone is sleep , and when the last light fades"
The illusionest
Delusional Games
14
Years of Service
User Offline
Joined: 2nd Oct 2010
Location: Serbia, Sometimes Finland
Posted: 4th Oct 2010 22:42
When I set reload quantity to 1 and ammo quantity to 0.
It fires just one bullet. (If I change reloadqty to 0 there are unlimited bullets in the flashlight) Its seems far good for me.
So 90% of the problem solved. (I`l change bullet hole into the ice texture. So player wont even notice when he fired a bullet, because
walls and floors are underground ice cave.)
So I have still one flashlight script problem. (The flashlight script must be active when the player picks up flashlight weapon.) But I will deal with it some other time. (Because i`m too shy to constantly ask people on forum to help me. ) And yes finally:
thank you thank you thank you thank you.
(And yeah, do you have any game you made recently?
I would love to play if there is.)

Login to post a reply

Server time is: 2024-11-24 19:23:04
Your offset time is: 2024-11-24 19:23:04