Commit Graph

779 Commits

Author SHA1 Message Date
dvdvideo1234
10b936b43e Fixed: State "AttachBodyGroups: Bodygroup ID not matched" returning false
when bodygroup/skin code is set to empty string. If it's empty
       there is nothing to be attached and therefore there is no error
       to be processed and logged.
Added: When logging the state the padding related to the
       log is a constant
Added: Custom state logging on error to the other modes
2016-01-20 11:11:29 +02:00
Deyan Dobromirov
7da1b92aae Fixed: Logging numbering is always zero when logging in the console is used
Removed: Ghost entity's shadow to obtain higher FPS
2016-01-19 23:46:50 +02:00
Deyan Dobromirov
c655bdd030 Changed: Default [Get/Set]Anchor() action is bind to IN_SPEED ( Shift ) + Reload on Entity/World 2016-01-19 23:13:27 +02:00
Deyan Dobromirov
d7e16ecae2 Fixed: Displaying some values when logging
Fixed: Select a piece mo matter if the old holder's model is a valid one
2016-01-19 21:45:40 +02:00
dvdvideo1234
a6d17a21ee Fixed: Player places storage
Added: General status dump fault
2016-01-19 18:01:51 +02:00
Deyan Dobromirov
c268c354a5 Fixed: Strings to SQL conversion when building queries 2016-01-17 19:03:44 +02:00
Deyan Dobromirov
2d2ef31f16 Fixed: some typos and errors in some cases
Changed: Source now uses library explode and  implode if strings
Changed: Core ( center ) point is now cached inside the piece record.
2016-01-17 18:47:45 +02:00
dvdvideo1234
0774a6291a Updated: Model extension matching
Updated: ModeToName()
2016-01-15 18:12:21 +02:00
dvdvideo1234
47aedcdde5 Ordered type string s checks 2016-01-15 16:23:15 +02:00
dvdvideo1234
07ca80efce Fixed: Error typo
Added: languageAdd() call for tool.category
2016-01-15 12:29:00 +02:00
dvdvideo1234
62497c4f2b Changed: Factorized that nasty undo repetition using asmlib.Undo%
Changed: Arror messages ae generated dynamically based in the iteration
2016-01-15 12:20:54 +02:00
dvdvideo1234
f3ef65dca8 Added: More proper error handling
Added: Status logs in the main tool file
Changed: Speed-up the trackasmlib.lua library
2016-01-14 17:53:59 +02:00
dvdvideo1234
5a749c162e Changed: LocateRecID() local stOffset = oRec.Offs[nPointID] usage
Changed: The usage of "Rec.Offs[ID]" to LocateRecID()
Changed: Default to number in Screen:GecCenter()
Removed: vLook vector. Replaced with asmlib.SetVector(vTemp,hdOffs.P)
2016-01-12 15:51:42 +02:00
dvdvideo1234
a720322bff Added: Additional needed error handlings
Renamed: IsThereRecID to LocateRecID now returns "struct Offset"
Renamed: Some variables when converting to a number
Changed: Moved next point ID validation when stacking outside of the loop.
2016-01-12 13:30:47 +02:00
dvdvideo1234
e2e693df80 Added: some needed checks
Changed/Added: tonumber() conversion and logs
Changed: Active pint selection
Removed: Unneeded variables
2016-01-12 12:25:15 +02:00
dvdvideo1234
0879a6bc7e Changed: G-Gauge default Z to *.?16 for g_gauge_track_ramp_2.mdl
Added: Better invalid number handling in trackasmlib.lua
2016-01-11 18:02:54 +02:00
Deyan Dobromirov
13076e20db Added: G-Gauge Cross 128 units
Added: G-Gauge ramps 32 units tilt scale 1, 2, 3
2016-01-09 22:39:26 +02:00
Deyan Dobromirov
ed97f45f54 Equalize version count 2016-01-05 20:48:35 +02:00
Deyan Dobromirov
fb1eedc2a8 Fixed: Track 1024 and track 2048
Fixed: Z offset default to 1.516 for all
2016-01-05 20:43:45 +02:00
dvdvideo1234
5ed76c81f1 Updated some stuff 2016-01-05 17:49:04 +02:00
dvdvideo1234
61432f73b7 Merge branch 'master' of https://github.com/dvdvideo1234/TrackAssemblyTool 2016-01-05 17:46:34 +02:00
dvdvideo1234
7872a2eeae Updated: Some log types and stuff 2016-01-05 17:46:12 +02:00
Deyan Dobromirov
164120b6c3 Stop the logs 2016-01-04 19:53:48 +02:00
dvdvideo1234
06c6513f39 Changed: g_gauge_track_1_switch_left_1 to g_gauge_track_switch_1_left_1
Changed: g_gauge_track_switch_right_1 to g_gauge_track_switch_1_right_1
Changed: Relocated first right then left the track switch models
To match G-Gauge addon convention
2016-01-04 16:06:15 +02:00
Deyan Dobromirov
a7ad0818de Added: Mr. Train's G gauge 2016-01-03 18:14:19 +02:00
Deyan Dobromirov
f3f3a96150 Changed: Use a local variable instead of indexing the table 5 times 2016-01-01 23:17:43 +02:00
Deyan Dobromirov
5fe2e682ad Fixed: [Track Assembly Tool] lua/trackassembly/trackasmlib.lua:3428: attempt to compare nil with number 2016-01-01 18:56:36 +02:00
Deyan Dobromirov
fbeac51b6d Fixed: Bodygroup ID list not created to numbers properly
Changed: Retrieve a library variable for the string "," instead of creating one dynamically
Changed: Some code rearrangements
2015-12-31 21:45:15 +02:00
Deyan Dobromirov
060a99bfa9 Fixed: Attempt to index global 'os' (a nil value) 2015-12-31 20:45:21 +02:00
Deyan Dobromirov
7b78807a55 Fixed: minor bugs
Fixed: Some typos
2015-12-31 10:44:00 +02:00
Deyan Dobromirov
ef036cf27a Added: extra logs
Updated: Wire extension
2015-12-29 19:42:21 +02:00
Deyan Dobromirov
ff09c3f5d6 Removed a print 2015-12-29 16:53:06 +02:00
Deyan Dobromirov
747c8f0c49 Fixed: weld not created when stacking
Changed: Stacking old piece is not based on the trace entity anymore
Changed: The valid next active point check is made once at the stack
         beginning, so there is no need to remove the piece created on error
