Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

More open source ideas?

Jack Lambert
Registered User
Join date: 4 Jun 2004
Posts: 265
02-26-2005 00:06
Alright I'm officially sick to death of my own casino games networking/upgrade development schedule :) I'd like to work on something ELSE for a while....

Anyone have an idea for something I can write and put in the scripting library for a laugh? Anything but vehicles or guns :) ... I especially like to write business related stuff (contest organisers, raffles, that sort of thing)

I welcome anyone who is also bored and wants to contribute to the script library.

--Jack Lambert
Hiro Pendragon
bye bye f0rums!
Join date: 22 Jan 2004
Posts: 5,905
02-26-2005 00:29
Can you make an attachment that will slow down an avatar's movement based on a variable speed, and also overrides animations so that people can make slow-motion movement animations?
_____________________
Hiro Pendragon
------------------
http://www.involve3d.com - Involve - Metaverse / Emerging Media Studio

Visit my SL blog: http://secondtense.blogspot.com
Jack Lambert
Registered User
Join date: 4 Jun 2004
Posts: 265
02-26-2005 00:39
Was that a joke? :)

In short, I can't think of a way to manipulate the animation rates directly with LSL apart from basic stopping and starting.

--Jack Lambert
Hiro Pendragon
bye bye f0rums!
Join date: 22 Jan 2004
Posts: 5,905
02-26-2005 00:52
From: Jack Lambert
Was that a joke? :)

In short, I can't think of a way to manipulate the animation rates directly with LSL apart from basic stopping and starting.

--Jack Lambert

No, not the animation rate. The movement rate. So if I walk, I can set it to walk half speed, etc.

I'll let the animators worry about making the animations slower - that's easy, just need to be triggered.
_____________________
Hiro Pendragon
------------------
http://www.involve3d.com - Involve - Metaverse / Emerging Media Studio

Visit my SL blog: http://secondtense.blogspot.com
Jack Lambert
Registered User
Join date: 4 Jun 2004
Posts: 265
hehe
02-26-2005 01:12
Cheese. No wait, pie!

*grins*

OK the main reason I don't like doing vehicles and/or guns is dealing with impulse and collision. Actually you know... I can't think of a good way to do what you're asking either without it looking quite "jumpy" I'd be interested to see how it could be done. There's no direct way to adjust movement rate is there? Without taking control of the movement keys? Interesting.

--Jack Lambert
Hiro Pendragon
bye bye f0rums!
Join date: 22 Jan 2004
Posts: 5,905
02-26-2005 01:38
From: Jack Lambert
Cheese. No wait, pie!

*grins*

OK the main reason I don't like doing vehicles and/or guns is dealing with impulse and collision. Actually you know... I can't think of a good way to do what you're asking either without it looking quite "jumpy" I'd be interested to see how it could be done. There's no direct way to adjust movement rate is there? Without taking control of the movement keys? Interesting.

--Jack Lambert

*grins back*

I wouldn't give out an easy task, would I? If it was easy I'd have time to do it myself already.

And I want a solution that doesn't require sitting in a vehicle / etc. :)
_____________________
Hiro Pendragon
------------------
http://www.involve3d.com - Involve - Metaverse / Emerging Media Studio

Visit my SL blog: http://secondtense.blogspot.com
Jack Lambert
Registered User
Join date: 4 Jun 2004
Posts: 265
02-26-2005 01:48
From: someone
I wouldn't give out an easy task, would I? If it was easy I'd have time to do it myself already.

And I want a solution that doesn't require sitting in a vehicle / etc


*points*

Look, a death star!

*runs off*

--Jack Lambert
Hiro Pendragon
bye bye f0rums!
Join date: 22 Jan 2004
Posts: 5,905
02-26-2005 01:56
From: Jack Lambert
*points*

Look, a death star!

*runs off*

--Jack Lambert

Your Jedi tricks won't work on me, old man!
_____________________
Hiro Pendragon
------------------
http://www.involve3d.com - Involve - Metaverse / Emerging Media Studio

Visit my SL blog: http://secondtense.blogspot.com
Klintel Kiesler
Registered User
Join date: 31 Dec 2003
Posts: 51
02-26-2005 19:39
From: Jack Lambert
[...] There's no direct way to adjust movement rate is there? Without taking control of the movement keys? Interesting.

--Jack Lambert


Actually, a few nice things I've found are 'moving_start() { }'
and 'moving_end() { }', so when your avatar is moving it'll use
that funtion.
Also you can push your avatar back with llSetForce();

So simple script I'm throwing together to do this:
CODE


