why sights on guns?

Show off all of your Marathon-related art and music here.

Post Sep 21st '09, 23:09

Dodopod wrote:Tell me, MoppyPuppy, if you can. You have destroyed so much. What is it exactly that you have created? Can you name even one thing? I thought not.


http://pfhorums.com/MoppyPuppy/
User avatar

Shadowbreaker
Melbourne, Victoria

Post Sep 21st '09, 23:17

ErisOnline wrote:[attachment=3071:Pfhor_VacBob.jpg]
I'm on it!


hey, if you can get it to work well, i'm in the works of planning a tc which will utilize this. however, i'm not smart enough to do so by myself
D?rovací tvá?í.

Fobo: I find it hard to keep a sentence down under two paragraphs.
User avatar

tehWastedJamacan
SuFu, SD

Post Sep 21st '09, 23:24

ErisOnline wrote:[attachment=3071:Pfhor_VacBob.jpg]
I'm on it!

You will have a very hard time (read: impossible time) convincing the engine to let you turn in increments smaller than 0.7xx degrees.
User avatar

RyokoTK
Saint Paul, MN

Post Sep 22nd '09, 00:21

I announced as much before I posted the script.
underworld : simple fun netmaps // prahblum peack : simple rejected netmaps
azure dreams : simple horrible netmaps // v6.0!!!: thomas mann's greatest hits : simple simple netmaps
User avatar

irons
(.Y.)

Post Sep 22nd '09, 06:27

