Skip to main content

Society Horoscope Week of November 18th

  Editor's Note: This week's horoscope is late. It was delivered on time by our esteemed Gae; however, RL is RL. Enjoy! HOROSCOPE from 28th November to  4th December 2022 by Gae Malaparte for The Cyber Society ------------------- This week, the star sign is Libra. In total success mode!   Aries Back to the roots If there's one thing that sets you apart, Aries, it's your fearlessness. Always trusting in your lucky star, you have the knack of taking serious risks and getting away with it, without burning your wings. You are thirsty for the ideal, hungry for the new and this is just the right time, because the stars speak of escapes, hopes and joy. Take advantage of the windfall, especially since the next few weeks are going to be exceptional. Excited as a flea at low tide, you can't stand still. You need action, projects to make it happen. Mercury and Venus in Sagittarius are talking about nothing else! You're brooding because the year's balance ...

Make your own weapon for Battle Avatar Game

Battle Avatar is a game where you kill monsters that drop L$ and the game features limited quantity weapons that players can re-sell. BA weapons can be created by anyone. Weapon creators always get a % share  in L$ from sale when the weapons changes hands. Some weapons will be very rare and of high resale value.

[04:46] Wili Clip: Welcome everyone
[04:47] Wili Clip: this is the 1st class in the scripting tutorial series of How to make your own weapon for Battle Avatar Game
[04:51] Wili Clip: There are many full permission weapon models on SL Marketplace
[04:51] Wili Clip: that can be used for Battle Avatar... We're going to show you how to add the attack animations, sounds and particle effects to the weapon...
[04:54] Wili Clip: We've created a special script / tool that makes changing variables of the weapon very easy for anyone... This weapon you will work on will not yet work on Battle Avatar Monsters. if you visit all the classes and put some effort into I will help you do the final touch to make your weapon work with monster....
[04:54] Wili Clip: Allright.. I'll try to keep this class short because I've a nasty flu
[04:55] Wili Clip: we will be using 2 scripts
[04:55] Wili Clip: BA Effects Trigger
[04:56] Wili Clip: the code from this one you won't be able to see or change..
[04:56] Wili Clip: and
[04:56] Wili Clip: Weapon_Effects 1.5  (open source)
[04:57] Wili Clip: this is the script where you'll do your magic
[04:57] Wili Clip: I will also send you this basic tomahawk weapon
[04:57] Wili Clip: but if you want you can get any full permission weapon from SL marketplace to practice on ^^
[05:01] Wili Clip shares Tomahawk Scripting Class object/weapon with all the students attending
[05:02] Wili Clip: Right click on it in your inventory and Add it
[05:02] Wili Clip: it will put it in your right hand ^^
[05:02] Wili Clip: ok so once you're wearing it
[05:03] Wili Clip: right click on it and select Edit
[05:03] Wili Clip: and go to Content tab on the edit window
[05:03] Wili Clip: double click on Weapon_Effects 1.5 script to open it
[05:04] Wili Clip: ok do you see something like that ->
[05:04] Wili Clip: //SOUND EFFECTS
//To get sound uuid right click it in inventory & select -> Copy Asset UUID
string on_equip = "14226e94-6256-d6db-da81-b155fb0216bf";
string lock_target = "b95cbc1f-8373-a202-a5df-2b7f125248c2"; //LOCK TARGET SOUND
[05:05] Wili Clip: ?
[05:05] Wili Clip: ok so this is the main script where you're going to change these variables to change the behavior of your weapon...
[05:05] Wili Clip: you can change the sound that is played when you attach the weapon
[05:06] Wili Clip: you can change the attack animations[05:06] Wili Clip: attack sound
[05:06] Wili Clip: the sound that plays when you level up
[05:06] Wili Clip: all the effects of the weapon ^^
[05:07] Wili Clip: //To get sound uuid right click it in inventory & select -> Copy Asset UUID
[05:07] Wili Clip: every sound in second life has uuid key
[05:08] Wili Clip: Lets take for an example the sound that plays when we equip the weapon ->
[05:08] Wili Clip: string on_equip = "14226e94-6256-d6db-da81-b155fb0216bf";
[05:08] Wili Clip: the uuid of the sound is already set... to set some other sound you just get uuid of your desired sound from your inventory and change it in between ""
[05:09] Wili Clip: -> "14226e94-6256-d6db-da81-b155fb0216bf";   you change that uuid and it will play another sound.... you can get lots of free sounds from sl marketplace and some even sell different sounds
[05:09] Wili Clip: or you can also upload sounds to SL from your computer 10 seconds waw files
[05:10] Wili Clip: no sequence of sounds possible as its not needed.. ^^
[05:10] Wili Clip: sound effects are very short
[05:10] Wili Clip: so under //SOUND EFFECTS
[05:11] Wili Clip: all the variables you see are for different soudns... the variables names are self explanatory
[05:11] Wili Clip: string lock_target = "b95cbc1f-8373-a202-a5df-2b7f125248c2"; //LOCK TARGET SOUND
[05:11] Wili Clip: for example is when you target someone a player or a monster. That is the sound that will play when you set target
[05:11] Wili Clip: string attack_sound = "83d6b9c9-a844-88f1-a040-1480be540c03";
[05:11] Wili Clip: This sound will play when you trigger attack
[05:12] Wili Clip: you can change it to any ^^
[05:12] Wili Clip: other sound
[05:12] Wili Clip: different weapons will have different ranges
[05:13] Wili Clip: and players need to level up to be able to use better weapons
[05:13] Wili Clip: we proceed on
[05:13] Wili Clip: //AVATAR ANIMATIONS
[05:13] Wili Clip: Does everyone know what the animations are ?
[05:14] Wili Clip: its what causes our avatars to animate ^^
[05:14] Wili Clip: You need to have a full permission animation
[05:14] Wili Clip: and put it in the weapons content next to script
[05:14] Wili Clip: then you put the animation name
[05:15] Wili Clip: string attack_anim = "Upper_Attack";
[05:15] Wili Clip: for example Upper_Attack is the animation that is in our test weapon
[05:15] Wili Clip: and this animation will trigger when we attack someone or something with our weapon
[05:16] Wili Clip: on this pic:


