Commit Graph

779 Commits

Author SHA1 Message Date
Deyan Dobromirov
d5b6fc7b34 Fixed: Admin panel does not modify memory manager clear and collect values
Fixed: Admin panel elements of the memory manager are stuck with no space
Fixed: Admin panel memory manager algorithm has the same icon for all modes
2020-12-31 16:04:03 +02:00
Deyan Dobromirov
df019a1701 Fixed: Curve node active point utilization using origin as HIT instead of point
Fixed: Curve turn limit showing value of the lean limit
Fixed: Relation ray piker not drawn in the HUD
Renamed: DrawFlipOver to DrawFlipAssist
2020-12-31 14:49:48 +02:00
Deyan Dobromirov
170797f88e Fixed: Adding new task resting the busy stats for the first routine
Added: Unified task structure creator
2020-12-31 11:52:21 +02:00
Deyan Dobromirov
7d2175920c Updated: Tool scrip in-game screenshot
Added: Working mode name, icon and information to the tool usage guide
2020-12-29 21:05:10 +02:00
Deyan Dobromirov
695ee0dd9b Updated: Bulgarian proofing errors 2020-12-29 16:53:17 +02:00
Deyan Dobromirov
cd36922ad6 Added: Dynamic legend and information for working modes
Added: Tool mode information is equal to drop-down menu
2020-12-28 21:03:34 +02:00
Deyan Dobromirov
a4abdb5681 Updated: Readme tool utilization help now corresponds to the real thing
Updated: Radial menu by using trapezoidal polygons instead of 2D lines/circles/rectangles
Updated: Drawing text with center origin option
Updated: Text drawing state has dedicated methods for different things
Improved: readability of DrawRelateIntersection
Renamed: `SetTextEdge` to `SetTextStart`
2020-12-27 11:26:04 +02:00
Deyan Dobromirov
8c16061893 Fixed: Undo for curving and flipping is properly drawn
Fixed: Flip-over mode from previews session stays present
Removed: Flip-over sync as it is not needed
2020-11-30 23:27:06 +02:00
Deyan Dobromirov
ab5febf029
Merge curve fitting and flip over (#23)
Added: Admin control options
Added: All database enters
Added: All items from `Trackmania United Props`
Added: Amount of curve interpolation samples define by the server `curvsmple`
Added: Catmull–Rom cure track interpolation working mode
Added: Circle line interaction and check
Added: Click function into the node created
Added: Constrain information generation
Added: Constraints information generator for flip over
Added: Curve calculation and spawning as a task routine
Added: Curve calculator caller that handles data between `GetCatmullRomCurve` and player cache
Added: Curve node update
Added: Curve parameterization for track active point origin
Added: Curve segment turning factor calculator
Added: Curve sharpness requirement control ( `0` to disable )
Added: Dedicated borders and default values to tweak convars
Added: Dedicated condition for flip over mode `GetFlipOverFlag`
Added: Dedicated container for convar callbacks
Added: Dedicated curve ends margin
Added: Dedicated curve snap origins storage
Added: Dedicated curving check and transform
Added: Dedicated curving piece information `POS`, `ANG`, `UCS`
Added: Dedicated model to name conversion beautifier: `GetBeautifyName`
Added: Dedicated tool method color manager
Added: Dedicated user and admin preferences configuration
Added: Dedicated workshop ID storage invoked from the track tree opens addon page
Added: Drawing the location of active point to retrieve the normal vector from
Added: Equal OOB transform calculation
Added: Excessive lean limit
Added: Export gen align errors
Added: Flag for ghosting recalculation request
Added: Flip over-snapping mode as parameterization only ( no logic )
Added: Flipping over relative to the model intersection (holder model = trace model)
Added: Iteration format
Added: Left click queue busy. Spawn information is overwritten!
Added: More track mania segments
Added: Node creation form track active point ( not moved with the track )
Added: Origin initialization in curve calculation request
Added: Perspective for the first and last curve node
Added: Perspective to draw POA
Added: Player can use SHIFT + Right click to preform standard ops in WM 4 ( OVER )
Added: Proper drawing for curve fitting based on net messages
Added: Proper scaling for distant positions circles drawing
Added: Queue track spawn multiple progress (#22)
Added: STMT caching for drop/delete SQL table
Added: Second networked condition to flip over entities being variable name
Added: Segment length is calculated in the curve calculation request
Added: Segment snapping is calculated in the curve calculation request
Added: Segment spawn data factorization
Added: Shift + Click expands/collapses all child nodes
Added: Snapping emptying in curve calculation request
Added: Stack limit for the curving via stack count
Added: TA constraint identifier
Added: Total curve snapping information via progress `stData.SKept`
Added: Track mania united track props single straight piece for DEV
Added: Translation and explanations for type and category items in the panel
Added: Translation for the third working mode [3] CURVE
Added: Translations for the menu panel
Added: Utilized `DrawNextPoint` two times
Added: VECTOR and ANGLE CHECK
Added: Wire API create piece done with color vector and separate alpha
Added: Working mode flip-over spawn/snap ( also to trace not hitting active point )
Added: `GetFlipOverOrigin` now returns third argument active point
Adjusted code base for curve fitting working mode
Adjusted drop-down menus icons
Adjusted: perspective radius limits
Changed: Color of the non placed yet node distance to yellow
Changed: Color updated to the asm library
Changed: Getflip over entity/array output is now controlled with flag
Changed: Right click copies the name and shif+right the model
Changed: Use vector copy constrictor instead of `Vector():Set()`
Changed: `GetFlipOverArray` automatically converts all IDs to numbers
Changed: `GetFlipOverEntity` and GetFlipOverArray now return table and length
Consolidated curving `MUTE` mode and ghost calculation request
Disabled: Ghosting for work-mode 3 `CURVE`
Fixed: Active radius resized circles with proper perspective
Fixed: Body group in Russian and Bulgarian looking weird
Fixed: Change the naming of some controls
Fixed: Constraint mirroring in flip over mode
Fixed: Control panel size starts at 1 and registers one element more
Fixed: Convar borders are stored in the border table but not in the convar object
Fixed: Convar borders have values on client and server
Fixed: Count is showing
Fixed: Curve calculation request wipes out the snap information array
Fixed: Curve calculator `GetCatmullRomCurve` always empties the output table
Fixed: Curve interpolation tangent generating NaN vectors
Fixed: Curve not changing when control point is updated
Fixed: Curve snapping is now done segment by segment
Fixed: Curving failing die to having duplicated nodes
Fixed: Drawing lines in segmented mode does not draw the rest of the line
Fixed: Drawing parameters not being bound to the drawing method
Fixed: Drawing the active point when shift is pressed to select local normal
Fixed: Emptying the curve snap list two times
Fixed: Error messages in red when empty string is passes to asmlib convars
Fixed: Fading ghosts models not being reset when mismatch is found
Fixed: Flip over mode with proper player notification messages
Fixed: Ghosted props not faded when snap is being recalculated and spawn is not present
Fixed: Ghosting depth one when stack count is set to zero
Fixed: Ghosting depths not being scenario based
Fixed: Internal `LUA` cache handling for tables when file is reloaded
Fixed: Items without define category being scattered across the tree
Fixed: Iterator index name for drawing lines in segmented mode uses position
Fixed: Log reports doubling errors in the main queue routine
Fixed: Logging if curve segment ID mismatch displayed as `nil`
Fixed: Modular canals addon page not opening
Fixed: Panel node unable to copy model
Fixed: Phys-gun draw circles perspective
Fixed: Phys-gun draw coordinate system missing player
Fixed: Player is able to spawn a piece even if the stack queue is busy
Fixed: Point on a line check
Fixed: Progress bar for spawning multiple
Fixed: Proper dimension check when circle radius to ray origin is close t zero
Fixed: Relay assist no drawing POA coordinate system
Fixed: Remove irrelevant data to prevent user creating curves with no nodes
Fixed: Returning temporary vector from `GetEntityHitID` gives no information
Fixed: Run-time concatenation errors
Fixed: Screens table missing
Fixed: Segfault trigger in the pieces manager
Fixed: Server busy for the given player is dedicated to the tool mode
Fixed: Snap-curving parameters in the sane manner
Fixed: Some Shinji rails not being classified
Fixed: Some control panel convar limits
Fixed: Some ghosts keep being drawn after stack count is adjusted
Fixed: Some parameter checks are missing in curving mode
Fixed: Some readme typos
Fixed: Some runtime errors in some rare cases
Fixed: Some variables not being reset by the factory reset
Fixed: Spawn data is overridden with the next left click after stacking
Fixed: Spawn rate translation cache
Fixed: Task queue is created/executed only on the server
Fixed: Task queue is executed eve if the player switches to another tool
Fixed: Toolgun grab will no longer draw adviser on a physgun-disabled entity
Fixed: Total nodes and last node clear ID not shown
Fixed: Track curve snap information not being sequential for using `iD` instead of `SSize`
Fixed: Track segments are not being contained
Fixed: Unable to spawn/snap one piece when stack count is set to zero
Fixed: Undo list is properly created and not disturbed by other tools
Fixed: Update curve active point elevation being applied on node
Fixed: User can click also on the category/type node label to expand it
Fixed: Users/Clients accessing max stack attempts and export database control in multiplayer
Fixed: Working mode reader sometimes slows down the tool
Fixed: Wrap turning factor in square brackets two times
Fixed: Wrong entity in the logs for phys properties
Fixed: `GetCurveSnap` may get called more than once for the current segment
Fixed: `IsPlayer` and `IsOther` do not return accurate results for non-entities
Fixed: missing concatenation on error
Improved: Accuracy of SW minitrain tracks
Increased: the value of `maxstatts`
Moved: Client related operation variables to client #ifdef
Moved: Ghosting depth count to user preferences
Moved: Node creating algorithm to the ASM library
Moved: Panel refresh configuration in the initialization
Moved: Registering tool reference in the CLIENT #ifdef
Optimize drawing a rectangle and progress bar
Optimized: Player view radius
Optimized: Retrieving transformation for flip-over mode
Protected: Calling the the vector line and sphere intersection functions from outside
Registered: dedicated font to draw spawn data with `DebugSpawnTA`
Removed: Additional enable radial menu flag
Removed: Beautification and click node function as arguments
Removed: Force request for panel recreation. Use `spawnmenu_reload` instead
Renamed: z_autorun_[standalone].txt to autonomous_[trackassembly].txt
Renamed: `GetCategory` to `Categorize`
Renamed: Functions get/set Directory
Reordered: Ghosting flags and setup enums
Reverted: Use the Z offset when building a curve
Reverted: `GetTransformOBB` as it roll the track relative to OBB
Updated: Ghosting depth for `CURVE`
Updated: Accurate additions log
Updated: Bobster's category calculation
Updated: Call action key with vararg utilization
Updated: Container, screen and queue creators
Updated: Create table procedure
Updated: Curve check now returns second argument track length
Updated: Drawing rectangle with rounded box
Updated: Flip over mode using a dedicated task
Updated: Flip over translation (English)
Updated: Ghost maker time optimization
Updated: Ghosting with shorter variables
Updated: Map bound checker for piece creation
Updated: Maximum stack attempts lower limit to zero ( disable the option )
Updated: Process think spawn queue with better naming convention
Updated: Queue list OOP
Updated: Shinji's track pack
Updated: Stack count can be now zero used on working as `SNAP` and `CURVE` adjusts track spawn limit
Updated: Stack count lower limit to zero ( to be able to disable it for CURVE )
Updated: Stack/snap main task routines
Updated: Switch ALT with SHIFT
Updated: Tool curve control options. Disabled ramp tracks
Updated: Track pack categories name and labels ar now handles by the panel itself
Updated: Turing factor calculator no returns turn and lean
Updated: Undo name is changer according to the curve snap limit given
Updated: Utilized player sport for "RAY_INTERSECT"
Updated: Value borders/limit handlers
Updated: Working as `CURVE` and stack count greater than zero sets the track spawn limit
Updated: Working as `CURVE` and stack count zero disables the track spawn limit
Updated: Working as `SNAP` and stack count zero disables the stacking ( as expected )
Updated: Working node variable names
Updated: Flip over origin calculator returning vararg
Utilize: The derma control color skins rather than the hard coded palette container
Utilize: Library function `TOOL:BuildConvarList()`
Utilize: `ErrorNoHalt` in Shinji's external addon
Utilized: Dedicated action call for creating tweak menus
Utilized: GetEntityHitID
Utilized: Gmod spawn menu to extract development DB state
Utilized: Panel DB extractor in the pieces manager
Utilized: `GetNearest` library function to find the closest distance hit
2020-11-26 20:00:23 +02:00
Deyan Dobromirov
fe25492786 Improve accuracy for some minitrain straight models 2020-10-02 16:09:53 +03:00
Deyan Dobromirov
d24a918f91 Fixed: Missing concatenation attempt to call a nil value on error 2020-07-17 01:10:02 +03:00
Deyan Dobromirov
9a8aaac5e2 Added: Customization control panel offset precision 2020-07-02 22:13:07 +03:00
Deyan Dobromirov
9c009ac5f3 Updated: Skip log settings 2020-07-02 14:05:45 +03:00
Deyan Dobromirov
be781b216d Fixed: Processing DSVs taking generic cl_* and sv_* into consideration
Fixed: Destroy physics on the ghosted entity avoid world collisions
2020-07-02 13:57:22 +03:00
Deyan Dobromirov
a732c0c4af Fixed: Proper model path extracted when unit is renamed after compilation
Fixed: Grades active point being swiped from the highest end
Updated: The offset of `harpstand_2_pos` to proper length
2020-06-16 22:33:22 +03:00
Deyan Dobromirov
bfecb1c212 Fixed: Joe's visual lever switch not rotated correctly in the model panel
Fixed: Doubling some function names in the open frame logs
2020-06-13 08:30:08 +03:00
Deyan Dobromirov
6b36a1696e Updated: GLua lint fixing syntax check 2020-06-11 22:04:20 +03:00
SupinePandora43
358aafea6e
Linter (#20)
Updated: Readme addon name correction
Added: GLua lint
2020-06-11 13:17:26 +03:00
Deyan Dobromirov
fcf1b8fbac Removed: Unneeded empty string inserts in the DB for Joe's track pack 2020-06-10 21:22:19 +03:00
Deyan Dobromirov
f3cbb18157 Fixed: Snap ends order of Joe's grades
Added: Second active end to Joe's damaged track
Added: A bunch of tracks and switches for Joe's track pack
Updated: Joe's category calculator
2020-06-10 20:12:19 +03:00
Deyan Dobromirov
8b14301647 Added: Readme for modular canals 2020-06-09 23:34:42 +03:00
Deyan Dobromirov
3cb2aa3cfe Added: Some models from Joe's track pack that are located in other addons made by Joe 2020-06-09 23:21:24 +03:00
Deyan Dobromirov
01c76c3f99 Added: Modular canals canal interior props
Fixed: Enable motion and sleep ate PhysObj methods
Fixed: Used general constants in Shinji's rails instead of numbers
2020-06-09 17:32:17 +03:00
Deyan Dobromirov
366720ae6e Fixed: Ghost stuck in the ground on multiplayer x32-x64 Chromium branch
Updated: Button controlled sliders
2020-05-21 21:27:13 +03:00
Deyan Dobromirov
9622af7eb7 Fixed: List view selected line is not being exported to autorun
Fixed: Apply a standard file naming convention format to DSV and autorun exports
Fixed: Query builder method `GetArrayRow` assigning wrong IDs to table columns
Fixed: Translation phrase manager `GetPhrase` being called on the server
Fixed: Internal data export matching in `ExportPiecesAR` passing wrong argument
Fixed: Exporting a type to autorun script missing the last line if no `LF` is provided
Fixed: Exported autorun entries not working due to wrong PIECES path
Fixed: Type autorun exporter now works in `Lua` mode as well
Added: Primitive IsEmpty(TABLE)
Added: GetReport4
Added: Library initialization checker `IsInit` to prevent errors while DEV
Added: Disabling addition pos/ang results on {0,0,0} `MODELBASE` local pos/and
Added: Coding Lua mode for AR extraction and code factorization
Added: Autorun extraction Lua handlers `ExportAR`
Added: Reference to the actual value in sorting
Updated: SQL condition `if(not (qData and qData[1])) then`
Updated: AttachAdditions invalid addition error
Updated: Use the value in variable `KEYQ_BUILDER` as key to store data-related builders
Updated: Table builder `GetColumnInfo` with second argument
Updated: Table creator
Utilized: GetColumnName
Utilized: Local function `ExportPiecesAR` due to `KEYQ_BUILDER` indexed storage
Utilized: Sorted record reference in `CacheQueryPanel`
Utilized: SetAdditionsAR to retrieve the additions data
Converted: Shinji's rails to autorun external DSV
Finalized: Type to outorun exporter procedures
Factorized: Initialization via `GetReport`
Factorized: POA exporting as string via `ExportPOA`
Removed: Source file and export file name definition table from `ProcessDSV`
Renamed: ExportTypeAR

Merge autorun track pack file exporter into master (#19)
2020-04-20 12:21:07 +03:00
Deyan Dobromirov
96cfc9c685 Fixed: List view popular pieces search bar
Fixed: OPEN_FRAME logs not being displayed properly
Added: Export DB can now export given type as external DSV via `ExportExternalDSV`
Added: Table builder `GetColumnName`, `GetColumnInfo`, `GetArrayRow` ( utilized )
Added: Skip trimming option to `GetStringFile`
Added: VARARGs to `SetAction`
2020-04-13 22:33:47 +03:00
Deyan Dobromirov
1abf293af2 Added: External DSV manipulation menu translated to Japanese by Petar Dimov 2020-04-10 20:17:49 +03:00
Deyan Dobromirov
1354c8b0cb Utilized: Local variable gsSymDir 2020-03-25 08:58:09 +02:00
Deyan Dobromirov
2432cd0136 Fixed: Ghosted prop not being removed on physgun drop in action DRAW_PHYSGUN properly
Updated: Take ghosts flag and count calculation outside of the draw loop
Updated: Convar value retrieve is now assigned to local with proper name
Updated: Rely on the game garbage collection when call `ClearGhosts()`
2020-03-23 20:52:19 +02:00
Deyan Dobromirov
b47d0797b6 Fixed: Title typo in the external DSV list
Updated: Relation of the external DSV list prefix/active column size
2020-03-22 21:56:23 +02:00
Deyan Dobromirov
9cc2e219cd Fixed: Integrate repo name with the addon name 2020-02-24 23:43:55 +02:00
Deyan Dobromirov
30c60c2857 Added: Error message printout for category management
Fixed: Some comment typos
Removed: Dedicated operation variable INFINITY
2020-01-25 21:47:08 +02:00
dvdvideo1234
d4df56ecf9 Fixed: Set method called properly from cat-mull-rom tangent
Added: Disabling point ID on the pieces manager scripts now take the line number
2020-01-23 10:38:36 +02:00
dvdvideo1234
a15adb80be Fixed: Catmoll-Rom tangent interpolator
Factorized: Start and end spline vectors
2020-01-17 13:23:28 +02:00
dvdvideo1234
8f67aec278 Factorized: CPanel 2019-11-25 17:43:44 +02:00
Deyan Dobromirov
645e1925e6 Fixed: A bunch of log parameters in various places
Removed: Empty strings in POA-Class being translated from nil
2019-11-16 13:20:57 +02:00
dvdvideo1234
18f34e8b45 Removed: Unneeded operational variable extraction for GetTerm.
Added: Description for `GetTerm`
2019-11-15 17:50:18 +02:00
dvdvideo1234
a55e4f9ee2 Removed: Empty string for entity class defaulting to prop_physics 2019-11-15 17:34:33 +02:00
Deyan Dobromirov
37d1bb9214 Fixed: Wrong Z offset on StevenTechno building v2.0 *office_building* 2019-11-14 22:15:40 +02:00
Deyan Dobromirov
cab95cbcf4 Added: The last of StevenTechno building pack 2.0 2019-11-11 21:47:06 +02:00
Deyan Dobromirov
bd36dadba6 Added: StevenTechno roads 2.0 intersections and highway entrances 2019-11-10 19:45:55 +02:00
dvdvideo1234
1fd4b2afc6 Added: OpVar for bodygroup and sking fail safe 2019-11-08 11:13:19 +02:00
Deyan Dobromirov
60944e3984 Fixed: File prefix generated by given prefix or instance prefix is checked correctly on export
Fixed: API `RegisterDSV` no uses file generated prefix instead of the parameter prefix
2019-11-06 22:33:38 +02:00
Deyan Dobromirov
dbdbd5b3fd Fixed: Pieces managed not finding Sligwolf's rail car name changed to BGC
Revered: The names of `0-7_single_lane_x128_phys` and `5_empty_lot`
Added: The ASM init related OpVar-s to the beginning of the initialization file
Updated: StevenTechno building V2.0. Added more models to the category
2019-11-06 21:57:42 +02:00
dvdvideo1234
e55d2e33f4 Optimized: Use the local value gsLimitName instead of CVAR_LIMITNAME during initialization
Optimized: External database manager `OPEN_EXTERNDB` easier for support
Changed: Use `SetAsmConvar` instead of `ConCommand` in the tool source
Fixed: TA convar manipulator now defaults `nil` to empty string `SetAsmConvar`
2019-11-05 10:57:28 +02:00
dvdvideo1234
8a0ee36686 Fixed: Remove the panel whenever or not it is found in the element container
Updated: Utilize the call of `asmlib.GetDateTime` with default format
2019-11-04 14:11:20 +02:00
Deyan Dobromirov
47af14000a Updated: StevenTechno's buildings pack v2.0 2019-10-29 23:20:42 +02:00
Deyan Dobromirov
095c499235 Processed: A bunch of models from StevenTechno's buildings pack 2.0 2019-10-28 21:01:01 +02:00
Deyan Dobromirov
e8817f384e Fixed StephenTechno building 1.0 DB not being synchronized by emd.bat
Added: Some StevenTechno Apartments/housing
Added: StephenTechno building 2.0 addon link to readme.md
2019-10-22 23:36:12 +03:00
Deyan Dobromirov
5d0568b0fc Added: StevenTechno's Buildings lots and single lane roads 2019-10-21 17:06:22 +03:00