Removed: Piece copy-constructor "asmlib.DuplicatePiece(ePiece)"

Signed-off-by: Deyan Dobromirov <dvd_video@abv.bg>
2015-12-29 16:49:34 +02:00
Deyan Dobromirov
1a82ddbeb6 Disable Logs 2015-12-27 15:44:13 +02:00
Deyan Dobromirov
0613a9105a Changed: Auto Offset is now a default option
Changed: Holding piece relative to the active point adviser
         is now properly displayed thanks to the offset
Changed: function PointOffsetUp(oEnt,nPointID)
2015-12-27 15:35:50 +02:00
dvdvideo1234
ae3476b459 Added some extra logs to follow library status
Changed: Calls of stringLen() to compare a number with IsEmptyString()
         makes the execution 14 times faster
Changed: New error conception location. So they can be read better.
2015-12-18 13:41:38 +02:00
dvdvideo1234
3ef00819eb Added Dupe parameter loading control and some additional function checks and logs. 2015-12-17 17:52:47 +02:00
dvdvideo1234
d6e0c8c08e Updated: Entity table of duplication data is now bound to the function name.
The new and old dupes will work, when a new store setting is added inside
         ApplyPhysicalSettings() store as ENT["dupe_phys_set"] = dataSettings
Removed: ArrayDrop() as it's not needed.
Renamed: ModelToHashLocation() as a string operation
2015-12-17 12:48:36 +02:00
dvdvideo1234
751110deb5 Changed: Max linear is now 1000 ( There is no need to be much bigger )
Changed: General duplicator store key not bound by a convar mane, but
         instead, what genaral change it makes
         ApplyPhysicalSettings() "dupe_key_phys"
2015-12-16 16:43:19 +02:00
Deyan Dobromirov
bec75cce94 Entity dupe key is not bound to a console variable name 2015-12-14 23:24:03 +02:00
dvdvideo1234
01e8b8bc42 Changed rearrangements
Added: DisplacePositionAng, DisplaceAngleDir
2015-12-14 17:44:06 +02:00
Deyan Dobromirov
8b981ef8df Removed the "Spawn static" option. It is not needed.
Added: Position/Angle algorithm to calculate the state correctly
       is stored under "Update Ghost" for MCspawn = 1.
Checked: Pieces properties/constraints work correctly
Checked: The panel's description tips are displayed for every element.
2015-12-13 23:28:28 +02:00
dvdvideo1234
db1deb48c9 Changed: bnderrmode data type. 2015-12-12 17:28:47 +02:00
Deyan Dobromirov
6e87003f88 Fixed: Some primary bugs
Changed: Enabled logs
2015-12-11 22:36:12 +02:00
dvdvideo1234
084d1eb653 Renamed GetIgnorePhysgun() to mach cvar name 2015-12-11 16:48:34 +02:00
dvdvideo1234
720c73c1be Renamed: Spawn static to match working logic. 2015-12-11 16:12:28 +02:00
dvdvideo1234
89b4e3ba51 Added: "movstatic" stands for spawn stationary, so we can create movable
props not gradable with the physics gun. Weld to the ground option can be
        replicated checking "Freeze on spawn", "Spawn stationary" and
        "Ignore physics gun grab"
Added: another minor fixes
2015-12-11 16:05:44 +02:00
dvdvideo1234
6ee381f705 Fixed: Call languageGetPhrase on the server 2015-12-11 12:48:26 +02:00
dvdvideo1234
b09172c38b Fixed: Attempt to call "ApplyPhysicalSettings" a nil value 2015-12-11 12:43:48 +02:00
dvdvideo1234
e1e0eb3a7b Fixed: Additional offset on the ghost
Updated: Ignore physgun wrapper
Ordered: panel methods overloading
Changed: ApplyPhysicalSettings() physgun flag is the firs parameter
2015-12-11 12:40:54 +02:00