Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - Kenneth Law

#46
I tried to add akina hill through the scripts with 'CreateObject', which works well with .xml.
But as I joined the server the mountain didn't appear.
I then took a helicopter and drove it around the area where I've placed the hill.
As soon as I flied into a certain range and height, the mountain magically appeared but not with an intact look.
It's weird!
#47
I used ScriptProcess in client side for 3D GUI label display but there seemed to be a serious frame issue after this was added.
I wrote some codes for transforming the 3D position of the world into screen position and moving the labels to the position accordingly into ScriptProcess and found that this function which performs callback per frame would lead to a frame skipping, especially when there were too many lines included in the event.
This has been tested for lots of times by making a comparison between the two situations in which I reserved and removed the ScriptProcess.
An evident distinction in frame rate was proved existing between them.
So is there anything wrong with the codes in client script being processed each frame since the frame rate looks unstable and low while they do so?
#48
Have you solved the problem?
#49
Quote from: Doom_Kill3R on Mar 26, 2019, 05:28 AMAs far as I remember, you cant set world for objects made via .xmls
so how to set world for objects?
The only way is to CreateObject in script?
#50
So how to disable /exec
#51
Please tell me how I can restrict the existence of custom maps (objects) to a certain world?
By questioning this I mean, is there any way to place my custom maps into only one world instead of letting the maps exist in all of the worlds?
Inside the file "maps.xml" I can't decide in which world they are.
I guess someone might suggest me to create objects in scripts but as I've tried, the maps can't be added into the server in this way as they even don't appear at all.
#52
Solved thx for the reply
#53
Servers / Re: Squirrel Racing
Mar 08, 2019, 01:24 AM
Where has the server been?! >:(
#54
The most exciting race server in VCMP!
cool enough!
#55
Anyone knows how to rotate a GUI sprite?
https://forum.vc-mp.org/?topic=4710.msg34467#msg34467
I've viewed the link above and found these two codes
GUISprite.Rotation
GUISprite.RotationCentre
but have no idea how to use it. I would appreciate if someone could help me with it!