Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by EternallyCurious. 04/18/24 10:45
StartWeek not working as it should
by Zheka. 04/18/24 10:11
folder management functions
by VoroneTZ. 04/17/24 06:52
lookback setting performance issue
by 7th_zorro. 04/16/24 03:08
zorro 64bit command line support
by 7th_zorro. 04/15/24 09:36
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:48
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:46
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (ozgur, TipmyPip), 722 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
EternallyCurious, howardR, 11honza11, ccorrea, sakolin
19047 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
simple code need #440087
04/17/14 20:04
04/17/14 20:04
Joined: Feb 2012
Posts: 17
1
1525252 Offline OP
Newbie
1525252  Offline OP
Newbie
1

Joined: Feb 2012
Posts: 17
Can You create a simple lit-c code for me? If this request is not too hard or time consuming
please help, because i am total noob in this area.


1. mouse_over konj.mdl = show panel "info1 panel" on top of model
(hide panel when mouse is not over model). This panel must
be for konj.mdl only, not for other model in the scene.

2. mouse_rightclick konj.mdl = show panel "selection1_panel" at right side of model.
Panel have one button, when left click on button = replace konj.mdl with ptica.mdl. Right click on ptica.mdl = show panel "selection1_panel" again.
(hide panel when mouse clicked enywhere else in scene except this panel)
This panel must be for konj.mdl and ptica.mdl only, not for any other model in the scene.


I posted similar question in Game Development » User Requests, with old code that has problem.
Maybe wrong forum? Or here? Sorry if i posted in wrong section, and for poor eglish.Cheers!

q: Is there a visual script/code editor like in udk for noob ppl like me, with drag `n drop comand system?

Re: simple code need [Re: 1525252] #440113
04/18/14 09:13
04/18/14 09:13
Joined: Jun 2009
Posts: 2,210
Bavaria, Germany
Kartoffel Offline
Expert
Kartoffel  Offline
Expert

Joined: Jun 2009
Posts: 2,210
Bavaria, Germany
just my advice, but you'll hear the same thing from a lot of people here:
learn lite-c, it's damn easy.

afaik there's no visual coding system for lite-c, however, this would strongly limit Acknex's capabilities.
Doing it yourself is always better (as long as you know what you're doing)


POTATO-MAN saves the day! - Random
Re: simple code need [Re: Kartoffel] #440136
04/18/14 20:51
04/18/14 20:51
Joined: Feb 2012
Posts: 17
1
1525252 Offline OP
Newbie
1525252  Offline OP
Newbie
1

Joined: Feb 2012
Posts: 17
Kartoffel,
Thanks for the tip! It` true, it`s so GOD DAMN EASY, with help of EXCELLENT EHPLAINED LITE-C BEGINER TUTTORIAL HERE !!!

I started from scratch (blank script) and compare it with old code (posted here on other thread) and lit-c tuttorial of course.
So far, i made 2 pannels for 2 diferent models with commands for each panel (ent_morph if button clicked...). Each panel react
only on interaction with corespond model. Great! If something goes wrong i`ll search the help here. As for the matter of my
other post with old script... admin, delete it please.