default
{
state_entry()
{
llSay(0, "Hello, Avatar!");
}

moving_start()
{

string currentanim = llGetAnimation(llGetOwner());

if (currentanim == "Walking")
{
float speed=10;
vector fwd= llRot2Fwd(llGetRot());
fwd = llVecNorm(fwd);
fwd *= speed;
llSetForce(-fwd, FALSE); //really not sure what goes here, but this seems to work at times
}
}


moving_end()
{
llSetForce(<0,0,0>, FALSE);
}
}


I'm not really sure as far as llSetForce goes, you many need
to have the script calculate the avatars current speed and divide
it from there to get a percentage of the speed, using a negative
variable to push the avatar backwards.
HeatherDawn Cohen
Who Me?!?!
Join date: 9 Aug 2004
Posts: 397
02-26-2005 20:22
I was thinking of a vendor wall type thing. The main wall would have the categories. When they click the category they want, that wall would dissapear and the wall coresponding with the category would appear. One could then buy things from this category. Is this possible? Does it makes sense?
Adam Zaius
Deus
Join date: 9 Jan 2004
Posts: 1,483
02-26-2005 21:46
From: HeatherDawn Cohen
I was thinking of a vendor wall type thing. The main wall would have the categories. When they click the category they want, that wall would dissapear and the wall coresponding with the category would appear. One could then buy things from this category. Is this possible? Does it makes sense?


I've already been working on something like that, probably will show it off shortly. :)

-Adam
_____________________
Co-Founder / Lead Developer
GigasSecondServer
Torley Linden
Enlightenment!
Join date: 15 Sep 2004
Posts: 16,530
02-26-2005 21:50
Heh, I was just about to mention Adam and here he posts! Exciting toys he's got coming. :)
_____________________
gene Poole
"Foolish humans!"
Join date: 16 Jun 2004
Posts: 324
02-26-2005 21:56
How about a sweet-ass titler? Many people have them already, but they're boring, static ones. I have made a scrolling one (possibly the first of its kind), and I wouldn't mind opening the source. It could still use some upgrades/new features. Or you can write a competing one. ;)
Cherry Took
Mud Wrestling Champeeeen
Join date: 7 Jan 2005
Posts: 160
Yes! Ideas for scripts I would like
02-27-2005 03:08
performing arts events might benefit from a script for an automated box office that takes donations and gives notecards (programs for the evening's event) automatically.
maybe a combination visitor counter / program distributor / donations taker? =D


From: Jack Lambert
Alright I'm officially sick to death of my own casino games networking/upgrade development schedule :) I'd like to work on something ELSE for a while....

Anyone have an idea for something I can write and put in the scripting library for a laugh? Anything but vehicles or guns :) ... I especially like to write business related stuff (contest organisers, raffles, that sort of thing)

I welcome anyone who is also bored and wants to contribute to the script library.

--Jack Lambert
Jesrad Seraph
Nonsense
Join date: 11 Dec 2004
Posts: 1,463
02-27-2005 03:34
Another trick to do that is to lower the sim's time dilation. Presumably, by causing a lot of lag... ;)
_____________________
Either Man can enjoy universal freedom, or Man cannot. If it is possible then everyone can act freely if they don't stop anyone else from doing same. If it is not possible, then conflict will arise anyway so punch those that try to stop you. In conclusion the only strategy that wins in all cases is that of doing what you want against all adversity, as long as you respect that right in others.
Rysidian Rubio
Ruby Red Head
Join date: 14 Jan 2004
Posts: 263
02-27-2005 18:25
From: Adam Zaius
I've already been working on something like that, probably will show it off shortly. :)

-Adam

But I'm guessing it won't be open source.. :)
_____________________
"Bad News is - I cant script a thing....
Good News is - I buy less asprin than those who can :D"
-Rosa Gardner
Gryphon Stonebender
Registered User
Join date: 25 Jan 2005
Posts: 24
02-27-2005 18:52
I'd loveto see a little script/animation that would allow me to teleport within a sim, line of sight of sorts. I want to add particles so the end result will be like Night Crawler poofing here and there. I see it as just a fast move to a resident with vampire speed. maybe just a temp. speed modifier? This might be already available, but I have yet to see it.

Thanks.
Hiro Pendragon
bye bye f0rums!
Join date: 22 Jan 2004
Posts: 5,905
02-28-2005 00:59
From: Gryphon Stonebender
I'd loveto see a little script/animation that would allow me to teleport within a sim, line of sight of sorts. I want to add particles so the end result will be like Night Crawler poofing here and there. I see it as just a fast move to a resident with vampire speed. maybe just a temp. speed modifier? This might be already available, but I have yet to see it.

Thanks.

It's not poofing, it's BAMFing :)
_____________________
Hiro Pendragon
------------------
http://www.involve3d.com - Involve - Metaverse / Emerging Media Studio

