-
Posts
382 -
Joined
-
Last visited
Content Type
Blogs
Forums
Store
Gallery
Videos
Posts posted by tipforeveryone
-
-
OHHHHHHHHH MY BAD !!
Wow, how clumsy I am. Thank you!
-
9 hours ago, Josh said:
This is great! Why not upload it here?:
https://www.leadwerks.com/community/gamesIt will get more views and you can use our cheap storage space to host your game forever.
I willllll !!
8 hours ago, Berken said:Controls are great! I like it.
Edit: I was already following your devlogs on Youtube. You are really professional developer
Thank you <3
1 hour ago, jen said:Very cool!
My game needs multiplayer too, hehe, and I dont know how to start, love your game Border Recon
33 minutes ago, Thirsty Panther said:Great work.
I too am a follower of your Youtube channel.
I thought you had left us as you had posted nothing for over a year.
Welcome back.
Yes, that was a hard year for my job, but I will never give up on Leadwerks, thank you
- 1
-
- I don't think so. I have a small test with map 07-AI and Events
- I put irisadjusment.lua into Map Root Post Effects list, then Editor Viewport camera was applied irisadjusment.lua, it is ok for sure.
- Delete original FPSPlayer prefab and replace with a single camera, check "Use Post effect" in Camera Tab, start the game, it worked too
- Remove irisadjustment.lua from Map Root Post Effects list and create a new .lua file to attach to the camera
function Script:Start() self.entity:AddPostEffect("Shaders/PostEffects/irisadjusment.lua") end
and it does not work anymore.
It seems only work if shader file is put into Post Effect list. This is weird.
-
How can I make it work for my custom player control, I love this effect
-
(UPDATED: 07/04/2020)
After 3+ year learning and using Leadwerks, I introduce my very first game (or an early part of it) which has many features. This is a tactical FPS game about my country's police force, named CSCĐ.
Download installer here
Important: Run GameUpdater.exe after installing to update to latest version!
Sorry for some parts of game are not in English
Game features
Video demo
Weapon
-
Introduce some weapons of each types
- Assault rifle: M4A1, AK47
- SMG: mp5sd (with intergrated silencer)
- Sniper rifle: SVD
- Pistol: fiveseven
- Bullet projectile's affected by gravity
- Weapon aiming through iron sight (without optical attachments)
- Optical attachments (PSO1, ACOG, Eotech). Some of them have adjustable zoom level (WIP)
- Tactical attachment (flashlight/laser/silencer)
- Multiple fire modes (semiauto, full automatic, burst)
- Picking up/Dropping weapon
- Switchable Primary/Secondary weapon
- Movement, being damaged, and breathing affect aiming status
- Weapon length affects aiming (blocked when moving close to obstacles)
- Detachable magazine: Each magazine is usable object which can be dropped/pickedup
Character Control
- Movement (walking, running), Crouching, Leaning
- Ragdoll physic when being killed
- Various animations for many action
- Player can take control of each member of a team and issue command to others
- Unique magazine management system (player must choose magazine to reload current weapon)
AI System
- Dynamic reaction depends on situation
- Reaction to sound source (weapon shot, footsteps, bullet interaction to wall, fallen body of ally)
- Using weapon with high level of aiming skill
- Reloading weapon at safe moment
- Switching to other weapon if current weapon's magazine is out of round (WIP)
- Command System for Friendly AI
How to play
Movement
- W/A/S/D: moving around
- Q/E: Leaning left/Right
- Hold Shift + W: Run
- Left Ctrl: Toggle Crouching
- Hold Shift while crouching: temporary standing
Weapon
- LMB: Fire weapon
- RMB: Aim down sight, aim through scope
- V: Cycle weapon's fire mode
- G: Drop current weapon
- MMB: Inspect weapon
- V/X: Toggle Flashlight/Laser
- ? Toggle safety switch
- F: Fist Strike (Hand Combat)
-
How to reload:
- Press R to open inventory
- Q/E to select magazine which will be used to replace current one of weapon
- Hold Spacebar until reloading complete
- MMB: Drop selected magazine
Command Mode
- Tilde (~): Toggle Command Mode
- F: "Follow me" command
- T: "Move to" command
- G: "Covering fire" command
- V: "Observe area" command
-
In command mode:
- 1/2/3/4: Issue command to corresponding member
- Tilde (~): Issue command to whole team
AutoUpdater
- Run CSCDVMPUpdater.exe to check and update game
Feedback and Bug report
- Please post any bug on my Discord Server: https://discord.gg/XuU4QA
There are many more features in the future please give me your ideas and comments. Thank you !
- 8
-
Introduce some weapons of each types
-
camera = Camera:Create() camera:AddPostEffect("Shaders/PostEffects/irisadjusment.lua")
I used code above for my custom FPSControl (built it from scratch), there is no difference
but it works with Default FPSPlayer.pfb
-
I added "irisadjustment.lua" into the postprocess list, but I found no difference when play game.
What did i miss ?
-
What is this use for in game, any example ?
-
46 minutes ago, Josh said:
The editor DOES scan your Lua and CPP code files to look for any files that might be needed. However, if your name is created programmatically, like "MyFile" + ".tex" then there is no way to include it.
Thanks for pointing this out. I have a plenty of code like this. "something" .. self.variable .. ".tex" this is not a bug finally. you should put this as a Note (with red color) in the Publish window. I think
-
So that "Only include USED files" option is kind of questionable and somehow... useless because there are not many entities / models / materials / textures are used in the Editor
-
@Jazz Thank you for show me this
@Josh
I found out a problem, there are some missing folders in published game, see image below.
There is something to be worked on "Only include used file" option when publishing gameLeadwerks only include files which are used in existed map, not in code
example, "Menu" folder contain all textures which I use Texture:Load() for and they are not included in.
-
Just now, Jazz said:
cscdvmp.exe > output.txt
Lua Error: [string "/Scripts/Custom Scripts/Menu/MenuFunctions.lua"]:69: attempt to index a nil value
Woww. show me how can I get this ?
-
Just now, Josh said:
Okay, is this a C++ program or Lua?
I use LUA, no C++
-
27 minutes ago, Josh said:
That does not make any sense. The program should print out a few lines of text at least.
Maybe I put a wrong content for the .bat file, here is my published project.
can you help me to point out which lacked files, I don't want to pack every unused files for the game to run. I have plenty of them in my project folder and they are about 4 GB
-
haha this username sounds funny, thank you
this is what I get when using bat file to run my game, but stillget nothing useful
----
-
I publish my game as Standalone version with "Only include used files" checked
When I double click mygame.exe, a window appears and suddenly disappear without any error warning, I guess my game are lacking of some files but I don't know which one
Then I publish with "Only include used files" unchecked and my game run properly but with a huge size package
I suppose it is fine with included used files but it is not.
btw, is there any way to point out which file my game lacks.
Thanks
-
Cộng hòa xã hội chủ nghĩa Việt Nam
Vietnamese
-
13 hours ago, Josh said:
It says right there at the end that the game ran successfully. Are you sure there is a start.map file present?
Yes there is. I have start.map in the project
-
Today I try new beta of 4.5 with VC2017
I created a new project with FPS template then opened C++ project file in VC2017
This is log when I built the project
Quote'FPS2.debug.exe' (Win32): Loaded 'D:\Leadwerks\Projects\FPS2\FPS2.debug.exe'. Symbols loaded.
'FPS2.debug.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ntdll.dll'. Cannot find or open the PDB file.
'FPS2.debug.exe' (Win32): Loaded 'C:\Windows\SysWOW64\kernel32.dll'. Cannot find or open the PDB file.
'FPS2.debug.exe' (Win32): Loaded 'C:\Windows\SysWOW64\KernelBase.dll'. Cannot find or open the PDB file.
'FPS2.debug.exe' (Win32): Loaded 'C:\Windows\SysWOW64\user32.dll'. Cannot find or open the PDB file.
'FPS2.debug.exe' (Win32): Loaded 'D:\Leadwerks\Projects\FPS2\openvr_api.dll'. Cannot find or open the PDB file.
'FPS2.debug.exe' (Win32): Loaded 'C:\Windows\SysWOW64\win32u.dll'. Cannot find or open the PDB file.
'FPS2.debug.exe' (Win32): Loaded 'D:\Leadwerks\Projects\FPS2\newton_d.dll'. Cannot find or open the PDB file.
'FPS2.debug.exe' (Win32): Loaded 'C:\Windows\SysWOW64\shell32.dll'. Cannot find or open the PDB file.
'FPS2.debug.exe' (Win32): Loaded 'C:\Windows\SysWOW64\gdi32.dll'. Cannot find or open the PDB file.
'FPS2.debug.exe' (Win32): Loaded 'D:\Leadwerks\Projects\FPS2\dContainers_d.dll'. Cannot find or open the PDB file.
'FPS2.debug.exe' (Win32): Loaded 'C:\Windows\SysWOW64\gdi32full.dll'. Cannot find or open the PDB file.
'FPS2.debug.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msvcrt.dll'. Cannot find or open the PDB file.
'FPS2.debug.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msvcp_win.dll'. Cannot find or open the PDB file.
'FPS2.debug.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ucrtbase.dll'. Cannot find or open the PDB file.
'FPS2.debug.exe' (Win32): Loaded 'C:\Windows\SysWOW64\cfgmgr32.dll'. Cannot find or open the PDB file.
'FPS2.debug.exe' (Win32): Loaded 'C:\Windows\SysWOW64\SHCore.dll'. Cannot find or open the PDB file.
'FPS2.debug.exe' (Win32): Loaded 'C:\Windows\SysWOW64\rpcrt4.dll'. Cannot find or open the PDB file.
'FPS2.debug.exe' (Win32): Loaded 'C:\Windows\SysWOW64\rpcrt4.dll'. Cannot find or open the PDB file.
'FPS2.debug.exe' (Win32): Unloaded 'C:\Windows\SysWOW64\rpcrt4.dll'
'FPS2.debug.exe' (Win32): Loaded 'C:\Windows\SysWOW64\combase.dll'. Cannot find or open the PDB file.
'FPS2.debug.exe' (Win32): Loaded 'C:\Windows\SysWOW64\sspicli.dll'. Cannot find or open the PDB file.
'FPS2.debug.exe' (Win32): Loaded 'D:\Leadwerks\Projects\FPS2\dCustomJoints_d.dll'. Cannot find or open the PDB file.
'FPS2.debug.exe' (Win32): Unloaded 'D:\Leadwerks\Projects\FPS2\dCustomJoints_d.dll'
'FPS2.debug.exe' (Win32): Loaded 'C:\Windows\SysWOW64\cryptbase.dll'. Cannot find or open the PDB file.
'FPS2.debug.exe' (Win32): Loaded 'C:\Windows\SysWOW64\bcryptprimitives.dll'. Cannot find or open the PDB file.
'FPS2.debug.exe' (Win32): Loaded 'C:\Windows\SysWOW64\bcryptprimitives.dll'. Cannot find or open the PDB file.
'FPS2.debug.exe' (Win32): Unloaded 'C:\Windows\SysWOW64\bcryptprimitives.dll'
'FPS2.debug.exe' (Win32): Loaded 'C:\Windows\SysWOW64\windows.storage.dll'. Cannot find or open the PDB file.
'FPS2.debug.exe' (Win32): Loaded 'C:\Windows\SysWOW64\sechost.dll'. Cannot find or open the PDB file.
'FPS2.debug.exe' (Win32): Loaded 'C:\Windows\WinSxS\x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.16299.64_none_9407aad74a2a0fbd\GdiPlus.dll'. Cannot find or open the PDB file.
'FPS2.debug.exe' (Win32): Loaded 'C:\Windows\SysWOW64\advapi32.dll'. Cannot find or open the PDB file.
'FPS2.debug.exe' (Win32): Loaded 'C:\Windows\SysWOW64\crypt32.dll'. Cannot find or open the PDB file.
'FPS2.debug.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msasn1.dll'. Cannot find or open the PDB file.
'FPS2.debug.exe' (Win32): Loaded 'C:\Windows\SysWOW64\shlwapi.dll'. Cannot find or open the PDB file.
'FPS2.debug.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ws2_32.dll'. Cannot find or open the PDB file.
'FPS2.debug.exe' (Win32): Loaded 'C:\Windows\SysWOW64\kernel.appcore.dll'. Cannot find or open the PDB file.
'FPS2.debug.exe' (Win32): Loaded 'C:\Windows\SysWOW64\psapi.dll'. Cannot find or open the PDB file.
'FPS2.debug.exe' (Win32): Loaded 'D:\Leadwerks\Projects\FPS2\libcurl.dll'. Cannot find or open the PDB file.
'FPS2.debug.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msimg32.dll'. Cannot find or open the PDB file.
'FPS2.debug.exe' (Win32): Loaded 'C:\Windows\SysWOW64\powrprof.dll'. Cannot find or open the PDB file.
'FPS2.debug.exe' (Win32): Loaded 'D:\Leadwerks\Projects\FPS2\lua51.dll'. Module was built without symbols.
'FPS2.debug.exe' (Win32): Loaded 'C:\Windows\SysWOW64\Wldap32.dll'. Cannot find or open the PDB file.
'FPS2.debug.exe' (Win32): Loaded 'D:\Leadwerks\Projects\FPS2\steam_api.dll'. Cannot find or open the PDB file.
'FPS2.debug.exe' (Win32): Loaded 'C:\Windows\SysWOW64\profapi.dll'. Cannot find or open the PDB file.
'FPS2.debug.exe' (Win32): Loaded 'C:\Windows\SysWOW64\opengl32.dll'. Cannot find or open the PDB file.
'FPS2.debug.exe' (Win32): Loaded 'C:\Windows\SysWOW64\winmm.dll'. Cannot find or open the PDB file.
'FPS2.debug.exe' (Win32): Loaded 'C:\Windows\SysWOW64\OpenAL32.dll'. Cannot find or open the PDB file.
'FPS2.debug.exe' (Win32): Unloaded 'C:\Windows\SysWOW64\OpenAL32.dll'
'FPS2.debug.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msvcr100.dll'. Cannot find or open the PDB file.
'FPS2.debug.exe' (Win32): Loaded 'C:\Windows\SysWOW64\vcruntime140.dll'. Cannot find or open the PDB file.
'FPS2.debug.exe' (Win32): Loaded 'C:\Windows\SysWOW64\winmmbase.dll'. Cannot find or open the PDB file.
'FPS2.debug.exe' (Win32): Loaded 'C:\Windows\SysWOW64\winmmbase.dll'. Cannot find or open the PDB file.
'FPS2.debug.exe' (Win32): Unloaded 'C:\Windows\SysWOW64\winmmbase.dll'
'FPS2.debug.exe' (Win32): Loaded 'C:\Windows\SysWOW64\winmmbase.dll'. Cannot find or open the PDB file.
'FPS2.debug.exe' (Win32): Unloaded 'C:\Windows\SysWOW64\winmmbase.dll'
'FPS2.debug.exe' (Win32): Loaded 'C:\Windows\SysWOW64\glu32.dll'. Cannot find or open the PDB file.
'FPS2.debug.exe' (Win32): Loaded 'D:\Leadwerks\Projects\FPS2\dCustomJoints_d.dll'. Cannot find or open the PDB file.
'FPS2.debug.exe' (Win32): Loaded 'C:\Windows\SysWOW64\OpenAL32.dll'. Cannot find or open the PDB file.
'FPS2.debug.exe' (Win32): Loaded 'C:\Windows\SysWOW64\imm32.dll'. Cannot find or open the PDB file.
'FPS2.debug.exe' (Win32): Loaded 'C:\Windows\SysWOW64\mswsock.dll'. Cannot find or open the PDB file.
The thread 0x4e54 has exited with code 1 (0x1).
The thread 0x1e64 has exited with code 1 (0x1).
The thread 0x3e30 has exited with code 1 (0x1).
The thread 0x1f90 has exited with code 1 (0x1).
The program '[1632] FPS2.debug.exe' has exited with code 1 (0x1). -
anyone has any idea ? or I dont get the right point ?
-
I tested Join:Ball() today and found out a problem with the parent entity
Here is my modified code from https://www.leadwerks.com/docs?page=API-Reference_Object_Joint_Ball
parent = Model:Box() parent:SetColor(0.0,0.0,1.0) parent:SetMass(0) parent:SetPosition(1,0,0) --Move parent box a little bit to the right parent:SetGravityMode(false) child = Model:Box() child:SetColor(1.0,0.0,0.0) child:SetMass(1) child:SetPosition(2,0,0) child:AddTorque(10,0,0)
As I expected, the child object's joint position shoud follow the parent object position. but not.
child object's joint position is still at Global position (0,0,0)
-
-
It is still floating, even crazier lol. I replaced my mouse but it does not help
-
In 4.4 beta, Moving the mouse and sometime it gets floating even I dont touch my mouse. It happens even in fullscreen mode
Not happen in 4.3
What are Script:Collision parametters?
in General Discussion
Posted
Script:Collision(entity, position, normal, speed)
What exact are those parameters usage ? (Entity, position, normal, speed)
I try to search in Learn section but no luck