Albeoris Posted February 7, 2016 Share Posted February 7, 2016 Hello, are someone knows how to turn on "Intellisense" for *.uc scripts? Link to comment Share on other sites More sharing options...
Albeoris Posted February 9, 2016 Author Share Posted February 9, 2016 Hello ladies and gentlemen, I was able to import a third-party extensions to ModBuddy. http://i.imgur.com/pKz7Uec.png?1 0) Set SDK Path: Settings->XCOM2->General->XCOM 2 User Path1) Close ModBuddy.2) Do back up of "..\steamapps\common\XCOM 2 SDK\Binaries\Win32\ModBuddy\Extensions\Application" to the different location!3) Download a new extension: https://yadi.sk/d/N0ww-ifioaaHi4) Unpack it to "..\steamapps\common\XCOM 2 SDK\Binaries\Win32\ModBuddy\Extensions\Application" and replace original files.5) Run ModBuddy. Limitation:Classes that are not in SrcOrig, will not be recognized automatically. They need to describe manualy. For example, `log and `XCOMHISTORY About:I get started with this article.And used extension from this IDE (2012 alpha), parser and scaner generators. Sources: https://yadi.sk/d/0cpJh9bFoabTVGuys, I've never written VS-extensions. I've never written language services. The original extension was not written very nicely, and linked to the UDK. I apologize for the trash in the production package and sources, but I do not have time to bring it to the divine form. If you have the time to fix it please get sources, create a project on GitHub and make it beautiful. (:Also I would like to apologize to the 2K-developers. They wrote a very clean and beautiful extension. The only pity is that without the support CodeSense. )= If you have questions try to ask иut I cannot promise I can answer. Link to comment Share on other sites More sharing options...
Deleted32045420User Posted February 9, 2016 Share Posted February 9, 2016 For some reason it didnt work after changing the files, any ideas? Link to comment Share on other sites More sharing options...
Albeoris Posted February 9, 2016 Author Share Posted February 9, 2016 Workaround:Ctrl+A, Ctrl+X, Ctrl+V, Ctrl+S It looks like a bug. If the line has not been fully updated, the old classified is stored. Update:Type: UnrealScriptSourceMethod: private bool FullParser(IVsTextLines textLines) It is parse lines and raise updates. It is working on format but not always when editing. I do not know why - very dirty code. -_- Link to comment Share on other sites More sharing options...
Deleted32045420User Posted February 9, 2016 Share Posted February 9, 2016 still now working at all, is there anywhere i need to enable the intellisense? Link to comment Share on other sites More sharing options...
Albeoris Posted February 9, 2016 Author Share Posted February 9, 2016 Hm? Are you change files in the mod directory or in the XComGame folder?Can you tell me what are you doing? Step-by-step. Link to comment Share on other sites More sharing options...
Deleted32045420User Posted February 9, 2016 Share Posted February 9, 2016 i dropped the files where you said to and now i am getting in a script and trying to get it to work- first i tried with the given example of a weapon mod to write another Template.something line and it didnt work then i transfered to my own script trying to get it to work there but to no success Link to comment Share on other sites More sharing options...
Albeoris Posted February 9, 2016 Author Share Posted February 9, 2016 Works fine for me:http://i.imgur.com/upcMhkG.png Hhhhhmmmmmmmmmm! Stop! Are you set up SDK Path?http://i.imgur.com/hk589m3.png Link to comment Share on other sites More sharing options...
Deleted32045420User Posted February 9, 2016 Share Posted February 9, 2016 (edited) yeah i am, this is so weird, it should work- i tried to revert the binaries back and then install again but it dosnt work for me for some reason Wait what software is that icon that is on your .UC files from? i dont have it- that might be the problem Edited February 9, 2016 by Guest Link to comment Share on other sites More sharing options...
Albeoris Posted February 9, 2016 Author Share Posted February 9, 2016 yeah i am, this is so weird, it should work- i tried to revert the binaries back and then install again but it dosnt work for me for some reason Wait what software is that icon that is on your .UC files from? i dont have it- that might be the problem Notepad++But it does not matter. Just icon. 1) Are you don't specify a match for the extension .uc in TextEditor->File extension?2) Can you delete (while ModBuddy is open) \XCOM 2 SDK\Binaries\Win32\ModBuddy\Extensions\Application\UnrealScriptPackage1_0.dll ? If you can it's not used as extension.3) Can you press Ctrl+Space after dot? Not working?4) Can you see any popups in the your file or not? Link to comment Share on other sites More sharing options...
Recommended Posts