Search found 68 matches

by KhrougH
Wed Oct 17, 2018 2:45 am
Forum: Mod Creation
Topic: Ask a simple question, get a simple answer
Replies: 3901
Views: 3074056

Re: Ask a simple question, get a simple answer

If you tell us exactly what behavior it is that you need, then the member suggestions for how to achieve it can be given with an understanding of the effect that you want—and choose the most suitable methods for it. you're right i'll try to be as clear as possible: so let's say i'm setting up a tow...
by KhrougH
Tue Oct 16, 2018 11:44 pm
Forum: Mod Creation
Topic: Ask a simple question, get a simple answer
Replies: 3901
Views: 3074056

Re: Ask a simple question, get a simple answer

Alternatively, you can change the visual appearance of any lock by assigning it a different lock model via script. side_door_lock_1.model:setModel("assets/models/env/wall_lock_ornament.fbx") side_door_lock_2.model:setModel("assets/models/env/wall_lock_golden.fbx") side_door_lock...
by KhrougH
Tue Oct 16, 2018 11:33 pm
Forum: Mod Creation
Topic: Ask a simple question, get a simple answer
Replies: 3901
Views: 3074056

Re: Ask a simple question, get a simple answer

i would like to use this thing with different locks, so i prefer a script into the map instead making other 10 different defineObject. and with my script i don't have to set the offset for every lock. the routine identify itself. It's a time-saver to do it as definitions; they don't need scripted a...
by KhrougH
Tue Oct 16, 2018 4:05 pm
Forum: Mod Creation
Topic: Ask a simple question, get a simple answer
Replies: 3901
Views: 3074056

Re: Ask a simple question, get a simple answer

Pompidom wrote: Tue Oct 16, 2018 4:01 pm https://ibb.co/h5isQf

I have a sx_town_table_2 that does the job
did you modified the original?
by KhrougH
Tue Oct 16, 2018 3:50 pm
Forum: Mod Creation
Topic: Ask a simple question, get a simple answer
Replies: 3901
Views: 3074056

Re: Ask a simple question, get a simple answer

and now i have a new annoying question :lol: :lol: :lol: sorry, guys. I copied and modified a defineObject. a table that was placed on the floor i wanted to place on the wall so it can stand between two tiles. so this is the original: defineObject{ name = "sx_town_table_02", baseObject = &...
by KhrougH
Tue Oct 16, 2018 3:40 pm
Forum: Mod Creation
Topic: Ask a simple question, get a simple answer
Replies: 3901
Views: 3074056

Re: Ask a simple question, get a simple answer

My suggestion was two, depending on your situation. If you are planning to have several of these locks, then you should define the lock as a custom object, and add the offset values into both the model, and clickable components; that way the change is automatic when loaded. i would like to use this...
by KhrougH
Tue Oct 16, 2018 6:05 am
Forum: Mod Creation
Topic: Ask a simple question, get a simple answer
Replies: 3901
Views: 3074056

Re: Ask a simple question, get a simple answer

Next time, you should use jpegs intead of png images for 'throw-away' examples. The PNGs are lossless, and can be more than ten times the size of a jpeg version. ;) ___________ For what you are doing, you need not use setWorldPosition() on the object. Instead use the object's model, and clickable c...
by KhrougH
Tue Oct 16, 2018 4:00 am
Forum: Mod Creation
Topic: Ask a simple question, get a simple answer
Replies: 3901
Views: 3074056

Re: Ask a simple question, get a simple answer

First of all, the door. When you take your key to the lock on the left, you're not clicking on the keyhole, but on the clickable component of that door as the clickable component of the lock is probably behind it. you can disable this and check to see if it works. i already disabled the clickable c...
by KhrougH
Tue Oct 16, 2018 2:11 am
Forum: Mod Creation
Topic: finding TILES on MAPS
Replies: 13
Views: 19077

Re: finding TILES on MAPS

*I don't know what exactly your intention is... Are you trying to exclude the interiors for random animal spawns?
yes. i would like to.
by KhrougH
Mon Oct 15, 2018 7:24 pm
Forum: Mod Creation
Topic: Ask a simple question, get a simple answer
Replies: 3901
Views: 3074056

Re: Ask a simple question, get a simple answer

here is my simple question: i'm using a "setWorldPosition" on a "lock": https://drive.google.com/open?id=1jMe4Vi52UZ5nIp_IGIWQgw-8n5QVcB7b but i can't use a key to open the door because on the visual position it doesn't work and at the center of the screen (where the lock should ...