Product Chat / scaling an AI character / animal

Author
Message
nuncio
GameGuru TGC Backer
9
Years of Service
User Offline
Joined: 28th Jan 2015
Location: Schleswig Holstein, Germany
Posted: 1st Oct 2015 23:46
hi there! i wanted to make a game with a huge animal and i wanted to test this idea by creating a huge rat. mutated animal or something like that. when i scale the rat up it is kinda big but in the game the rat is small again. can i change the size of the rat? i actually would like to buy the monster ant from the store but i would like to change its size.
http://www.nuncio-rap.de
intel core i5-3570K CPU @ 3.40GHz; 8GB RAM // NVIDIA GeForce GTX560Ti

Attachments

Login to view attachments
smallg
Community Leader
18
Years of Service
User Offline
Joined: 8th Dec 2005
Location:
Posted: 1st Oct 2015 23:56 Edited at: 1st Oct 2015 23:57
check the script for a Scale(e,#) command (you can use this to auto scale them or just remove it)
and you can scale stuff bigger but you may get some odd sinking and other side effects... give it a try with the rat and see
life\'s one big game

windows vista ultimate

i5 @3.3ghz, 4gb ram, geforce gtx460, directx 11
nuncio
GameGuru TGC Backer
9
Years of Service
User Offline
Joined: 28th Jan 2015
Location: Schleswig Holstein, Germany
Posted: 2nd Oct 2015 22:22
i just found "scale = 100" in the fpe of the rat, no "Scale(e,#)"
http://www.nuncio-rap.de
intel core i5-3570K CPU @ 3.40GHz; 8GB RAM // NVIDIA GeForce GTX560Ti
HarryWever
3D Media Maker
14
Years of Service
User Offline
Joined: 14th Jan 2010
Location: below Sea level
Posted: 2nd Oct 2015 22:45
The scale command in the fpe is disabled . and not needed anymore
in the lua script you need the scale(e) command.


Harry
Harry
PM
nuncio
GameGuru TGC Backer
9
Years of Service
User Offline
Joined: 28th Jan 2015
Location: Schleswig Holstein, Germany
Posted: 2nd Oct 2015 22:52
i just purchased the monster ant. when i make it bigger it is bigger in the final game so there it seems to work. the ant is really well done but the spider does not always die when i kill it. it is standing and inactive but still moving around.
http://www.nuncio-rap.de
intel core i5-3570K CPU @ 3.40GHz; 8GB RAM // NVIDIA GeForce GTX560Ti
smallg
Community Leader
18
Years of Service
User Offline
Joined: 8th Dec 2005
Location:
Posted: 3rd Oct 2015 12:16
Quote: "i just found "scale = 100" in the fpe of the rat, no "Scale(e,#)""

i was talking about the lua script
i believe it uses rat.lua or rat_eat.lua
i have included a setting to adjust the scale at the top inside the script already "local scale = 100" but if you want to do it via the editor you can easily remove the Scale(e,scale) command (it's at line 25)

Quote: "i just purchased the monster ant. when i make it bigger it is bigger in the final game so there it seems to work. the ant is really well done but the spider does not always die when i kill it. it is standing and inactive but still moving around."

that's good to hear about the scaling and i have sent harry a fix for his spider not always dying correctly so should be fixed as soon as the model gets updated on the store.
life\'s one big game

windows vista ultimate

i5 @3.3ghz, 4gb ram, geforce gtx460, directx 11
nuncio
GameGuru TGC Backer
9
Years of Service
User Offline
Joined: 28th Jan 2015
Location: Schleswig Holstein, Germany
Posted: 3rd Oct 2015 14:28
great. i just got a new script from harry, i will try how it works and tell you... wait...
yes, now it works! i scaled one spider to a bigger size and in the game one time it still didn't die correctly but the second try worked. all the normal sized spiders do work, i tried it two time. thank you! maybe this script could be updated in the store.
thank you for this, everything is working!
http://www.nuncio-rap.de
intel core i5-3570K CPU @ 3.40GHz; 8GB RAM // NVIDIA GeForce GTX560Ti

Login to post a reply

Server time is: 2024-05-05 19:28:27
Your offset time is: 2024-05-05 19:28:27