• Vote in May Mapping Competition to select a winner!
  • There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Can someone help me with look action?

Miquelvidal96

New Member
Joined
Jun 12, 2019
Messages
11
Best answers
0
Reaction score
0
Hello forum! Can someone tell me how to change the response text when u use the mouse action "look" ? When it says "You see a giant sword...." Wheres the "lua or xml" file, in order to change code? Im making my first server and my idea is to translate it to other idiom.
 

oen432

Excellent OT User
Joined
Oct 3, 2014
Messages
643
Best answers
20
Reaction score
602
Location
Poland
data/events/scripts/player.lua
function Player:onLook
 

samco

4x4 Developer.
Joined
Jul 3, 2007
Messages
930
Best answers
7
Reaction score
197
Location
Spain
Hello forum! Can someone tell me how to change the response text when u use the mouse action "look" ? When it says "You see a giant sword...." Wheres the "lua or xml" file, in order to change code? Im making my first server and my idea is to translate it to other idiom.
Source code.
 

Felipe93

Ghost Member
Joined
Mar 21, 2015
Messages
1,611
Best answers
9
Reaction score
244
Location
Chile
source code in game.cpp

you are welcome :)
 
OP
M

Miquelvidal96

New Member
Joined
Jun 12, 2019
Messages
11
Best answers
0
Reaction score
0

oen432

Excellent OT User
Joined
Oct 3, 2014
Messages
643
Best answers
20
Reaction score
602
Location
Poland
TFS? mm i underttand u mean server? im using a 8.6 version with rl map, downloaded from here: [8.6] Real Server Map (https://otland.net/threads/8-6-real-server-map.96409/) and combined with a sever base names Telania War, i had to change "data folder" because Telania had other map and i cant find a server to make with RL map. Someone know RL server base?

Sorry im new doing this
Then I guess it's old TFS, like 0.4. That's why there is no events directory. You would have to edit server source and I'm sure you don't have that too.
 
OP
M

Miquelvidal96

New Member
Joined
Jun 12, 2019
Messages
11
Best answers
0
Reaction score
0
Then I guess it's old TFS, like 0.4. That's why there is no events directory. You would have to edit server source and I'm sure you don't have that too.
Ahmm, ok, i will create a post asking for a RL base server with updated data and info, thanks !
 
Top