
.64 weapon limits?
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
- drfrag
- Vintage GZDoom Developer
- Posts: 3199
- Joined: Fri Apr 23, 2004 3:51 am
- Location: Spain
- Contact:
How could i do it? I'd be happy with reloading the shotgun every 8 shots,Lexus Alyus wrote:You can easily do an automatic reload like Duke3D's pistol... That would be dead easy... biut tell me, why would you want such a thing. In modern games, the gameplay is relatively slow, so you get more time to reload, but in Doom it would just be a plain pain in the back side...
as long as you have ammo left, but without an ammo counter i can't
see how. My HERESY shotgun reloads only when you deselect it.
Keep track of ammo within your ACS script and display it to the screen with a hudmessage. Then actually give the player how much ammo is in the clip. When he runs out, the gun will automatically deselect, triggering the reload animation. The script should be watching for this. Have it "fill the clip" by giving the player more ammo and subtracting from the real amount. Then have it delay while the reload animation is displayed and change the player's weapon back to the shotgun.
- Bio Hazard
- Posts: 4019
- Joined: Fri Aug 15, 2003 8:15 pm
- Location: ferret ~/C/ZDL $
- Contact:
isint that how "gunsmith cats" did it? if so, theres and exampleHotWax wrote:Keep track of ammo within your ACS script and display it to the screen with a hudmessage. Then actually give the player how much ammo is in the clip. When he runs out, the gun will automatically deselect, triggering the reload animation. The script should be watching for this. Have it "fill the clip" by giving the player more ammo and subtracting from the real amount. Then have it delay while the reload animation is displayed and change the player's weapon back to the shotgun.
- Lexus Alyus
- Posts: 4220
- Joined: Tue Jul 15, 2003 5:07 pm
- Location: Nottingham, UK
- Contact:
Mmmm, now that I think about it, it won't be as simple as I thought... I was thinking of the duke pistol... but you would need a way to keep track of the ammo that ha been fired... unless you could use scripts to triggewr off different frames in the decorate weapon... This could work, but i'm not sure what the script would be... and the script would have to be a global library as it would be required in every level...
On another note, if Zdoom could somehow have polygons then the Half-Life style lightning could be used... but won't ZdoomGL support polygons? I'm sure timmie could find some way to get Half-Life style lightning... and when it does support polygons you can just create your laser as a model... thats how Dark Forces and Gedi Knight do things (What sort of models does Dark Forces use anyhow?).

On another note, if Zdoom could somehow have polygons then the Half-Life style lightning could be used... but won't ZdoomGL support polygons? I'm sure timmie could find some way to get Half-Life style lightning... and when it does support polygons you can just create your laser as a model... thats how Dark Forces and Gedi Knight do things (What sort of models does Dark Forces use anyhow?).

-
- Posts: 45
- Joined: Sun Jun 20, 2004 8:19 pm
hey every peoples, im new in the forums but not to zdoom(been using since it only had mouselook, jump, console, and resolution options)
i used this mod of zdoom once that had a railgun, real slow rail gun, but before it fired it made a red laser, it dud si by stringing alot of particles togeter in a line not to(but i bit) different from the rail itself
anyway if randy happens to read this i suggest adding a laser(if your planning to or something, i dont wanna come off as pushy at all, sorry if i am) the same way you added the railgun itself, but make it an line of single particles(that way you can put lots, maybe make them flicker then you can give the appearance of alot more of them,) also make it something that drains wile you hold the key down i guess.
im no coder(i have a great respect for you skills,) but i know a thing or 2 about it, i think all youd need to do is take the rail, make it ultra rapid fire and make the particles render inline and at just a mere blink so it would update easy while moving.
does this make sense? (again sorry if i sound like im expecting this or something, i dont really care about a phaser effect all that much but i thought id just tell my idea)
i used this mod of zdoom once that had a railgun, real slow rail gun, but before it fired it made a red laser, it dud si by stringing alot of particles togeter in a line not to(but i bit) different from the rail itself
anyway if randy happens to read this i suggest adding a laser(if your planning to or something, i dont wanna come off as pushy at all, sorry if i am) the same way you added the railgun itself, but make it an line of single particles(that way you can put lots, maybe make them flicker then you can give the appearance of alot more of them,) also make it something that drains wile you hold the key down i guess.
im no coder(i have a great respect for you skills,) but i know a thing or 2 about it, i think all youd need to do is take the rail, make it ultra rapid fire and make the particles render inline and at just a mere blink so it would update easy while moving.
does this make sense? (again sorry if i sound like im expecting this or something, i dont really care about a phaser effect all that much but i thought id just tell my idea)