Poll

New clan?

Building Clan
3 (18.8%)
Add-on Making Clan
5 (31.3%)
Clan focusing on making unique thing
6 (37.5%)
Movie Clan
2 (12.5%)

Total Members Voted: 16

Author Topic: NEED CLAN IDEAS  (Read 20373 times)



Bump. We should start working on a clan project.


I wanted to work on the RPG but I don't have the save. Simon does though.

I decided that maybe we should do something like the slate pyramid build but only make it look better.

Yay, I wished to join and Heed accepted me.
Into scripting.
I assume i'm a novice though. :)

Try to make something where when you cut wood, you get logs and xp. When you get 10 xp, you level up and it displays your level. Use this as an example. Made by Mr. Wallet.
Code: [Select]
//a hammer called the wood-choppin' axe that only kills trees and adds to a client's .wood field.
//supplying the actual models, fleshing out the projectile data to something less hammer-y, making it act like a weapon in minigames,
//making the woodcutting USEFUL for something, etc., is left as an exercise to the interested reader.

datablock ItemData(WoodAxeItem : HammerItem)
{
    //shapeFile = "./WoodAxe.dts";
   
    uiName = "Wood-Choppin' Axe";
    //iconName = "./icon_WoodAxe";
   

     // Dynamic properties defined by the scripts
    image = WoodAxeImage;
};

datablock ProjectileData(WoodAxeProjectile : HammerProjectile)
{
    uiName = "Axe Swing";
};

datablock ShapeBaseImageData(WoodAxeImage : HammerImage)
{
   //shapeFile = "./WoodAxe.dts";
   
    item = WoodAxeItem;
   
    projectile = WoodAxeProjectile;
};

function WoodAxeImage::OnFire(%this, %obj, %slot)
{
    HammerImage::OnFire(%this, %obj, %slot);
}

function WoodAxeImage::onHitObject(%this, %player, %a, %brick, %particle, %f)
{
    if(!%brick.isplanted) return; //prevents console spam if not hitting a brick object, since things like terrain and interiors don't have a ::getdatablock()
    if(%brick.getdatablock().getname() $= "brickPineTreeData" && gettrustlevel(%player, %brick) >= 2) {
        HammerImage::OnHitObject(%this, %player, %a, %brick, %particle, %f);
        %player.client.wood++;
        messageclient(%player.client, "", "\c2LOL you now has " @ %player.client.wood @ " wood.");
    }
}

//PUT THIS IN A PACKAGE
function armor::OnCollision(%this, %obj, %col, %pos, %a)
{
    if(!%obj.client.isadmin && %col.datablock $= "WoodAxeItem") return;
    parent::OnCollision(%this, %obj, %col, %pos, %a);
}

//DEVELOPMENT PROCESS:
//After defining the basic image I went through a stuffstorm of echoes, traces, and dumps. I was even trying to code my own raycast for the hit, for a while.
//after about 45 minutes from the start of the project, I realized that the game didn't care if I just called hammerimage's onfire, which like the wrench and the wands results in an "onhitobject" result.
//the moral of the story is that if you try to make something different from anything you've made before, no matter how experienced you are, you've got some studying ahead.

Also try to use Block City mod. That could be helpful.


You were talking to me, right?

You were talking to me, right?
Yup :P. If you want, I could help you out on this one.

Yup :P. If you want, I could help you out on this one.
OK. I've never done a weapon script, so it'll be some work for me, but other than that OK.

Warning- While you wee typing your post, a new post has been added.

Coool!

>:O

« Last Edit: August 28, 2009, 07:58:55 AM by Radioactive Cat »

I might join as a scripter, seeing as I'm not a scripter for any other clan.

I might join as a scripter, seeing as I'm not a scripter for any other clan.
Alright.