Paratrooper's Semi-AWPtomatic

Released modifications for the OpenSpades client.
Forum rules
Release, download, and praise or criticize completed modifications. For installation and creation help, please visit the OpenSpades general discussion forum.
9 posts Page 1 of 1 First unread post
Paratrooper
Modder
Modder
Posts: 65
Joined: Sat Dec 08, 2012 3:35 am


A Rifle mod for OpenSpades.
promo.png
promo.png (158.54 KiB) Viewed 6553 times
Video (click the link to the video for 60fps):
Images (click to expand):
Spoiler:
idle.jpg
idle.jpg (205.26 KiB) Viewed 6553 times
aiming.jpg
aiming.jpg (203.2 KiB) Viewed 6553 times
reloading-1.jpg
reloading-1.jpg (244.04 KiB) Viewed 6553 times
reloading-2.jpg
reloading-2.jpg (223.41 KiB) Viewed 6553 times
firing.jpg
firing.jpg (212.2 KiB) Viewed 6553 times
Download Links:
Image
Gamebanana: http://gamebanana.com/skins/146422

http://gamebanana.com/skins/download/146422
Last edited by Paratrooper on Thu Jul 07, 2016 5:11 am, edited 3 times in total.

..

Holt
Deuced Up
Posts: 33
Joined: Sat Jan 19, 2013 11:39 pm


..
Last edited by Holt on Mon Nov 04, 2019 10:15 pm, edited 1 time in total.
Priok
Winter Celebration 2013
Winter Celebration 2013
Posts: 448
Joined: Tue Nov 06, 2012 2:11 am


wow, that's one of the coolest mods I've ever seen, nice work dude. good to see you release something new
Chameleon
Modder
Modder
Posts: 601
Joined: Thu Nov 22, 2012 6:41 pm


Well I expected a bolt action...
But those are damn sweet animations, man. Also I noticed different scope blur, gotta take a look at that :P
Tootolz
Deuce
Posts: 2
Joined: Mon Jun 13, 2016 9:18 pm


Looks good, but would u be able to release a model with a hollow scope?
Chameleon
Modder
Modder
Posts: 601
Joined: Thu Nov 22, 2012 6:41 pm


I am not C++ guru, but why
Code: Select all
private bool isDead = true;
		
bool IsDead {
	set { isDead = value; }
	get { return isDead; }
}
a) it's private, so it doesn't need "get{} set{}"
b) "{ get; set; }" didn't crash for me, so you could try using that instead (works in C#), once it's public.
Also you could do so much better if you implemented dropped magazine feature in the source code itself. Wanna try? I can help (a little tiny bit).

For a bit better sound variation, I do
Code: Select all
AudioParam param;
param.pitch += (GetRandom()-GetRandom())*0.1f;
The recoil looks a bit weird, a bit too much rotation...
Paratrooper
Modder
Modder
Posts: 65
Joined: Sat Dec 08, 2012 3:35 am


it's private, so it doesn't need "get{} set{}"
No. It needs its own getter and setter because it's private. Think about it: What's the point of making a getter and setter for a public member when you can just reference the member itself?
Code: Select all
... In the RifleMagazineParticle class
// declares a boolean private member "isDead" and is initialized to true whenever an instance of this class is made
// I can't reference isDead in some code outside of this class because its private
private bool isDead = true;

// however, by declaring a getter and setter (notice that the "I" in "IsDead" is capitalized)
// I can freely define *how* I want this member to be accessed.
bool IsDead {
   set { isDead = value; }
   get { return isDead; }
}

... in some other source file
RifleMagazineParticle mag(...);
mag.isDead = false; // won't work, I am accessing a private member. 
mag.IsDead = false; // will work and will set isDead to false.
From AngelScript's documentation: http://www.angelcode.com/angelscript/sd ... _prop.html
Code: Select all
  class MyObj
  {
    // A virtual property with accessors
    int prop 
    { 
      get const 
      { 
        // The actual value of the property could be stored
        // somewhere else, or even computed at access time.
        return realProp; 
      } 
      set 
      { 
        // The new value is stored in a hidden parameter appropriately called 'value'.
        realProp = value; 
      }
    }

    // The actual value can be stored in a member or elsewhere.
    // It is actually possible to use the same name for the real property, if so is desired.
    private int realProp;
  }
Also you could do so much better if you implemented dropped magazine feature in the source code itself. Wanna try? I can help (a little tiny bit).
I could, but that would mean competing with your version :)
Besides, I don't want people downloading an entirely new version of OpenSpades just to try out my mods.

And that sound variation is a neat trick!
StrikerJanners
Deuced Up
Posts: 75
Joined: Fri Jun 24, 2016 7:35 pm


Damn nice one!could you try adding Chammie's zoom script with that weapon?
MadMax
Deuced Up
Posts: 95
Joined: Sun Mar 13, 2016 7:21 pm


Looks pretty nice, animations.. good, also looks really good the scope, good job.
9 posts Page 1 of 1 First unread post
Return to “OpenSpades MODs”

Who is online

Users browsing this forum: No registered users and 51 guests