generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: Is anyone here familar with Valve's Hammer Editor?

Previous Thread :: Next Thread 
CloneTrooper1019 is not online. CloneTrooper1019
Joined: 19 Jan 2009
Total Posts: 6227
04 Aug 2014 11:27 PM
Im writing a plugin which ports roblox parts into the source engine. I'm doing this by creating func_brushes with a white texture and its rendercolor changed to the Color3 of the BrickColor.

I have "something" completed. However, I'm having an issue with the file format, and I'm not exactly sure whats up with it.

Here is an example of a file it would generate for a regular part with no properties changed.
When I try to open it in Hammer, the file is not corrupted, but the part apparently has errors in it, and it notifies me that it was discarded.
I don't know if I'll find help here, but can anyone see an issue with the file?

(Here's the plugin that generated this btw:
http://www.roblox.com/Source-Engine-vmf-Exporter-WIP-item?id=170244312)

versioninfo {
"formatversion" "100"
"mapversion" "0"
"editorversion" "400"
"editorbuild" "6488"
"prefab" "0"
}
visgroups {
}
viewsettings {
"bSnapToGrid" "1"
"bShowGrid" "1"
"bShow3DGrid" "0"
"bShowLogicalGrid" "0"
"nGridSpacing" "64"
}
world {
"maxpropscreenwidth" "-1"
"mapversion" "2"
"detailmaterial" "detail/detailsprites"
"id" "28608"
"classname" "worldspawn"
"skyname" "sky_day01_01"
"detailvbsp" "detail.vbsp"
}
entity {
"spawnflags" "2"
"StartDisabled" "0"
"rendercolor" "163 162 165"
"rendermode" "0"
solid {
side {
"rotation" "0"
"uaxis" "[1 0 0 0] 0.25"
"vaxis" "[0 0 -1 0] 0.25"
"lightmapscale" "16"
"material" "LIGHTS/WHITE001"
"plane" "(24 201 252) (-24 201 276) (-24 201 252)"
"id" "73308"
}
side {
"rotation" "0"
"uaxis" "[1 0 0 0] 0.25"
"vaxis" "[0 0 -1 0] 0.25"
"lightmapscale" "16"
"material" "LIGHTS/WHITE001"
"plane" "(24 201 252) (24 216 252) (24 216 276)"
"id" "60024"
}
side {
"rotation" "0"
"uaxis" "[1 0 0 0] 0.25"
"vaxis" "[0 0 -1 0] 0.25"
"lightmapscale" "16"
"material" "LIGHTS/WHITE001"
"plane" "(-24 201 276) (-24 216 276) (-24 216 252)"
"id" "162"
}
"id" "21058"
side {
"rotation" "0"
"uaxis" "[1 0 0 0] 0.25"
"vaxis" "[0 0 -1 0] 0.25"
"lightmapscale" "16"
"material" "LIGHTS/WHITE001"
"plane" "(24 216 252) (-24 201 252) (-24 216 252)"
"id" "85262"
}
side {
"rotation" "0"
"uaxis" "[1 0 0 0] 0.25"
"vaxis" "[0 0 -1 0] 0.25"
"lightmapscale" "16"
"material" "LIGHTS/WHITE001"
"plane" "(-24 201 276) (-24 216 252) (-24 201 252)"
"id" "6101"
}
editor {
"color" "255 255 255"
"visgroupsshown" "1"
"visgroupautoshown" "1"
}
side {
"rotation" "0"
"uaxis" "[1 0 0 0] 0.25"
"vaxis" "[0 0 -1 0] 0.25"
"lightmapscale" "16"
"material" "LIGHTS/WHITE001"
"plane" "(24 216 252) (24 201 252) (-24 201 252)"
"id" "80623"
}
side {
"rotation" "0"
"uaxis" "[1 0 0 0] 0.25"
"vaxis" "[0 0 -1 0] 0.25"
"lightmapscale" "16"
"material" "LIGHTS/WHITE001"
"plane" "(24 201 252) (24 216 276) (24 201 276)"
"id" "74721"
}
side {
"rotation" "0"
"uaxis" "[1 0 0 0] 0.25"
"vaxis" "[0 0 -1 0] 0.25"
"lightmapscale" "16"
"material" "LIGHTS/WHITE001"
"plane" "(24 201 276) (-24 216 276) (-24 201 276)"
"id" "14448"
}
side {
"rotation" "0"
"uaxis" "[1 0 0 0] 0.25"
"vaxis" "[0 0 -1 0] 0.25"
"lightmapscale" "16"
"material" "LIGHTS/WHITE001"
"plane" "(24 201 276) (24 216 276) (-24 216 276)"
"id" "25273"
}
side {
"rotation" "0"
"uaxis" "[1 0 0 0] 0.25"
"vaxis" "[0 0 -1 0] 0.25"
"lightmapscale" "16"
"material" "LIGHTS/WHITE001"
"plane" "(24 216 252) (-24 216 252) (-24 216 276)"
"id" "83462"
}
side {
"rotation" "0"
"uaxis" "[1 0 0 0] 0.25"
"vaxis" "[0 0 -1 0] 0.25"
"lightmapscale" "16"
"material" "LIGHTS/WHITE001"
"plane" "(24 201 252) (24 201 276) (-24 201 276)"
"id" "14027"
}
side {
"rotation" "0"
"uaxis" "[1 0 0 0] 0.25"
"vaxis" "[0 0 -1 0] 0.25"
"lightmapscale" "16"
"material" "LIGHTS/WHITE001"
"plane" "(24 216 252) (-24 216 276) (24 216 276)"
"id" "70800"
}
}
"InputFilter" "0"
"solidbsp" "0"
"id" "33632"
"disablereceiveshadows" "0"
"Solidity" "0"
editor {
"color" "220 30 220"
"visgroupshown" "1"
"logicalPos" "[0 0]"
"visgroupautoshown" "1"
}
"renderfx" "0"
"origin" "(0 208 264)"
"vrad_brush_cast_shadows" "0"
"invert_exclusion" "0"
"disableshadows" "0"
"renderamt" "255"
"classname" "func_brush"
}
cameras {
"activecamera" "-1"
}
cordon {
"maxs" "(1024 1024 1024)"
"active" "0"
"mins" "(-1024 -1024 -1024)"
}
Report Abuse
2tabbycat is not online. 2tabbycat
Joined: 07 Sep 2010
Total Posts: 1692
04 Aug 2014 11:31 PM
My apologies, I know a small amount of information about Valve's Hammer Editor but nothing this complex.
Report Abuse
BaconParadox is not online. BaconParadox
Joined: 24 Nov 2012
Total Posts: 44255
04 Aug 2014 11:42 PM
so much info
Report Abuse
lateregistration is not online. lateregistration
Joined: 02 Apr 2013
Total Posts: 2630
05 Aug 2014 04:47 AM
^ both just random people posting here because its a clonetrooper1019 post...
Report Abuse
StealthKing95 is online. StealthKing95
Joined: 13 Dec 2008
Total Posts: 4263
05 Aug 2014 07:32 AM
"which ports roblox parts into the source engine"

Are you porting into a .vmf or a .bsp file? I think .vmf?


I was looking into some of my own .vmf files and I noticed the "sides" were all like this. You seem to be missing "smoothing_groups" and you also have them in a different order. Not sure if that's the problem but I would definitely look into it.

side
{
"id" "17"
"plane" "(-320 -320 -192) (320 -320 -192) (320 320 -192)"
"material" "NATURE/SNOWFLOOR003A"
"uaxis" "[1 0 0 256] 0.25"
"vaxis" "[0 -1 0 0] 0.25"
"rotation" "0"
"lightmapscale" "16"
"smoothing_groups" "0"
}
Report Abuse
nomer888 is not online. nomer888
Joined: 13 Feb 2010
Total Posts: 551
05 Aug 2014 09:35 AM
It's an issue with the plane coordinates. Seems like ModuleScript you're using to convert parts into faces is faulty, or your formatting is off. Everything else is fine and dandy, and "smoothing_groups" isn't needed.
Report Abuse
DestinyHarbinger is not online. DestinyHarbinger
Joined: 01 Jun 2008
Total Posts: 16701
05 Aug 2014 07:41 PM
jesus christ this gets posted so often


you get a NAIL


THEN YOU USE HAMMER EDITOR
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image