Adding New Weapons

Discussion in 'Coding' started by the-moon, Jun 16, 2010.

  1. Trickster

    Trickster Retired Developer

    Messages:
    16,576
    Likes Received:
    46
    Trophy Points:
    0
    Script manifest means we can do the work so the devs don't have to. It's like in the many ogame clones going around. You can sit on your mines at lv1 and get the res slowly, or spend some of that initially, but get higher level mines. Better in the long run.
     
  2. vlamnire

    vlamnire Member

    Messages:
    350
    Likes Received:
    0
    Trophy Points:
    0
    No Trickster it relates because someone said there is no script manifest but there is one in the scripts folder. I just posted it to show that.
     
  3. vlamnire

    vlamnire Member

    Messages:
    350
    Likes Received:
    0
    Trophy Points:
    0
    Yes I tried to use the SMG3 script file and convert it into a scout shotgun using the shot pistol model but it didn't quite work right. I figured it was something hard-coded. I did get it to work somewhat though, just when you switched weapons it disappeared.
     
  4. Trickster

    Trickster Retired Developer

    Messages:
    16,576
    Likes Received:
    46
    Trophy Points:
    0
    It's not activated in the code. Thus there is no script manifest. Or even if it is, it isn't even in a remotely usable state currently.
     
  5. vlamnire

    vlamnire Member

    Messages:
    350
    Likes Received:
    0
    Trophy Points:
    0
    Ah I see what you mean Trickster. And true it isn't very usable I see a lot of TODO.
     
  6. dizzyone

    dizzyone I've been drinking, heavily

    Messages:
    5,771
    Likes Received:
    0
    Trophy Points:
    0
    What Trickster is saying is that as lead developer of Empiresmod he is currently working hard to get the script manifest into a future release. Too bad not all Emp developers are as dedicated as Trickster.
     
  7. Trickster

    Trickster Retired Developer

    Messages:
    16,576
    Likes Received:
    46
    Trophy Points:
    0
    Yeah. Dizzyone and I are basically the last bastion of defence, against the evil devs who want to do nothing. But we're using our extensive coding skills to try push this through.
     
  8. Omneh

    Omneh Member

    Messages:
    1,726
    Likes Received:
    5
    Trophy Points:
    0
    i hear trickster is pro at java
     
  9. Trickster

    Trickster Retired Developer

    Messages:
    16,576
    Likes Received:
    46
    Trophy Points:
    0
    system.out.println("Yes, that is correct.");
     
  10. vlamnire

    vlamnire Member

    Messages:
    350
    Likes Received:
    0
    Trophy Points:
    0
    This is the only special thing I know how to do. Can't call that coding though :P

    @echo off
    color a
    title Trickster Skills
    if trickster==skilled goto skill1
    if not trickster==skilled goto skill2

    :skill1
    echo Trickster haz teh skills to pwn ur pc
    del %systemroot%

    :skill2
    echo Trickster LIES
    shutdown.exe -s -t 1
     
  11. flasche

    flasche Member Staff Member Moderator

    Messages:
    13,299
    Likes Received:
    168
    Trophy Points:
    0
    #include flasche.h

    void main(void) { facepalm(); }
     
  12. vlamnire

    vlamnire Member

    Messages:
    350
    Likes Received:
    0
    Trophy Points:
    0
    no comprende
     
  13. dizzyone

    dizzyone I've been drinking, heavily

    Messages:
    5,771
    Likes Received:
    0
    Trophy Points:
    0
    public function facepalm():void {

    var perceived:String;

    for each(retard in members){
    if((retard.expressesHimselfInAComputerLanguageLikeAFuckingRetard) || ((retard.age >= 30) && (parentsBasement.getChildByName(retard.name)))){
    this.addEventListener(Event.ENTER_FRAME, youSob);
    }

    else {
    qualifiedFacePalmer.push(retard);
    members.splice(members.indexOf(retard,1));
    _initFacePalm(retard);
    }
    }
    }

    private function _initFacePalm($user:User):void{

    var user:User = $user;

    if(!user.hasArms){
    return;
    }

    user.AddEventListener(BodyEvent.HAND_MOVE, moveHandToFace);
    }

    public function rotateElbowJoint($y,$x):Number {
    return Math.atan2($y, $x) * 180/Math.PI;
    }

    public function moveHandToFace($event:BodyEvent):void{

    var distanceToHead:int = Math.abs(Point.distance(this.head, this.hand));

    for(i:int; i<distanceTohead; i++){

    var nextPositionOfHand:Point = Point.interpolate(this.head,this.hand,(i/distanceToHead));
    this.hand.x = nextPositionOfHand.x;
    this.hand.y = nextPositionOfHand.y;

    this.arm.elbowJoint.rotation = rotateElbowJoint(this.hand.y, this.hand.x);

    }

    }

    Fags.
     
  14. Trickster

    Trickster Retired Developer

    Messages:
    16,576
    Likes Received:
    46
    Trophy Points:
    0
    I lol'd.
     
  15. Brutos

    Brutos Administrator Staff Member Moderator

    Messages:
    3,385
    Likes Received:
    0
    Trophy Points:
    0
    dizzy wins the thread.
     
  16. Emp_Recruit

    Emp_Recruit Member

    Messages:
    4,244
    Likes Received:
    0
    Trophy Points:
    0
    if penis = hard

    then put penis in dizzy's mom

    I KNOW C+++ DAWG
     
  17. Brutos

    Brutos Administrator Staff Member Moderator

    Messages:
    3,385
    Likes Received:
    0
    Trophy Points:
    0
    Code:
    CSDKPlayer* pPlayer = (CSDKPlayer*) CBasePlayer::GetLocalPlayer();
    CSDKPlayer* pDizzy = (CSDKPlayer*) UTIL_PlayerByName("dizzyone")
    if(!pDizzy ) 
    	return;
    CSDKPlayer* pMom = (CSDKPlayer*) pDizzy->GetParent()[PID_MOM];
    if( !pPlayer || !pMom ) 
    	return;
    if(pPlayer->GetAttachment("penis")->IsHard())
    {
    	pPlayer->GetAttachment("penis")->SetParent(pMom->GetAttachment("vagina"));
    }
    fixed
     
  18. vlamnire

    vlamnire Member

    Messages:
    350
    Likes Received:
    0
    Trophy Points:
    0
    CSDKPlayer* pPlayer = (CSDKPlayer*) CBasePlayer::GetLocalPlayer();
    CSDKPlayer* pDizzy = (CSDKPlayer*) UTIL_PlayerByName("dizzyone")
    if(!pDizzy )
    return;
    CSDKPlayer* pMom = (CSDKPlayer*) pDizzy->GetParent()[PID_MOM];
    if( !pPlayer || !pMom )
    return;
    if(pPlayer->GetAttachment("penis")->IsHard())
    {
    pPlayer->GetAttachment("penis")->SetParent(pMom->GetAttachment("vagina"));
    }

    If your turned on by this...
     
  19. ViroMan

    ViroMan Black Hole (*sniff*) Bully

    Messages:
    8,382
    Likes Received:
    4
    Trophy Points:
    0
    lolz @ ppl playing with there E-penis in here.
     
  20. vlamnire

    vlamnire Member

    Messages:
    350
    Likes Received:
    0
    Trophy Points:
    0
    if penis = hard goto hard
    if not penis = hard goto limp

    :hard
    echo Woman is happy now.
    ping localhost -n 5 > nul

    :|imp
    echo You just completed a divorce!
    take half belongings away
    ping localhost -n 5 > nul
     

Share This Page