-
Posts
258 -
Joined
-
Last visited
Content Type
Blogs
Forums
Store
Gallery
Videos
Posts posted by diedir
-
-
Hi Macklebee,
Always in coding troubles on my side,
i would really like those triggers too,
if that is not too much asking.
Thank you very much for this
-
ok i got it working
3,0,0
1,0,0
Great !
i would prefer an example of callback in lua though...
-
-
Ha !
thank Rick for your answer
that is what i understood from your previous posts.
it is bad news for me
-
Hi all
does "setcallback" working in LUA ?
I need to know if and when/where the bullet i throwed, touch another entity (body).
if someone could post some lines of a simple sphere touching a cube, with the callback generated, it would be great.
thanks everybody
have nice day
-
i am trying to work only with lua, not easy but not so bad, great so far.
-
thanks for the code look really easier than i thought, i will try this at home
(shhht) i am at wrk now...
Thanks a lot
great community here i am happy ! )
EDIT:
Your code works as i wanted, very helpful for me.
Thanks a lot
-
Really nice work, i will try it sooner.
Thanks a lot for sharing, great job
-
you are right cocopino but i would prefer a simple myvh:GetVelocity
rather than the frames calculation that i don't know how to begin with...perhaps some exemple ?
thank you
-
Yes Aggror, could be a must and very busy business
Guys i need one (lier) more thing for my level:
-i have a car loaded in 3rd view camera
-i want to retrieve the speed (velocity) of my car
i can't have this to work:
myspeed=chassis:GetVelocity(1).z
leads to an index error...
all my attempts to get the tirespeed or carobject.vehicle speed failed.
i'm lost here
thanks for help
-
Great tutorial as usual Aggror
always something new to learn for me, excellent work
thank you
-
thanks i will try sooner
and yes they are parented, thanks for the tip
-----------------------------------------------------------------
EDIT:
Really want to thank you Mack !
it works great my lord !
I owe you two or three beers or
easier for me a fresh bottle of white wine like "Sancerre" or "Mâcon Uchisy" (if you come to France, tell me where and when)
you already saved my poor knowledge code
-----------------------------------------------------------------
-
Hi all
i need some help please,
i already can make appear a cube in front of my running car
but i can't figure how to throw it toward the z axis of the car and addforce (punching) the model (another car) in front of it
here is my current code (not working at the addforceatpoint line)
----retourne camera position local i=TFormVector(Vec3(0,0,9),camera,nil) i=Vec3(camera:GetPosition(1).x +i.x,camera:GetPosition(1).y -2.5,camera:GetPosition(1).z +i.z) ---position projectile projectile:SetPosition(i) --position phyproj phyproj:SetPosition(i) -------------------------------- --this next line not working phyproj:AddForceAtPoint(Vec3(0,0,-2),Vec3(projectile.position.x,projectile.position.y,projectile.position.z+0.5))
my code is based on 3rd view chasing camera
thanks a lot for viewing and much more for helping
-
Ha thanks Ywa
i will try that so.
EDIT: redid my phy file and it works great now, Ywa, Thanks
you save my day...
-
thanks Loomoja
but it still don't work,
i deleted all the phy files of my model
car is stuck in the air no move nor steer,
i am using an lua script on engine.exe, as before
to load my scene and put the 3d person camera.
-
Hi all,
am i the only one who have trouble with working physic in 2.4 ?
my car stays stuck in the air at start of my scene before that it worked well in 2.31.
got no control over it (WASD to make it move)
the car still collides in the editor but not falling at all as before (2.31)
thanks for help
-
Salut Filax
super boulot, bravo.
mes tests: Q6600 Vista64 ATI 5850 de 40 FPS à 75
avec tout activé sans wireframe.
sympa de voir des frenchies relever le niveau.
j'attends la suite avec impatience
-
Hi NA and all people,
i need to very thank you and encourage you for your proposal,
i would like to have AI Racing car, each car purchasing each others with the goal to win race
collecting powerups and throwing smartly the projectiles on the right moment
but adapting AI to player skill, to not discourage a beginner.
some similar games i wanted to mimic (at least in ideas) are Blur, or Re-Volt (old one but good one)
really great community here, thanks all for be here !!
-
omg his name remembers my own (bad) president....
is it him ? please don't tell me...
i hope he is not of my bad poor national soccer team too ....
need sweep here !
-
extremly valuable,
brilliant,
thanks a lot, big help for all of us
-
waouh ! so clever and usefull !!
many thanks Andy
i always search for as simple tables
-
not agree with you guys
accordingly with pixology and on request i sale my license a year ago
and the new user had the support transfered
must request to them first
-
thx for the link, i saw it before but don't remember where, Rick is always an helper.
other things, i found the "turret" code thing in viperscout.lua which is handy for what i need, and yes it is by "FindChild" way
EDIT:
i put a video on my blog with my running car
-
i am a bit disappointed with lua things,
in my pro real life, i'm coding a bit with vbs script, the objects exposed by windows are such easy to grab, name and manipulate that it is a game for me.
BUT here in lua all that i can grab from my loaded model is a memory pointer in hexa form that is useless for me,
to be short, i need to retrieve names, position rotation of these "children" of my parent model and "CHANGE" it, but i don't know how, i tried with
for k,v in pairs(object) do ...
but no luck, is it a security thing that we can't explore a "GMF" model with ease ? (like in model viewer ?)
need to dig in lua "metatables" and "__index", "self" things....
sorry to appear
Lua collision callback
in Suggestion Box
Posted
Yep
exactly what i need,
thanks Rick for asking (formulating...?)
and
Thanks Josh for agree
i can't wait for this