Author Topic: Equippable/Vehicle Help With Script.  (Read 1208 times)

Ok, You guys may have seen or dled my Broom model and script, Well I am stuck in a rut on an attempt to get it as a Vehicle/Item like the skis and Flying Cap, I whipped a script it showed on the add on enabler but did not show on the wrench list, Im not sure if I did alot wrong or what so I was hoping you guys could give me help in exchange I could do a favor for you or just give credit in the next release. Thanks for the time reading this.

Well, what did you change in the script? We can't help you if we don't know what's broken.

Thanks for a quick response, I attempted to make a deadline of tonight and have scoured the forum for hours with no attempt before I posted this, Script is attachment.

Well, if you look through it there's a lot of "skiItem" parts still around which means that running the Skis and this at the same time will cause conflicts and have one or the other not work correctly.

So right after you said that I went into Blockland and dsiabled the skis then enabled the broom, In the console it said SYNTAX ERRORS! with no description and it was a no show on the ui aswell.
« Last Edit: September 13, 2009, 06:04:10 AM by (USAF)Airman »

So right after you said that I went into Blockland and dsiabled the skis then enabled the broom, In the console it said SYNTAX ERRORS! with no description and it was a no show on the ui aswell.
Well maybe edit the script a bit better. I'll try fixing the script in like 15 minutes, I'm a bit busy atm.
Edit: Way to edit 1/4 of the script, test it out, and post a help topic. 3/4 of your script is all about the Skiis...
EditEdit: Try now, it shouldn't cause sintax errors, but here are the list of bugs there will be:
-Your feet will disapear when you mount onto it and reapear when you dimount [will fix tomorow]
-Your not going to fly, instead skii on a broom... lol [ no promises on fixing but I'll try]
-There will be a snow-like particle coming out of the broom. [will fix tomorow]
Thats all I can think of for know but if you consider having the player chose the broom color depending on the spraypaint can a bug then that too. I've had an exausting day so I won't be able to fix anymore today.
« Last Edit: September 13, 2009, 08:10:42 PM by Blockbuilder321 »

Well, I have some good and bad news, I got syntax errors still, Good news now I learned to read console a bit better and it sasy ## Error Halt line 260 and then
emap#=#true, More good news I found that the ui had been placed in twice by me when I was transferring in the vehicle data so thats a start. Thanks alot for the help and your time. I really truly appreciate this.
Edit: If it makes any difference I noticed there are three diff emaps in the script.
« Last Edit: September 14, 2009, 01:00:07 AM by (USAF)Airman »

Well maybe edit the script a bit better. I'll try fixing the script in like 15 minutes, I'm a bit busy atm.
Edit: Way to edit 1/4 of the script, test it out, and post a help topic. 3/4 of your script is all about the Skiis...
EditEdit: Try now, it shouldn't cause sintax errors, but here are the list of bugs there will be:
-Your feet will disapear when you mount onto it and reapear when you dimount [will fix tomorow]
-Your not going to fly, instead skii on a broom... lol [ no promises on fixing but I'll try]
-There will be a snow-like particle coming out of the broom. [will fix tomorow]
Thats all I can think of for know but if you consider having the player chose the broom color depending on the spraypaint can a bug then that too. I've had an exausting day so I won't be able to fix anymore today.
Just an exclamation of having no idea what you are doing. Also use the spell check.

I just opened the script and discovered several datablock overwrites(Which will cause a failure on RtB) before scrolling down. I believe the best way you could go about this is giving up and getting someone else to script it for you.

Edit: Travelling deeper into the file, I reached the overwrite for the SkiItem, featuring a syntax error and a call for the icon of the flying cap. Reching the weapon image, I found three calls for the inexistent nimbusItem and an unusual definition of %player in the script. Hopelessness before even getting halfway down.

Edit2: Haha, to anyone remotely competent in scripting out there,
Code: [Select]
%obj.hidenode(Lnimbus);
%obj.hidenode(Rnimbus);
and
Code: [Select]
//nimbus vehicle - slippery, stable vehicle that lets you nimbus
« Last Edit: September 14, 2009, 08:39:56 AM by -Jetz- »

Ahahahah, I think Jetz is right, those nodes don't exist man.

Hanglider for reference?

Did I not say I'll fix everything today? I was tired as stuff yesterday and I promised I would finish today.

I am not doubting you, They may be not sure though. I did refer to the Hang Glider then I also took a look at the FLying Cap then I took a look and decided on the Skis, I am still learning how to script though and I have faith in Blockhead who I appreciate his help very much.

I am not doubting you, They may be not sure though. I did refer to the Hang Glider then I also took a look at the FLying Cap then I took a look and decided on the Skis, I am still learning how to script though and I have faith in Blockhead who I appreciate his help very much.
I'm almost done. Sorry delay but I'll post it here tommorow, also mind telling me the model's name?

Oh thanks alot the model is Ninbus2001 I owe you alot for it and truly appreciate the work, As far as the delay Im not going to rush you when you were so willing to help me, Also dont wanna rush perfection do we :)

Also dont wanna rush perfection do we :)
Looking into the file he uploaded earlier, especially this:
Code: [Select]
//nimbus vehicle - slippery, stable vehicle that lets you nimbus I don't think that will be a problem.