Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / add weapon to character?

Author
Message
pavelsv1982
15
Years of Service
User Offline
Joined: 7th Feb 2011
Location:
Posted: 7th Feb 2011 14:54
I can not understand as to add the weapon to model of the hero.
The weapon is the hero is.
Tried as limb it is impossible to add.





backdrop on : cls : sync on : sync rate 30 : hide mouse
set text font "arial" : set text size 16
set text to bold : set text transparent



load object "scifiassaulttroop\scifiassaulttroop.x",1
set object specular 1,0
set object 1,1,1,1,0,0,0,0
set object texture 1,3,0
scale object 1,100,100,100

rem çàãðóçêà îðóæèÿ
load object "gun\new gun.x",2
set object specular 1,0
set object 1,1,1,1,0,0,0,0
set object texture 1,3,0
scale object 1,100,100,100
if mesh exist(100)=1 then delete mesh 100
make mesh from object 100, 2
for re=1 to 100
if limb exist(1,re)=1
add limb 1,re,100
link limb 1,re,100
offset limb 1,re,0.5,0,0
endif
next re



play object 1

rem Set Camera
autocam on
set camera range 1,10000
position camera 0,0,-200
point camera 0,0,0
set point light 0,0,300,0



do

zrotate object 2,1
rem Show Framerate
text 20,screen height()-40,desc$
fps$="DBPro Fps: "+str$(screen fps())
text screen width()-20-text width(fps$),screen height()-40,fps$

rem Update screen
sync
MSon
22
Years of Service
User Offline
Joined: 13th Jul 2004
Location: Earth, (I Think).
Posted: 7th Feb 2011 16:43
Don't suppose you could upload the models and i'll have a go for you.

pavelsv1982
15
Years of Service
User Offline
Joined: 7th Feb 2011
Location:
Posted: 25th Feb 2011 17:00
Hasn't understood the answer!
You "troll



My English-Russian dictionary (the book and the electronic translator) haven't understood that you meant. And in a brain system failure. Reboot...
To forbid the applet....
The program end!
baxslash
Valued Member
Bronze Codemaster
19
Years of Service
User Offline
Joined: 26th Dec 2006
Location: Duffield
Posted: 25th Feb 2011 18:15
You sound like you are being insulting. Did you mean to call @MSon a "Troll"?

If not then you really should try another dictionary/translator.

Sorry to say the same thing again and again but you should understand that although we don't expect perfect English here it does need to be at least a little understandable.

pavelsv1982
15
Years of Service
User Offline
Joined: 7th Feb 2011
Location:
Posted: 25th Feb 2011 22:40
OFFTOP have dissolved, I appeal to great forces of a forum!

no comments. gg
Thraxas
Retired Moderator
20
Years of Service
User Offline
Joined: 8th Feb 2006
Location: The Avenging Axe, Turai
Posted: 26th Feb 2011 05:06
pavelsv1982

The translator you are using is not doing a good job. I have just looked through 3 posts made by you and none of them make any sense. No one here is having a go at you, but if we cannot understand you we cannot help you.

A man will one day wear a tophat in glasgow on a sunny day juggeling grapes while humming the jurrasic park theme tune.
Mr Bigger
21
Years of Service
User Offline
Joined: 31st Jan 2005
Location: was here!
Posted: 26th Feb 2011 06:40
pavelsv1982

Look into the glue object to limb 2,1,1 command.

You will have to rotate the limb to point the weapon object.

AMD 2600+/1GB ram/GeForce 6600oc 256MB/W2KPro/DBPro 6.6.b
Grog Grueslayer
Valued Member
21
Years of Service
User Offline
Joined: 30th May 2005
Playing: Green Hell
Posted: 26th Feb 2011 09:49 Edited at: 26th Feb 2011 09:50
Because his translator is bad we should probably translate to Russian ourselves just so he can understand we can't understand him.

Использование Google Translate вместо этого мы вас не понимаю.

Translation: Use google translate instead we can't understand you.

http://translate.google.com/#

Wyldhunt
16
Years of Service
User Offline
Joined: 27th Sep 2009
Location: The Dark Side
Posted: 26th Feb 2011 14:03 Edited at: 26th Feb 2011 14:15
Oops. Double post.
Wyldhunt
16
Years of Service
User Offline
Joined: 27th Sep 2009
Location: The Dark Side
Posted: 26th Feb 2011 14:14
Here. This may work even better. This link will translate the entire website with Google translate.
Выберите эту ссылку

Гиперссылка будет переводить сайт на русский язык. Мы можем понять друг друга лучше. Если гиперссылка не нажмут, вам может понадобиться, чтобы скопировать вставьте его.

http://translate.google.com/translate?js=n&prev=_t&hl=en&ie=UTF-8&layout=2&eotf=1&sl=auto&tl=ru&u=http%3A%2F%2Fforum.thegamecreators.com%2F%3Fm%3Dforum_edit%26i%3D2167781%26b%3D1%26t%3D181418%26p%3D0
thenerd
17
Years of Service
User Offline
Joined: 9th Mar 2009
Location: Boston, USA
Posted: 27th Feb 2011 02:30
Maybe we should find someone who speaks perfect English and Russian, to act as a translator.

Login to post a reply

Server time is: 2026-07-16 18:25:16
Your offset time is: 2026-07-16 18:25:16