Flexiprims will make more Henthai Tentical Monsters!!!
|
|
Shack Dougall
self become: Object new
Join date: 9 Aug 2004
Posts: 1,028
|
04-26-2006 22:10
From: Weedy Herbst Sorry Torley, one prim (celled) organisms only get one color. You'll have to chose between magenta or lime. Unless of course you upload a single texture with both  Don't worry Torley, just upload "watermellon"! 
_____________________
Prim Composer for 3dsMax -- complete offline builder for prims and sculpties in 3ds Max http://liferain.com/downloads/primcomposer/
Hierarchical Prim Archive (HPA) -- HPA is is a fully-documented, platform-independent specification for storing and transferring builds between Second Life-compatible platforms and tools. https://liferain.com/projects/hpa
|
|
Eep Quirk
Absolutely Relative
Join date: 15 Dec 2004
Posts: 1,211
|
04-26-2006 22:15
From: Weedy Herbst Sorry Torley, one prim (celled) organisms only get one color. You'll have to chose between magenta or lime. Unless of course you upload a single texture with both  Just, please, not <font style=color:lime;background-color:turquoise>lime green (avs) on turquoise (one's objects)</font> Here's an example of what this looks like (or just look on your minimap).
|
|
Artemis Fate
I'm a big stupid-face.
Join date: 24 Oct 2003
Posts: 746
|
04-27-2006 09:00
Hehe I already saw a patch of tentacles that were scripted to flop over nearby anyone that walked near. It was really gross.
_____________________
 Ko Industries, unique clothes for the unique woman: Ko Industries: Nexus Prime Gibson (main) store"Be still like a mountain, and flow like a great river" -Lao Tse "Deus Ex Machina" "Dom Ars Est Vita Est" "Stand tall and Shake the heavens" -Xenogears