I`ll recomend this engine to all my friends for a quick and easy visualisation of their projects. The idea and art commponent
are the most important for multimedia content creation.The tools for putting that art in interactive "box" must be easy!

P.S. My moto:
First try everything else, then read the tuttorial! grin

Q: what is the max number of faces,vertices, tex.vertices per one model (mdl) in new A8?
( do not consider fact that highpoly models are heavier for engine, i need tech.info only)

Re: simple code need [Re: 1525252] #440139
04/18/14 22:24
04/18/14 22:24
Joined: Jun 2009
Posts: 2,210
Bavaria, Germany
Kartoffel Offline
Expert
Kartoffel  Offline
Expert

Joined: Jun 2009
Posts: 2,210
Bavaria, Germany
afaik ~65k polys per model


POTATO-MAN saves the day! - Random
Re: simple code need [Re: Kartoffel] #440144
04/19/14 00:02
04/19/14 00:02
Joined: Feb 2012
Posts: 17
1
1525252 Offline OP
Newbie
1525252  Offline OP
Newbie
1

Joined: Feb 2012
Posts: 17
Limit isn`t changed (from earlier versions) but it`s ok.
Thanks for info bro!
I wish this engine go in "ANDROID watters" in future.
3dgs + native publish for android platform in one click,
would be booooom in market of software development
(my opinion... 3dgs will be the best one)

Re: simple code need [Re: 1525252] #440162
04/19/14 12:10
04/19/14 12:10
Joined: Sep 2009
Posts: 993
Budapest
Aku_Aku Offline
User
Aku_Aku  Offline
User

Joined: Sep 2009
Posts: 993
Budapest
Maybe i could help you, but i need more detailed specification.
What is your intend with these codes? What is the expected behaviour of them?
Where should fit them? I mean, there is an environment of the code, for example they will be called from somewhere.
So, only two or three sentences are not enough (for me).

Re: simple code need [Re: Aku_Aku] #440178
04/19/14 18:46
04/19/14 18:46
Joined: Feb 2012
Posts: 17
1
1525252 Offline OP
Newbie
1525252  Offline OP
Newbie
1

Joined: Feb 2012
Posts: 17
I made my script and it`s functional allready .It`s veri simple one, with vey basic stucture.But it`s clean. and contain only parts that i fully understand.
Of course, i want to learn more advanced things. and thank You Aku_Aku for offering help.

Can you show me the code example, how create panel wich is made of mdl`s? One mdl for background, and 3 "3d letter" buttons.
I know how to make them but i want to learn next:
Bounding panel to character in game and follow that char.(like panels in some games who are on top of chaeracter head)
Bound letters to the panel...
I presume it is something like: rightclick on character ent_create at xyz+(character position xyz)...then some trigger = entity (panels) disapear.

Dynamic positioning of entity who is atached and follow another ent.(and detached when i need to) is what i want to learn.

2. How to ineract with only small portions of character( when mouse_over head = some triger, animation start and continue to end )
Is it posible to invisible box atached to head?
Give me some codes exsample, then i will learn and adopt theese for my needs.

Thank you!

P.s.
That is not included in the begining workshop tuttorial! laugh
( most of it )

Re: simple code need [Re: 1525252] #440193
04/20/14 02:04
04/20/14 02:04
Joined: Apr 2005
Posts: 1,988
Canadian, Eh
DLively Offline
Serious User
DLively  Offline
Serious User

Joined: Apr 2005
Posts: 1,988
Canadian, Eh
1. have a look at this for attaching panels to ents: http://www.conitec.net/beta/avec_to_screen.htm

2. create an invisible cube at the NPC's head, and have it trigger the panel rather than the NPC.


A8 Pro 8.45.4
YouTube: Create Games For Free
Free Resources: www.CGForFree.com
Re: simple code need [Re: DLively] #440198
04/20/14 06:13
04/20/14 06:13
Joined: Feb 2012
Posts: 17
1
1525252 Offline OP
Newbie
1525252  Offline OP
Newbie
1

Joined: Feb 2012
Posts: 17
Tnx
P.S.
For all Christians happy Easter day! laugh

Re: simple code need [Re: 1525252] #440201
04/20/14 09:16
04/20/14 09:16
Joined: Sep 2009
Posts: 993
Budapest
Aku_Aku Offline
User
Aku_Aku  Offline
User

Joined: Sep 2009
Posts: 993
Budapest
Dear 1525252!
I have found the following threads here in the forum (i can imagine there is an AUM that deals with the same subject).

Panel Over Entity
Entity Panel
A 3D entity MDL as a Panel "life meter"
I hope some of them will help you.

Page 1 of 2 1 2

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1