Let me be clear (if I haven't already): I AM NOT A CODER. I do art & writing, or more practically sprites & story. Weapon design. Terminal text. That end of things. I'm a tolerable mapper, but that was years ago when Infinity was new. Don't expect me to convince the engine of anything. In terms of engine noodling, there are only two things I want, and Irons kindly wrote one for me already.

EDIT: apparently the board doesn't support weirdie symbols. Like the infinity symbol.
Last edited by ErisOnline on Sep 22nd '09, 06:29, edited 1 time in total.
Image
User avatar

ErisOnline
San Francisco, CA

Post Sep 22nd '09, 06:33

UTF-8 support worked for a while, and has been broken for some time now. See the ill-fated Japanese Forum for a massive dose of former UTF or whatever. Anyway, what's the other Engine Noodle you're looking for?
underworld : simple fun netmaps // prahblum peack : simple rejected netmaps
azure dreams : simple horrible netmaps // v6.0!!!: thomas mann's greatest hits : simple simple netmaps
User avatar

irons
(.Y.)

Post Sep 22nd '09, 06:55

irons wrote:Anyway, what's the other Engine Noodle you're looking for?

[spoiler]Nuclear projectile.[/spoiler]
Image
User avatar

ErisOnline
San Francisco, CA

Post Sep 22nd '09, 12:50

you could have lots of drop, and a large explosion...
D?rovací tvá?í.

Fobo: I find it hard to keep a sentence down under two paragraphs.
User avatar

tehWastedJamacan
SuFu, SD

Post Sep 22nd '09, 13:29

ErisOnline wrote:[spoiler]Nuclear projectile.[/spoiler]

Code: Select all
Triggers = {}

function Triggers.projectile_detonated(type)
    if type == "grenade" then
        for p in Players() do
            p:fade_screen("long bright")
        end
    end
end


Maybe Slave can move this subthread out of "why sights on guns"
Last edited by treellama on Sep 22nd '09, 13:36, edited 1 time in total.
User avatar

treellama
Pittsburgh

Post Sep 22nd '09, 15:06

You've made me a very happy girl.
Image
User avatar

ErisOnline
San Francisco, CA

Post Sep 23rd '09, 19:54

A working scope zoom on a gun? I just thought it was about guide windows, like on the SMG, not actual working scopes.
This I'd like to see.

Vale,
Dugit
Polyplicity my second (less sucky) net pack. Go on. Download it. You know you don't want to.
Marathon Aeon- My scenario in the works ~on Simplici7y

riveting six-vertice amnesty ratifications
User avatar

Dugit
Hampshire, UK

Post Dec 22nd '09, 18:31

Has anyone ever tried to make a shapes file utilizing weapons with iron sights?
User avatar

Skunch
Nelson. BC

Post Dec 22nd '09, 20:08

The SMG in infinity uses iron sights, so yes someone has. I don't know if anyone's made any weapons where the iron sights are actually useful though.
User avatar

Horkeldorf

Post Dec 22nd '09, 21:12

Since most weapons are just too inaccurate for them (including the SMG), they are really just for decoration. Other sights, like the laser-guided (not)sniper rifle on Return to Marathon, are equally useless so far, especially for a weapon like that. The only weapon that I can remember off the top of my head, being worthy for a sight at all, was the Maser, and a sight would've just ruined the sprite.

Vale,
Dugit
Polyplicity my second (less sucky) net pack. Go on. Download it. You know you don't want to.
Marathon Aeon- My scenario in the works ~on Simplici7y

riveting six-vertice amnesty ratifications
User avatar

Dugit
Hampshire, UK

Post Dec 22nd '09, 21:30

I almost forget about the railgun thingy in marathon evil. It actually had some useful iron sights.
User avatar

Horkeldorf

Post Dec 25th '09, 12:13

That was a cool weapon. Although it was overshadowed by the brilliance of the TNT-3, one of my all-time favorite weapons.
Polyplicity my second (less sucky) net pack. Go on. Download it. You know you don't want to.
Marathon Aeon- My scenario in the works ~on Simplici7y

riveting six-vertice amnesty ratifications
User avatar

Dugit
Hampshire, UK

Post Jun 19th '10, 00:25

With that script irons posted, we can have true sniping (with scoped accurate rifles) in M-THON.
"Escape will make me God"
User avatar

zero
Tau Ceti or bust!

Post Jun 19th '10, 19:17

Hmm. I see a way to do hitscans with lua that wouldn't be horribly inefficient. I've got the pseduocode worked out for wall collision. If I can figure out floor collision, ceiling collision, and monster collision, we could have hitscan weapons in Aleph One.

If we can get that working, phase two would be effectively an auto-aim to insure you hit a monster if it's less than half a frogblast away from where you're aiming. The idea being that if you've aimed at something as closely as the engine allows, you've done the best you possibly can and hence should get the hit. Purists probably won't like it, but it would be enough to make lack of aiming precision a non-issue.

I'll post the code for hitscan wall collision if I get it working.
User avatar

Crater Creator

Post Jun 19th '10, 23:39

Crater Creator wrote:Hmm. I see a way to do hitscans with lua that wouldn't be horribly inefficient. I've got the pseduocode worked out for wall collision. If I can figure out floor collision, ceiling collision, and monster collision, we could have hitscan weapons in Aleph One.

Are you serious?

Code: Select all
t = Players[0]:find_target()
if is_polygon_floor(t) then
    Players.print("FOUND THE FLOOR")
elsif is_polygon_ceiling(t) then
    Players.print("FOUND THE CEILING")
elsif is_monster(t) then
    Players.print("FOUND THE MONSTER")
end

How long did it take you?

If we can get that working, phase two would be effectively an auto-aim to insure you hit a monster if it's less than half a frogblast away from where you're aiming.
This shouldn't be any more challenging than phase one.

I'll post the code for hitscan wall collision if I get it working.

if is_side(t) then...
User avatar

treellama
Pittsburgh

Post Jun 20th '10, 08:39

Indeed. I didn't see find_target() at the time of my last post. I was prepared to calculate it polygon by polygon using :find_line_crossed_leaving() (which, like find_target, would have been a very handy function for doing most of the work). With find_target, which I did incidentally find in the lua guide before reading Treellama's post, the code is considerably more trivial than first thought.
Code: Select all
-- makes pistol bullets effectively travel at infinite speed.

Triggers = {}
function Triggers.idle()
   for p in Projectiles() do
      if (p.type == "pistol bullet" and p.owner ~= nil and p.owner.player ~= nil) then
         shooter = p.owner.player;
         tSide,tX,tY,tZ,tPoly = shooter:find_target()
         p:position(tX, tY, tZ, tPoly);
      end
   end
end


And so, this little script will address the concern of anyone who's been disappointed with Marathon's bullet projectiles being woefully slow. I'm still thinking about hitscan weapons with inaccuracy and the small auto-aim capability.
User avatar

Crater Creator

Previous

Return to Artwork and Music



Who is online

Users browsing this forum: No registered users