|
|
Argent Stonecutter
Emergency Mustelid
Join date: 20 Sep 2005
Posts: 20,263
|
04-27-2006 09:35
From: Artemis Fate Hehe I already saw a patch of tentacles that were scripted to flop over nearby anyone that walked near. It was really gross. You're welcome! You can find the code in this thread. ^_^
|
|
Luciftias Neurocam
Ecosystem Design
Join date: 13 Oct 2005
Posts: 742
|
04-27-2006 10:08
From: Burke Prefect O.o No woman or sailing school student will be safe! We'll have to start partrolling with rocket launchers and.... buckets of cold water to fend off the fast-encrouching horde of tenticulated beasts!
.... I'll get the camera, someone bring the popcorn. I can finally realize my dream of destroying SL with a gelatinous, quivering, mile high Cthulhu. on edit: it appears I've been beaten to the punch. From: Eggy Lippmann ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn damn... IA! IA! Cthulhu! IA! IA! Shub-naggurath! The Goat with a Thousand Young! IA! IA!
|
|
jrrdraco Oe
Insanity Fair
Join date: 28 Oct 2005
Posts: 372
|
04-27-2006 13:50
From: Eep Quirk Just, please, not <font style=color:lime;background-color:turquoise>lime green (avs) on turquoise (one's objects)</font> Here's an example of what this looks like (or just look on your minimap). OMG what a cool litttle black page with diarrhea of tiny little colorful letters. I did a find in that page but didnt find any link to a hidden baby_chibi_amoeba_tenticle. oh sorry is it offtopic already?
|
|
Eep Quirk
Absolutely Relative
Join date: 15 Dec 2004
Posts: 1,211
|
04-27-2006 16:05
From: Argent Stonecutter You can find the code in this thread. ^_^ Which doesn't work; "f" isn't defined within scope on this line: From: someone set_force(last_f = f);
|
|
nimrod Yaffle
Cavemen are people too...
Join date: 15 Nov 2004
Posts: 3,146
|
04-27-2006 17:22
|
|
Chance Abattoir
Future Rockin' Resmod
Join date: 3 Apr 2004
Posts: 3,898
|
04-27-2006 18:06
_____________________
"The mob requires regular doses of scandal, paranoia and dilemma to alleviate the boredom of a meaningless existence." -Insane Ramblings, Anton LaVey
|
|
Argent Stonecutter
Emergency Mustelid
Join date: 20 Sep 2005
Posts: 20,263
|
04-28-2006 06:54
From: Eep Quirk Which doesn't work; "f" isn't defined within scope on this line: *snork* Sure it is. You're right, the code doesn't work... it needs to go in the usual sensor framework, I didn't include that because it's obvious and everyone has their own. You'll need at a minimum a state_entry that kicks off the llSensorRepeat. You're misinterpreting the error message. It's not that f isn't defined, it's that set_force isn't defined. I left it out because because set_force has more tentacles then the secret screening room at an Anime convention. The API for flexible prims is not well behaved, and the way PRIM_FLEXIBLE works is clearly in the processes of gelling, and my code for set_force in 1.9.1.13 may or may not work in 1.9.1.15 and may or may not even be the best code for 1.9.1.13... figure it out when the grid comes back up. Hack your own version, without looking at my uuuuugly code, you'll probably end up with something better.
|
|
Eep Quirk
Absolutely Relative
Join date: 15 Dec 2004
Posts: 1,211
|
04-28-2006 19:21
From: Argent Stonecutter Sure it is. You're right, the code doesn't work... it needs to go in the usual sensor framework, I didn't include that because it's obvious and everyone has their own. You'll need at a minimum a state_entry that kicks off the llSensorRepeat. Um, duh. Note how I didn't mention that as being the problem... From: Argent Stonecutter You're misinterpreting the error message. It's not that f isn't defined, it's that set_force isn't defined. That's not what the error message says... From: Argent Stonecutter I left it out because because set_force has more tentacles then the secret screening room at an Anime convention.
The API for flexible prims is not well behaved, and the way PRIM_FLEXIBLE works is clearly in the processes of gelling, and my code for set_force in 1.9.1.13 may or may not work in 1.9.1.15 and may or may not even be the best code for 1.9.1.13... figure it out when the grid comes back up. Hack your own version, without looking at my uuuuugly code, you'll probably end up with something better. As far as I know, the PRIM_FLEXIBLE parameters have not changed since their inception. Hence, your copout excuse for shoddy code is moot.
|
|
Argent Stonecutter
Emergency Mustelid
Join date: 20 Sep 2005
Posts: 20,263
|
04-29-2006 13:32
From: Eep Quirk Um, duh. Note how I didn't mention that as being the problem... That's correct. Not only did you misdiagnose the problem, you missed the other ways in which the code fragment I posted was incomplete. From: someone That's not what the error message says... Yes it is. The problem is that when a function is missing the error cursor points to the end of the parameters to the function, not the function itself. I guess you don't actually write much code in SL, or you would have caught all of this. This stuff really is obvious to any active programmer. I'll keep that in mind when reading your messages in the future.
|
|
Zodiakos Absolute
With a a dash of lemon.
Join date: 6 Jun 2005
Posts: 282
|
04-29-2006 13:42
Noooooo... 'v' and 'r' are also undefined!! Augghh *gurgles and screams* *dies*
.... there is nothing to see here.
|
|
Eep Quirk
Absolutely Relative
Join date: 15 Dec 2004
Posts: 1,211
|
04-29-2006 19:46
From: Argent Stonecutter That's correct. Not only did you misdiagnose the problem, you missed the other ways in which the code fragment I posted was incomplete. I didn't miss the other ways because they were obvious and unnecessary to mention. From: Argent Stonecutter Yes it is. The problem is that when a function is missing the error cursor points to the end of the parameters to the function, not the function itself. However, that's now what the error states. From: Argent Stonecutter I guess you don't actually write much code in SL, or you would have caught all of this. This stuff really is obvious to any active programmer. I'll keep that in mind when reading your messages in the future. I never claimed I was a programmer. If you're going to post code snippets, at least have the decency to post WORKING code with ALL variables defined. Quit being a troll, troll.
|
|
Hiro Pendragon
bye bye f0rums!
Join date: 22 Jan 2004
Posts: 5,905
|
04-29-2006 20:07
Henthai Tenticles ---> reduced to shortened form ---> hentacles This has been a public service announcement. 
_____________________
Hiro Pendragon ------------------ http://www.involve3d.com - Involve - Metaverse / Emerging Media Studio
Visit my SL blog: http://secondtense.blogspot.com
|
|
Argent Stonecutter
Emergency Mustelid
Join date: 20 Sep 2005
Posts: 20,263
|
04-30-2006 07:51
From: Eep Quirk I never claimed I was a programmer. If you're going to post code snippets, at least have the decency to post WORKING code with ALL variables defined. I post snippets for the benefit of programmers. Anyone who can't take a couple of lines describing an algorithm and turn it into working code in a couple of minutes isn't part of my target audience. I'm beginning to understand why Knuth went to the trouble of defining a toy computer to describe his code. PS: Next time I get that kind of bogus error from LSL I'll bug-report it.
|
|
Eggy Lippmann
Wiktator
Join date: 1 May 2003
Posts: 7,939
|
04-30-2006 13:05
|
|
Zodiakos Absolute
With a a dash of lemon.
Join date: 6 Jun 2005
Posts: 282
|
04-30-2006 17:57
I feel I've been enlightened.
|
|
Ralph Doctorow
Registered User
Join date: 16 Oct 2005
Posts: 560
|
04-30-2006 18:25
Pastafarianism is starting to make more sense.
|
|
Monkey Edge
Registered User
Join date: 23 Apr 2005
Posts: 69
|
05-02-2006 18:47
i need help  i have float last_f; float fudge = 0.01; //... default { state_entry() { llSensorRepeat("","",AGENT,4,PI,.5); } sensor(integer n) { vector here = llGetPos(); vector f; vector v; float r; while(n-- > 0) if ( fudge*fudge < (r = llVecMag(v = llDetectedPos(n) - here) ) ) f += llVecNorm(v) / (r * r); if( fudge < llVecDist(f,last_f) ) set_force(last_f = f); } } but i still get that f is not defined withen scope i also added f = llDetectedPos but i still get the same error
_____________________
What do today what you can put off till tommorrow But....... What is today but yesterday's tommorrow
|
|
Torley Linden
Enlightenment!
Join date: 15 Sep 2004
Posts: 16,530
|
05-02-2006 18:49
It will take quite a craftsman to doft all the overfiend textures.
|
|
Oz Spade
ReadsNoPostLongerThanHand
Join date: 23 Sep 2003
Posts: 2,708
|
05-03-2006 03:22
Isn't it Hentai?
I see a new internet poll being made: "Which tentical rape hentai movie are you?"
I'd so be Inma Seiden.
_____________________
"Don't anticipate outcome," the man said. "Await the unfolding of events. Remain in the moment." - Konrad
|
|
Burke Prefect
Cafe Owner, Superhero
Join date: 29 Oct 2004
Posts: 2,785
|
05-03-2006 07:10
From: Oz Spade Isn't it Hentai? I see a new internet poll being made: "Which tentical rape hentai movie are you?" I'd so be Inma Seiden. Congrats. You're the first person to actually notice that. I'd give you a cookie, but I'm fresh out.
|
|
Eggy Lippmann
Wiktator
Join date: 1 May 2003
Posts: 7,939
|
05-03-2006 07:26
From: Oz Spade Isn't it Hentai? Isn't it tentacle? 
|
|
Argent Stonecutter
Emergency Mustelid
Join date: 20 Sep 2005
Posts: 20,263
|
05-03-2006 07:48
From: Monkey Edge i still get that f is not defined withen scope Heh... 1. last_f should be a vector. This isn't the bug, it's another problem you'll hit when you get past this one. 2. it's not f, it's set_force that's not defined. The error message is misleading, it's pointing at the end of the parameters to set_force, not the variable f. They just happen to be the same location. [imagine a long rant here about the quality of the LSL compiler] Anyway, those places where I have "//..."? There's code missing there, 'cos the point of this code snippet was to explain the algorithm for the force on the tentacles. set_force is the tricky bit. Ideally, it should be something like... set_force(vector force) { list p = llGetPrimitiveParams([PRIM_FLEXIBLE]); p = llListReplaceList(p, [force], OFFSET, OFFSET); // Check the release notes for the value for OFFSET llSetPrimitiveParams([PRIM_FLEXIBLE]+p); } ... but that doesn't work, or it didn't in the earlier versions and I have had too many other problems since 1.9.1(16) to mess with this. The code I came up with works but it's full of commented out code, redundant code, and other nastiness.
|