sketchucation logo sketchucation
    • Login
    1. Home
    2. Gardentwine
    3. Posts
    πŸ›£οΈ Road Profile Builder | Generate roads, curbs and pavements easily Download
    G
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 19
    • Groups 1

    Posts

    Recent Best Controversial
    • My first script

      hi guys i have be learning ruby, after thomthom guided me to give it a try and also spent a good few days look at chris's video tuts and finally got me first script working as a compete snippet, looking to expand it

      heres me first script
      ` module Gxm_blocktool

      =begin
      ╔══════╗
      β•‘ MAIN β•‘
      β•šβ•β•β•β•β•β•β•
      =end
      def Gxm_blocktool.main

      # Input box <hope to change to mouse input
      prompts = [("Width"),("Height"),("Depth")]
      values = [32.inch, 32.inch, 32.inch]
      results = inputbox prompts, values,("Box Dimensions")
      return if not results
      width, height, depth = results
      model= Sketchup.active_model
      model.start_operation("Create Box")
      entities = model.active_entities
      group = entities.add_group
      entities = group.entities
      pts = [[0,0,0], [width,0,0], [width,depth,0], [0,depth,0], [0,0,0]]
      # add the face to a enntities in model
      face = entities.add_face pts
      status = face.pushpull -height, true
      model.commit_operation
      end

      end
      =begin
      ╔══════╗
      β•‘ MENU β•‘
      β•šβ•β•β•β•β•β•β•
      =end
      unless file_loaded?(FILE)
      mymenu = UI.menu('Plugins').add_submenu('GXM Plugin Collection')
      mymenu.add_item('Block tool') {Gxm_blocktool.main}
      end

      file_loaded(FILE)`

      Things i would like add to this, is mouse input data, instead of input box and try and group each cube face then extrude in and scale in egdes to form a hollow cube with no overlaying groups.

      looking forward on feedback on my first script

      posted in Developers' Forum
      G
      Gardentwine
    • RE: [Plugin] Shell

      hi, its been a couple of days since i lasted replied, been busy learning some basics in sketchup ruby api, from the 3 scripts i made so far, with the tuts for chris have been a great help, slowly getting to grips with it. It seems straight forward, for the basic stuff, i once did one that was alittle to much and got alot of syntax errors lol so i scraped and started again lol.

      Thanks, goes to chris for his Video TUTs, on basic scripting.

      Looking forward in seeing others help out the noobies, with vid tuts its a fast way to learn, also i found checking how some other plugins work has helped me learn a few things.

      posted in Plugins
      G
      Gardentwine
    • RE: [Plugin] Shell

      thanks for the quick responds, ive tried Joint Push Pull plugin and yea it does do the same, if not better, but i find shell to be a better match to what iam after, looking forward to seeing it improved, i wish i only could make me own plugins i would of made a Hammer(source SDK) tool set for sketchup.

      posted in Plugins
      G
      Gardentwine
    • RE: [Plugin] Shell

      Oh i just found out why the lines are not joined to some faces its cause the shell makes another group with in the selected group not sure if this was intened or not.

      posted in Plugins
      G
      Gardentwine
    • RE: [Plugin] Shell

      Hi there thomthom
      Its been long time since i was on these forums, well i ve been busy look up and checking out alot of your great plugins, one is something that could be handy for what i am after there is a few changes that could be added

      well i explain what iam after, iam trying to find plugins that best matches what it take to be user friendly with HAMMER(source map editor)for Counterstrike GO. So far i came across shell, basic and does it job, not sure if you could make a small change that can group the face first then shell, all done from the right menu.

      oh not sure if there is a small bug in this script but when you try and edit the shell by clicking on one of the bounding line and moving its some times breaks the faces it seems the line wasnt connected to the face..

      i know this is more a request, but the forums have change and i dont see the request part in here anymore.

      posted in Plugins
      G
      Gardentwine
    • RE: Joint Push Pull Classic (Old version) - v2.2a - 26 Apr 17

      hi This is great script and use it often in creating stuff for my Hammer editor(source), the only thing it takes a while cause i have to do each face separately, is there or is it posible for this script to allow me to select more than one face and then group each face separately and still get the same results, (not sure if this would cause overlaping solids)

      posted in Plugins
      G
      Gardentwine
    • RE: SketchUp game exporter (Source)

      hi back into the modding scene. RLP

      i was wondering if anyone has come up with some scripts, that can really help map making and modeling for source engine.

      PS you dont need the plugin to make model directly into source now, you can make the model or map and export it as a vmf (hammer map file) and dl a prog called Propper this can make any vmf into a model for source. once you made it restart hammer and it will be in you prop_static list of models

      posted in Extensions & Applications Discussions
      G
      Gardentwine
    • RE: SketchUp game exporter (Source)

      your so good at making stuff i only wished i could get it to work, most of today i reinstalled cause my vista 64 system was so buggy dew to my part and alot of apps crash so hopefull now i have a fresh install i may have better luck

      lets hope

      posted in Extensions & Applications Discussions
      G
      Gardentwine
    • RE: SketchUp game exporter (Source)

      i managed to use the cannonfodder StudioCompiler to create my Mdl but now when i try and load hammer it come up with an error (failed to load default scheme) WTF is this, and is it cause of a bugged mdl or something

      posted in Extensions & Applications Discussions
      G
      Gardentwine
    • RE: SketchUp game exporter (Source)

      i opened the file valve_sketchup_tools_config.rb and it says in here that build SMD file for import to the hammer engine is done for you but i tried to correct the Dir but it still dont work or perhaps valve release a duf plugin

      posted in Extensions & Applications Discussions
      G
      Gardentwine
    • RE: SketchUp game exporter (Source)

      you having the same luck as me then lol

      posted in Extensions & Applications Discussions
      G
      Gardentwine
    • RE: SketchUp game exporter (Source)

      i thank, both of you for trying to get sketchup to be more userfriendly with the source engine, this could be the start in making some really great content for this engine for people that dont know the bigger apps like XSI and 3dmax which are more native to importing models

      ps if you need me to test anything please send a pm πŸ˜„

      oh and if you have any tutorials send them too, could do with a modeling one cause i still cant get one working yet lol
      ive made the model but it only makes a (SMD) thats the only file i get but i belive i should also have a (qc) file or do i need to make that myself, who know ive tried to follow Valve Tut with no luck...

      when i comes to using hammer i would say iam pritty good at it, i just found that sketchup has the chance of coming a 3rd party map editor its can be quicker with the right plugings to make maps with, so if you need any info on hammer just pm me

      keep up the good work

      posted in Extensions & Applications Discussions
      G
      Gardentwine
    • RE: SketchUp game exporter (Source)

      i think displacement is the tool you after, to make terrain /smooth walls etc, though i would search for a tutorial, not the easiest thing to master...

      posted in Extensions & Applications Discussions
      G
      Gardentwine
    • RE: SketchUp game exporter (Source)

      hi again i been searching for plugins that would help me out in making maps and models for Source engine
      so far i have found a few that are use full to a point still very slow but better then nothing

      Plugins
      (slabtool.ru)<usefull for making floors and ceilings but crashes after one use
      (wallGrouptool.ru) is very limited but works
      (obj importer.ru) this is usefull but cant import textures

      Tools
      (Crafty) very usefull if you wish to mod the source engine, can convert vmf to obj with textures

      here what i have manage so far its not alot but for a noob at sketchup i didnt do to bad and this is a (brush) not a (mesh)
      Sketchup

      http://img9.imageshack.us/img9/3056/stairsskp.th.jpg

      Hammer

      http://img9.imageshack.us/img9/3779/stairst.th.jpg

      i hope you enjoy what i made, i am hoping a few good plugins will improve speed in source (modding) and (Mapping)

      posted in Extensions & Applications Discussions
      G
      Gardentwine
    • RE: SketchUp game exporter (Source)

      oh just so you know, Chris you dont have to buy L4d to get the plugins, you only need to own one game that has the source sdk software here the link it says it here http://developer.valvesoftware.com/wiki/SketchUp_Source_Tools

      it also has the links to install it, just click on the Source SDK if you dont have it installed.

      once install goto your (Dir) where it was installed: and there should be a sketchup folder in there

      i hope that helps you save some money so many people think you need L4d to get them 😞

      posted in Extensions & Applications Discussions
      G
      Gardentwine
    • RE: SketchUp game exporter (Source)

      thanks for the reply and sorry for not explaining the formats:

      this site explains what the formats mean

      http://developer.valvesoftware.com/wiki/SketchUp_Source_Tools

      if you are interested in making tools for sketchup for making maps or models that be great

      alot of people would be very happing πŸ˜„

      most of the tools needed atm are for mapping, cause theres alot of messing around grouping every single block, just like i said in the post above we need a tool that can do all this on the fly for example:

      linetoWall tool: < would be handy if it made group by each line not a continuous wall
      slabtool tool < this one has come in handy this is not bad for making floors and ceilings but crashes after you make one so you have to restart it

      but my request if you are doing them, would be a hollow tool what i mean is you select a shape and run a pluging that creates offsets by prompt and make all of the offsets different groups and deletes the shape you have selected

      i hope i explain myself better πŸ˜„ and thank for all you reply so far Chris

      posted in Extensions & Applications Discussions
      G
      Gardentwine
    • RE: SketchUp game exporter (Source)

      Thats really nice model, i just suck, iam a noob when it comes to modding ive can make maps in hammer no problems it just takes alot of time trying to make good looking maps.

      pluging idea to make it easier in sketchup would be to use the Examples that came with sketchup, the linetool for instance has mouse options to make the shape in 3d but i tried to make it work by creating a cube but i keep getting errors like its not constant or something.

      The other idea was to select an obeject and it will add offsets to each side with a prompt and then groups them all as seperate groups and delete the original entity < this would be like the hollow tool in hammer.

      is there any good tutorials in understanding Ruby cause i stuck 😞

      Just so you all know i own L4d and the tools that come with it, it only allow export SMD and VMF and there very unstable 😞
      i have made a smd but i cant get it too work it could be that i need to change the script cause i use vista64 and i think the routes dir in the script say Programfiles instead of Programfiles (x86) ive change this but it still only makes the SMD and that it even though the script ment to do it for you!

      Thanks for listen i hope iam not to dense and missunderstood the hole thing if i have please explain

      posted in Extensions & Applications Discussions
      G
      Gardentwine
    • RE: SketchUp game exporter (Source)

      hi, thanks for you response, i already have them plugins form valve but there not that stable yet the vmf exported is ok but you need to make blocks and each one has to be grouped for hammer to understand sketchup only has single sides so it become alot harder all iam after is a plugin that are very much or close to what hammer is like or have i miss understood how to make maps with sketchup

      skechup bushes are Double sided but on same line

      hammer bushes are Double side but are blocks

      posted in Extensions & Applications Discussions
      G
      Gardentwine
    • RE: SketchUp game exporter (Source)

      hi iam new here at this forum and i ve been trying to find all thing to do with sketchup and the source engine, no luck in finding good source of info, but i have looked at what you have done and iam impressed all i wish is there was tools/plugins that can make it easeir to import to hammer with out errors lol

      if there is plugins out there that can help in this i would be very greatfull
      for instance

      a cube tool made by mouse movements that groups when made < could help make Rooms easier

      a hollow function or something would be great that groups and offset each side < this would be better than the Cube tool

      i hope this didnt sound noobish i was trying to make my own plugins but failed every time i have errors lol 😞

      posted in Extensions & Applications Discussions
      G
      Gardentwine
    • 1 / 1