you can see that in our weapon content we have 2 animations
[05:16] Wili Clip: Fold and Upper_Attack
[05:17] Wili Clip: if you want to change the animation that plays when you attack with your weapon you just replace Upper Attack animation with your own animation in the weapon's content...
[05:17] Wili Clip: then in the script you change the name to the same as your new animation is called
[05:17] Wili Clip: for example if its name is: my_animation
[05:18] Wili Clip: change
[05:18] Wili Clip: string attack_anim = "Upper_Attack";
[05:18] Wili Clip: into
[05:18] Wili Clip: string attack_anim = "my_animation";
[05:18] Wili Clip: and thats it
[05:18] Wili Clip: when you trigger the attack... your new animation you set in will play ^^
[05:18] Wili Clip: string battle_stand = ""; //ANIMATION THAT PLAYS WHEN LOCKING TARGET
[05:18] Wili Clip: here we don't have any animation set...
[05:19] Wili Clip: you can add the animation for it in the inventory
[05:19] Wili Clip: and put it in between ""
[05:19] Wili Clip: string battle_stand = "some_animation";
[05:19] Wili Clip: providing that you've put some_animation in the weapon'ss Content beforehand
[05:20] Wili Clip: ok and now the last thing
[05:20] Wili Clip: the particles
[05:20] Wili Clip: particles are easy to get...
[05:20] Wili Clip: in the script
[05:20] Wili Clip: //REPLACE PARTICLES EFFECT WITH YOUR OWN BELLOW
[05:21] Wili Clip: the particle code looks like a monster
[05:21] Wili Clip: but you don't need to know what it means... we copy paste the particle code... some scripters sell different particle effects and they're cheap on sl marketplace
[05:21] Wili Clip: this is how particle effect code looks like for example (don't get scared)
[05:21] Wili Clip: ->
[05:21] Wili Clip: llParticleSystem([
PSYS_PART_FLAGS,(0
| PSYS_PART_EMISSIVE_MASK
| PSYS_PART_INTERP_COLOR_MASK
| PSYS_PART_INTERP_SCALE_MASK
| PSYS_PART_FOLLOW_VELOCITY_MASK
| PSYS_PART_TARGET_POS_MASK
),PSYS_SRC_TARGET_KEY,target_uuid,
PSYS_PART_START_COLOR,<0.165, 0.584, 1.000>,
PSYS_PART_END_COLOR,<0.165, 0.584, 1.000>,
PSYS_PART_START_ALPHA,1.000000,
PSYS_PART_END_ALPHA,1.000000,
PSYS_PART_START_SCALE,<4.00000, 2.00000, 0.00000>,
PSYS_PART_END_SCALE,<2.00000, 4.00000, 0.00000>,
PSYS_PART_MAX_AGE,0.800000,
PSYS_SRC_ACCEL,<0.00000, 0.00000, 0.00000>,
PSYS_SRC_PATTERN,2,
PSYS_SRC_BURST_RATE,0.500000,
PSYS_SRC_BURST_PART_COUNT,50,
PSYS_SRC_BURST_RADIUS,5.000000,
PSYS_SRC_BURST_SPEED_MIN,8.000000,
PSYS_SRC_BURST_SPEED_MAX,9.000000,
PSYS_SRC_MAX_AGE,1.000000,
PSYS_SRC_OMEGA,<0.00000, 0.00000, 5.00000>,
PSYS_SRC_ANGLE_BEGIN,0.000000*PI,
PSYS_SRC_ANGLE_END,0.000000*PI]);
[05:22] Wili Clip: if done right then they're not causing lag
[05:22] Wili Clip: there are better quality particles (that  don't cause much lag) and there are very bad particles...
[05:23] Wili Clip: and that is it... that is all that you can or have to change to create your weapon
[05:23] Wili Clip: because there are unlimited possibilities of sounds, animations and the particle effects... you can create unlimited amount of different weapons behaviors
[05:24] Wili Clip: from swords to axes, polearm weapons and all sorts
[05:24] Wili Clip: On next class we might take students to kill some monsters....
[05:25] Wili Clip: if there will be enough interest..
[05:25] Wili Clip: now to trigger your weapon
[05:25] Wili Clip: just click on floor
[05:25] Wili Clip: left mouse click anywhere on the floor ;)
[05:26] Wili Clip: when you do that you can see that it animates your avatar, plays sound and also creates the particle effect
[05:27] Wili Clip: thats a new update to Battle Avatar.. before we triggered the attack by pressing button c on keyboard
[05:27] Wili Clip: we might keep both options
[05:29] Wili Clip: So this production script for a weapon lets you easily change animations, sounds and particle effects and test it...
[05:31] Wili Clip: but it will not let you kill the monsters... its just a production script to make it easy to make a weapon. Once you're happy with how your weapon behaves (animations, sounds, particles) you can send it to me and I add other scripts that will make your weapon fully compatible with the game and you'll be able to kill monsters...
[05:31] Wili Clip: Each weapon has a LEVEL  and attack speed, attack range
[05:31] Wili Clip: lower level weapons will have lower qualities while higher LEVEL weapons (that will also look better) will have more attack power and speed...
[05:32] Wili Clip: currently the most popular is BOW
[05:32] Wili Clip: but we probably made a 1st bow too strong..
[05:32] Wili Clip: and will need to make BOW level 1
[05:32] Wili Clip: but we probably made a 1st bow too strong..
[05:32] Wili Clip: and will need to make BOW level 1
[05:32] Wili Clip: be weak while BOW level 2 will be stronger and so on with every new level
[05:32] Wili Clip: the class is FIN ^^

Comments

Popular posts from this blog

Wili Clip's 1st product from a decade ago - Advanced Title Maker - OPEN SOURCED

Advanced Title Maker was a 1st scripted product that I created about 10 years ago. It was selling well. I am open sourcing it for educational purposes. \O .. O/ integer SetText = FALSE; vector TextColor = ; vector colortext = ; string textsay =""; list MENU = ["PRIVATE","PUBLIC","COLOR","TURN ON", "TURN OFF","SHORTCUTS"]; list COLORS = ["white", "black","green","red","yellow","blue","pink", "cyan" ]; list TIME =["ONCE","3 min","5 min", "10 min", "15 min","UNSET"]; list empty; integer CHANNEL_DIALOG_BOX = -49384756; //function TextControl(string text, vector clr) { if (SetText == TRUE) { llSetText(text, clr, 1.0); } else if (SetText == FALSE){ llSetText("", , 1.0); llOwnerSay( "\nTittle maker is now turned OFF...

Society Horoscope Week of November 21, 2022

The Cyber Society welcomes its newest contributer - Gae Malaparte! Gae will be bringing your horoscope to you weekly. Read on to see what is in store for you. -------------- HOROSCOPE from 21st November to 28th November 2022 by Gae Malaparte for The Cyber Society This week, the star sign is Sagittarius. Your existence is so sweet that it makes you want to curl up with it. -------------- Aries Who would have thought it A grumpy colleague turns out to be hyper-sympathetic. A tedious job turns out to be very formative. Your preconceived ideas are blackballed by a reality that is quite different from what you thought. Breaking out of a dusty mental schema or a plan-plan train of thought invigorates you on all levels. My train of thought: look elsewhere, the grass is greener. Taurus The hair in four You don't pay attention to details, you nitpick. Until you understand the difference, you'll be seen as the pain in the ass. You waste everyone's valuable time getting answers that ...

Organizational Structure for Second Life - Cyber Society RPG

   [15:39] Wili Clip: the Conference chatter will be done in LGH We will try to be very fast (as its late) and we'll provide the transcript for everyone to read & learn ... [15:39] Wili Clip: Do we have any volunteer that will make a transcript for 2000 GOLD? [15:40] luigi6543210: hi all nwn [15:40] Sophina Starchild: suuuuure [15:41] Clarence DeLeon: grins [15:41] Sophina Starchild: to be clear, that was me volunteering to transcribe [15:42] Wili Clip: If you want to get most GOLD POINTS per unit of time that you can in the game now is your chance (or regret forever): O .. O Business Park (247,227,29) Click on Attendee Job [15:43] Wili Clip: Sophina you're doign the transcription? [15:43] Sophina Starchild: Yus [15:43] Wili Clip: excellent! [15:43] кαץℓα: yes [15:43] Wili Clip: you're on the contract [15:44] Wili Clip: Okay so we've been talking for quite some time at the upper echelons of game design on what kind of organization should we even create for Cyber Soc...