Visit my SL blog: http://secondtense.blogspot.com
Hiro Pendragon
bye bye f0rums!
Join date: 22 Jan 2004
Posts: 5,905
02-28-2005 01:07
From: Klintel Kiesler
Actually, a few nice things I've found are 'moving_start() { }'
and 'moving_end() { }', so when your avatar is moving it'll use
that funtion.
Also you can push your avatar back with llSetForce();
I'm not really sure as far as llSetForce goes, you many need
to have the script calculate the avatars current speed and divide
it from there to get a percentage of the speed, using a negative
variable to push the avatar backwards.

Yeah, but it's not effective if an avatar continues to move.

I could do a timer event that checks animation and then pushes opposite the normal vector, but it'd be laggy
_____________________
Hiro Pendragon
------------------
http://www.involve3d.com - Involve - Metaverse / Emerging Media Studio

Visit my SL blog: http://secondtense.blogspot.com
Eggy Lippmann
Wiktator
Join date: 1 May 2003
Posts: 7,939
02-28-2005 02:39
From: gene Poole
How about a sweet-ass titler? Many people have them already, but they're boring, static ones. I have made a scrolling one (possibly the first of its kind), and I wouldn't mind opening the source. It could still use some upgrades/new features. Or you can write a competing one. ;)

Dude... don't tell me you're callling llSetText repeatedly... that thing is a lag bomb.
llSetText causes a full object update for some reason. Meaning, all the info about the object it's in, has to be resent to the client. Turn on Show Updates and you will probably see it puffing red clouds.
It's as bad as llSetTexture and a definite no-no.
Jack Lambert
Registered User
Join date: 4 Jun 2004
Posts: 265
02-28-2005 05:27
From: Cherry Took
performing arts events might benefit from a script for an automated box office that takes donations and gives notecards (programs for the evening's event) automatically.
maybe a combination visitor counter / program distributor / donations taker? =D


OK I'll whip this one up later. Couldn't hurt, right? :)

--Jack Lambert
Jack Lambert
Registered User
Join date: 4 Jun 2004
Posts: 265
02-28-2005 05:31
From: Gryphon Stonebender
I'd loveto see a little script/animation that would allow me to teleport within a sim, line of sight of sorts. I want to add particles so the end result will be like Night Crawler poofing here and there. I see it as just a fast move to a resident with vampire speed. maybe just a temp. speed modifier? This might be already available, but I have yet to see it.

Thanks.


lol I reckon I could do this one but I am loathe to make it open source mostly because I'm afraid I'll see 10,000 BAMFing noobs BAMF-griefing Cordova :p IMO there's already way too many BAMFers running around :D

That said, it's reasonably easy to do the BAMF part, but it would be pretty interesting to have it be able to "hyperspace" jump you around randomly ala Asteroids within the sim confines...

--Jack Lambert
Francis Chung
This sentence no verb.
Join date: 22 Sep 2003
Posts: 918
02-28-2005 05:33
From: Gryphon Stonebender
I'd loveto see a little script/animation that would allow me to teleport within a sim, line of sight of sorts. I want to add particles so the end result will be like Night Crawler poofing here and there. I see it as just a fast move to a resident with vampire speed. maybe just a temp. speed modifier? This might be already available, but I have yet to see it.


Interesting idea :) Kenzington Fairlight has this fun hookshot thingy. You shoot it, and it pulls you to whatever you shot. Comes with anims and everything, can't beat it for L$200 of fun :D

You could use the same approach, and change it to use invisicubes to hide your avatar as you travel.
_____________________
--
~If you lived here, you would be home by now~
Jeffrey Gomez
Cubed™
Join date: 11 Jun 2004
Posts: 3,522
02-28-2005 07:23
Speaking of open source, how many of you would see yourself using an animated prim script that ran off .BVH files? Yes, those are the ones that SL imports for avatars.

I finished up my prototype of it (and tested it) last night, but I still have to do a few code revisions for efficiency, "smart spawning", and *maybe* multiscripting for multiple animations.

Useful? :rolleyes:
_____________________
---
Sydney Alexander
Registered User
Join date: 19 Feb 2005
Posts: 69
02-28-2005 07:41
From: Jack Lambert
lol I reckon I could do this one but I am loathe to make it open source mostly because I'm afraid I'll see 10,000 BAMFing noobs BAMF-griefing Cordova :p IMO there's already way too many BAMFers running around :D

That said, it's reasonably easy to do the BAMF part, but it would be pretty interesting to have it be able to "hyperspace" jump you around randomly ala Asteroids within the sim confines...

--Jack Lambert


So what part is BAMFing? Have I seen this already? I would use it for some role-playing and that is about it. I would like to move quickly to one avatar or another almost ontop of them, but right up close... I would still be interested even if it was not open-source.
1 2